MailchimpMarketing 3.0.16 → 3.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +1 -1
  3. data/README.md +2 -18
  4. data/lib/MailchimpMarketing.rb +1 -16
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -14
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -1
  7. data/lib/MailchimpMarketing/api/automations_api.rb +4 -1
  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 -16
  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 +2 -1
  18. data/lib/MailchimpMarketing/api/lists_api.rb +2 -32
  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 +2 -2
  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 +1 -1
  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 -5
  33. data/lib/MailchimpMarketing/api/dashboard_api.rb +0 -115
  34. data/lib/MailchimpMarketing/api/external_auths_api.rb +0 -71
  35. data/lib/MailchimpMarketing/api/postcards_api.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fed449ad8f9ab695a3283707dfbcca8ce236832477d0060b8f0ccd84c2f09c7
4
- data.tar.gz: 3d189063998607ff88335840cdaaf8e9c4bf848a3c106ab7e7d9d0efdf345332
3
+ metadata.gz: 8ed83466be85dfa8cb4d170a55d447aedd8fd83d626f741b3a1821f98eddf19a
4
+ data.tar.gz: cc5b27f7a7a04f857fbad1e44509465a73df683649adc12c790bc121810d6be3
5
5
  SHA512:
6
- metadata.gz: 97685c19b4f55c79b70063c69637984a180cfbae2d9282babdadf9d99d9ea6fb1f1ea3a8b451a737efe2a9430c2bde022cb2420bb9696e3cab8d09f6b86e37d8
7
- data.tar.gz: 22361b334f3adcd71e726c98a6b1f53fc85e54f1a951d11856c87d2a80409262458249fd3b0aa11122d7011f8e3d61b5382283b89a5a0a660430fceda373a893
6
+ metadata.gz: f0bac2ba6e6da598fc6fc8954e66e9966e60bb7bb660c74643d29f9cdf47cd5564bc81ee2833e89eed23d6d23e2c63036c3c8fcd2ac4d8c62c7fe8084d09bfa3
7
+ data.tar.gz: 2ee67ebd1f332e83af9b8f8bc7058ae1d5f0e55aa79c2f2725f79beecce86a4f369daa213991ec21c76e71ce57f149ccc635a6ebc3e3d12ad4d23bd36b4295cc
@@ -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.16
8
+ OpenAPI spec version: 3.0.22
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
@@ -20,8 +20,8 @@ gem 'MailchimpMarketing', :git => 'https://github.com/mailchimp/mailchimp-market
20
20
 
21
21
  ```shell
22
22
  gem build MailchimpMarketing.gemspec
23
- gem install ./MailchimpMarketing-3.0.16.gem
24
- gem 'MailchimpMarketing', '~> 3.0.16'
23
+ gem install ./MailchimpMarketing-3.0.22.gem
24
+ gem 'MailchimpMarketing', '~> 3.0.22'
25
25
  ```
26
26
 
27
27
  ## Quick Start
@@ -81,7 +81,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
81
81
 
82
82
  | Method | Endpoint |
83
83
  | ---------- | -------- |
84
- | **activityFeed.get** | /activity-feed |
85
84
  | **activityFeed.get_chimp_chatter** | /activity-feed/chimp-chatter |
86
85
  | **authorizedApps.list** | /authorized-apps |
87
86
  | **authorizedApps.get** | /authorized-apps/{app_id} |
@@ -151,12 +150,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
151
150
  | **conversations.get_conversation_messages** | /conversations/{conversation_id}/messages |
152
151
  | **conversations.get_conversation_message** | /conversations/{conversation_id}/messages/{message_id} |
153
152
  | **conversations.create_conversation_message** | /conversations/{conversation_id}/messages |
154
- | **dashboard.ads** | /dashboard/ads |
155
- | **dashboard.audiences** | /dashboard/audiences |
156
- | **dashboard.charts** | /dashboard/charts |
157
- | **dashboard.ecommerce** | /dashboard/ecommerce |
158
- | **dashboard.engagement** | /dashboard/engagement |
159
- | **dashboard.homepage** | /dashboard/homepage |
160
153
  | **ecommerce.delete_store** | /ecommerce/stores/{store_id} |
