MailchimpMarketing 3.0.10 → 3.0.11

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 -2
  4. data/lib/MailchimpMarketing.rb +1 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
  7. data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
  9. data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
  14. data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
  15. data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
  16. data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
  17. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
  18. data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
  19. data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
  20. data/lib/MailchimpMarketing/api/lists_api.rb +133 -133
  21. data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
  22. data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
  23. data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
  24. data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
  25. data/lib/MailchimpMarketing/api/root_api.rb +3 -3
  26. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
  27. data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
  28. data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
  29. data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
  30. data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
  31. data/lib/MailchimpMarketing/api_client.rb +9 -7
  32. data/lib/MailchimpMarketing/api_error.rb +1 -1
  33. data/lib/MailchimpMarketing/configuration.rb +1 -1
  34. data/lib/MailchimpMarketing/version.rb +2 -2
  35. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85d3b7a4329c4e5902480def116d58894c59502dedca38300390a401ddaac591
4
- data.tar.gz: 3c97d75215db1b790217e9a30a88cc37f034fa3a2e496f3ce637d8cc6d75b3cf
3
+ metadata.gz: 1f4fc1c4204e27e4f0a566bfac98c987d2097593f0fb3e0fbc8ad5d3f5003c7c
4
+ data.tar.gz: 6e9ce32dc90d017bd46ac1d5685730e74198189ff5954adc3fec925dab8fab88
5
5
  SHA512:
