bombbomb 2.0.24005 → 2.0.25797
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 +5 -5
- data/README.md +44 -20
- data/bombbomb.gemspec +1 -1
- data/docs/AccountsApi.md +61 -28
- data/docs/ContactsApi.md +373 -0
- data/docs/EmailsApi.md +168 -0
- data/docs/FilesApi.md +216 -4
- data/docs/HostedDoc.md +13 -0
- data/docs/IntegrationsApi.md +62 -0
- data/docs/ListsApi.md +98 -0
- data/docs/PromptsApi.md +76 -12
- data/docs/SocialsApi.md +172 -71
- data/docs/TeamsApi.md +295 -1
- data/docs/VideoEmailPrompt.md +6 -0
- data/docs/VideosApi.md +59 -0
- data/lib/bombbomb/api/accounts_api.rb +59 -19
- data/lib/bombbomb/api/automations_api.rb +1 -1
- data/lib/bombbomb/api/contacts_api.rb +408 -1
- data/lib/bombbomb/api/curriculum_api.rb +1 -1
- data/lib/bombbomb/api/emails_api.rb +187 -1
- data/lib/bombbomb/api/files_api.rb +239 -7
- data/lib/bombbomb/api/integrations_api.rb +90 -0
- data/lib/bombbomb/api/lists_api.rb +110 -1
- data/lib/bombbomb/api/orders_api.rb +1 -1
- data/lib/bombbomb/api/prompts_api.rb +90 -20
- data/lib/bombbomb/api/socials_api.rb +210 -109
- data/lib/bombbomb/api/teams_api.rb +332 -1
- data/lib/bombbomb/api/utilities_api.rb +1 -1
- data/lib/bombbomb/api/videos_api.rb +66 -1
- data/lib/bombbomb/api/webhooks_api.rb +1 -1
- data/lib/bombbomb/api_client.rb +1 -1
- data/lib/bombbomb/api_error.rb +1 -1
- data/lib/bombbomb/configuration.rb +1 -1
- data/lib/bombbomb/models/bb_web_hook.rb +1 -1
- data/lib/bombbomb/models/curriculum.rb +1 -1
- data/lib/bombbomb/models/curriculum_user_progress.rb +1 -1
- data/lib/bombbomb/models/curriculum_with_progress.rb +1 -1
- data/lib/bombbomb/models/hosted_doc.rb +250 -0
- data/lib/bombbomb/models/inline_response_200.rb +1 -1
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +1 -1
- data/lib/bombbomb/models/jericho_performance.rb +1 -1
- data/lib/bombbomb/models/o_auth_client.rb +1 -1
- data/lib/bombbomb/models/prompt_bot.rb +1 -1
- data/lib/bombbomb/models/sign_upload_request.rb +1 -1
- data/lib/bombbomb/models/sign_upload_response.rb +1 -1
- data/lib/bombbomb/models/string.rb +1 -1
- data/lib/bombbomb/models/team_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_email_prompt.rb +67 -5
- data/lib/bombbomb/models/video_encoding_status_response.rb +1 -1
- data/lib/bombbomb/models/video_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_recorder_method_response.rb +1 -1
- data/lib/bombbomb/version.rb +2 -2
- data/lib/bombbomb.rb +3 -1
- data/spec/api/integrations_api_spec.rb +58 -0
- data/spec/models/hosted_doc_spec.rb +83 -0
- metadata +11 -3
data/docs/SocialsApi.md
CHANGED
@@ -4,17 +4,64 @@ All URIs are relative to *https://api.bombbomb.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**get_facebook_pages**](SocialsApi.md#get_facebook_pages) | **GET** /socials/facebook/pages | Gets facebook pages
|
7
8
|
[**get_social_article_properties**](SocialsApi.md#get_social_article_properties) | **GET** /socials/properties | Gets the social email properties
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
9
|
+
[**get_social_authorizations**](SocialsApi.md#get_social_authorizations) | **GET** /socials/authorizations | Get authorizations for all social integration
|
10
|
+
[**get_social_profile_properties**](SocialsApi.md#get_social_profile_properties) | **GET** /socials/profile | Gets the profile properties
|
11
|
+
[**get_social_stats**](SocialsApi.md#get_social_stats) | **GET** /socials/{promptId}/stats | Get social stats for a prompt
|
12
|
+
[**post_social_content**](SocialsApi.md#post_social_content) | **POST** /socials/content | Creates social content
|
13
|
+
[**update_client_group_send_mechanism**](SocialsApi.md#update_client_group_send_mechanism) | **PUT** /socials/client/sendMechanism | Gets the auto shares from the client group assoc id
|
14
|
+
[**update_facebook_pages**](SocialsApi.md#update_facebook_pages) | **PUT** /socials/facebook/pages | Updates facebook page Ids
|
15
|
+
[**update_social_content**](SocialsApi.md#update_social_content) | **PUT** /socials/content | Updates social content
|
16
|
+
|
17
|
+
|
18
|
+
# **get_facebook_pages**
|
19
|
+
> get_facebook_pages
|
20
|
+
|
21
|
+
Gets facebook pages
|
22
|
+
|
23
|
+
Gets facebook pages by client id
|
24
|
+
|
25
|
+
### Example
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'bombbomb'
|
29
|
+
# setup authorization
|
30
|
+
BombBomb.configure do |config|
|
31
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = BombBomb::SocialsApi.new
|
36
|
+
|
37
|
+
begin
|
38
|
+
#Gets facebook pages
|
39
|
+
api_instance.get_facebook_pages
|
40
|
+
rescue BombBomb::ApiError => e
|
41
|
+
puts "Exception when calling SocialsApi->get_facebook_pages: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
This endpoint does not need any parameter.
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
nil (empty response body)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
59
|
+
- **Accept**: application/json
|
60
|
+
|
14
61
|
|
15
62
|
|
16
63
|
# **get_social_article_properties**
|
17
|
-
> get_social_article_properties(
|
64
|
+
> get_social_article_properties(email_id)
|
18
65
|
|
19
66
|
Gets the social email properties
|
20
67
|
|
@@ -32,16 +79,12 @@ end
|
|
32
79
|
|
33
80
|
api_instance = BombBomb::SocialsApi.new
|
34
81
|
|
35
|
-
jericho_id = "jericho_id_example" # String | associated jericho Id
|
36
|
-
|
37
82
|
email_id = "email_id_example" # String | This is the email Id for the email url
|
38
83
|
|
39
|
-
originator_id = "originator_id_example" # String | This is the originator Id
|
40
|
-
|
41
84
|
|
42
85
|
begin
|
43
86
|
#Gets the social email properties
|
44
|
-
api_instance.get_social_article_properties(
|
87
|
+
api_instance.get_social_article_properties(email_id)
|
45
88
|
rescue BombBomb::ApiError => e
|
46
89
|
puts "Exception when calling SocialsApi->get_social_article_properties: #{e}"
|
47
90
|
end
|
@@ -51,9 +94,7 @@ end
|
|
51
94
|
|
52
95
|
Name | Type | Description | Notes
|
53
96
|
------------- | ------------- | ------------- | -------------
|
54
|
-
**jericho_id** | **String**| associated jericho Id |
|
55
97
|
**email_id** | **String**| This is the email Id for the email url |
|
56
|
-
**originator_id** | **String**| This is the originator Id |
|
57
98
|
|
58
99
|
### Return type
|
59
100
|
|
@@ -70,12 +111,12 @@ nil (empty response body)
|
|
70
111
|
|
71
112
|
|
72
113
|
|
73
|
-
# **
|
74
|
-
>
|
114
|
+
# **get_social_authorizations**
|
115
|
+
> get_social_authorizations(opts)
|
75
116
|
|
76
|
-
|
117
|
+
Get authorizations for all social integration
|
77
118
|
|
78
|
-
|
119
|
+
Get authorizations and autoshares for all social integration and has redirect for user to login
|
79
120
|
|
80
121
|
### Example
|
81
122
|
```ruby
|
@@ -89,14 +130,66 @@ end
|
|
89
130
|
|
90
131
|
api_instance = BombBomb::SocialsApi.new
|
91
132
|
|
92
|
-
|
133
|
+
opts = {
|
134
|
+
client_group_id: "client_group_id_example" # String | ID of the client group association
|
135
|
+
}
|
136
|
+
|
137
|
+
begin
|
138
|
+
#Get authorizations for all social integration
|
139
|
+
api_instance.get_social_authorizations(opts)
|
140
|
+
rescue BombBomb::ApiError => e
|
141
|
+
puts "Exception when calling SocialsApi->get_social_authorizations: #{e}"
|
142
|
+
end
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
Name | Type | Description | Notes
|
148
|
+
------------- | ------------- | ------------- | -------------
|
149
|
+
**client_group_id** | **String**| ID of the client group association | [optional]
|
150
|
+
|
151
|
+
### Return type
|
152
|
+
|
153
|
+
nil (empty response body)
|
154
|
+
|
155
|
+
### Authorization
|
156
|
+
|
157
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
158
|
+
|
159
|
+
### HTTP request headers
|
160
|
+
|
161
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
162
|
+
- **Accept**: application/json
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
# **get_social_profile_properties**
|
167
|
+
> get_social_profile_properties(social_type)
|
168
|
+
|
169
|
+
Gets the profile properties
|
170
|
+
|
171
|
+
Gets the social profile properties
|
172
|
+
|
173
|
+
### Example
|
174
|
+
```ruby
|
175
|
+
# load the gem
|
176
|
+
require 'bombbomb'
|
177
|
+
# setup authorization
|
178
|
+
BombBomb.configure do |config|
|
179
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
180
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
181
|
+
end
|
182
|
+
|
183
|
+
api_instance = BombBomb::SocialsApi.new
|
184
|
+
|
185
|
+
social_type = "social_type_example" # String | The social type
|
93
186
|
|
94
187
|
|
95
188
|
begin
|
96
|
-
#Gets the
|
97
|
-
api_instance.
|
189
|
+
#Gets the profile properties
|
190
|
+
api_instance.get_social_profile_properties(social_type)
|
98
191
|
rescue BombBomb::ApiError => e
|
99
|
-
puts "Exception when calling SocialsApi->
|
192
|
+
puts "Exception when calling SocialsApi->get_social_profile_properties: #{e}"
|
100
193
|
end
|
101
194
|
```
|
102
195
|
|
@@ -104,7 +197,7 @@ end
|
|
104
197
|
|
105
198
|
Name | Type | Description | Notes
|
106
199
|
------------- | ------------- | ------------- | -------------
|
107
|
-
**
|
200
|
+
**social_type** | **String**| The social type |
|
108
201
|
|
109
202
|
### Return type
|
110
203
|
|
@@ -121,12 +214,12 @@ nil (empty response body)
|
|
121
214
|
|
122
215
|
|
123
216
|
|
124
|
-
# **
|
125
|
-
>
|
217
|
+
# **get_social_stats**
|
218
|
+
> get_social_stats(prompt_id)
|
126
219
|
|
127
|
-
Get
|
220
|
+
Get social stats for a prompt
|
128
221
|
|
129
|
-
Get
|
222
|
+
Get social stats for a prompt by id
|
130
223
|
|
131
224
|
### Example
|
132
225
|
```ruby
|
@@ -140,14 +233,14 @@ end
|
|
140
233
|
|
141
234
|
api_instance = BombBomb::SocialsApi.new
|
142
235
|
|
143
|
-
|
236
|
+
prompt_id = "prompt_id_example" # String | ID of the prompt
|
144
237
|
|
145
238
|
|
146
239
|
begin
|
147
|
-
#Get
|
148
|
-
api_instance.
|
240
|
+
#Get social stats for a prompt
|
241
|
+
api_instance.get_social_stats(prompt_id)
|
149
242
|
rescue BombBomb::ApiError => e
|
150
|
-
puts "Exception when calling SocialsApi->
|
243
|
+
puts "Exception when calling SocialsApi->get_social_stats: #{e}"
|
151
244
|
end
|
152
245
|
```
|
153
246
|
|
@@ -155,7 +248,7 @@ end
|
|
155
248
|
|
156
249
|
Name | Type | Description | Notes
|
157
250
|
------------- | ------------- | ------------- | -------------
|
158
|
-
**
|
251
|
+
**prompt_id** | **String**| ID of the prompt |
|
159
252
|
|
160
253
|
### Return type
|
161
254
|
|
@@ -172,12 +265,12 @@ nil (empty response body)
|
|
172
265
|
|
173
266
|
|
174
267
|
|
175
|
-
# **
|
176
|
-
>
|
268
|
+
# **post_social_content**
|
269
|
+
> post_social_content(email_id)
|
177
270
|
|
178
|
-
|
271
|
+
Creates social content
|
179
272
|
|
180
|
-
|
273
|
+
Creates social content for an email
|
181
274
|
|
182
275
|
### Example
|
183
276
|
```ruby
|
@@ -191,14 +284,14 @@ end
|
|
191
284
|
|
192
285
|
api_instance = BombBomb::SocialsApi.new
|
193
286
|
|
194
|
-
|
287
|
+
email_id = "email_id_example" # String | The email's id
|
195
288
|
|
196
289
|
|
197
290
|
begin
|
198
|
-
#
|
199
|
-
api_instance.
|
291
|
+
#Creates social content
|
292
|
+
api_instance.post_social_content(email_id)
|
200
293
|
rescue BombBomb::ApiError => e
|
201
|
-
puts "Exception when calling SocialsApi->
|
294
|
+
puts "Exception when calling SocialsApi->post_social_content: #{e}"
|
202
295
|
end
|
203
296
|
```
|
204
297
|
|
@@ -206,7 +299,7 @@ end
|
|
206
299
|
|
207
300
|
Name | Type | Description | Notes
|
208
301
|
------------- | ------------- | ------------- | -------------
|
209
|
-
**
|
302
|
+
**email_id** | **String**| The email's id |
|
210
303
|
|
211
304
|
### Return type
|
212
305
|
|
@@ -223,8 +316,8 @@ nil (empty response body)
|
|
223
316
|
|
224
317
|
|
225
318
|
|
226
|
-
# **
|
227
|
-
>
|
319
|
+
# **update_client_group_send_mechanism**
|
320
|
+
> update_client_group_send_mechanism(send_mechanism, client_group_id, opts)
|
228
321
|
|
229
322
|
Gets the auto shares from the client group assoc id
|
230
323
|
|
@@ -242,16 +335,19 @@ end
|
|
242
335
|
|
243
336
|
api_instance = BombBomb::SocialsApi.new
|
244
337
|
|
245
|
-
|
338
|
+
send_mechanism = "send_mechanism_example" # String | The send mechanism for the prompt
|
246
339
|
|
247
340
|
client_group_id = "client_group_id_example" # String | ID of the client group association
|
248
341
|
|
342
|
+
opts = {
|
343
|
+
enabled: "enabled_example" # String | Is the send mechanism enabled?
|
344
|
+
}
|
249
345
|
|
250
346
|
begin
|
251
347
|
#Gets the auto shares from the client group assoc id
|
252
|
-
api_instance.
|
348
|
+
api_instance.update_client_group_send_mechanism(send_mechanism, client_group_id, opts)
|
253
349
|
rescue BombBomb::ApiError => e
|
254
|
-
puts "Exception when calling SocialsApi->
|
350
|
+
puts "Exception when calling SocialsApi->update_client_group_send_mechanism: #{e}"
|
255
351
|
end
|
256
352
|
```
|
257
353
|
|
@@ -259,8 +355,9 @@ end
|
|
259
355
|
|
260
356
|
Name | Type | Description | Notes
|
261
357
|
------------- | ------------- | ------------- | -------------
|
262
|
-
**
|
358
|
+
**send_mechanism** | **String**| The send mechanism for the prompt |
|
263
359
|
**client_group_id** | **String**| ID of the client group association |
|
360
|
+
**enabled** | **String**| Is the send mechanism enabled? | [optional]
|
264
361
|
|
265
362
|
### Return type
|
266
363
|
|
@@ -277,12 +374,12 @@ nil (empty response body)
|
|
277
374
|
|
278
375
|
|
279
376
|
|
280
|
-
# **
|
281
|
-
>
|
377
|
+
# **update_facebook_pages**
|
378
|
+
> update_facebook_pages(page_ids)
|
282
379
|
|
283
|
-
|
380
|
+
Updates facebook page Ids
|
284
381
|
|
285
|
-
|
382
|
+
Updates facebook page Ids to be sent to for prompts
|
286
383
|
|
287
384
|
### Example
|
288
385
|
```ruby
|
@@ -296,16 +393,14 @@ end
|
|
296
393
|
|
297
394
|
api_instance = BombBomb::SocialsApi.new
|
298
395
|
|
299
|
-
|
300
|
-
|
301
|
-
originator_id = "originator_id_example" # String | The parent id tied to the social share
|
396
|
+
page_ids = "page_ids_example" # String | Page Ids for the prompt
|
302
397
|
|
303
398
|
|
304
399
|
begin
|
305
|
-
#
|
306
|
-
api_instance.
|
400
|
+
#Updates facebook page Ids
|
401
|
+
api_instance.update_facebook_pages(page_ids)
|
307
402
|
rescue BombBomb::ApiError => e
|
308
|
-
puts "Exception when calling SocialsApi->
|
403
|
+
puts "Exception when calling SocialsApi->update_facebook_pages: #{e}"
|
309
404
|
end
|
310
405
|
```
|
311
406
|
|
@@ -313,8 +408,7 @@ end
|
|
313
408
|
|
314
409
|
Name | Type | Description | Notes
|
315
410
|
------------- | ------------- | ------------- | -------------
|
316
|
-
**
|
317
|
-
**originator_id** | **String**| The parent id tied to the social share |
|
411
|
+
**page_ids** | **String**| Page Ids for the prompt |
|
318
412
|
|
319
413
|
### Return type
|
320
414
|
|
@@ -331,12 +425,12 @@ nil (empty response body)
|
|
331
425
|
|
332
426
|
|
333
427
|
|
334
|
-
# **
|
335
|
-
>
|
428
|
+
# **update_social_content**
|
429
|
+
> update_social_content(social_id, opts)
|
336
430
|
|
337
|
-
Updates
|
431
|
+
Updates social content
|
338
432
|
|
339
|
-
Updates
|
433
|
+
Updates social content for an email
|
340
434
|
|
341
435
|
### Example
|
342
436
|
```ruby
|
@@ -350,16 +444,20 @@ end
|
|
350
444
|
|
351
445
|
api_instance = BombBomb::SocialsApi.new
|
352
446
|
|
353
|
-
|
354
|
-
|
355
|
-
originator_id = "originator_id_example" # String | The parent id tied to the social share
|
447
|
+
social_id = "social_id_example" # String | The social id
|
356
448
|
|
449
|
+
opts = {
|
450
|
+
title: "title_example", # String | The title for the article
|
451
|
+
description: "description_example", # String | The article description
|
452
|
+
picture_url: "picture_url_example", # String | The article picture url
|
453
|
+
suggested_message: "suggested_message_example" # String | The suggested message to use
|
454
|
+
}
|
357
455
|
|
358
456
|
begin
|
359
|
-
#Updates
|
360
|
-
api_instance.
|
457
|
+
#Updates social content
|
458
|
+
api_instance.update_social_content(social_id, opts)
|
361
459
|
rescue BombBomb::ApiError => e
|
362
|
-
puts "Exception when calling SocialsApi->
|
460
|
+
puts "Exception when calling SocialsApi->update_social_content: #{e}"
|
363
461
|
end
|
364
462
|
```
|
365
463
|
|
@@ -367,8 +465,11 @@ end
|
|
367
465
|
|
368
466
|
Name | Type | Description | Notes
|
369
467
|
------------- | ------------- | ------------- | -------------
|
370
|
-
**
|
371
|
-
**
|
468
|
+
**social_id** | **String**| The social id |
|
469
|
+
**title** | **String**| The title for the article | [optional]
|
470
|
+
**description** | **String**| The article description | [optional]
|
471
|
+
**picture_url** | **String**| The article picture url | [optional]
|
472
|
+
**suggested_message** | **String**| The suggested message to use | [optional]
|
372
473
|
|
373
474
|
### Return type
|
374
475
|
|