161
154
  | **ecommerce.delete_store_cart** | /ecommerce/stores/{store_id}/carts/{cart_id} |
162
155
  | **ecommerce.delete_cart_line_item** | /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} |
@@ -168,7 +161,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
168
161
  | **ecommerce.delete_product_variant** | /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} |
169
162
  | **ecommerce.delete_promo_code** | /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id} |
170
163
  | **ecommerce.delete_promo_rule** | /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} |
171
- | **ecommerce.info** | /ecommerce |
172
164
  | **ecommerce.orders** | /ecommerce/orders |
173
165
  | **ecommerce.stores** | /ecommerce/stores |
174
166
  | **ecommerce.get_store** | /ecommerce/stores/{store_id} |
@@ -216,14 +208,10 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
216
208
  | **ecommerce.add_promo_rules** | /ecommerce/stores/{store_id}/promo-rules |
217
209
  | **ecommerce.set_store_customer** | /ecommerce/stores/{store_id}/customers/{customer_id} |
218
210
  | **ecommerce.add_product_variant** | /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} |
219
- | **externalAuths.get** | /external-auths/{system_id} |
220
- | **externalAuths.get_collection** | /external-auths |
221
- | **externalAuths.create** | /external-auths |
222
211
  | **facebookAds.list** | /facebook-ads |
223
212
  | **facebookAds.get_ad** | /facebook-ads/{outreach_id} |
224
213
  | **fileManager.delete_file** | /file-manager/files/{file_id} |
225
214
  | **fileManager.delete_folder** | /file-manager/folders/{folder_id} |
226
- | **fileManager.get** | /file-manager |
227
215
  | **fileManager.files** | /file-manager/files |
228
216
  | **fileManager.get_file** | /file-manager/files/{file_id} |
229
217
  | **fileManager.list_folders** | /file-manager/folders |
@@ -256,7 +244,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
256
244
  | **lists.get_list_abuse_report_details** | /lists/{list_id}/abuse-reports/{report_id} |
257
245
  | **lists.get_list_recent_activity** | /lists/{list_id}/activity |
258
246
  | **lists.get_list_clients** | /lists/{list_id}/clients |
259
- | **lists.get_list_external_ids** | /lists/{list_id}/external-ids |
260
247
  | **lists.get_list_growth_history** | /lists/{list_id}/growth-history |
261
248
  | **lists.get_list_growth_history_by_month** | /lists/{list_id}/growth-history/{month} |
262
249
  | **lists.get_list_interest_categories** | /lists/{list_id}/interest-categories |
@@ -291,7 +278,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
291
278
  | **lists.update_list_member_tags** | /lists/{list_id}/members/{subscriber_hash}/tags |
292
279
  | **lists.create_list** | /lists |
293
280
  | **lists.batch_list_members** | /lists/{list_id} |
294
- | **lists.create_list_external_id** | /lists/{list_id}/external-ids |
295
281
  | **lists.create_list_interest_category** | /lists/{list_id}/interest-categories |
296
282
  | **lists.create_interest_category_interest** | /lists/{list_id}/interest-categories/{interest_category_id}/interests |
297
283
  | **lists.add_list_member** | /lists/{list_id}/members |
@@ -307,8 +293,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
307
293
  | **lists.preview_segment** | /lists/{list_id}/preview-segment |
308
294
  | **lists.set_list_member** | /lists/{list_id}/members/{subscriber_hash} |
309
295
  | **ping.get** | /ping |
310
- | **postcards.get_all** | /postcards |
311
- | **reporting.info** | /reporting |
312
296
  | **reporting.get_facebook_ads_report_all** | /reporting/facebook-ads |
313
297
  | **reporting.get_facebook_ad_report** | /reporting/facebook-ads/{outreach_id} |
314
298
  | **reporting.get_facebook_ad_product_activity_report** | /reporting/facebook-ads/{outreach_id}/ecommerce-product-activity |
@@ -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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -25,15 +25,12 @@ require 'MailchimpMarketing/api/campaign_folders_api'
25
25
  require 'MailchimpMarketing/api/campaigns_api'
26
26
  require 'MailchimpMarketing/api/connected_sites_api'
27
27
  require 'MailchimpMarketing/api/conversations_api'
