MailchimpMarketing 3.0.21 → 3.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +1 -1
  3. data/README.md +9 -9
  4. data/lib/MailchimpMarketing.rb +1 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -14
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -15
  7. data/lib/MailchimpMarketing/api/automations_api.rb +3 -18
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -1
  9. data/lib/MailchimpMarketing/api/batches_api.rb +1 -1
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -1
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -1
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -1
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +1 -1
  14. data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -14
  15. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -1
  16. data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -14
  17. data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -1
  18. data/lib/MailchimpMarketing/api/lists_api.rb +2 -2
  19. data/lib/MailchimpMarketing/api/ping_api.rb +1 -1
  20. data/lib/MailchimpMarketing/api/reporting_api.rb +1 -14
  21. data/lib/MailchimpMarketing/api/reports_api.rb +1 -1
  22. data/lib/MailchimpMarketing/api/root_api.rb +1 -1
  23. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -1
  24. data/lib/MailchimpMarketing/api/search_members_api.rb +1 -1
  25. data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -1
  26. data/lib/MailchimpMarketing/api/templates_api.rb +6 -4
  27. data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -1
  28. data/lib/MailchimpMarketing/api_client.rb +1 -1
  29. data/lib/MailchimpMarketing/api_error.rb +1 -1
  30. data/lib/MailchimpMarketing/configuration.rb +1 -1
  31. data/lib/MailchimpMarketing/version.rb +2 -2
  32. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cc613fc785d9bb9041f2810f07e3353c80e5015f71e8171bbe693b2c5eaf714
4
- data.tar.gz: 4dafb79030bde67d35cff88b6a8fc292823b1726a78c0e69cbb17cf7383ee292
3
+ metadata.gz: 5478fc7e5f6224819762cacd6e1cdec3e37206d4093990d03d3d7999787a8f82
4
+ data.tar.gz: 263cf3abce9c92cee6470166ffbf59fcc6d3f289f7ad78e694e62c9973ef1c3b
5
5
  SHA512:
6
- metadata.gz: c8953fc56a5954645982808ac9e0a965493f54b54b9e91d3944dfb325a4de4b4b426bd3635e6fb6aab33afeeffdc65ea0410635923926bedd43b7ba2beaca9b2
7
- data.tar.gz: 5d59ffaabfef9dca9b85523d6740980f7cd974a113bc555db43e317c0558b58f5fcf085cb86a7bebb36e59a2d1e2bcba0fa15ab555cafd0c2f0de7090e0f17b3
6
+ metadata.gz: 11a55c4ff2d7942defee61dab2a31033bd62f9168892b4d9bad91a8eadf3ac95477677d61b8a00d1a76bd8b90910e4abefcf784ecdd86e51de9c148a34c683e9
7
+ data.tar.gz: df25905ab460c3e1a668cc0f6b96c5b96d8efdf3c80b8a36e8d9ba9359ce0c1325976671ff53329f8970fb37dc07063e721f8a4099002db4cb941a21f01527a3
@@ -5,7 +5,7 @@
5
5
 
6
6
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
7
 
8
- OpenAPI spec version: 3.0.21
8
+ OpenAPI spec version: 3.0.26
9
9
  Contact: apihelp@mailchimp.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.4.12
data/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ <p align="center">
2
+ <a href="https://mailchimp.com/developer/">
3
+ <img src="https://raw.githubusercontent.com/mailchimp/mailchimp-client-lib-codegen/master/resources/images/mcdev-banner.png" alt="Mailchimp Developer" width="100%" height="auto">
4
+ </a>
5
+ </p>
6
+
1
7
  # Mailchimp Marketing — Ruby
2
8
 
3
9
  The official Ruby client library for the Mailchimp Marketing API (v1)
@@ -20,8 +26,8 @@ gem 'MailchimpMarketing', :git => 'https://github.com/mailchimp/mailchimp-market
20
26
 
21
27
  ```shell
22
28
  gem build MailchimpMarketing.gemspec
23
- gem install ./MailchimpMarketing-3.0.21.gem
24
- gem 'MailchimpMarketing', '~> 3.0.21'
29
+ gem install ./MailchimpMarketing-3.0.26.gem
30
+ gem 'MailchimpMarketing', '~> 3.0.26'
25
31
  ```
26
32
 
27
33
  ## Quick Start
@@ -81,11 +87,9 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
81
87
 
82
88
  | Method | Endpoint |
83
89
  | ---------- | -------- |
84
- | **activityFeed.get** | /activity-feed |
85
90
  | **activityFeed.get_chimp_chatter** | /activity-feed/chimp-chatter |
86
91
  | **authorizedApps.list** | /authorized-apps |
87
92
  | **authorizedApps.get** | /authorized-apps/{app_id} |
88
- | **authorizedApps.link** | /authorized-apps |
89
93
  | **automations.archive** | /automations/{workflow_id}/actions/archive |
