Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST: DO NOT MERGE #5

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
| **conversations.getConversationMessages** | /conversations/{conversation_id}/messages |
| **conversations.getConversationMessage** | /conversations/{conversation_id}/messages/{message_id} |
| **conversations.createConversationMessage** | /conversations/{conversation_id}/messages |
| **dashboard.ads** | /dashboard/ads |
| **dashboard.audiences** | /dashboard/audiences |
| **dashboard.charts** | /dashboard/charts |
| **dashboard.ecommerce** | /dashboard/ecommerce |
| **dashboard.engagement** | /dashboard/engagement |
| **dashboard.homepage** | /dashboard/homepage |
| **ecommerce.deleteStore** | /ecommerce/stores/{store_id} |
| **ecommerce.deleteStoreCart** | /ecommerce/stores/{store_id}/carts/{cart_id} |
| **ecommerce.deleteCartLineItem** | /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} |
Expand Down Expand Up @@ -219,9 +213,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
| **ecommerce.addPromoRules** | /ecommerce/stores/{store_id}/promo-rules |
| **ecommerce.setStoreCustomer** | /ecommerce/stores/{store_id}/customers/{customer_id} |
| **ecommerce.addProductVariant** | /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} |
| **externalAuths.get** | /external-auths/{system_id} |
| **externalAuths.getCollection** | /external-auths |
| **externalAuths.create** | /external-auths |
| **facebookAds.list** | /facebook-ads |
| **facebookAds.getAd** | /facebook-ads/{outreach_id} |
| **fileManager.deleteFile** | /file-manager/files/{file_id} |
Expand Down Expand Up @@ -259,7 +250,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
| **lists.getListAbuseReportDetails** | /lists/{list_id}/abuse-reports/{report_id} |
| **lists.getListRecentActivity** | /lists/{list_id}/activity |
| **lists.getListClients** | /lists/{list_id}/clients |
| **lists.getListExternalIds** | /lists/{list_id}/external-ids |
| **lists.getListGrowthHistory** | /lists/{list_id}/growth-history |
| **lists.getListGrowthHistoryByMonth** | /lists/{list_id}/growth-history/{month} |
| **lists.getListInterestCategories** | /lists/{list_id}/interest-categories |
Expand Down Expand Up @@ -294,7 +284,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
| **lists.updateListMemberTags** | /lists/{list_id}/members/{subscriber_hash}/tags |
| **lists.createList** | /lists |
| **lists.batchListMembers** | /lists/{list_id} |
| **lists.createListExternalId** | /lists/{list_id}/external-ids |
| **lists.createListInterestCategory** | /lists/{list_id}/interest-categories |
| **lists.createInterestCategoryInterest** | /lists/{list_id}/interest-categories/{interest_category_id}/interests |
| **lists.addListMember** | /lists/{list_id}/members |
Expand All @@ -310,7 +299,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
| **lists.previewSegment** | /lists/{list_id}/preview-segment |
| **lists.setListMember** | /lists/{list_id}/members/{subscriber_hash} |
| **ping.get** | /ping |
| **postcards.getAll** | /postcards |
| **reporting.info** | /reporting |
| **reporting.getFacebookAdsReportAll** | /reporting/facebook-ads |
| **reporting.getFacebookAdReport** | /reporting/facebook-ads/{outreach_id} |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mailchimp/marketing",
"version": "3.0.19",
"version": "3.0.21",
"description": "",
"keywords": [
"swagger",
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/ActivityFeedApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/AuthorizedAppsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
24 changes: 18 additions & 6 deletions lib/Api/AutomationsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down Expand Up @@ -364,15 +364,15 @@ protected function deleteWorkflowEmailRequest($workflow_id, $workflow_email_id)
);
}

public function list($fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
public function list($count = '10', $offset = '0', $fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
{
$response = $this->listWithHttpInfo($fields, $exclude_fields, $before_create_time, $since_create_time, $before_send_time, $since_send_time, $status);
$response = $this->listWithHttpInfo($count, $offset, $fields, $exclude_fields, $before_create_time, $since_create_time, $before_send_time, $since_send_time, $status);
return $response;
}

public function listWithHttpInfo($fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
public function listWithHttpInfo($count = '10', $offset = '0', $fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
{
$request = $this->listRequest($fields, $exclude_fields, $before_create_time, $since_create_time, $before_send_time, $since_send_time, $status);
$request = $this->listRequest($count, $offset, $fields, $exclude_fields, $before_create_time, $since_create_time, $before_send_time, $since_send_time, $status);

try {
$options = $this->createHttpClientOption();
Expand Down Expand Up @@ -408,8 +408,12 @@ public function listWithHttpInfo($fields = null, $exclude_fields = null, $before
}
}

protected function listRequest($fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
protected function listRequest($count = '10', $offset = '0', $fields = null, $exclude_fields = null, $before_create_time = null, $since_create_time = null, $before_send_time = null, $since_send_time = null, $status = null)
{
if ($count !== null && $count > 1000) {
throw new \InvalidArgumentException('invalid value for "$count" when calling AutomationsApi., must be smaller than or equal to 1000.');
}


$resourcePath = '/automations';
$formParams = [];
Expand All @@ -418,6 +422,14 @@ protected function listRequest($fields = null, $exclude_fields = null, $before_c
$httpBody = '';
$multipart = false;
// query params
if ($count !== null) {
$queryParams['count'] = ObjectSerializer::toQueryValue($count);
}
// query params
if ($offset !== null) {
$queryParams['offset'] = ObjectSerializer::toQueryValue($offset);
}
// query params
if (is_array($fields)) {
$queryParams['fields'] = $fields;
} else
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/BatchWebhooksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/BatchesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/CampaignFoldersApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/CampaignsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/ConnectedSitesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/ConversationsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.19
* OpenAPI spec version: 3.0.21
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 2.4.12
Expand Down
Loading