28
- require 'MailchimpMarketing/api/dashboard_api'
29
28
  require 'MailchimpMarketing/api/ecommerce_api'
30
- require 'MailchimpMarketing/api/external_auths_api'
31
29
  require 'MailchimpMarketing/api/facebook_ads_api'
32
30
  require 'MailchimpMarketing/api/file_manager_api'
33
31
  require 'MailchimpMarketing/api/landing_pages_api'
34
32
  require 'MailchimpMarketing/api/lists_api'
35
33
  require 'MailchimpMarketing/api/ping_api'
36
- require 'MailchimpMarketing/api/postcards_api'
37
34
  require 'MailchimpMarketing/api/reporting_api'
38
35
  require 'MailchimpMarketing/api/reports_api'
39
36
  require 'MailchimpMarketing/api/root_api'
@@ -57,15 +54,12 @@ module MailchimpMarketing
57
54
  @Campaigns = CampaignsApi.new(@api_client)
58
55
  @ConnectedSites = ConnectedSitesApi.new(@api_client)
59
56
  @Conversations = ConversationsApi.new(@api_client)
60
- @Dashboard = DashboardApi.new(@api_client)
61
57
  @Ecommerce = EcommerceApi.new(@api_client)
62
- @ExternalAuths = ExternalAuthsApi.new(@api_client)
63
58
  @FacebookAds = FacebookAdsApi.new(@api_client)
64
59
  @FileManager = FileManagerApi.new(@api_client)
65
60
  @LandingPages = LandingPagesApi.new(@api_client)
66
61
  @Lists = ListsApi.new(@api_client)
67
62
  @Ping = PingApi.new(@api_client)
68
- @Postcards = PostcardsApi.new(@api_client)
69
63
  @Reporting = ReportingApi.new(@api_client)
70
64
  @Reports = ReportsApi.new(@api_client)
71
65
  @Root = RootApi.new(@api_client)
@@ -107,15 +101,9 @@ module MailchimpMarketing
107
101
  def conversations
108
102
  @Conversations
109
103
  end
110
- def dashboard
111
- @Dashboard
112
- end
113
104
  def ecommerce
114
105
  @Ecommerce
115
106
  end
116
- def externalAuths
117
- @ExternalAuths
118
- end
119
107
  def facebookAds
120
108
  @FacebookAds
121
109
  end
@@ -131,9 +119,6 @@ module MailchimpMarketing
131
119
  def ping
132
120
  @Ping
133
121
  end
134
- def postcards
135
- @Postcards
136
- end
137
122
  def reporting
138
123
  @Reporting
139
124
  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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -51,9 +51,12 @@ module MailchimpMarketing
51
51
 
52
52
  # List automations
53
53
  def list(opts = {})
54
+ fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
54
55
  fail ArgumentError, 'invalid value for "status", must be one of save, paused, sending' if opts[:'status'] && !['save', 'paused', 'sending'].include?(opts[:'status'])
55
56
 
56
57
  query_params = {}
58
+ query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
59
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
57
60
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
58
61
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
59
62
  query_params[:'before_create_time'] = opts[:'before_create_time'] if !opts[:'before_create_time'].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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -450,13 +437,11 @@ module MailchimpMarketing
450
437
  # List product
451
438
  def get_all_store_products(store_id, opts = {})
452
439
  fail ArgumentError, "Missing required param: 'store_id'" if store_id.nil?
453
- fail ArgumentError, 'invalid value for "sort_field", must be one of title, created_at, price' if opts[:'sort_field'] && !['title', 'created_at', 'price'].include?(opts[:'sort_field'])
454
440
  fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
455
441
 
456
442
  query_params = {}
457
443
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
458
444
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
459
- query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
460
445
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
461
446
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
462
447
  post_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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -107,6 +107,7 @@ module MailchimpMarketing
107
107
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
108
108
 
109
109
  query_params = {}
110
+ query_params[:'use_default_list'] = opts[:'use_default_list'] if !opts[:'use_default_list'].nil?
110
111
  post_body = @api_client.object_to_http_body(body)
111
112
 
112
113
  local_var_path = '/landing-pages'
@@ -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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -195,6 +195,7 @@ module MailchimpMarketing
195
195
  query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