90
94
  | **automations.delete_workflow_email** | /automations/{workflow_id}/emails/{workflow_email_id} |
91
95
  | **automations.list** | /automations |
@@ -97,7 +101,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
97
101
  | **automations.list_workflow_email_subscribers_removed** | /automations/{workflow_id}/removed-subscribers |
98
102
  | **automations.get_removed_workflow_email_subscriber** | /automations/{workflow_id}/removed-subscribers/{subscriber_hash} |
99
103
  | **automations.update_workflow_email** | /automations/{workflow_id}/emails/{workflow_email_id} |
100
- | **automations.update** | /automations/{workflow_id} |
101
104
  | **automations.create** | /automations |
102
105
  | **automations.pause_all_emails** | /automations/{workflow_id}/actions/pause-all-emails |
103
106
  | **automations.start_all_emails** | /automations/{workflow_id}/actions/start-all-emails |
@@ -162,7 +165,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
162
165
  | **ecommerce.delete_product_variant** | /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} |
163
166
  | **ecommerce.delete_promo_code** | /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id} |
164
167
  | **ecommerce.delete_promo_rule** | /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} |
165
- | **ecommerce.info** | /ecommerce |
166
168
  | **ecommerce.orders** | /ecommerce/orders |
167
169
  | **ecommerce.stores** | /ecommerce/stores |
168
170
  | **ecommerce.get_store** | /ecommerce/stores/{store_id} |
@@ -214,7 +216,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
214
216
  | **facebookAds.get_ad** | /facebook-ads/{outreach_id} |
215
217
  | **fileManager.delete_file** | /file-manager/files/{file_id} |
216
218
  | **fileManager.delete_folder** | /file-manager/folders/{folder_id} |
217
- | **fileManager.get** | /file-manager |
218
219
  | **fileManager.files** | /file-manager/files |
219
220
  | **fileManager.get_file** | /file-manager/files/{file_id} |
220
221
  | **fileManager.list_folders** | /file-manager/folders |
@@ -296,7 +297,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
296
297
  | **lists.preview_segment** | /lists/{list_id}/preview-segment |
297
298
  | **lists.set_list_member** | /lists/{list_id}/members/{subscriber_hash} |
298
299
  | **ping.get** | /ping |
299
- | **reporting.info** | /reporting |
300
300
  | **reporting.get_facebook_ads_report_all** | /reporting/facebook-ads |
301
301
  | **reporting.get_facebook_ad_report** | /reporting/facebook-ads/{outreach_id} |
302
302
  | **reporting.get_facebook_ad_product_activity_report** | /reporting/facebook-ads/{outreach_id}/ecommerce-product-activity |
@@ -345,7 +345,7 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
345
345
  | **verifiedDomains.submit_domain_verification** | /verified-domains/{domain_name}/actions/verify |
346
346
 
347
347
 
348
- ## Additional Client Libraries
348
+ ## Additional Libraries
349
349
 
350
350
  Mailchimp Marketing libraries are available in the following languages:
351
351
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -20,19 +20,6 @@ module MailchimpMarketing
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # List activity feed resources
24
- def get(opts = {})
25
-
26
- query_params = {}
27
- post_body = nil
28
-
29
- local_var_path = '/activity-feed'
30
- data = @api_client.call_api(:GET, local_var_path,
31
- :query_params => query_params,
32
- :body => post_body)
33
- return data
34
- end
35
-
36
23
  # Get latest chimp chatter
37
24
  def get_chimp_chatter(opts = {})
38
25
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -53,19 +53,5 @@ module MailchimpMarketing
53
53
  :body => post_body)
54
54
  return data
55
55
  end
56
-
57
- # Link application
58
- def link(client_details, opts = {})
59
- fail ArgumentError, "Missing required param: 'client_details'" if client_details.nil?
60
-
61
- query_params = {}
62
- post_body = @api_client.object_to_http_body(client_details)
63
-
64
- local_var_path = '/authorized-apps'
65
- data = @api_client.call_api(:POST, local_var_path,
66
- :query_params => query_params,
67
- :body => post_body)
68
- return data
69
- end
70
56
  end
71
57
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -61,8 +61,8 @@ module MailchimpMarketing
61
61
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
62
62
  query_params[:'before_create_time'] = opts[:'before_create_time'] if !opts[:'before_create_time'].nil?
63
63
  query_params[:'since_create_time'] = opts[:'since_create_time'] if !opts[:'since_create_time'].nil?
64
- query_params[:'before_send_time'] = opts[:'before_send_time'] if !opts[:'before_send_time'].nil?
65
- query_params[:'since_send_time'] = opts[:'since_send_time'] if !opts[:'since_send_time'].nil?
64
+ query_params[:'before_start_time'] = opts[:'before_start_time'] if !opts[:'before_start_time'].nil?
65
+ query_params[:'since_start_time'] = opts[:'since_start_time'] if !opts[:'since_start_time'].nil?
66
66
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
67
67
  post_body = nil
