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
|
|
@@ -51,23 +40,21 @@ module BombBomb
|
|
51
40
|
@api_client.config.logger.debug "Calling API: FilesApi.doc_host_delete ..."
|
52
41
|
end
|
53
42
|
# verify the required parameter 'doc_id' is set
|
54
|
-
|
43
|
+
if @api_client.config.client_side_validation && doc_id.nil?
|
44
|
+
fail ArgumentError, "Missing the required parameter 'doc_id' when calling FilesApi.doc_host_delete"
|
45
|
+
end
|
55
46
|
# resource path
|
56
|
-
local_var_path = "/files/{docId}".sub('{
|
47
|
+
local_var_path = "/files/{docId}".sub('{' + 'docId' + '}', doc_id.to_s)
|
57
48
|
|
58
49
|
# query parameters
|
59
50
|
query_params = {}
|
60
51
|
|
61
52
|
# header parameters
|
62
53
|
header_params = {}
|
63
|
-
|
64
54
|
# HTTP header 'Accept' (if needed)
|
65
|
-
|
66
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
-
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
68
56
|
# HTTP header 'Content-Type'
|
69
|
-
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
57
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
71
58
|
|
72
59
|
# form parameters
|
73
60
|
form_params = {}
|
@@ -107,23 +94,21 @@ module BombBomb
|
|
107
94
|
@api_client.config.logger.debug "Calling API: FilesApi.doc_host_get ..."
|
108
95
|
end
|
109
96
|
# verify the required parameter 'doc_id' is set
|
110
|
-
|
97
|
+
if @api_client.config.client_side_validation && doc_id.nil?
|
98
|
+
fail ArgumentError, "Missing the required parameter 'doc_id' when calling FilesApi.doc_host_get"
|
99
|
+
end
|
111
100
|
# resource path
|
112
|
-
local_var_path = "/files/{docId}".sub('{
|
101
|
+
local_var_path = "/files/{docId}".sub('{' + 'docId' + '}', doc_id.to_s)
|
113
102
|
|
114
103
|
# query parameters
|
115
104
|
query_params = {}
|
116
105
|
|
117
106
|
# header parameters
|
118
107
|
header_params = {}
|
119
|
-
|
120
108
|
# HTTP header 'Accept' (if needed)
|
121
|
-
|
122
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
123
|
-
|
109
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
124
110
|
# HTTP header 'Content-Type'
|
125
|
-
|
126
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
111
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
127
112
|
|
128
113
|
# form parameters
|
129
114
|
form_params = {}
|
@@ -162,21 +147,17 @@ module BombBomb
|
|
162
147
|
@api_client.config.logger.debug "Calling API: FilesApi.doc_host_list ..."
|
163
148
|
end
|
164
149
|
# resource path
|
165
|
-
local_var_path = "/files"
|
150
|
+
local_var_path = "/files"
|
166
151
|
|
167
152
|
# query parameters
|
168
153
|
query_params = {}
|
169
154
|
|
170
155
|
# header parameters
|
171
156
|
header_params = {}
|
172
|
-
|
173
157
|
# HTTP header 'Accept' (if needed)
|
174
|
-
|
175
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
176
|
-
|
158
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
177
159
|
# HTTP header 'Content-Type'
|
178
|
-
|
179
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
160
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
180
161
|
|
181
162
|
# form parameters
|
182
163
|
form_params = {}
|
@@ -217,23 +198,21 @@ module BombBomb
|
|
217
198
|
@api_client.config.logger.debug "Calling API: FilesApi.doc_host_upload_v2 ..."
|
218
199
|
end
|
219
200
|
# verify the required parameter 'file' is set
|
220
|
-
|
201
|
+
if @api_client.config.client_side_validation && file.nil?
|
202
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling FilesApi.doc_host_upload_v2"
|
203
|
+
end
|
221
204
|
# resource path
|
222
|
-
local_var_path = "/files"
|
205
|
+
local_var_path = "/files"
|
223
206
|
|
224
207
|
# query parameters
|
225
208
|
query_params = {}
|
226
209
|
|
227
210
|
# header parameters
|
228
211
|
header_params = {}
|
229
|
-
|
230
212
|
# HTTP header 'Accept' (if needed)
|
231
|
-
|
232
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
233
|
-
|
213
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
234
214
|
# HTTP header 'Content-Type'
|
235
|
-
|
236
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
215
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
237
216
|
|
238
217
|
# form parameters
|
239
218
|
form_params = {}
|
@@ -279,11 +258,15 @@ module BombBomb
|
|
279
258
|
@api_client.config.logger.debug "Calling API: FilesApi.get_hosted_images_paged ..."
|
280
259
|
end
|
281
260
|
# verify the required parameter 'page_size' is set
|
282
|
-
|
261
|
+
if @api_client.config.client_side_validation && page_size.nil?
|
262
|
+
fail ArgumentError, "Missing the required parameter 'page_size' when calling FilesApi.get_hosted_images_paged"
|
263
|
+
end
|
283
264
|
# verify the required parameter 'page' is set
|
284
|
-
|
265
|
+
if @api_client.config.client_side_validation && page.nil?
|
266
|
+
fail ArgumentError, "Missing the required parameter 'page' when calling FilesApi.get_hosted_images_paged"
|
267
|
+
end
|
285
268
|
# resource path
|
286
|
-
local_var_path = "/files/images/paged"
|
269
|
+
local_var_path = "/files/images/paged"
|
287
270
|
|
288
271
|
# query parameters
|
289
272
|
query_params = {}
|
@@ -293,14 +276,10 @@ module BombBomb
|
|
293
276
|
|
294
277
|
# header parameters
|
295
278
|
header_params = {}
|
296
|
-
|
297
279
|
# HTTP header 'Accept' (if needed)
|
298
|
-
|
299
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
300
|
-
|
280
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
301
281
|
# HTTP header 'Content-Type'
|
302
|
-
|
303
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
282
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
304
283
|
|
305
284
|
# form parameters
|
306
285
|
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,23 +40,21 @@ module BombBomb
|
|
51
40
|
@api_client.config.logger.debug "Calling API: FormsApi.get_form_tracking_as_csv ..."
|
52
41
|
end
|
53
42
|
# verify the required parameter 'id' is set
|
54
|
-
|
43
|
+
if @api_client.config.client_side_validation && id.nil?
|
44
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling FormsApi.get_form_tracking_as_csv"
|
45
|
+
end
|
55
46
|
# resource path
|
56
|
-
local_var_path = "/forms/{id}/tracking/export".sub('{
|
47
|
+
local_var_path = "/forms/{id}/tracking/export".sub('{' + 'id' + '}', id.to_s)
|
57
48
|
|
58
49
|
# query parameters
|
59
50
|
query_params = {}
|
60
51
|
|
61
52
|
# header parameters
|
62
53
|
header_params = {}
|
63
|
-
|
64
54
|
# HTTP header 'Accept' (if needed)
|
65
|
-
|
66
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
-
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
68
56
|
# HTTP header 'Content-Type'
|
69
|
-
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
57
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
71
58
|
|
72
59
|
# form parameters
|
73
60
|
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
|
|
@@ -61,23 +50,21 @@ module BombBomb
|
|
61
50
|
@api_client.config.logger.debug "Calling API: IntegrationsApi.connect_integration ..."
|
62
51
|
end
|
63
52
|
# verify the required parameter 'code' is set
|
64
|
-
|
53
|
+
if @api_client.config.client_side_validation && code.nil?
|
54
|
+
fail ArgumentError, "Missing the required parameter 'code' when calling IntegrationsApi.connect_integration"
|
55
|
+
end
|
65
56
|
# resource path
|
66
|
-
local_var_path = "/integrations"
|
57
|
+
local_var_path = "/integrations"
|
67
58
|
|
68
59
|
# query parameters
|
69
60
|
query_params = {}
|
70
61
|
|
71
62
|
# header parameters
|
72
63
|
header_params = {}
|
73
|
-
|
74
64
|
# 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
|
-
|
65
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
78
66
|
# HTTP header 'Content-Type'
|
79
|
-
|
80
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
67
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
81
68
|
|
82
69
|
# form parameters
|
83
70
|
form_params = {}
|
@@ -125,21 +112,17 @@ module BombBomb
|
|
125
112
|
@api_client.config.logger.debug "Calling API: IntegrationsApi.delete_integration ..."
|
126
113
|
end
|
127
114
|
# resource path
|
128
|
-
local_var_path = "/integrations"
|
115
|
+
local_var_path = "/integrations"
|
129
116
|
|
130
117
|
# query parameters
|
131
118
|
query_params = {}
|
132
119
|
|
133
120
|
# header parameters
|
134
121
|
header_params = {}
|
135
|
-
|
136
122
|
# HTTP header 'Accept' (if needed)
|
137
|
-
|
138
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
139
|
-
|
123
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
140
124
|
# HTTP header 'Content-Type'
|
141
|
-
|
142
|
-
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'])
|
143
126
|
|
144
127
|
# form parameters
|
145
128
|
form_params = {}
|
@@ -181,23 +164,21 @@ module BombBomb
|
|
181
164
|
@api_client.config.logger.debug "Calling API: IntegrationsApi.get_integration_health ..."
|
182
165
|
end
|
183
166
|
# verify the required parameter 'code' is set
|
184
|
-
|
167
|
+
if @api_client.config.client_side_validation && code.nil?
|
168
|
+
fail ArgumentError, "Missing the required parameter 'code' when calling IntegrationsApi.get_integration_health"
|
169
|
+
end
|
185
170
|
# resource path
|
186
|
-
local_var_path = "/integrations/health/{code}".sub('{
|
171
|
+
local_var_path = "/integrations/health/{code}".sub('{' + 'code' + '}', code.to_s)
|
187
172
|
|
188
173
|
# query parameters
|
189
174
|
query_params = {}
|
190
175
|
|
191
176
|
# header parameters
|
192
177
|
header_params = {}
|
193
|
-
|
194
178
|
# HTTP header 'Accept' (if needed)
|
195
|
-
|
196
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
197
|
-
|
179
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
198
180
|
# HTTP header 'Content-Type'
|
199
|
-
|
200
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
181
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
201
182
|
|
202
183
|
# form parameters
|
203
184
|
form_params = {}
|
@@ -237,9 +218,11 @@ module BombBomb
|
|
237
218
|
@api_client.config.logger.debug "Calling API: IntegrationsApi.get_integration_page_components ..."
|
238
219
|
end
|
239
220
|
# verify the required parameter 'integration_name' is set
|
240
|
-
|
221
|
+
if @api_client.config.client_side_validation && integration_name.nil?
|
222
|
+
fail ArgumentError, "Missing the required parameter 'integration_name' when calling IntegrationsApi.get_integration_page_components"
|
223
|
+
end
|
241
224
|
# resource path
|
242
|
-
local_var_path = "/integrations/pageComponents"
|
225
|
+
local_var_path = "/integrations/pageComponents"
|
243
226
|
|
244
227
|
# query parameters
|
245
228
|
query_params = {}
|
@@ -247,14 +230,10 @@ module BombBomb
|
|
247
230
|
|
248
231
|
# header parameters
|
249
232
|
header_params = {}
|
250
|
-
|
251
233
|
# HTTP header 'Accept' (if needed)
|
252
|
-
|
253
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
254
|
-
|
234
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
255
235
|
# HTTP header 'Content-Type'
|
256
|
-
|
257
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
236
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
258
237
|
|
259
238
|
# form parameters
|
260
239
|
form_params = {}
|
@@ -294,7 +273,7 @@ module BombBomb
|
|
294
273
|
@api_client.config.logger.debug "Calling API: IntegrationsApi.sync_users_integrated_lists ..."
|
295
274
|
end
|
296
275
|
# resource path
|
297
|
-
local_var_path = "/integrations/sync"
|
276
|
+
local_var_path = "/integrations/sync"
|
298
277
|
|
299
278
|
# query parameters
|
300
279
|
query_params = {}
|
@@ -302,14 +281,10 @@ module BombBomb
|
|
302
281
|
|
303
282
|
# header parameters
|
304
283
|
header_params = {}
|
305
|
-
|
306
284
|
# 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
|
-
|
285
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
310
286
|
# HTTP header 'Content-Type'
|
311
|
-
|
312
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
287
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
313
288
|
|
314
289
|
# form parameters
|
315
290
|
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,23 +40,21 @@ module BombBomb
|
|
51
40
|
@api_client.config.logger.debug "Calling API: ListsApi.add_new_list ..."
|
52
41
|
end
|
53
42
|
# verify the required parameter 'list_name' is set
|
54
|
-
|
43
|
+
if @api_client.config.client_side_validation && list_name.nil?
|
44
|
+
fail ArgumentError, "Missing the required parameter 'list_name' when calling ListsApi.add_new_list"
|
45
|
+
end
|
55
46
|
# resource path
|
56
|
-
local_var_path = "/lists/"
|
47
|
+
local_var_path = "/lists/"
|
57
48
|
|
58
49
|
# query parameters
|
59
50
|
query_params = {}
|
60
51
|
|
61
52
|
# header parameters
|
62
53
|
header_params = {}
|
63
|
-
|
64
54
|
# HTTP header 'Accept' (if needed)
|
65
|
-
|
66
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
-
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
68
56
|
# HTTP header 'Content-Type'
|
69
|
-
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
57
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
71
58
|
|
72
59
|
# form parameters
|
73
60
|
form_params = {}
|
@@ -108,23 +95,21 @@ module BombBomb
|
|
108
95
|
@api_client.config.logger.debug "Calling API: ListsApi.clear_list ..."
|
109
96
|
end
|
110
97
|
# verify the required parameter 'list_id' is set
|
111
|
-
|
98
|
+
if @api_client.config.client_side_validation && list_id.nil?
|
99
|
+
fail ArgumentError, "Missing the required parameter 'list_id' when calling ListsApi.clear_list"
|
100
|
+
end
|
112
101
|
# resource path
|
113
|
-
local_var_path = "/lists/{listId}/clear".sub('{
|
102
|
+
local_var_path = "/lists/{listId}/clear".sub('{' + 'listId' + '}', list_id.to_s)
|
114
103
|
|
115
104
|
# query parameters
|
116
105
|
query_params = {}
|
117
106
|
|
118
107
|
# header parameters
|
119
108
|
header_params = {}
|
120
|
-
|
121
109
|
# HTTP header 'Accept' (if needed)
|
122
|
-
|
123
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
124
|
-
|
110
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
125
111
|
# HTTP header 'Content-Type'
|
126
|
-
|
127
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
112
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
128
113
|
|
129
114
|
# form parameters
|
130
115
|
form_params = {}
|
@@ -166,25 +151,25 @@ module BombBomb
|
|
166
151
|
@api_client.config.logger.debug "Calling API: ListsApi.copy_list_contacts ..."
|
167
152
|
end
|
168
153
|
# verify the required parameter 'from_list_id' is set
|
169
|
-
|
154
|
+
if @api_client.config.client_side_validation && from_list_id.nil?
|
155
|
+
fail ArgumentError, "Missing the required parameter 'from_list_id' when calling ListsApi.copy_list_contacts"
|
156
|
+
end
|
170
157
|
# verify the required parameter 'list_id' is set
|
171
|
-
|
158
|
+
if @api_client.config.client_side_validation && list_id.nil?
|
159
|
+
fail ArgumentError, "Missing the required parameter 'list_id' when calling ListsApi.copy_list_contacts"
|
160
|
+
end
|
172
161
|
# resource path
|
173
|
-
local_var_path = "/lists/{listId}/copy".sub('{
|
162
|
+
local_var_path = "/lists/{listId}/copy".sub('{' + 'listId' + '}', list_id.to_s)
|
174
163
|
|
175
164
|
# query parameters
|
176
165
|
query_params = {}
|
177
166
|
|
178
167
|
# header parameters
|
179
168
|
header_params = {}
|
180
|
-
|
181
169
|
# HTTP header 'Accept' (if needed)
|
182
|
-
|
183
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
184
|
-
|
170
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
185
171
|
# HTTP header 'Content-Type'
|
186
|
-
|
187
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
172
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
188
173
|
|
189
174
|
# form parameters
|
190
175
|
form_params = {}
|
@@ -223,21 +208,17 @@ module BombBomb
|
|
223
208
|
@api_client.config.logger.debug "Calling API: ListsApi.get_all_lists ..."
|
224
209
|
end
|
225
210
|
# resource path
|
226
|
-
local_var_path = "/lists/"
|
211
|
+
local_var_path = "/lists/"
|
227
212
|
|
228
213
|
# query parameters
|
229
214
|
query_params = {}
|
230
215
|
|
231
216
|
# header parameters
|
232
217
|
header_params = {}
|
233
|
-
|
234
218
|
# HTTP header 'Accept' (if needed)
|
235
|
-
|
236
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
237
|
-
|
219
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
238
220
|
# HTTP header 'Content-Type'
|
239
|
-
|
240
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
221
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
241
222
|
|
242
223
|
# form parameters
|
243
224
|
form_params = {}
|
@@ -277,23 +258,21 @@ module BombBomb
|
|
277
258
|
@api_client.config.logger.debug "Calling API: ListsApi.suppress_all_in_list ..."
|
278
259
|
end
|
279
260
|
# verify the required parameter 'list_id' is set
|
280
|
-
|
261
|
+
if @api_client.config.client_side_validation && list_id.nil?
|
262
|
+
fail ArgumentError, "Missing the required parameter 'list_id' when calling ListsApi.suppress_all_in_list"
|
263
|
+
end
|
281
264
|
# resource path
|
282
|
-
local_var_path = "/lists/{listId}/suppress".sub('{
|
265
|
+
local_var_path = "/lists/{listId}/suppress".sub('{' + 'listId' + '}', list_id.to_s)
|
283
266
|
|
284
267
|
# query parameters
|
285
268
|
query_params = {}
|
286
269
|
|
287
270
|
# header parameters
|
288
271
|
header_params = {}
|
289
|
-
|
290
272
|
# HTTP header 'Accept' (if needed)
|
291
|
-
|
292
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
293
|
-
|
273
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
294
274
|
# HTTP header 'Content-Type'
|
295
|
-
|
296
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
275
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
297
276
|
|
298
277
|
# form parameters
|
299
278
|
form_params = {}
|