196
196
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
197
197
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
198
+ query_params[:'has_ecommerce_store'] = opts[:'has_ecommerce_store'] if !opts[:'has_ecommerce_store'].nil?
198
199
  post_body = nil
199
200
 
200
201
  local_var_path = '/lists'
@@ -291,23 +292,6 @@ module MailchimpMarketing
291
292
  return data
292
293
  end
293
294
 
294
- # List external i ds
295
- def get_list_external_ids(list_id, opts = {})
296
- fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
297
- fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
298
-
299
- query_params = {}
300
- query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
301
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
302
- post_body = nil
303
-
304
- local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
305
- data = @api_client.call_api(:GET, local_var_path,
306
- :query_params => query_params,
307
- :body => post_body)
308
- return data
309
- end
310
-
311
295
  # List growth history data
312
296
  def get_list_growth_history(list_id, opts = {})
313
297
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
@@ -926,20 +910,6 @@ module MailchimpMarketing
926
910
  return data
927
911
  end
928
912
 
929
- # Add external id
930
- def create_list_external_id(list_id, opts = {})
931
- fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
932
-
933
- query_params = {}
934
- post_body = @api_client.object_to_http_body(opts[:'body'])
935
-
936
- local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
937
- data = @api_client.call_api(:POST, local_var_path,
938
- :query_params => query_params,
939
- :body => post_body)
940
- return data
941
- end
942
-
943
913
  # Add interest category
944
914
  def create_list_interest_category(list_id, body, opts = {})
945
915
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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
@@ -218,7 +218,7 @@ module MailchimpMarketing
218
218
  return data
219
219
  end
220
220
 
221
- # List eep url activity
221
+ # List EepURL activity
222
222
  def get_eepurl_activity_for_campaign(campaign_id, opts = {})
223
223
  fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
224
224
 
@@ -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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16
6
+ OpenAPI spec version: 3.0.22
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.16'
14
+ VERSION = '3.0.22'
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.16
4
+ version: 3.0.22
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-25 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -205,15 +205,12 @@ files:
205
205
  - lib/MailchimpMarketing/api/campaigns_api.rb
206
206
  - lib/MailchimpMarketing/api/connected_sites_api.rb
207
207
  - lib/MailchimpMarketing/api/conversations_api.rb
208
- - lib/MailchimpMarketing/api/dashboard_api.rb
209
208
  - lib/MailchimpMarketing/api/ecommerce_api.rb
210
- - lib/MailchimpMarketing/api/external_auths_api.rb
211
209
  - lib/MailchimpMarketing/api/facebook_ads_api.rb
212
210
  - lib/MailchimpMarketing/api/file_manager_api.rb
213
211
  - lib/MailchimpMarketing/api/landing_pages_api.rb
214
212
  - lib/MailchimpMarketing/api/lists_api.rb
215
213
  - lib/MailchimpMarketing/api/ping_api.rb
216
- - lib/MailchimpMarketing/api/postcards_api.rb
217
214
  - lib/MailchimpMarketing/api/reporting_api.rb
218
215
  - lib/MailchimpMarketing/api/reports_api.rb
219
216
  - lib/MailchimpMarketing/api/root_api.rb
@@ -1,115 +0,0 @@
1
- =begin
2
- #Mailchimp Marketing API
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 3.0.16
7
- Contact: apihelp@mailchimp.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
11
- =end
12
-
13
- require 'uri'
14
-
15
- module MailchimpMarketing
16
- class DashboardApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client)
20
- @api_client = api_client
21
- end
22
-
23
- # List dashboard ads
24
- def ads(opts = {})
25
-
26
- query_params = {}
27
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
28
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
29
- query_params[:'platform'] = opts[:'platform'] if !opts[:'platform'].nil?
30
- query_params[:'num'] = opts[:'num'] if !opts[:'num'].nil?
31
- post_body = nil
32
-
33
- local_var_path = '/dashboard/ads'
34
- data = @api_client.call_api(:GET, local_var_path,
35
- :query_params => query_params,
36
- :body => post_body)
37
- return data
38
- end
39
-
40
- # List dashboard audiences
41
- def audiences(opts = {})
42
-
43
- query_params = {}
44
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
45
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
46
- post_body = nil
47
-
48
- local_var_path = '/dashboard/audiences'
49
- data = @api_client.call_api(:GET, local_var_path,
50
- :query_params => query_params,
51
- :body => post_body)
52
- return data
53
- end
54
-
55
- # List dashboard charts
56
- def charts(opts = {})
57
-
58
- query_params = {}
59
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
60
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
61
- post_body = nil
62
-
63
- local_var_path = '/dashboard/charts'
64
- data = @api_client.call_api(:GET, local_var_path,
65
- :query_params => query_params,
66
- :body => post_body)
67
- return data
68
- end
69
-
70
- # List dashboard ecommerce info
71
- def ecommerce(opts = {})
72
-
73
- query_params = {}
74
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
75
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
76
- post_body = nil
77
-
78
- local_var_path = '/dashboard/ecommerce'
79
- data = @api_client.call_api(:GET, local_var_path,
80
- :query_params => query_params,
81
- :body => post_body)
82
- return data
83
- end
84
-
85
- # List dashboard engagement info
86
- def engagement(opts = {})
87
-
88
- query_params = {}
89
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
90
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
91
- post_body = nil
92
-
93
- local_var_path = '/dashboard/engagement'
94
- data = @api_client.call_api(:GET, local_var_path,
95
- :query_params => query_params,
96
- :body => post_body)
97
- return data
98
- end
99
-
100
- # List dashboard homepage metrics
101
- def homepage(opts = {})
102
-
103
- query_params = {}
104
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
105
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
106
- post_body = nil
107
-
108
- local_var_path = '/dashboard/homepage'
109
- data = @api_client.call_api(:GET, local_var_path,
110
- :query_params => query_params,
111
- :body => post_body)
112
- return data
113
- end
114
- end
115
- end
@@ -1,71 +0,0 @@
1
- =begin
2
- #Mailchimp Marketing API
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 3.0.16
7
- Contact: apihelp@mailchimp.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
11
- =end
12
-
13
- require 'uri'
14
-
15
- module MailchimpMarketing
16
- class ExternalAuthsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client)
20
- @api_client = api_client
21
- end
22
-
23
- # Get external authentication
24
- def get(system_id, opts = {})
25
- fail ArgumentError, "Missing required param: 'system_id'" if system_id.nil?
26
-
27
- query_params = {}
28
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
29
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
30
- post_body = nil
31
-
32
- local_var_path = '/external-auths/{system_id}'.sub('{' + 'system_id' + '}', system_id.to_s)
33
- data = @api_client.call_api(:GET, local_var_path,
34
- :query_params => query_params,
35
- :body => post_body)
36
- return data
37
- end
38
-
39
- # List external authentications
40
- def get_collection(opts = {})
41
- fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
42
-
43
- query_params = {}
44
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
45
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
46
- query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
47
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
48
- post_body = nil
49
-
50
- local_var_path = '/external-auths'
51
- data = @api_client.call_api(:GET, local_var_path,
52
- :query_params => query_params,
53
- :body => post_body)
54
- return data
55
- end
56
-
57
- # Add external authentication
58
- def create(body, opts = {})
59
- fail ArgumentError, "Missing required param: 'body'" if body.nil?
60
-
61
- query_params = {}
62
- post_body = @api_client.object_to_http_body(body)
63
-
64
- local_var_path = '/external-auths'
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
- end
71
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- #Mailchimp Marketing API
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 3.0.16
7
- Contact: apihelp@mailchimp.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
11
- =end
12
-
13
- require 'uri'
14
-
15
- module MailchimpMarketing
16
- class PostcardsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client)
20
- @api_client = api_client
21
- end
22
-
23
- # List postcards
24
- def get_all(opts = {})
25
- fail ArgumentError, 'invalid value for "sort_dir", must be one of ASC, DESC' if opts[:'sort_dir'] && !['ASC', 'DESC'].include?(opts[:'sort_dir'])
26
- fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
27
-
28
- query_params = {}
29
- query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
30
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
31
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
32
- query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
33
- post_body = nil
34
-
35
- local_var_path = '/postcards'
36
- data = @api_client.call_api(:GET, local_var_path,
37
- :query_params => query_params,
38
- :body => post_body)
39
- return data
40
- end
41
- end
42
- end