68
68
 
@@ -194,21 +194,6 @@ module MailchimpMarketing
194
194
  return data
195
195
  end
196
196
 
197
- # Update automation
198
- def update(workflow_id, body, opts = {})
199
- fail ArgumentError, "Missing required param: 'workflow_id'" if workflow_id.nil?
200
- fail ArgumentError, "Missing required param: 'body'" if body.nil?
201
-
202
- query_params = {}
203
- post_body = @api_client.object_to_http_body(body)
204
-
205
- local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
206
- data = @api_client.call_api(:PATCH, local_var_path,
207
- :query_params => query_params,
208
- :body => post_body)
209
- return data
210
- end
211
-
212
197
  # Add automation
213
198
  def create(body, opts = {})
214
199
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -189,19 +189,6 @@ module MailchimpMarketing
189
189
  return data
190
190
  end
191
191
 
192
- # List e commerce api resources
193
- def info(opts = {})
194
-
195
- query_params = {}
196
- post_body = nil
197
-
198
- local_var_path = '/ecommerce'
199
- data = @api_client.call_api(:GET, local_var_path,
200
- :query_params => query_params,
201
- :body => post_body)
202
- return data
203
- end
204
-
205
192
  # List account orders
206
193
  def orders(opts = {})
207
194
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -48,19 +48,6 @@ module MailchimpMarketing
48
48
  return data
49
49
  end
50
50
 
51
- # List file manager resources
52
- def get(opts = {})
53
-
54
- query_params = {}
55
- post_body = nil
56
-
57
- local_var_path = '/file-manager'
58
- data = @api_client.call_api(:GET, local_var_path,
59
- :query_params => query_params,
60
- :body => post_body)
61
- return data
62
- end
63
-
64
51
  # List stored files
65
52
  def files(opts = {})
66
53
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -893,7 +893,7 @@ module MailchimpMarketing
893
893
  return data
894
894
  end
895
895
 
896
- # Batch subscribe or unsubscibe
896
+ # Batch subscribe or unsubscribe
897
897
  def batch_list_members(list_id, body, opts = {})
898
898
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
899
899
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -20,19 +20,6 @@ module MailchimpMarketing
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # List reporting resources
24
- def info(opts = {})
25
-
26
- query_params = {}
27
- post_body = nil
28
-
29
- local_var_path = '/reporting'
30
- data = @api_client.call_api(:GET, local_var_path,
31
- :query_params => query_params,
32
- :body => post_body)
33
- return data
34
- end
35
-
36
23
  # List facebook ads reports
37
24
  def get_facebook_ads_report_all(opts = {})
38
25
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -37,7 +37,8 @@ module MailchimpMarketing
37
37
  # List templates
38
38
  def list(opts = {})
39
39
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
40
- fail ArgumentError, 'invalid value for "sort_field", must be one of date_created, name' if opts[:'sort_field'] && !['date_created', 'name'].include?(opts[:'sort_field'])
40
+ fail ArgumentError, 'invalid value for "sort_field", must be one of date_created, date_edited, name' if opts[:'sort_field'] && !['date_created', 'date_edited', 'name'].include?(opts[:'sort_field'])
41
+ fail ArgumentError, 'invalid value for "sort_dir", must be one of ASC, DESC' if opts[:'sort_dir'] && !['ASC', 'DESC'].include?(opts[:'sort_dir'])
41
42
 
42
43
  query_params = {}
43
44
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
@@ -45,12 +46,13 @@ module MailchimpMarketing
45
46
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
46
47
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
47
48
  query_params[:'created_by'] = opts[:'created_by'] if !opts[:'created_by'].nil?
48
- query_params[:'since_created_at'] = opts[:'since_created_at'] if !opts[:'since_created_at'].nil?
49
- query_params[:'before_created_at'] = opts[:'before_created_at'] if !opts[:'before_created_at'].nil?
49
+ query_params[:'since_date_created'] = opts[:'since_date_created'] if !opts[:'since_date_created'].nil?
50
+ query_params[:'before_date_created'] = opts[:'before_date_created'] if !opts[:'before_date_created'].nil?
50
51
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
51
52
  query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
52
53
  query_params[:'folder_id'] = opts[:'folder_id'] if !opts[:'folder_id'].nil?
53
54
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
55
+ query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
54
56
  post_body = nil
55
57
 
56
58
  local_var_path = '/templates'
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.21
6
+ OpenAPI spec version: 3.0.26
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module MailchimpMarketing
14
- VERSION = '3.0.21'
14
+ VERSION = '3.0.26'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MailchimpMarketing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.21
4
+ version: 3.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon