bombbomb 2.0.0 → 2.0.831
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +16 -9
- data/Rakefile +8 -3
- data/bombbomb.gemspec +8 -17
- data/docs/AutomationsApi.md +52 -0
- data/docs/ClientGroupAssetMetaData.md +11 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/JerichoConfiguration.md +1 -0
- data/docs/PromptMonthlyPerformance.md +11 -0
- data/docs/PromptOverview.md +11 -0
- data/docs/PromptsApi.md +53 -1
- data/docs/TeamsApi.md +103 -5
- data/docs/UsersApi.md +100 -0
- data/git_push.sh +1 -13
- data/lib/bombbomb.rb +6 -14
- data/lib/bombbomb/api/accounts_api.rb +41 -68
- data/lib/bombbomb/api/automations_api.rb +71 -30
- data/lib/bombbomb/api/contacts_api.rb +47 -76
- data/lib/bombbomb/api/curriculum_api.rb +8 -27
- data/lib/bombbomb/api/emails_api.rb +53 -96
- data/lib/bombbomb/api/files_api.rb +32 -53
- data/lib/bombbomb/api/forms_api.rb +8 -21
- data/lib/bombbomb/api/integrations_api.rb +26 -51
- data/lib/bombbomb/api/lists_api.rb +32 -53
- data/lib/bombbomb/api/orders_api.rb +8 -21
- data/lib/bombbomb/api/prompts_api.rb +177 -139
- data/lib/bombbomb/api/socials_api.rb +80 -111
- data/lib/bombbomb/api/teams_api.rb +294 -209
- data/lib/bombbomb/api/users_api.rb +119 -0
- data/lib/bombbomb/api/utilities_api.rb +23 -44
- data/lib/bombbomb/api/videos_api.rb +38 -55
- data/lib/bombbomb/api/webhooks_api.rb +23 -50
- data/lib/bombbomb/api_client.rb +55 -45
- data/lib/bombbomb/api_error.rb +9 -18
- data/lib/bombbomb/configuration.rb +8 -13
- data/lib/bombbomb/models/bb_web_hook.rb +6 -17
- data/lib/bombbomb/models/client_group_asset_meta_data.rb +215 -0
- data/lib/bombbomb/models/curriculum.rb +6 -17
- data/lib/bombbomb/models/curriculum_user_progress.rb +6 -17
- data/lib/bombbomb/models/curriculum_with_progress.rb +6 -17
- data/lib/bombbomb/models/hosted_doc.rb +6 -17
- data/lib/bombbomb/models/inline_response_200.rb +7 -18
- data/lib/bombbomb/models/jericho_configuration.rb +24 -21
- data/lib/bombbomb/models/jericho_performance.rb +6 -17
- data/lib/bombbomb/models/o_auth_client.rb +6 -17
- data/lib/bombbomb/models/prompt_bot.rb +6 -17
- data/lib/bombbomb/models/prompt_monthly_performance.rb +219 -0
- data/lib/bombbomb/models/prompt_overview.rb +219 -0
- data/lib/bombbomb/models/prompt_social_prompt.rb +6 -17
- data/lib/bombbomb/models/sign_upload_request.rb +6 -17
- data/lib/bombbomb/models/sign_upload_response.rb +6 -17
- data/lib/bombbomb/models/string.rb +6 -17
- data/lib/bombbomb/models/team_public_representation.rb +6 -17
- data/lib/bombbomb/models/video_email_prompt.rb +6 -17
- data/lib/bombbomb/models/video_encoding_status_response.rb +6 -17
- data/lib/bombbomb/models/video_public_representation.rb +6 -17
- data/lib/bombbomb/models/video_recorder_method_response.rb +6 -17
- data/lib/bombbomb/version.rb +3 -14
- data/spec/api/users_api_spec.rb +57 -0
- data/spec/models/{inline_response_200_items_spec.rb → client_group_asset_meta_data_spec.rb} +8 -19
- data/spec/models/prompt_monthly_performance_spec.rb +60 -0
- data/spec/models/prompt_overview_spec.rb +60 -0
- metadata +31 -19
- data/spec/models/prompt_bot_bot_spec.rb +0 -113
@@ -3,21 +3,10 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.831
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
9
|
+
Swagger Codegen version: 2.3.1
|
21
10
|
|
22
11
|
=end
|
23
12
|
|
@@ -53,25 +42,25 @@ module BombBomb
|
|
53
42
|
@api_client.config.logger.debug "Calling API: ContactsApi.add_contacts_csv ..."
|
54
43
|
end
|
55
44
|
# verify the required parameter 'mapping_data' is set
|
56
|
-
|
45
|
+
if @api_client.config.client_side_validation && mapping_data.nil?
|
46
|
+
fail ArgumentError, "Missing the required parameter 'mapping_data' when calling ContactsApi.add_contacts_csv"
|
47
|
+
end
|
57
48
|
# verify the required parameter 'list_data' is set
|
58
|
-
|
49
|
+
if @api_client.config.client_side_validation && list_data.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'list_data' when calling ContactsApi.add_contacts_csv"
|
51
|
+
end
|
59
52
|
# resource path
|
60
|
-
local_var_path = "/contacts/import_csv"
|
53
|
+
local_var_path = "/contacts/import_csv"
|
61
54
|
|
62
55
|
# query parameters
|
63
56
|
query_params = {}
|
64
57
|
|
65
58
|
# header parameters
|
66
59
|
header_params = {}
|
67
|
-
|
68
60
|
# HTTP header 'Accept' (if needed)
|
69
|
-
|
70
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
71
|
-
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
72
62
|
# HTTP header 'Content-Type'
|
73
|
-
|
74
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
75
64
|
|
76
65
|
# form parameters
|
77
66
|
form_params = {}
|
@@ -115,23 +104,21 @@ module BombBomb
|
|
115
104
|
@api_client.config.logger.debug "Calling API: ContactsApi.add_new_contact ..."
|
116
105
|
end
|
117
106
|
# verify the required parameter 'contact_email' is set
|
118
|
-
|
107
|
+
if @api_client.config.client_side_validation && contact_email.nil?
|
108
|
+
fail ArgumentError, "Missing the required parameter 'contact_email' when calling ContactsApi.add_new_contact"
|
109
|
+
end
|
119
110
|
# resource path
|
120
|
-
local_var_path = "/contacts/"
|
111
|
+
local_var_path = "/contacts/"
|
121
112
|
|
122
113
|
# query parameters
|
123
114
|
query_params = {}
|
124
115
|
|
125
116
|
# header parameters
|
126
117
|
header_params = {}
|
127
|
-
|
128
118
|
# HTTP header 'Accept' (if needed)
|
129
|
-
|
130
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
131
|
-
|
119
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
132
120
|
# HTTP header 'Content-Type'
|
133
|
-
|
134
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
121
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
135
122
|
|
136
123
|
# form parameters
|
137
124
|
form_params = {}
|
@@ -175,23 +162,21 @@ module BombBomb
|
|
175
162
|
@api_client.config.logger.debug "Calling API: ContactsApi.add_new_custom_field ..."
|
176
163
|
end
|
177
164
|
# verify the required parameter 'field_name' is set
|
178
|
-
|
165
|
+
if @api_client.config.client_side_validation && field_name.nil?
|
166
|
+
fail ArgumentError, "Missing the required parameter 'field_name' when calling ContactsApi.add_new_custom_field"
|
167
|
+
end
|
179
168
|
# resource path
|
180
|
-
local_var_path = "/contacts/custom_fields/"
|
169
|
+
local_var_path = "/contacts/custom_fields/"
|
181
170
|
|
182
171
|
# query parameters
|
183
172
|
query_params = {}
|
184
173
|
|
185
174
|
# header parameters
|
186
175
|
header_params = {}
|
187
|
-
|
188
176
|
# HTTP header 'Accept' (if needed)
|
189
|
-
|
190
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
191
|
-
|
177
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
192
178
|
# HTTP header 'Content-Type'
|
193
|
-
|
194
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
179
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
195
180
|
|
196
181
|
# form parameters
|
197
182
|
form_params = {}
|
@@ -235,23 +220,21 @@ module BombBomb
|
|
235
220
|
@api_client.config.logger.debug "Calling API: ContactsApi.add_pasted_contacts ..."
|
236
221
|
end
|
237
222
|
# verify the required parameter 'contact_emails' is set
|
238
|
-
|
223
|
+
if @api_client.config.client_side_validation && contact_emails.nil?
|
224
|
+
fail ArgumentError, "Missing the required parameter 'contact_emails' when calling ContactsApi.add_pasted_contacts"
|
225
|
+
end
|
239
226
|
# resource path
|
240
|
-
local_var_path = "/contacts/paste"
|
227
|
+
local_var_path = "/contacts/paste"
|
241
228
|
|
242
229
|
# query parameters
|
243
230
|
query_params = {}
|
244
231
|
|
245
232
|
# header parameters
|
246
233
|
header_params = {}
|
247
|
-
|
248
234
|
# HTTP header 'Accept' (if needed)
|
249
|
-
|
250
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
251
|
-
|
235
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
252
236
|
# HTTP header 'Content-Type'
|
253
|
-
|
254
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
237
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
255
238
|
|
256
239
|
# form parameters
|
257
240
|
form_params = {}
|
@@ -293,23 +276,21 @@ module BombBomb
|
|
293
276
|
@api_client.config.logger.debug "Calling API: ContactsApi.c_sv_to_object ..."
|
294
277
|
end
|
295
278
|
# verify the required parameter 'file' is set
|
296
|
-
|
279
|
+
if @api_client.config.client_side_validation && file.nil?
|
280
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling ContactsApi.c_sv_to_object"
|
281
|
+
end
|
297
282
|
# resource path
|
298
|
-
local_var_path = "/csv-to-object"
|
283
|
+
local_var_path = "/csv-to-object"
|
299
284
|
|
300
285
|
# query parameters
|
301
286
|
query_params = {}
|
302
287
|
|
303
288
|
# header parameters
|
304
289
|
header_params = {}
|
305
|
-
|
306
290
|
# HTTP header 'Accept' (if needed)
|
307
|
-
|
308
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
309
|
-
|
291
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
310
292
|
# HTTP header 'Content-Type'
|
311
|
-
|
312
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
293
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
313
294
|
|
314
295
|
# form parameters
|
315
296
|
form_params = {}
|
@@ -352,21 +333,17 @@ module BombBomb
|
|
352
333
|
@api_client.config.logger.debug "Calling API: ContactsApi.delete_contacts ..."
|
353
334
|
end
|
354
335
|
# resource path
|
355
|
-
local_var_path = "/contacts/delete"
|
336
|
+
local_var_path = "/contacts/delete"
|
356
337
|
|
357
338
|
# query parameters
|
358
339
|
query_params = {}
|
359
340
|
|
360
341
|
# header parameters
|
361
342
|
header_params = {}
|
362
|
-
|
363
343
|
# HTTP header 'Accept' (if needed)
|
364
|
-
|
365
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
366
|
-
|
344
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
367
345
|
# HTTP header 'Content-Type'
|
368
|
-
|
369
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
346
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
370
347
|
|
371
348
|
# form parameters
|
372
349
|
form_params = {}
|
@@ -408,23 +385,21 @@ module BombBomb
|
|
408
385
|
@api_client.config.logger.debug "Calling API: ContactsApi.get_contact_by_id ..."
|
409
386
|
end
|
410
387
|
# verify the required parameter 'id' is set
|
411
|
-
|
388
|
+
if @api_client.config.client_side_validation && id.nil?
|
389
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ContactsApi.get_contact_by_id"
|
390
|
+
end
|
412
391
|
# resource path
|
413
|
-
local_var_path = "/contact/{id}".sub('{
|
392
|
+
local_var_path = "/contact/{id}".sub('{' + 'id' + '}', id.to_s)
|
414
393
|
|
415
394
|
# query parameters
|
416
395
|
query_params = {}
|
417
396
|
|
418
397
|
# header parameters
|
419
398
|
header_params = {}
|
420
|
-
|
421
399
|
# HTTP header 'Accept' (if needed)
|
422
|
-
|
423
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
424
|
-
|
400
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
425
401
|
# HTTP header 'Content-Type'
|
426
|
-
|
427
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
402
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
428
403
|
|
429
404
|
# form parameters
|
430
405
|
form_params = {}
|
@@ -462,21 +437,17 @@ module BombBomb
|
|
462
437
|
@api_client.config.logger.debug "Calling API: ContactsApi.get_custom_fields ..."
|
463
438
|
end
|
464
439
|
# resource path
|
465
|
-
local_var_path = "/contacts/custom_fields/"
|
440
|
+
local_var_path = "/contacts/custom_fields/"
|
466
441
|
|
467
442
|
# query parameters
|
468
443
|
query_params = {}
|
469
444
|
|
470
445
|
# header parameters
|
471
446
|
header_params = {}
|
472
|
-
|
473
447
|
# HTTP header 'Accept' (if needed)
|
474
|
-
|
475
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
476
|
-
|
448
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
477
449
|
# HTTP header 'Content-Type'
|
478
|
-
|
479
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
450
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
480
451
|
|
481
452
|
# form parameters
|
482
453
|
form_params = {}
|
@@ -3,21 +3,10 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.831
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
9
|
+
Swagger Codegen version: 2.3.1
|
21
10
|
|
22
11
|
=end
|
23
12
|
|
@@ -51,7 +40,7 @@ module BombBomb
|
|
51
40
|
@api_client.config.logger.debug "Calling API: CurriculumApi.get_curricula ..."
|
52
41
|
end
|
53
42
|
# resource path
|
54
|
-
local_var_path = "/curricula/"
|
43
|
+
local_var_path = "/curricula/"
|
55
44
|
|
56
45
|
# query parameters
|
57
46
|
query_params = {}
|
@@ -59,14 +48,10 @@ module BombBomb
|
|
59
48
|
|
60
49
|
# header parameters
|
61
50
|
header_params = {}
|
62
|
-
|
63
51
|
# HTTP header 'Accept' (if needed)
|
64
|
-
|
65
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
66
|
-
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
67
53
|
# HTTP header 'Content-Type'
|
68
|
-
|
69
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
54
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
70
55
|
|
71
56
|
# form parameters
|
72
57
|
form_params = {}
|
@@ -105,21 +90,17 @@ module BombBomb
|
|
105
90
|
@api_client.config.logger.debug "Calling API: CurriculumApi.get_user_curriculum_with_progress ..."
|
106
91
|
end
|
107
92
|
# resource path
|
108
|
-
local_var_path = "/curriculum/getForUserWithProgress"
|
93
|
+
local_var_path = "/curriculum/getForUserWithProgress"
|
109
94
|
|
110
95
|
# query parameters
|
111
96
|
query_params = {}
|
112
97
|
|
113
98
|
# header parameters
|
114
99
|
header_params = {}
|
115
|
-
|
116
100
|
# HTTP header 'Accept' (if needed)
|
117
|
-
|
118
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
119
|
-
|
101
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
120
102
|
# HTTP header 'Content-Type'
|
121
|
-
|
122
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
103
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
123
104
|
|
124
105
|
# form parameters
|
125
106
|
form_params = {}
|
@@ -3,21 +3,10 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.831
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
9
|
+
Swagger Codegen version: 2.3.1
|
21
10
|
|
22
11
|
=end
|
23
12
|
|
@@ -59,25 +48,25 @@ module BombBomb
|
|
59
48
|
@api_client.config.logger.debug "Calling API: EmailsApi.create_printing_press_email ..."
|
60
49
|
end
|
61
50
|
# verify the required parameter 'template_id' is set
|
62
|
-
|
51
|
+
if @api_client.config.client_side_validation && template_id.nil?
|
52
|
+
fail ArgumentError, "Missing the required parameter 'template_id' when calling EmailsApi.create_printing_press_email"
|
53
|
+
end
|
63
54
|
# verify the required parameter 'content' is set
|
64
|
-
|
55
|
+
if @api_client.config.client_side_validation && content.nil?
|
56
|
+
fail ArgumentError, "Missing the required parameter 'content' when calling EmailsApi.create_printing_press_email"
|
57
|
+
end
|
65
58
|
# resource path
|
66
|
-
local_var_path = "/emails/print"
|
59
|
+
local_var_path = "/emails/print"
|
67
60
|
|
68
61
|
# query parameters
|
69
62
|
query_params = {}
|
70
63
|
|
71
64
|
# header parameters
|
72
65
|
header_params = {}
|
73
|
-
|
74
66
|
# HTTP header 'Accept' (if needed)
|
75
|
-
|
76
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
77
|
-
|
67
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
78
68
|
# HTTP header 'Content-Type'
|
79
|
-
|
80
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
69
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
81
70
|
|
82
71
|
# form parameters
|
83
72
|
form_params = {}
|
@@ -122,7 +111,7 @@ module BombBomb
|
|
122
111
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_all_templates_for_current_user ..."
|
123
112
|
end
|
124
113
|
# resource path
|
125
|
-
local_var_path = "/emails/templates"
|
114
|
+
local_var_path = "/emails/templates"
|
126
115
|
|
127
116
|
# query parameters
|
128
117
|
query_params = {}
|
@@ -130,14 +119,10 @@ module BombBomb
|
|
130
119
|
|
131
120
|
# header parameters
|
132
121
|
header_params = {}
|
133
|
-
|
134
122
|
# HTTP header 'Accept' (if needed)
|
135
|
-
|
136
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
137
|
-
|
123
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
138
124
|
# HTTP header 'Content-Type'
|
139
|
-
|
140
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
125
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
141
126
|
|
142
127
|
# form parameters
|
143
128
|
form_params = {}
|
@@ -179,9 +164,11 @@ module BombBomb
|
|
179
164
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_email_tracking ..."
|
180
165
|
end
|
181
166
|
# verify the required parameter 'email_id' is set
|
182
|
-
|
167
|
+
if @api_client.config.client_side_validation && email_id.nil?
|
168
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailsApi.get_email_tracking"
|
169
|
+
end
|
183
170
|
# resource path
|
184
|
-
local_var_path = "/emails/{emailId}/tracking".sub('{
|
171
|
+
local_var_path = "/emails/{emailId}/tracking".sub('{' + 'emailId' + '}', email_id.to_s)
|
185
172
|
|
186
173
|
# query parameters
|
187
174
|
query_params = {}
|
@@ -189,14 +176,10 @@ module BombBomb
|
|
189
176
|
|
190
177
|
# header parameters
|
191
178
|
header_params = {}
|
192
|
-
|
193
179
|
# HTTP header 'Accept' (if needed)
|
194
|
-
|
195
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
196
|
-
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
197
181
|
# HTTP header 'Content-Type'
|
198
|
-
|
199
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
182
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
200
183
|
|
201
184
|
# form parameters
|
202
185
|
form_params = {}
|
@@ -242,9 +225,11 @@ module BombBomb
|
|
242
225
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_email_tracking_interactions ..."
|
243
226
|
end
|
244
227
|
# verify the required parameter 'email_id' is set
|
245
|
-
|
228
|
+
if @api_client.config.client_side_validation && email_id.nil?
|
229
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailsApi.get_email_tracking_interactions"
|
230
|
+
end
|
246
231
|
# resource path
|
247
|
-
local_var_path = "/emails/{emailId}/tracking/interactions".sub('{
|
232
|
+
local_var_path = "/emails/{emailId}/tracking/interactions".sub('{' + 'emailId' + '}', email_id.to_s)
|
248
233
|
|
249
234
|
# query parameters
|
250
235
|
query_params = {}
|
@@ -254,14 +239,10 @@ module BombBomb
|
|
254
239
|
|
255
240
|
# header parameters
|
256
241
|
header_params = {}
|
257
|
-
|
258
242
|
# HTTP header 'Accept' (if needed)
|
259
|
-
|
260
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
261
|
-
|
243
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
262
244
|
# HTTP header 'Content-Type'
|
263
|
-
|
264
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
245
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
265
246
|
|
266
247
|
# form parameters
|
267
248
|
form_params = {}
|
@@ -305,9 +286,11 @@ module BombBomb
|
|
305
286
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_hourly_email_tracking ..."
|
306
287
|
end
|
307
288
|
# verify the required parameter 'email_id' is set
|
308
|
-
|
289
|
+
if @api_client.config.client_side_validation && email_id.nil?
|
290
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailsApi.get_hourly_email_tracking"
|
291
|
+
end
|
309
292
|
# resource path
|
310
|
-
local_var_path = "/emails/{emailId}/tracking/hourly".sub('{
|
293
|
+
local_var_path = "/emails/{emailId}/tracking/hourly".sub('{' + 'emailId' + '}', email_id.to_s)
|
311
294
|
|
312
295
|
# query parameters
|
313
296
|
query_params = {}
|
@@ -316,14 +299,10 @@ module BombBomb
|
|
316
299
|
|
317
300
|
# header parameters
|
318
301
|
header_params = {}
|
319
|
-
|
320
302
|
# HTTP header 'Accept' (if needed)
|
321
|
-
|
322
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
323
|
-
|
303
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
324
304
|
# HTTP header 'Content-Type'
|
325
|
-
|
326
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
305
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
327
306
|
|
328
307
|
# form parameters
|
329
308
|
form_params = {}
|
@@ -361,21 +340,17 @@ module BombBomb
|
|
361
340
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_live_fire_data ..."
|
362
341
|
end
|
363
342
|
# resource path
|
364
|
-
local_var_path = "/emails/livefire"
|
343
|
+
local_var_path = "/emails/livefire"
|
365
344
|
|
366
345
|
# query parameters
|
367
346
|
query_params = {}
|
368
347
|
|
369
348
|
# header parameters
|
370
349
|
header_params = {}
|
371
|
-
|
372
350
|
# HTTP header 'Accept' (if needed)
|
373
|
-
|
374
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
375
|
-
|
351
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
376
352
|
# HTTP header 'Content-Type'
|
377
|
-
|
378
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
353
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
379
354
|
|
380
355
|
# form parameters
|
381
356
|
form_params = {}
|
@@ -413,21 +388,17 @@ module BombBomb
|
|
413
388
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_quick_send_templates ..."
|
414
389
|
end
|
415
390
|
# resource path
|
416
|
-
local_var_path = "/emails/quicksend/templates"
|
391
|
+
local_var_path = "/emails/quicksend/templates"
|
417
392
|
|
418
393
|
# query parameters
|
419
394
|
query_params = {}
|
420
395
|
|
421
396
|
# header parameters
|
422
397
|
header_params = {}
|
423
|
-
|
424
398
|
# HTTP header 'Accept' (if needed)
|
425
|
-
|
426
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
427
|
-
|
399
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
428
400
|
# HTTP header 'Content-Type'
|
429
|
-
|
430
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
401
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
431
402
|
|
432
403
|
# form parameters
|
433
404
|
form_params = {}
|
@@ -469,9 +440,11 @@ module BombBomb
|
|
469
440
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_template_html_for_template_id ..."
|
470
441
|
end
|
471
442
|
# verify the required parameter 'template_id' is set
|
472
|
-
|
443
|
+
if @api_client.config.client_side_validation && template_id.nil?
|
444
|
+
fail ArgumentError, "Missing the required parameter 'template_id' when calling EmailsApi.get_template_html_for_template_id"
|
445
|
+
end
|
473
446
|
# resource path
|
474
|
-
local_var_path = "/emails/templates/{templateId}/html".sub('{
|
447
|
+
local_var_path = "/emails/templates/{templateId}/html".sub('{' + 'templateId' + '}', template_id.to_s)
|
475
448
|
|
476
449
|
# query parameters
|
477
450
|
query_params = {}
|
@@ -479,14 +452,10 @@ module BombBomb
|
|
479
452
|
|
480
453
|
# header parameters
|
481
454
|
header_params = {}
|
482
|
-
|
483
455
|
# HTTP header 'Accept' (if needed)
|
484
|
-
|
485
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
486
|
-
|
456
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
487
457
|
# HTTP header 'Content-Type'
|
488
|
-
|
489
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
458
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
490
459
|
|
491
460
|
# form parameters
|
492
461
|
form_params = {}
|
@@ -534,7 +503,7 @@ module BombBomb
|
|
534
503
|
@api_client.config.logger.debug "Calling API: EmailsApi.get_video_quick_sender_data ..."
|
535
504
|
end
|
536
505
|
# resource path
|
537
|
-
local_var_path = "/emails/quicksend"
|
506
|
+
local_var_path = "/emails/quicksend"
|
538
507
|
|
539
508
|
# query parameters
|
540
509
|
query_params = {}
|
@@ -546,14 +515,10 @@ module BombBomb
|
|
546
515
|
|
547
516
|
# header parameters
|
548
517
|
header_params = {}
|
549
|
-
|
550
518
|
# HTTP header 'Accept' (if needed)
|
551
|
-
|
552
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
553
|
-
|
519
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
554
520
|
# HTTP header 'Content-Type'
|
555
|
-
|
556
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
521
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
557
522
|
|
558
523
|
# form parameters
|
559
524
|
form_params = {}
|
@@ -597,21 +562,17 @@ module BombBomb
|
|
597
562
|
@api_client.config.logger.debug "Calling API: EmailsApi.save_quick_sender_settings ..."
|
598
563
|
end
|
599
564
|
# resource path
|
600
|
-
local_var_path = "/emails/quicksend/settings"
|
565
|
+
local_var_path = "/emails/quicksend/settings"
|
601
566
|
|
602
567
|
# query parameters
|
603
568
|
query_params = {}
|
604
569
|
|
605
570
|
# header parameters
|
606
571
|
header_params = {}
|
607
|
-
|
608
572
|
# HTTP header 'Accept' (if needed)
|
609
|
-
|
610
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
611
|
-
|
573
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
612
574
|
# HTTP header 'Content-Type'
|
613
|
-
|
614
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
575
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
615
576
|
|
616
577
|
# form parameters
|
617
578
|
form_params = {}
|
@@ -670,21 +631,17 @@ module BombBomb
|
|
670
631
|
@api_client.config.logger.debug "Calling API: EmailsApi.video_quick_sender ..."
|
671
632
|
end
|
672
633
|
# resource path
|
673
|
-
local_var_path = "/emails/quicksend"
|
634
|
+
local_var_path = "/emails/quicksend"
|
674
635
|
|
675
636
|
# query parameters
|
676
637
|
query_params = {}
|
677
638
|
|
678
639
|
# header parameters
|
679
640
|
header_params = {}
|
680
|
-
|
681
641
|
# HTTP header 'Accept' (if needed)
|
682
|
-
|
683
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
684
|
-
|
642
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
685
643
|
# HTTP header 'Content-Type'
|
686
|
-
|
687
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
644
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
688
645
|
|
689
646
|
# form parameters
|
690
647
|
form_params = {}
|