MailchimpMarketing 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MailchimpMarketing.gemspec +2 -2
- data/README.md +2 -2
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -6
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -8
- data/lib/MailchimpMarketing/api/automations_api.rb +1 -40
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -12
- data/lib/MailchimpMarketing/api/batches_api.rb +1 -10
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -12
- data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -46
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -12
- data/lib/MailchimpMarketing/api/conversations_api.rb +1 -12
- data/lib/MailchimpMarketing/api/dashboard_api.rb +1 -14
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -120
- data/lib/MailchimpMarketing/api/external_auths_api.rb +1 -8
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -6
- data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -24
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -18
- data/lib/MailchimpMarketing/api/lists_api.rb +1 -134
- data/lib/MailchimpMarketing/api/ping_api.rb +1 -4
- data/lib/MailchimpMarketing/api/postcards_api.rb +1 -4
- data/lib/MailchimpMarketing/api/reporting_api.rb +1 -14
- data/lib/MailchimpMarketing/api/reports_api.rb +1 -46
- data/lib/MailchimpMarketing/api/root_api.rb +1 -4
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -4
- data/lib/MailchimpMarketing/api/search_members_api.rb +1 -4
- data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -12
- data/lib/MailchimpMarketing/api/templates_api.rb +1 -14
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -12
- data/lib/MailchimpMarketing/api_client.rb +16 -118
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +4 -10
@@ -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.9
|
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,7 +11,6 @@ Swagger Codegen version: 2.4.12
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'uri'
|
14
|
-
require 'json'
|
15
14
|
|
16
15
|
module MailchimpMarketing
|
17
16
|
class BatchesApi
|
@@ -26,13 +25,11 @@ module MailchimpMarketing
|
|
26
25
|
fail ArgumentError, "Missing required param: 'batch_id'" if batch_id.nil?
|
27
26
|
|
28
27
|
query_params = {}
|
29
|
-
form_params = {}
|
30
28
|
post_body = nil
|
31
29
|
|
32
30
|
local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
|
33
31
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
34
32
|
:query_params => query_params,
|
35
|
-
:form_params => form_params,
|
36
33
|
:body => post_body)
|
37
34
|
return data, status_code, headers
|
38
35
|
end
|
@@ -46,13 +43,11 @@ module MailchimpMarketing
|
|
46
43
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
47
44
|
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
|
48
45
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
49
|
-
form_params = {}
|
50
46
|
post_body = nil
|
51
47
|
|
52
48
|
local_var_path = '/batches'
|
53
49
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
54
50
|
:query_params => query_params,
|
55
|
-
:form_params => form_params,
|
56
51
|
:body => post_body)
|
57
52
|
return data, status_code, headers
|
58
53
|
end
|
@@ -64,13 +59,11 @@ module MailchimpMarketing
|
|
64
59
|
query_params = {}
|
65
60
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
66
61
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
67
|
-
form_params = {}
|
68
62
|
post_body = nil
|
69
63
|
|
70
64
|
local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
|
71
65
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
72
66
|
:query_params => query_params,
|
73
|
-
:form_params => form_params,
|
74
67
|
:body => post_body)
|
75
68
|
return data, status_code, headers
|
76
69
|
end
|
@@ -80,13 +73,11 @@ module MailchimpMarketing
|
|
80
73
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
81
74
|
|
82
75
|
query_params = {}
|
83
|
-
form_params = {}
|
84
76
|
post_body = @api_client.object_to_http_body(body)
|
85
77
|
|
86
78
|
local_var_path = '/batches'
|
87
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
88
80
|
:query_params => query_params,
|
89
|
-
:form_params => form_params,
|
90
81
|
:body => post_body)
|
91
82
|
return data, status_code, headers
|
92
83
|
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.9
|
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,7 +11,6 @@ Swagger Codegen version: 2.4.12
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'uri'
|
14
|
-
require 'json'
|
15
14
|
|
16
15
|
module MailchimpMarketing
|
17
16
|
class CampaignFoldersApi
|
@@ -26,13 +25,11 @@ module MailchimpMarketing
|
|
26
25
|
fail ArgumentError, "Missing required param: 'folder_id'" if folder_id.nil?
|
27
26
|
|
28
27
|
query_params = {}
|
29
|
-
form_params = {}
|
30
28
|
post_body = nil
|
31
29
|
|
32
30
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
33
31
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
34
32
|
:query_params => query_params,
|
35
|
-
:form_params => form_params,
|
36
33
|
:body => post_body)
|
37
34
|
return data, status_code, headers
|
38
35
|
end
|
@@ -46,13 +43,11 @@ module MailchimpMarketing
|
|
46
43
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
47
44
|
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
|
48
45
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
49
|
-
form_params = {}
|
50
46
|
post_body = nil
|
51
47
|
|
52
48
|
local_var_path = '/campaign-folders'
|
53
49
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
54
50
|
:query_params => query_params,
|
55
|
-
:form_params => form_params,
|
56
51
|
:body => post_body)
|
57
52
|
return data, status_code, headers
|
58
53
|
end
|
@@ -64,13 +59,11 @@ module MailchimpMarketing
|
|
64
59
|
query_params = {}
|
65
60
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
66
61
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
67
|
-
form_params = {}
|
68
62
|
post_body = nil
|
69
63
|
|
70
64
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
71
65
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
72
66
|
:query_params => query_params,
|
73
|
-
:form_params => form_params,
|
74
67
|
:body => post_body)
|
75
68
|
return data, status_code, headers
|
76
69
|
end
|
@@ -81,13 +74,11 @@ module MailchimpMarketing
|
|
81
74
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
82
75
|
|
83
76
|
query_params = {}
|
84
|
-
form_params = {}
|
85
77
|
post_body = @api_client.object_to_http_body(body)
|
86
78
|
|
87
79
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
88
80
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
89
81
|
:query_params => query_params,
|
90
|
-
:form_params => form_params,
|
91
82
|
:body => post_body)
|
92
83
|
return data, status_code, headers
|
93
84
|
end
|
@@ -97,13 +88,11 @@ module MailchimpMarketing
|
|
97
88
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
98
89
|
|
99
90
|
query_params = {}
|
100
|
-
form_params = {}
|
101
91
|
post_body = @api_client.object_to_http_body(body)
|
102
92
|
|
103
93
|
local_var_path = '/campaign-folders'
|
104
94
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
105
95
|
:query_params => query_params,
|
106
|
-
:form_params => form_params,
|
107
96
|
:body => post_body)
|
108
97
|
return data, status_code, headers
|
109
98
|
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.9
|
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,7 +11,6 @@ Swagger Codegen version: 2.4.12
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'uri'
|
14
|
-
require 'json'
|
15
14
|
|
16
15
|
module MailchimpMarketing
|
17
16
|
class CampaignsApi
|
@@ -26,13 +25,11 @@ module MailchimpMarketing
|
|
26
25
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
27
26
|
|
28
27
|
query_params = {}
|
29
|
-
form_params = {}
|
30
28
|
post_body = nil
|
31
29
|
|
32
30
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
33
31
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
34
32
|
:query_params => query_params,
|
35
|
-
:form_params => form_params,
|
36
33
|
:body => post_body)
|
37
34
|
return data, status_code, headers
|
38
35
|
end
|
@@ -43,13 +40,11 @@ module MailchimpMarketing
|
|
43
40
|
fail ArgumentError, "Missing required param: 'feedback_id'" if feedback_id.nil?
|
44
41
|
|
45
42
|
query_params = {}
|
46
|
-
form_params = {}
|
47
43
|
post_body = nil
|
48
44
|
|
49
45
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
50
46
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
51
47
|
:query_params => query_params,
|
52
|
-
:form_params => form_params,
|
53
48
|
:body => post_body)
|
54
49
|
return data, status_code, headers
|
55
50
|
end
|
@@ -78,13 +73,11 @@ module MailchimpMarketing
|
|
78
73
|
query_params[:'member_id'] = opts[:'member_id'] if !opts[:'member_id'].nil?
|
79
74
|
query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
|
80
75
|
query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
|
81
|
-
form_params = {}
|
82
76
|
post_body = nil
|
83
77
|
|
84
78
|
local_var_path = '/campaigns'
|
85
79
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
86
80
|
:query_params => query_params,
|
87
|
-
:form_params => form_params,
|
88
81
|
:body => post_body)
|
89
82
|
return data, status_code, headers
|
90
83
|
end
|
@@ -96,13 +89,11 @@ module MailchimpMarketing
|
|
96
89
|
query_params = {}
|
97
90
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
98
91
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
99
|
-
form_params = {}
|
100
92
|
post_body = nil
|
101
93
|
|
102
94
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
103
95
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
104
96
|
:query_params => query_params,
|
105
|
-
:form_params => form_params,
|
106
97
|
:body => post_body)
|
107
98
|
return data, status_code, headers
|
108
99
|
end
|
@@ -114,13 +105,11 @@ module MailchimpMarketing
|
|
114
105
|
query_params = {}
|
115
106
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
116
107
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
117
|
-
form_params = {}
|
118
108
|
post_body = nil
|
119
109
|
|
120
110
|
local_var_path = '/campaigns/{campaign_id}/content'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
121
111
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
122
112
|
:query_params => query_params,
|
123
|
-
:form_params => form_params,
|
124
113
|
:body => post_body)
|
125
114
|
return data, status_code, headers
|
126
115
|
end
|
@@ -132,13 +121,11 @@ module MailchimpMarketing
|
|
132
121
|
query_params = {}
|
133
122
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
134
123
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
135
|
-
form_params = {}
|
136
124
|
post_body = nil
|
137
125
|
|
138
126
|
local_var_path = '/campaigns/{campaign_id}/feedback'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
139
127
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
140
128
|
:query_params => query_params,
|
141
|
-
:form_params => form_params,
|
142
129
|
:body => post_body)
|
143
130
|
return data, status_code, headers
|
144
131
|
end
|
@@ -151,13 +138,11 @@ module MailchimpMarketing
|
|
151
138
|
query_params = {}
|
152
139
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
153
140
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
154
|
-
form_params = {}
|
155
141
|
post_body = nil
|
156
142
|
|
157
143
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
158
144
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
159
145
|
:query_params => query_params,
|
160
|
-
:form_params => form_params,
|
161
146
|
:body => post_body)
|
162
147
|
return data, status_code, headers
|
163
148
|
end
|
@@ -169,13 +154,11 @@ module MailchimpMarketing
|
|
169
154
|
query_params = {}
|
170
155
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
171
156
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
|
172
|
-
form_params = {}
|
173
157
|
post_body = nil
|
174
158
|
|
175
159
|
local_var_path = '/campaigns/{campaign_id}/send-checklist'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
176
160
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
177
161
|
:query_params => query_params,
|
178
|
-
:form_params => form_params,
|
179
162
|
:body => post_body)
|
180
163
|
return data, status_code, headers
|
181
164
|
end
|
@@ -186,13 +169,11 @@ module MailchimpMarketing
|
|
186
169
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
187
170
|
|
188
171
|
query_params = {}
|
189
|
-
form_params = {}
|
190
172
|
post_body = @api_client.object_to_http_body(body)
|
191
173
|
|
192
174
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
193
175
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
194
176
|
:query_params => query_params,
|
195
|
-
:form_params => form_params,
|
196
177
|
:body => post_body)
|
197
178
|
return data, status_code, headers
|
198
179
|
end
|
@@ -204,13 +185,11 @@ module MailchimpMarketing
|
|
204
185
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
205
186
|
|
206
187
|
query_params = {}
|
207
|
-
form_params = {}
|
208
188
|
post_body = @api_client.object_to_http_body(body)
|
209
189
|
|
210
190
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
211
191
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
212
192
|
:query_params => query_params,
|
213
|
-
:form_params => form_params,
|
214
193
|
:body => post_body)
|
215
194
|
return data, status_code, headers
|
216
195
|
end
|
@@ -220,13 +199,11 @@ module MailchimpMarketing
|
|
220
199
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
221
200
|
|
222
201
|
query_params = {}
|
223
|
-
form_params = {}
|
224
202
|
post_body = @api_client.object_to_http_body(body)
|
225
203
|
|
226
204
|
local_var_path = '/campaigns'
|
227
205
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
228
206
|
:query_params => query_params,
|
229
|
-
:form_params => form_params,
|
230
207
|
:body => post_body)
|
231
208
|
return data, status_code, headers
|
232
209
|
end
|
@@ -236,13 +213,11 @@ module MailchimpMarketing
|
|
236
213
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
237
214
|
|
238
215
|
query_params = {}
|
239
|
-
form_params = {}
|
240
216
|
post_body = nil
|
241
217
|
|
242
218
|
local_var_path = '/campaigns/{campaign_id}/actions/cancel-send'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
243
219
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
244
220
|
:query_params => query_params,
|
245
|
-
:form_params => form_params,
|
246
221
|
:body => post_body)
|
247
222
|
return data, status_code, headers
|
248
223
|
end
|
@@ -252,13 +227,11 @@ module MailchimpMarketing
|
|
252
227
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
253
228
|
|
254
229
|
query_params = {}
|
255
|
-
form_params = {}
|
256
230
|
post_body = nil
|
257
231
|
|
258
232
|
local_var_path = '/campaigns/{campaign_id}/actions/create-resend'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
259
233
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
260
234
|
:query_params => query_params,
|
261
|
-
:form_params => form_params,
|
262
235
|
:body => post_body)
|
263
236
|
return data, status_code, headers
|
264
237
|
end
|
@@ -268,13 +241,11 @@ module MailchimpMarketing
|
|
268
241
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
269
242
|
|
270
243
|
query_params = {}
|
271
|
-
form_params = {}
|
272
244
|
post_body = nil
|
273
245
|
|
274
246
|
local_var_path = '/campaigns/{campaign_id}/actions/pause'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
275
247
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
276
248
|
:query_params => query_params,
|
277
|
-
:form_params => form_params,
|
278
249
|
:body => post_body)
|
279
250
|
return data, status_code, headers
|
280
251
|
end
|
@@ -284,13 +255,11 @@ module MailchimpMarketing
|
|
284
255
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
285
256
|
|
286
257
|
query_params = {}
|
287
|
-
form_params = {}
|
288
258
|
post_body = nil
|
289
259
|
|
290
260
|
local_var_path = '/campaigns/{campaign_id}/actions/replicate'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
291
261
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
292
262
|
:query_params => query_params,
|
293
|
-
:form_params => form_params,
|
294
263
|
:body => post_body)
|
295
264
|
return data, status_code, headers
|
296
265
|
end
|
@@ -300,13 +269,11 @@ module MailchimpMarketing
|
|
300
269
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
301
270
|
|
302
271
|
query_params = {}
|
303
|
-
form_params = {}
|
304
272
|
post_body = nil
|
305
273
|
|
306
274
|
local_var_path = '/campaigns/{campaign_id}/actions/resume'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
307
275
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
308
276
|
:query_params => query_params,
|
309
|
-
:form_params => form_params,
|
310
277
|
:body => post_body)
|
311
278
|
return data, status_code, headers
|
312
279
|
end
|
@@ -317,13 +284,11 @@ module MailchimpMarketing
|
|
317
284
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
318
285
|
|
319
286
|
query_params = {}
|
320
|
-
form_params = {}
|
321
287
|
post_body = @api_client.object_to_http_body(body)
|
322
288
|
|
323
289
|
local_var_path = '/campaigns/{campaign_id}/actions/schedule'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
324
290
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
325
291
|
:query_params => query_params,
|
326
|
-
:form_params => form_params,
|
327
292
|
:body => post_body)
|
328
293
|
return data, status_code, headers
|
329
294
|
end
|
@@ -333,13 +298,11 @@ module MailchimpMarketing
|
|
333
298
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
334
299
|
|
335
300
|
query_params = {}
|
336
|
-
form_params = {}
|
337
301
|
post_body = nil
|
338
302
|
|
339
303
|
local_var_path = '/campaigns/{campaign_id}/actions/send'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
340
304
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
341
305
|
:query_params => query_params,
|
342
|
-
:form_params => form_params,
|
343
306
|
:body => post_body)
|
344
307
|
return data, status_code, headers
|
345
308
|
end
|
@@ -350,13 +313,11 @@ module MailchimpMarketing
|
|
350
313
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
351
314
|
|
352
315
|
query_params = {}
|
353
|
-
form_params = {}
|
354
316
|
post_body = @api_client.object_to_http_body(body)
|
355
317
|
|
356
318
|
local_var_path = '/campaigns/{campaign_id}/actions/test'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
357
319
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
358
320
|
:query_params => query_params,
|
359
|
-
:form_params => form_params,
|
360
321
|
:body => post_body)
|
361
322
|
return data, status_code, headers
|
362
323
|
end
|
@@ -366,13 +327,11 @@ module MailchimpMarketing
|
|
366
327
|
fail ArgumentError, "Missing required param: 'campaign_id'" if campaign_id.nil?
|
367
328
|
|
368
329
|
query_params = {}
|
369
|
-
form_params = {}
|
370
330
|
post_body = nil
|
371
331
|
|
372
332
|
local_var_path = '/campaigns/{campaign_id}/actions/unschedule'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
373
333
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
374
334
|
:query_params => query_params,
|
375
|
-
:form_params => form_params,
|
376
335
|
:body => post_body)
|
377
336
|
return data, status_code, headers
|
378
337
|
end
|
@@ -383,13 +342,11 @@ module MailchimpMarketing
|
|
383
342
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
384
343
|
|
385
344
|
query_params = {}
|
386
|
-
form_params = {}
|
387
345
|
post_body = @api_client.object_to_http_body(body)
|
388
346
|
|
389
347
|
local_var_path = '/campaigns/{campaign_id}/feedback'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
390
348
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
391
349
|
:query_params => query_params,
|
392
|
-
:form_params => form_params,
|
393
350
|
:body => post_body)
|
394
351
|
return data, status_code, headers
|
395
352
|
end
|
@@ -400,13 +357,11 @@ module MailchimpMarketing
|
|
400
357
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
401
358
|
|
402
359
|
query_params = {}
|
403
|
-
form_params = {}
|
404
360
|
post_body = @api_client.object_to_http_body(body)
|
405
361
|
|
406
362
|
local_var_path = '/campaigns/{campaign_id}/content'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
407
363
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
408
364
|
:query_params => query_params,
|
409
|
-
:form_params => form_params,
|
410
365
|
:body => post_body)
|
411
366
|
return data, status_code, headers
|
412
367
|
end
|