MailchimpMarketing 3.0.10 → 3.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MailchimpMarketing.gemspec +1 -1
- data/README.md +2 -2
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
- data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
- data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
- data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
- data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
- data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
- data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
- data/lib/MailchimpMarketing/api/lists_api.rb +133 -133
- data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
- data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
- data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
- data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
- data/lib/MailchimpMarketing/api/root_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
- data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
- data/lib/MailchimpMarketing/api_client.rb +9 -7
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f4fc1c4204e27e4f0a566bfac98c987d2097593f0fb3e0fbc8ad5d3f5003c7c
|
4
|
+
data.tar.gz: 6e9ce32dc90d017bd46ac1d5685730e74198189ff5954adc3fec925dab8fab88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad3617711a833f5bf96431f8b82bc50c0f8865cc0e91b03456fef677dd3f5ca8843b2c2049f5e5d483ed2e94383a5640b6d6d896119d842497c15854aecbb338
|
7
|
+
data.tar.gz: 122586b4caac06eb1541abbd26f187dc311458ae4d5524d945c1cafc984dc54fbaf2467960f99bfd04ec38cf0a3b215d83b4903290624358ea62ecb77625b370
|
data/MailchimpMarketing.gemspec
CHANGED
@@ -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.
|
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.
|
24
|
-
gem 'MailchimpMarketing', '~> 3.0.
|
23
|
+
gem install ./MailchimpMarketing-3.0.11.gem
|
24
|
+
gem 'MailchimpMarketing', '~> 3.0.11'
|
25
25
|
```
|
26
26
|
|
27
27
|
## Quick Start
|
data/lib/MailchimpMarketing.rb
CHANGED
@@ -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.
|
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.
|
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
|
30
|
+
data = @api_client.call_api(:GET, local_var_path,
|
31
31
|
:query_params => query_params,
|
32
32
|
:body => post_body)
|
33
|
-
return data
|
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
|
46
|
+
data = @api_client.call_api(:GET, local_var_path,
|
47
47
|
:query_params => query_params,
|
48
48
|
:body => post_body)
|
49
|
-
return data
|
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.
|
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
|
35
|
+
data = @api_client.call_api(:GET, local_var_path,
|
36
36
|
:query_params => query_params,
|
37
37
|
:body => post_body)
|
38
|
-
return data
|
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
|
51
|
+
data = @api_client.call_api(:GET, local_var_path,
|
52
52
|
:query_params => query_params,
|
53
53
|
:body => post_body)
|
54
|
-
return data
|
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
|
65
|
+
data = @api_client.call_api(:POST, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
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.
|
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
|
31
|
+
data = @api_client.call_api(:POST, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
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
|
46
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
47
47
|
:query_params => query_params,
|
48
48
|
:body => post_body)
|
49
|
-
return data
|
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
|
67
|
+
data = @api_client.call_api(:GET, local_var_path,
|
68
68
|
:query_params => query_params,
|
69
69
|
:body => post_body)
|
70
|
-
return data
|
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
|
83
|
+
data = @api_client.call_api(:GET, local_var_path,
|
84
84
|
:query_params => query_params,
|
85
85
|
:body => post_body)
|
86
|
-
return data
|
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
|
97
|
+
data = @api_client.call_api(:GET, local_var_path,
|
98
98
|
:query_params => query_params,
|
99
99
|
:body => post_body)
|
100
|
-
return data
|
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
|
112
|
+
data = @api_client.call_api(:GET, local_var_path,
|
113
113
|
:query_params => query_params,
|
114
114
|
:body => post_body)
|
115
|
-
return data
|
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
|
127
|
+
data = @api_client.call_api(:GET, local_var_path,
|
128
128
|
:query_params => query_params,
|
129
129
|
:body => post_body)
|
130
|
-
return data
|
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
|
143
|
+
data = @api_client.call_api(:GET, local_var_path,
|
144
144
|
:query_params => query_params,
|
145
145
|
:body => post_body)
|
146
|
-
return data
|
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
|
157
|
+
data = @api_client.call_api(:GET, local_var_path,
|
158
158
|
:query_params => query_params,
|
159
159
|
:body => post_body)
|
160
|
-
return data
|
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
|
172
|
+
data = @api_client.call_api(:GET, local_var_path,
|
173
173
|
:query_params => query_params,
|
174
174
|
:body => post_body)
|
175
|
-
return data
|
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
|
188
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
189
189
|
:query_params => query_params,
|
190
190
|
:body => post_body)
|
191
|
-
return data
|
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
|
203
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
204
204
|
:query_params => query_params,
|
205
205
|
:body => post_body)
|
206
|
-
return data
|
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
|
217
|
+
data = @api_client.call_api(:POST, local_var_path,
|
218
218
|
:query_params => query_params,
|
219
219
|
:body => post_body)
|
220
|
-
return data
|
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
|
231
|
+
data = @api_client.call_api(:POST, local_var_path,
|
232
232
|
:query_params => query_params,
|
233
233
|
:body => post_body)
|
234
|
-
return data
|
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
|
245
|
+
data = @api_client.call_api(:POST, local_var_path,
|
246
246
|
:query_params => query_params,
|
247
247
|
:body => post_body)
|
248
|
-
return data
|
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
|
260
|
+
data = @api_client.call_api(:POST, local_var_path,
|
261
261
|
:query_params => query_params,
|
262
262
|
:body => post_body)
|
263
|
-
return data
|
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
|
275
|
+
data = @api_client.call_api(:POST, local_var_path,
|
276
276
|
:query_params => query_params,
|
277
277
|
:body => post_body)
|
278
|
-
return data
|
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
|
291
|
+
data = @api_client.call_api(:POST, local_var_path,
|
292
292
|
:query_params => query_params,
|
293
293
|
:body => post_body)
|
294
|
-
return data
|
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
|
306
|
+
data = @api_client.call_api(:POST, local_var_path,
|
307
307
|
:query_params => query_params,
|
308
308
|
:body => post_body)
|
309
|
-
return data
|
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.
|
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
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
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
|
47
|
+
data = @api_client.call_api(:GET, local_var_path,
|
48
48
|
:query_params => query_params,
|
49
49
|
:body => post_body)
|
50
|
-
return data
|
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
|
65
|
+
data = @api_client.call_api(:GET, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
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
|
80
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
81
81
|
:query_params => query_params,
|
82
82
|
:body => post_body)
|
83
|
-
return data
|
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
|
94
|
+
data = @api_client.call_api(:POST, local_var_path,
|
95
95
|
:query_params => query_params,
|
96
96
|
:body => post_body)
|
97
|
-
return data
|
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.
|
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
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
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
|
49
|
+
data = @api_client.call_api(:GET, local_var_path,
|
50
50
|
:query_params => query_params,
|
51
51
|
:body => post_body)
|
52
|
-
return data
|
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
|
65
|
+
data = @api_client.call_api(:GET, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
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
|
79
|
+
data = @api_client.call_api(:POST, local_var_path,
|
80
80
|
:query_params => query_params,
|
81
81
|
:body => post_body)
|
82
|
-
return data
|
82
|
+
return data
|
83
83
|
end
|
84
84
|
end
|
85
85
|
end
|