6
- metadata.gz: 8e7b85833b5b33752ae410a58571343a61cae610dd20a9588888db98fd184e8564ef659013155bac320734de01e5389e4e729e2ce77b986ae04130e979436d8b
7
- data.tar.gz: c4a33d155811dc9522ebbdd200d59320b473a3afc4ab36465889be6041701f8a65ff04bd686f424f5958e12e146149e7efe89cf408775dabeed5c8c1eb84bcce
6
+ metadata.gz: ad3617711a833f5bf96431f8b82bc50c0f8865cc0e91b03456fef677dd3f5ca8843b2c2049f5e5d483ed2e94383a5640b6d6d896119d842497c15854aecbb338
7
+ data.tar.gz: 122586b4caac06eb1541abbd26f187dc311458ae4d5524d945c1cafc984dc54fbaf2467960f99bfd04ec38cf0a3b215d83b4903290624358ea62ecb77625b370
@@ -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.10
8
+ OpenAPI spec version: 3.0.11
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.10.gem
24
- gem 'MailchimpMarketing', '~> 3.0.10'
23
+ gem install ./MailchimpMarketing-3.0.11.gem
24
+ gem 'MailchimpMarketing', '~> 3.0.11'
25
25
  ```
26
26
 
27
27
  ## Quick Start
@@ -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.10
6
+ OpenAPI spec version: 3.0.11
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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -27,10 +27,10 @@ module MailchimpMarketing
27
27
  post_body = nil
28
28
 
29
29
  local_var_path = '/activity-feed'
30
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
30
+ data = @api_client.call_api(:GET, local_var_path,
31
31
  :query_params => query_params,
32
32
  :body => post_body)
33
- return data, status_code, headers
33
+ return data
34
34
  end
35
35
 
36
36
  # Get latest chimp chatter
@@ -43,10 +43,10 @@ module MailchimpMarketing
43
43
  post_body = nil
44
44
 
45
45
  local_var_path = '/activity-feed/chimp-chatter'
46
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
46
+ data = @api_client.call_api(:GET, local_var_path,
47
47
  :query_params => query_params,
48
48
  :body => post_body)
49
- return data, status_code, headers
49
+ return data
50
50
  end
51
51
  end
52
52
  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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -32,10 +32,10 @@ module MailchimpMarketing
32
32
  post_body = nil
33
33
 
34
34
  local_var_path = '/authorized-apps'
35
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
35
+ data = @api_client.call_api(:GET, local_var_path,
36
36
  :query_params => query_params,
37
37
  :body => post_body)
38
- return data, status_code, headers
38
+ return data
39
39
  end
40
40
 
41
41
  # Get authorized app info
@@ -48,10 +48,10 @@ module MailchimpMarketing
48
48
  post_body = nil
49
49
 
50
50
  local_var_path = '/authorized-apps/{app_id}'.sub('{' + 'app_id' + '}', app_id.to_s)
51
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
51
+ data = @api_client.call_api(:GET, local_var_path,
52
52
  :query_params => query_params,
53
53
  :body => post_body)
54
- return data, status_code, headers
54
+ return data
55
55
  end
56
56
 
57
57
  # Link application
@@ -62,10 +62,10 @@ module MailchimpMarketing
62
62
  post_body = @api_client.object_to_http_body(client_details)
63
63
 
64
64
  local_var_path = '/authorized-apps'
65
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
65
+ data = @api_client.call_api(:POST, local_var_path,
66
66
  :query_params => query_params,
67
67
  :body => post_body)
68
- return data, status_code, headers
68
+ return data
69
69
  end
70
70
  end
71
71
  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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -28,10 +28,10 @@ module MailchimpMarketing
28
28
  post_body = nil
29
29
 
30
30
  local_var_path = '/automations/{workflow_id}/actions/archive'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
31
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
31
+ data = @api_client.call_api(:POST, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
34
+ return data
35
35
  end
36
36
 
37
37
  # Delete workflow email
@@ -43,10 +43,10 @@ module MailchimpMarketing
43
43
  post_body = nil
44
44
 
45
45
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
46
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
46
+ data = @api_client.call_api(:DELETE, local_var_path,
47
47
  :query_params => query_params,
48
48
  :body => post_body)
49
- return data, status_code, headers
49
+ return data
50
50
  end
51
51
 
52
52
  # List automations
@@ -64,10 +64,10 @@ module MailchimpMarketing
64
64
  post_body = nil
65
65
 
66
66
  local_var_path = '/automations'
67
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
67
+ data = @api_client.call_api(:GET, local_var_path,
68
68
  :query_params => query_params,
69
69
  :body => post_body)
70
- return data, status_code, headers
70
+ return data
71
71
  end
72
72
 
73
73
  # Get automation info
@@ -80,10 +80,10 @@ module MailchimpMarketing
80
80
  post_body = nil
81
81
 
82
82
  local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
83
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
83
+ data = @api_client.call_api(:GET, local_var_path,
84
84
  :query_params => query_params,
85
85
  :body => post_body)
86
- return data, status_code, headers
86
+ return data
87
87
  end
88
88
 
89
89
  # List automated emails
@@ -94,10 +94,10 @@ module MailchimpMarketing
94
94
  post_body = nil
95
95
 
96
96
  local_var_path = '/automations/{workflow_id}/emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
97
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
97
+ data = @api_client.call_api(:GET, local_var_path,
98
98
  :query_params => query_params,
99
99
  :body => post_body)
100
- return data, status_code, headers
100
+ return data
101
101
  end
102
102
 
103
103
  # Get workflow email info
@@ -109,10 +109,10 @@ module MailchimpMarketing
109
109
  post_body = nil
110
110
 
111
111
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
112
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
112
+ data = @api_client.call_api(:GET, local_var_path,
113
113
  :query_params => query_params,
114
114
  :body => post_body)
115
- return data, status_code, headers
115
+ return data
116
116
  end
117
117
 
118
118
  # List automated email subscribers
@@ -124,10 +124,10 @@ module MailchimpMarketing
124
124
  post_body = nil
125
125
 
126
126
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
127
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
127
+ data = @api_client.call_api(:GET, local_var_path,
128
128
  :query_params => query_params,
129
129
  :body => post_body)
130
- return data, status_code, headers
130
+ return data
131
131
  end
132
132
 
133
133
  # Get automated email subscriber
@@ -140,10 +140,10 @@ module MailchimpMarketing
140
140
  post_body = nil
141
141
 
142
142
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
143
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
143
+ data = @api_client.call_api(:GET, local_var_path,
144
144
  :query_params => query_params,
145
145
  :body => post_body)
146
- return data, status_code, headers
146
+ return data
147
147
  end
148
148
 
149
149
  # List subscribers removed from workflow
@@ -154,10 +154,10 @@ module MailchimpMarketing
154
154
  post_body = nil
155
155
 
156
156
  local_var_path = '/automations/{workflow_id}/removed-subscribers'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
157
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
157
+ data = @api_client.call_api(:GET, local_var_path,
158
158
  :query_params => query_params,
159
159
  :body => post_body)
160
- return data, status_code, headers
160
+ return data
161
161
  end
162
162
 
163
163
  # Get subscriber removed from workflow
@@ -169,10 +169,10 @@ module MailchimpMarketing
169
169
  post_body = nil
170
170
 
171
171
  local_var_path = '/automations/{workflow_id}/removed-subscribers/{subscriber_hash}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
172
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
172
+ data = @api_client.call_api(:GET, local_var_path,
173
173
  :query_params => query_params,
174
174
  :body => post_body)
175
- return data, status_code, headers
175
+ return data
176
176
  end
177
177
 
178
178
  # Update workflow email
@@ -185,10 +185,10 @@ module MailchimpMarketing
185
185
  post_body = @api_client.object_to_http_body(body)
186
186
 
187
187
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
188
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
188
+ data = @api_client.call_api(:PATCH, local_var_path,
189
189
  :query_params => query_params,
190
190
  :body => post_body)
191
- return data, status_code, headers
191
+ return data
192
192
  end
193
193
 
194
194
  # Update automation
@@ -200,10 +200,10 @@ module MailchimpMarketing
200
200
  post_body = @api_client.object_to_http_body(body)
201
201
 
202
202
  local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
203
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
203
+ data = @api_client.call_api(:PATCH, local_var_path,
204
204
  :query_params => query_params,
205
205
  :body => post_body)
206
- return data, status_code, headers
206
+ return data
207
207
  end
208
208
 
209
209
  # Add automation
@@ -214,10 +214,10 @@ module MailchimpMarketing
214
214
  post_body = @api_client.object_to_http_body(body)
215
215
 
216
216
  local_var_path = '/automations'
217
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
217
+ data = @api_client.call_api(:POST, local_var_path,
218
218
  :query_params => query_params,
219
219
  :body => post_body)
220
- return data, status_code, headers
220
+ return data
221
221
  end
222
222
 
223
223
  # Pause automation emails
@@ -228,10 +228,10 @@ module MailchimpMarketing
228
228
  post_body = nil
229
229
 
230
230
  local_var_path = '/automations/{workflow_id}/actions/pause-all-emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
231
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
231
+ data = @api_client.call_api(:POST, local_var_path,
232
232
  :query_params => query_params,
233
233
  :body => post_body)
234
- return data, status_code, headers
234
+ return data
235
235
  end
236
236
 
237
237
  # Start automation emails
@@ -242,10 +242,10 @@ module MailchimpMarketing
242
242
  post_body = nil
243
243
 
244
244
  local_var_path = '/automations/{workflow_id}/actions/start-all-emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
245
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
245
+ data = @api_client.call_api(:POST, local_var_path,
246
246
  :query_params => query_params,
247
247
  :body => post_body)
248
- return data, status_code, headers
248
+ return data
249
249
  end
250
250
 
251
251
  # Pause automated email
@@ -257,10 +257,10 @@ module MailchimpMarketing
257
257
  post_body = nil
258
258
 
259
259
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/actions/pause'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
260
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
260
+ data = @api_client.call_api(:POST, local_var_path,
261
261
  :query_params => query_params,
262
262
  :body => post_body)
263
- return data, status_code, headers
263
+ return data
264
264
  end
265
265
 
266
266
  # Start automated email
@@ -272,10 +272,10 @@ module MailchimpMarketing
272
272
  post_body = nil
273
273
 
274
274
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/actions/start'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
275
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
275
+ data = @api_client.call_api(:POST, local_var_path,
276
276
  :query_params => query_params,
277
277
  :body => post_body)
278
- return data, status_code, headers
278
+ return data
279
279
  end
280
280
 
281
281
  # Add subscriber to workflow email
@@ -288,10 +288,10 @@ module MailchimpMarketing
288
288
  post_body = @api_client.object_to_http_body(body)
289
289
 
290
290
  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
291
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
291
+ data = @api_client.call_api(:POST, local_var_path,
292
292
  :query_params => query_params,
293
293
  :body => post_body)
294
- return data, status_code, headers
294
+ return data
295
295
  end
296
296
 
297
297
  # Remove subscriber from workflow
@@ -303,10 +303,10 @@ module MailchimpMarketing
303
303
  post_body = @api_client.object_to_http_body(body)
304
304
 
305
305
  local_var_path = '/automations/{workflow_id}/removed-subscribers'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
306
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
306
+ data = @api_client.call_api(:POST, local_var_path,
307
307
  :query_params => query_params,
308
308
  :body => post_body)
309
- return data, status_code, headers
309
+ return data
310
310
  end
311
311
  end
312
312
  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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -28,10 +28,10 @@ module MailchimpMarketing
28
28
  post_body = nil
29
29
 
30
30
  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
31
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
31
+ data = @api_client.call_api(:DELETE, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
34
+ return data
35
35
  end
36
36
 
37
37
  # Get batch webhook info
@@ -44,10 +44,10 @@ module MailchimpMarketing
44
44
  post_body = nil
45
45
 
46
46
  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
47
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
47
+ data = @api_client.call_api(:GET, local_var_path,
48
48
  :query_params => query_params,
49
49
  :body => post_body)
50
- return data, status_code, headers
50
+ return data
51
51
  end
52
52
 
53
53
  # List batch webhooks
@@ -62,10 +62,10 @@ module MailchimpMarketing
62
62
  post_body = nil
63
63
 
64
64
  local_var_path = '/batch-webhooks'
65
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
65
+ data = @api_client.call_api(:GET, local_var_path,
66
66
  :query_params => query_params,
67
67
  :body => post_body)
68
- return data, status_code, headers
68
+ return data
69
69
  end
70
70
 
71
71
  # Update batch webhook
@@ -77,10 +77,10 @@ module MailchimpMarketing
77
77
  post_body = @api_client.object_to_http_body(body)
78
78
 
79
79
  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
80
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
80
+ data = @api_client.call_api(:PATCH, local_var_path,
81
81
  :query_params => query_params,
82
82
  :body => post_body)
83
- return data, status_code, headers
83
+ return data
84
84
  end
85
85
 
86
86
  # Add batch webhook
@@ -91,10 +91,10 @@ module MailchimpMarketing
91
91
  post_body = @api_client.object_to_http_body(body)
92
92
 
93
93
  local_var_path = '/batch-webhooks'
94
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
94
+ data = @api_client.call_api(:POST, local_var_path,
95
95
  :query_params => query_params,
96
96
  :body => post_body)
97
- return data, status_code, headers
97
+ return data
98
98
  end
99
99
  end
100
100
  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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -28,10 +28,10 @@ module MailchimpMarketing
28
28
  post_body = nil
29
29
 
30
30
  local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
31
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
31
+ data = @api_client.call_api(:DELETE, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
34
+ return data
35
35
  end
36
36
 
37
37
  # List batch requests
@@ -46,10 +46,10 @@ module MailchimpMarketing
46
46
  post_body = nil
47
47
 
48
48
  local_var_path = '/batches'
49
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
49
+ data = @api_client.call_api(:GET, local_var_path,
50
50
  :query_params => query_params,
51
51
  :body => post_body)
52
- return data, status_code, headers
52
+ return data
53
53
  end
54
54
 
55
55
  # Get batch operation status
@@ -62,10 +62,10 @@ module MailchimpMarketing
62
62
  post_body = nil
63
63
 
64
64
  local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
65
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
65
+ data = @api_client.call_api(:GET, local_var_path,
66
66
  :query_params => query_params,
67
67
  :body => post_body)
68
- return data, status_code, headers
68
+ return data
69
69
  end
70
70
 
71
71
  # Start batch operation
@@ -76,10 +76,10 @@ module MailchimpMarketing
76
76
  post_body = @api_client.object_to_http_body(body)
77
77
 
78
78
  local_var_path = '/batches'
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
79
+ data = @api_client.call_api(:POST, local_var_path,
80
80
  :query_params => query_params,
81
81
  :body => post_body)
82
- return data, status_code, headers
82
+ return data
83
83
  end
84
84
  end
85
85
  end