bombbomb 2.0.831 → 2.0.20679
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +31 -147
- data/Rakefile +3 -8
- data/bombbomb.gemspec +17 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/JerichoConfiguration.md +1 -7
- data/docs/JerichoPerformance.md +0 -4
- data/docs/PromptsApi.md +6 -712
- data/docs/TeamsApi.md +62 -1144
- data/docs/UtilitiesApi.md +4 -4
- data/docs/VideoEmailPrompt.md +10 -24
- data/docs/WebhooksApi.md +4 -45
- data/git_push.sh +13 -1
- data/lib/bombbomb.rb +14 -30
- data/lib/bombbomb/api/prompts_api.rb +42 -833
- data/lib/bombbomb/api/teams_api.rb +157 -1331
- data/lib/bombbomb/api/utilities_api.rb +44 -23
- data/lib/bombbomb/api/webhooks_api.rb +43 -68
- data/lib/bombbomb/api_client.rb +45 -55
- data/lib/bombbomb/api_error.rb +18 -9
- data/lib/bombbomb/configuration.rb +13 -8
- data/lib/bombbomb/models/bb_web_hook.rb +17 -6
- data/lib/bombbomb/models/inline_response_200.rb +18 -7
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +22 -75
- data/lib/bombbomb/models/jericho_performance.rb +21 -50
- data/lib/bombbomb/models/o_auth_client.rb +17 -6
- data/lib/bombbomb/models/string.rb +17 -6
- data/lib/bombbomb/models/video_email_prompt.rb +90 -214
- data/lib/bombbomb/version.rb +14 -3
- data/spec/models/{team_public_representation_spec.rb → inline_response_200_items_spec.rb} +14 -8
- metadata +56 -168
- data/Gemfile +0 -7
- data/docs/AccountsApi.md +0 -384
- data/docs/AutomationsApi.md +0 -167
- data/docs/ClientGroupAssetMetaData.md +0 -11
- data/docs/ContactsApi.md +0 -436
- data/docs/Curriculum.md +0 -15
- data/docs/CurriculumApi.md +0 -109
- data/docs/CurriculumUserProgress.md +0 -12
- data/docs/CurriculumWithProgress.md +0 -15
- data/docs/EmailsApi.md +0 -633
- data/docs/FilesApi.md +0 -272
- data/docs/FormsApi.md +0 -60
- data/docs/HostedDoc.md +0 -13
- data/docs/IntegrationsApi.md +0 -285
- data/docs/ListsApi.md +0 -265
- data/docs/OrdersApi.md +0 -60
- data/docs/PromptBot.md +0 -22
- data/docs/PromptBotBot.md +0 -18
- data/docs/PromptMonthlyPerformance.md +0 -11
- data/docs/PromptOverview.md +0 -11
- data/docs/PromptSocialPrompt.md +0 -20
- data/docs/SignUploadRequest.md +0 -9
- data/docs/SignUploadResponse.md +0 -9
- data/docs/SocialsApi.md +0 -653
- data/docs/TeamPublicRepresentation.md +0 -10
- data/docs/UsersApi.md +0 -100
- data/docs/VideoEncodingStatusResponse.md +0 -10
- data/docs/VideoPublicRepresentation.md +0 -18
- data/docs/VideoRecorderMethodResponse.md +0 -15
- data/docs/VideosApi.md +0 -287
- data/lib/bombbomb/api/accounts_api.rb +0 -432
- data/lib/bombbomb/api/automations_api.rb +0 -191
- data/lib/bombbomb/api/contacts_api.rb +0 -470
- data/lib/bombbomb/api/curriculum_api.rb +0 -124
- data/lib/bombbomb/api/emails_api.rb +0 -673
- data/lib/bombbomb/api/files_api.rb +0 -302
- data/lib/bombbomb/api/forms_api.rb +0 -77
- data/lib/bombbomb/api/integrations_api.rb +0 -308
- data/lib/bombbomb/api/lists_api.rb +0 -295
- data/lib/bombbomb/api/orders_api.rb +0 -78
- data/lib/bombbomb/api/socials_api.rb +0 -714
- data/lib/bombbomb/api/users_api.rb +0 -119
- data/lib/bombbomb/api/videos_api.rb +0 -326
- data/lib/bombbomb/models/client_group_asset_meta_data.rb +0 -215
- data/lib/bombbomb/models/curriculum.rb +0 -261
- data/lib/bombbomb/models/curriculum_user_progress.rb +0 -229
- data/lib/bombbomb/models/curriculum_with_progress.rb +0 -261
- data/lib/bombbomb/models/hosted_doc.rb +0 -239
- data/lib/bombbomb/models/prompt_bot.rb +0 -329
- data/lib/bombbomb/models/prompt_bot_bot.rb +0 -300
- data/lib/bombbomb/models/prompt_monthly_performance.rb +0 -219
- data/lib/bombbomb/models/prompt_overview.rb +0 -219
- data/lib/bombbomb/models/prompt_social_prompt.rb +0 -311
- data/lib/bombbomb/models/sign_upload_request.rb +0 -199
- data/lib/bombbomb/models/sign_upload_response.rb +0 -199
- data/lib/bombbomb/models/team_public_representation.rb +0 -209
- data/lib/bombbomb/models/video_encoding_status_response.rb +0 -209
- data/lib/bombbomb/models/video_public_representation.rb +0 -291
- data/lib/bombbomb/models/video_recorder_method_response.rb +0 -259
- data/spec/api/accounts_api_spec.rb +0 -96
- data/spec/api/automations_api_spec.rb +0 -71
- data/spec/api/contacts_api_spec.rb +0 -58
- data/spec/api/curriculum_api_spec.rb +0 -69
- data/spec/api/emails_api_spec.rb +0 -104
- data/spec/api/files_api_spec.rb +0 -58
- data/spec/api/forms_api_spec.rb +0 -58
- data/spec/api/integrations_api_spec.rb +0 -58
- data/spec/api/lists_api_spec.rb +0 -83
- data/spec/api/orders_api_spec.rb +0 -58
- data/spec/api/socials_api_spec.rb +0 -135
- data/spec/api/users_api_spec.rb +0 -57
- data/spec/api/videos_api_spec.rb +0 -86
- data/spec/models/client_group_asset_meta_data_spec.rb +0 -60
- data/spec/models/curriculum_spec.rb +0 -95
- data/spec/models/curriculum_user_progress_spec.rb +0 -77
- data/spec/models/curriculum_with_progress_spec.rb +0 -95
- data/spec/models/hosted_doc_spec.rb +0 -83
- data/spec/models/prompt_bot_spec.rb +0 -137
- data/spec/models/prompt_monthly_performance_spec.rb +0 -60
- data/spec/models/prompt_overview_spec.rb +0 -60
- data/spec/models/prompt_social_prompt_spec.rb +0 -125
- data/spec/models/sign_upload_request_spec.rb +0 -59
- data/spec/models/sign_upload_response_spec.rb +0 -59
- data/spec/models/video_encoding_status_response_spec.rb +0 -65
- data/spec/models/video_public_representation_spec.rb +0 -113
- data/spec/models/video_recorder_method_response_spec.rb +0 -95
data/docs/ListsApi.md
DELETED
@@ -1,265 +0,0 @@
|
|
1
|
-
# BombBomb::ListsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**add_new_list**](ListsApi.md#add_new_list) | **POST** /lists/ | Add list.
|
8
|
-
[**clear_list**](ListsApi.md#clear_list) | **PUT** /lists/{listId}/clear | Clear Contacts from List
|
9
|
-
[**copy_list_contacts**](ListsApi.md#copy_list_contacts) | **POST** /lists/{listId}/copy | Copy All Contacts from a List
|
10
|
-
[**get_all_lists**](ListsApi.md#get_all_lists) | **GET** /lists/ | Get all Lists
|
11
|
-
[**suppress_all_in_list**](ListsApi.md#suppress_all_in_list) | **PUT** /lists/{listId}/suppress | Suppress All Contacts from List
|
12
|
-
|
13
|
-
|
14
|
-
# **add_new_list**
|
15
|
-
> add_new_list(list_name)
|
16
|
-
|
17
|
-
Add list.
|
18
|
-
|
19
|
-
Add a list to the users account.
|
20
|
-
|
21
|
-
### Example
|
22
|
-
```ruby
|
23
|
-
# load the gem
|
24
|
-
require 'bombbomb'
|
25
|
-
# setup authorization
|
26
|
-
BombBomb.configure do |config|
|
27
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
28
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
29
|
-
end
|
30
|
-
|
31
|
-
api_instance = BombBomb::ListsApi.new
|
32
|
-
|
33
|
-
list_name = "list_name_example" # String | Name of the new list being added
|
34
|
-
|
35
|
-
|
36
|
-
begin
|
37
|
-
#Add list.
|
38
|
-
api_instance.add_new_list(list_name)
|
39
|
-
rescue BombBomb::ApiError => e
|
40
|
-
puts "Exception when calling ListsApi->add_new_list: #{e}"
|
41
|
-
end
|
42
|
-
```
|
43
|
-
|
44
|
-
### Parameters
|
45
|
-
|
46
|
-
Name | Type | Description | Notes
|
47
|
-
------------- | ------------- | ------------- | -------------
|
48
|
-
**list_name** | **String**| Name of the new list being added |
|
49
|
-
|
50
|
-
### Return type
|
51
|
-
|
52
|
-
nil (empty response body)
|
53
|
-
|
54
|
-
### Authorization
|
55
|
-
|
56
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
57
|
-
|
58
|
-
### HTTP request headers
|
59
|
-
|
60
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
61
|
-
- **Accept**: application/json
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
# **clear_list**
|
66
|
-
> clear_list(list_id)
|
67
|
-
|
68
|
-
Clear Contacts from List
|
69
|
-
|
70
|
-
Clears all contacts from a list.
|
71
|
-
|
72
|
-
### Example
|
73
|
-
```ruby
|
74
|
-
# load the gem
|
75
|
-
require 'bombbomb'
|
76
|
-
# setup authorization
|
77
|
-
BombBomb.configure do |config|
|
78
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
79
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
80
|
-
end
|
81
|
-
|
82
|
-
api_instance = BombBomb::ListsApi.new
|
83
|
-
|
84
|
-
list_id = "list_id_example" # String | The list to be cleared.
|
85
|
-
|
86
|
-
|
87
|
-
begin
|
88
|
-
#Clear Contacts from List
|
89
|
-
api_instance.clear_list(list_id)
|
90
|
-
rescue BombBomb::ApiError => e
|
91
|
-
puts "Exception when calling ListsApi->clear_list: #{e}"
|
92
|
-
end
|
93
|
-
```
|
94
|
-
|
95
|
-
### Parameters
|
96
|
-
|
97
|
-
Name | Type | Description | Notes
|
98
|
-
------------- | ------------- | ------------- | -------------
|
99
|
-
**list_id** | **String**| The list to be cleared. |
|
100
|
-
|
101
|
-
### Return type
|
102
|
-
|
103
|
-
nil (empty response body)
|
104
|
-
|
105
|
-
### Authorization
|
106
|
-
|
107
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
108
|
-
|
109
|
-
### HTTP request headers
|
110
|
-
|
111
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
112
|
-
- **Accept**: application/json
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
# **copy_list_contacts**
|
117
|
-
> copy_list_contacts(from_list_id, list_id)
|
118
|
-
|
119
|
-
Copy All Contacts from a List
|
120
|
-
|
121
|
-
Copy all contacts from a list.
|
122
|
-
|
123
|
-
### Example
|
124
|
-
```ruby
|
125
|
-
# load the gem
|
126
|
-
require 'bombbomb'
|
127
|
-
# setup authorization
|
128
|
-
BombBomb.configure do |config|
|
129
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
130
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
131
|
-
end
|
132
|
-
|
133
|
-
api_instance = BombBomb::ListsApi.new
|
134
|
-
|
135
|
-
from_list_id = "from_list_id_example" # String | The list to be cleared.
|
136
|
-
|
137
|
-
list_id = "list_id_example" # String | The list to be cleared.
|
138
|
-
|
139
|
-
|
140
|
-
begin
|
141
|
-
#Copy All Contacts from a List
|
142
|
-
api_instance.copy_list_contacts(from_list_id, list_id)
|
143
|
-
rescue BombBomb::ApiError => e
|
144
|
-
puts "Exception when calling ListsApi->copy_list_contacts: #{e}"
|
145
|
-
end
|
146
|
-
```
|
147
|
-
|
148
|
-
### Parameters
|
149
|
-
|
150
|
-
Name | Type | Description | Notes
|
151
|
-
------------- | ------------- | ------------- | -------------
|
152
|
-
**from_list_id** | **String**| The list to be cleared. |
|
153
|
-
**list_id** | **String**| The list to be cleared. |
|
154
|
-
|
155
|
-
### Return type
|
156
|
-
|
157
|
-
nil (empty response body)
|
158
|
-
|
159
|
-
### Authorization
|
160
|
-
|
161
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
162
|
-
|
163
|
-
### HTTP request headers
|
164
|
-
|
165
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
166
|
-
- **Accept**: application/json
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
# **get_all_lists**
|
171
|
-
> get_all_lists
|
172
|
-
|
173
|
-
Get all Lists
|
174
|
-
|
175
|
-
Get all the lists for a specific user.
|
176
|
-
|
177
|
-
### Example
|
178
|
-
```ruby
|
179
|
-
# load the gem
|
180
|
-
require 'bombbomb'
|
181
|
-
# setup authorization
|
182
|
-
BombBomb.configure do |config|
|
183
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
184
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
185
|
-
end
|
186
|
-
|
187
|
-
api_instance = BombBomb::ListsApi.new
|
188
|
-
|
189
|
-
begin
|
190
|
-
#Get all Lists
|
191
|
-
api_instance.get_all_lists
|
192
|
-
rescue BombBomb::ApiError => e
|
193
|
-
puts "Exception when calling ListsApi->get_all_lists: #{e}"
|
194
|
-
end
|
195
|
-
```
|
196
|
-
|
197
|
-
### Parameters
|
198
|
-
This endpoint does not need any parameter.
|
199
|
-
|
200
|
-
### Return type
|
201
|
-
|
202
|
-
nil (empty response body)
|
203
|
-
|
204
|
-
### Authorization
|
205
|
-
|
206
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
207
|
-
|
208
|
-
### HTTP request headers
|
209
|
-
|
210
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
211
|
-
- **Accept**: application/json
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
# **suppress_all_in_list**
|
216
|
-
> suppress_all_in_list(list_id)
|
217
|
-
|
218
|
-
Suppress All Contacts from List
|
219
|
-
|
220
|
-
Suppresses all contacts in a list.
|
221
|
-
|
222
|
-
### Example
|
223
|
-
```ruby
|
224
|
-
# load the gem
|
225
|
-
require 'bombbomb'
|
226
|
-
# setup authorization
|
227
|
-
BombBomb.configure do |config|
|
228
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
229
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
230
|
-
end
|
231
|
-
|
232
|
-
api_instance = BombBomb::ListsApi.new
|
233
|
-
|
234
|
-
list_id = "list_id_example" # String | The list to be cleared.
|
235
|
-
|
236
|
-
|
237
|
-
begin
|
238
|
-
#Suppress All Contacts from List
|
239
|
-
api_instance.suppress_all_in_list(list_id)
|
240
|
-
rescue BombBomb::ApiError => e
|
241
|
-
puts "Exception when calling ListsApi->suppress_all_in_list: #{e}"
|
242
|
-
end
|
243
|
-
```
|
244
|
-
|
245
|
-
### Parameters
|
246
|
-
|
247
|
-
Name | Type | Description | Notes
|
248
|
-
------------- | ------------- | ------------- | -------------
|
249
|
-
**list_id** | **String**| The list to be cleared. |
|
250
|
-
|
251
|
-
### Return type
|
252
|
-
|
253
|
-
nil (empty response body)
|
254
|
-
|
255
|
-
### Authorization
|
256
|
-
|
257
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
258
|
-
|
259
|
-
### HTTP request headers
|
260
|
-
|
261
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
262
|
-
- **Accept**: application/json
|
263
|
-
|
264
|
-
|
265
|
-
|
data/docs/OrdersApi.md
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
# BombBomb::OrdersApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**template_asset_delete**](OrdersApi.md#template_asset_delete) | **DELETE** /orders/templates/images | Deletes image from user s3 store
|
8
|
-
|
9
|
-
|
10
|
-
# **template_asset_delete**
|
11
|
-
> template_asset_delete(file_name)
|
12
|
-
|
13
|
-
Deletes image from user s3 store
|
14
|
-
|
15
|
-
Deletes image from user s3 store
|
16
|
-
|
17
|
-
### Example
|
18
|
-
```ruby
|
19
|
-
# load the gem
|
20
|
-
require 'bombbomb'
|
21
|
-
# setup authorization
|
22
|
-
BombBomb.configure do |config|
|
23
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
24
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
25
|
-
end
|
26
|
-
|
27
|
-
api_instance = BombBomb::OrdersApi.new
|
28
|
-
|
29
|
-
file_name = "file_name_example" # String | Filename for deletion
|
30
|
-
|
31
|
-
|
32
|
-
begin
|
33
|
-
#Deletes image from user s3 store
|
34
|
-
api_instance.template_asset_delete(file_name)
|
35
|
-
rescue BombBomb::ApiError => e
|
36
|
-
puts "Exception when calling OrdersApi->template_asset_delete: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Parameters
|
41
|
-
|
42
|
-
Name | Type | Description | Notes
|
43
|
-
------------- | ------------- | ------------- | -------------
|
44
|
-
**file_name** | **String**| Filename for deletion |
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
nil (empty response body)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
57
|
-
- **Accept**: application/json
|
58
|
-
|
59
|
-
|
60
|
-
|
data/docs/PromptBot.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# BombBomb::PromptBot
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The identifier of the prompt bot. Read Only. | [optional]
|
7
|
-
**user_id** | **String** | The prompt bot's owner. Read Only. | [optional]
|
8
|
-
**email_id** | **String** | The default email being sent to contacts in the prompt bot list. | [optional]
|
9
|
-
**list_id** | **String** | The list to attach the Prompt Bot to. | [optional]
|
10
|
-
**name** | **String** | The name of the bot. | [optional]
|
11
|
-
**contact_field_value_column** | **String** | The custom contact field value column used for this bot. | [optional]
|
12
|
-
**status** | **Integer** | The status of the prompt bot. Read Only. | [optional]
|
13
|
-
**start_date** | **DateTime** | when the bot started | [optional]
|
14
|
-
**end_date** | **DateTime** | when the bot should finish | [optional]
|
15
|
-
**bot_type_id** | **String** | The type of bot. | [optional]
|
16
|
-
**template_id** | **String** | The template id used to generate the default email. | [optional]
|
17
|
-
**video_id** | **String** | The video that was added to the prompt. | [optional]
|
18
|
-
**content** | **String** | The content to use in the email. | [optional]
|
19
|
-
**subject** | **String** | The subject of the default email. | [optional]
|
20
|
-
**generated_by** | **String** | Set when generated as a default by a bot. | [optional]
|
21
|
-
|
22
|
-
|
data/docs/PromptBotBot.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# BombBomb::PromptBotBot
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The identifier of the prompt bot. Read Only. | [optional]
|
7
|
-
**user_id** | **String** | The prompt bot's owner. Read Only. | [optional]
|
8
|
-
**email_id** | **String** | The default email being sent to contacts in the prompt bot list. | [optional]
|
9
|
-
**list_id** | **String** | The list to attach the Prompt Bot to. | [optional]
|
10
|
-
**prompt_subject** | **String** | The prompt subject. | [optional]
|
11
|
-
**prompt_body** | **String** | The prompt body. | [optional]
|
12
|
-
**status** | **String** | The status of the prompt bot. Read Only. | [optional]
|
13
|
-
**start_date** | **DateTime** | when the bot started | [optional]
|
14
|
-
**end_date** | **DateTime** | when the bot should finish | [optional]
|
15
|
-
**bot_type_id** | **String** | The type of bot. | [optional]
|
16
|
-
**template_id** | **String** | The template id used to generate the default email. | [optional]
|
17
|
-
|
18
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# BombBomb::PromptMonthlyPerformance
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**start_date** | **String** | The startDate property | [optional]
|
7
|
-
**end_date** | **String** | The endDate property | [optional]
|
8
|
-
**user_batch_lists_id_helper** | **String** | The userBatchListsIdHelper property | [optional]
|
9
|
-
**prompt_id_helper** | **String** | The promptIdHelper property | [optional]
|
10
|
-
|
11
|
-
|
data/docs/PromptOverview.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# BombBomb::PromptOverview
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**start_date** | **String** | The startDate property | [optional]
|
7
|
-
**end_date** | **String** | The endDate property | [optional]
|
8
|
-
**user_batch_lists_id_helper** | **String** | The userBatchListsIdHelper property | [optional]
|
9
|
-
**prompt_id_helper** | **String** | The promptIdHelper property | [optional]
|
10
|
-
|
11
|
-
|
data/docs/PromptSocialPrompt.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# BombBomb::PromptSocialPrompt
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The identifier of the prompt. Read Only. | [optional]
|
7
|
-
**user_id** | **String** | The prompt's owner. Read Only. | [optional]
|
8
|
-
**jericho_id** | **String** | If sent in a jericho context, this will have the jericho id | [optional]
|
9
|
-
**prompt_subject** | **String** | The prompt's subject line | [optional]
|
10
|
-
**prompt_html** | **String** | The suggested script of the prompt. | [optional]
|
11
|
-
**scheduled_send_date** | **DateTime** | When the final email is scheduled to be sent | [optional]
|
12
|
-
**client_group_id** | **String** | The client group campaign that created the prompt. | [optional]
|
13
|
-
**thumbnail_url** | **String** | The URL of a thumbnail image for this prompt | [optional]
|
14
|
-
**status** | **Integer** | The status of the prompt: created = 0, sent = 10, recorded = 20, job_created = 30, timed_out = 40, declined = 50 Read Only | [optional]
|
15
|
-
**created_date** | **DateTime** | When the email was first sent out | [optional]
|
16
|
-
**last_notified** | **DateTime** | When the user was last notified about a prompt email waiting for a video | [optional]
|
17
|
-
**send_mechanism** | **DateTime** | The sendMechanism property | [optional]
|
18
|
-
**send_types** | **Array<String>** | The types of mechanisms this prompt can send. | [optional]
|
19
|
-
|
20
|
-
|
data/docs/SignUploadRequest.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# BombBomb::SignUploadRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**expiration** | **DateTime** | when the upload will expire. | [optional]
|
7
|
-
**conditions** | **Object** | Key/Value object of request conditions. | [optional]
|
8
|
-
|
9
|
-
|
data/docs/SignUploadResponse.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# BombBomb::SignUploadResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**policy** | **String** | Base64 encoded policy. | [optional]
|
7
|
-
**signature** | **String** | Signature for policy. | [optional]
|
8
|
-
|
9
|
-
|
data/docs/SocialsApi.md
DELETED
@@ -1,653 +0,0 @@
|
|
1
|
-
# BombBomb::SocialsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get_facebook_pages**](SocialsApi.md#get_facebook_pages) | **GET** /socials/facebook/pages | Gets facebook pages
|
8
|
-
[**get_social_article_properties**](SocialsApi.md#get_social_article_properties) | **GET** /socials/properties | Gets the social email properties
|
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
|
-
[**retry_social_send**](SocialsApi.md#retry_social_send) | **POST** /socials/send/retry | Sends social content
|
14
|
-
[**send_social**](SocialsApi.md#send_social) | **POST** /socials/send | Sends social content
|
15
|
-
[**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
|
16
|
-
[**update_client_groups_send_mechanism**](SocialsApi.md#update_client_groups_send_mechanism) | **PUT** /socials/client/sendMechanisms | Toggles the prompt campaigns in a users account
|
17
|
-
[**update_facebook_pages**](SocialsApi.md#update_facebook_pages) | **PUT** /socials/facebook/pages | Updates facebook page Ids
|
18
|
-
[**update_social_content**](SocialsApi.md#update_social_content) | **PUT** /socials/content | Updates social content
|
19
|
-
|
20
|
-
|
21
|
-
# **get_facebook_pages**
|
22
|
-
> get_facebook_pages
|
23
|
-
|
24
|
-
Gets facebook pages
|
25
|
-
|
26
|
-
Gets facebook pages by client id
|
27
|
-
|
28
|
-
### Example
|
29
|
-
```ruby
|
30
|
-
# load the gem
|
31
|
-
require 'bombbomb'
|
32
|
-
# setup authorization
|
33
|
-
BombBomb.configure do |config|
|
34
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
35
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
36
|
-
end
|
37
|
-
|
38
|
-
api_instance = BombBomb::SocialsApi.new
|
39
|
-
|
40
|
-
begin
|
41
|
-
#Gets facebook pages
|
42
|
-
api_instance.get_facebook_pages
|
43
|
-
rescue BombBomb::ApiError => e
|
44
|
-
puts "Exception when calling SocialsApi->get_facebook_pages: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Parameters
|
49
|
-
This endpoint does not need any parameter.
|
50
|
-
|
51
|
-
### Return type
|
52
|
-
|
53
|
-
nil (empty response body)
|
54
|
-
|
55
|
-
### Authorization
|
56
|
-
|
57
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
58
|
-
|
59
|
-
### HTTP request headers
|
60
|
-
|
61
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
62
|
-
- **Accept**: application/json
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
# **get_social_article_properties**
|
67
|
-
> get_social_article_properties(email_id, social_content_id)
|
68
|
-
|
69
|
-
Gets the social email properties
|
70
|
-
|
71
|
-
Gets the social email properties
|
72
|
-
|
73
|
-
### Example
|
74
|
-
```ruby
|
75
|
-
# load the gem
|
76
|
-
require 'bombbomb'
|
77
|
-
# setup authorization
|
78
|
-
BombBomb.configure do |config|
|
79
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
80
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
81
|
-
end
|
82
|
-
|
83
|
-
api_instance = BombBomb::SocialsApi.new
|
84
|
-
|
85
|
-
email_id = "email_id_example" # String | This is the email Id for the email url
|
86
|
-
|
87
|
-
social_content_id = "social_content_id_example" # String | This is the social content Id
|
88
|
-
|
89
|
-
|
90
|
-
begin
|
91
|
-
#Gets the social email properties
|
92
|
-
api_instance.get_social_article_properties(email_id, social_content_id)
|
93
|
-
rescue BombBomb::ApiError => e
|
94
|
-
puts "Exception when calling SocialsApi->get_social_article_properties: #{e}"
|
95
|
-
end
|
96
|
-
```
|
97
|
-
|
98
|
-
### Parameters
|
99
|
-
|
100
|
-
Name | Type | Description | Notes
|
101
|
-
------------- | ------------- | ------------- | -------------
|
102
|
-
**email_id** | **String**| This is the email Id for the email url |
|
103
|
-
**social_content_id** | **String**| This is the social content Id |
|
104
|
-
|
105
|
-
### Return type
|
106
|
-
|
107
|
-
nil (empty response body)
|
108
|
-
|
109
|
-
### Authorization
|
110
|
-
|
111
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
112
|
-
|
113
|
-
### HTTP request headers
|
114
|
-
|
115
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
116
|
-
- **Accept**: application/json
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
# **get_social_authorizations**
|
121
|
-
> get_social_authorizations(opts)
|
122
|
-
|
123
|
-
Get authorizations for all social integration
|
124
|
-
|
125
|
-
Get authorizations and autoshares for all social integration and has redirect for user to login
|
126
|
-
|
127
|
-
### Example
|
128
|
-
```ruby
|
129
|
-
# load the gem
|
130
|
-
require 'bombbomb'
|
131
|
-
# setup authorization
|
132
|
-
BombBomb.configure do |config|
|
133
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
134
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
135
|
-
end
|
136
|
-
|
137
|
-
api_instance = BombBomb::SocialsApi.new
|
138
|
-
|
139
|
-
opts = {
|
140
|
-
client_group_id: "client_group_id_example" # String | ID of the client group association
|
141
|
-
}
|
142
|
-
|
143
|
-
begin
|
144
|
-
#Get authorizations for all social integration
|
145
|
-
api_instance.get_social_authorizations(opts)
|
146
|
-
rescue BombBomb::ApiError => e
|
147
|
-
puts "Exception when calling SocialsApi->get_social_authorizations: #{e}"
|
148
|
-
end
|
149
|
-
```
|
150
|
-
|
151
|
-
### Parameters
|
152
|
-
|
153
|
-
Name | Type | Description | Notes
|
154
|
-
------------- | ------------- | ------------- | -------------
|
155
|
-
**client_group_id** | **String**| ID of the client group association | [optional]
|
156
|
-
|
157
|
-
### Return type
|
158
|
-
|
159
|
-
nil (empty response body)
|
160
|
-
|
161
|
-
### Authorization
|
162
|
-
|
163
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
164
|
-
|
165
|
-
### HTTP request headers
|
166
|
-
|
167
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
168
|
-
- **Accept**: application/json
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
# **get_social_profile_properties**
|
173
|
-
> get_social_profile_properties(social_type)
|
174
|
-
|
175
|
-
Gets the profile properties
|
176
|
-
|
177
|
-
Gets the social profile properties
|
178
|
-
|
179
|
-
### Example
|
180
|
-
```ruby
|
181
|
-
# load the gem
|
182
|
-
require 'bombbomb'
|
183
|
-
# setup authorization
|
184
|
-
BombBomb.configure do |config|
|
185
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
186
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
187
|
-
end
|
188
|
-
|
189
|
-
api_instance = BombBomb::SocialsApi.new
|
190
|
-
|
191
|
-
social_type = "social_type_example" # String | The social type
|
192
|
-
|
193
|
-
|
194
|
-
begin
|
195
|
-
#Gets the profile properties
|
196
|
-
api_instance.get_social_profile_properties(social_type)
|
197
|
-
rescue BombBomb::ApiError => e
|
198
|
-
puts "Exception when calling SocialsApi->get_social_profile_properties: #{e}"
|
199
|
-
end
|
200
|
-
```
|
201
|
-
|
202
|
-
### Parameters
|
203
|
-
|
204
|
-
Name | Type | Description | Notes
|
205
|
-
------------- | ------------- | ------------- | -------------
|
206
|
-
**social_type** | **String**| The social type |
|
207
|
-
|
208
|
-
### Return type
|
209
|
-
|
210
|
-
nil (empty response body)
|
211
|
-
|
212
|
-
### Authorization
|
213
|
-
|
214
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
215
|
-
|
216
|
-
### HTTP request headers
|
217
|
-
|
218
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
219
|
-
- **Accept**: application/json
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
# **get_social_stats**
|
224
|
-
> get_social_stats(prompt_id)
|
225
|
-
|
226
|
-
Get social stats for a prompt
|
227
|
-
|
228
|
-
Get social stats for a prompt by id
|
229
|
-
|
230
|
-
### Example
|
231
|
-
```ruby
|
232
|
-
# load the gem
|
233
|
-
require 'bombbomb'
|
234
|
-
# setup authorization
|
235
|
-
BombBomb.configure do |config|
|
236
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
237
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
238
|
-
end
|
239
|
-
|
240
|
-
api_instance = BombBomb::SocialsApi.new
|
241
|
-
|
242
|
-
prompt_id = "prompt_id_example" # String | ID of the prompt
|
243
|
-
|
244
|
-
|
245
|
-
begin
|
246
|
-
#Get social stats for a prompt
|
247
|
-
api_instance.get_social_stats(prompt_id)
|
248
|
-
rescue BombBomb::ApiError => e
|
249
|
-
puts "Exception when calling SocialsApi->get_social_stats: #{e}"
|
250
|
-
end
|
251
|
-
```
|
252
|
-
|
253
|
-
### Parameters
|
254
|
-
|
255
|
-
Name | Type | Description | Notes
|
256
|
-
------------- | ------------- | ------------- | -------------
|
257
|
-
**prompt_id** | **String**| ID of the prompt |
|
258
|
-
|
259
|
-
### Return type
|
260
|
-
|
261
|
-
nil (empty response body)
|
262
|
-
|
263
|
-
### Authorization
|
264
|
-
|
265
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
266
|
-
|
267
|
-
### HTTP request headers
|
268
|
-
|
269
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
270
|
-
- **Accept**: application/json
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
# **post_social_content**
|
275
|
-
> post_social_content(email_id)
|
276
|
-
|
277
|
-
Creates social content
|
278
|
-
|
279
|
-
Creates social content for an email
|
280
|
-
|
281
|
-
### Example
|
282
|
-
```ruby
|
283
|
-
# load the gem
|
284
|
-
require 'bombbomb'
|
285
|
-
# setup authorization
|
286
|
-
BombBomb.configure do |config|
|
287
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
288
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
289
|
-
end
|
290
|
-
|
291
|
-
api_instance = BombBomb::SocialsApi.new
|
292
|
-
|
293
|
-
email_id = "email_id_example" # String | The email's id
|
294
|
-
|
295
|
-
|
296
|
-
begin
|
297
|
-
#Creates social content
|
298
|
-
api_instance.post_social_content(email_id)
|
299
|
-
rescue BombBomb::ApiError => e
|
300
|
-
puts "Exception when calling SocialsApi->post_social_content: #{e}"
|
301
|
-
end
|
302
|
-
```
|
303
|
-
|
304
|
-
### Parameters
|
305
|
-
|
306
|
-
Name | Type | Description | Notes
|
307
|
-
------------- | ------------- | ------------- | -------------
|
308
|
-
**email_id** | **String**| The email's id |
|
309
|
-
|
310
|
-
### Return type
|
311
|
-
|
312
|
-
nil (empty response body)
|
313
|
-
|
314
|
-
### Authorization
|
315
|
-
|
316
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
317
|
-
|
318
|
-
### HTTP request headers
|
319
|
-
|
320
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
321
|
-
- **Accept**: application/json
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
# **retry_social_send**
|
326
|
-
> retry_social_send(prompt_id)
|
327
|
-
|
328
|
-
Sends social content
|
329
|
-
|
330
|
-
Sends social content that failed for a user via their associated prompt
|
331
|
-
|
332
|
-
### Example
|
333
|
-
```ruby
|
334
|
-
# load the gem
|
335
|
-
require 'bombbomb'
|
336
|
-
# setup authorization
|
337
|
-
BombBomb.configure do |config|
|
338
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
339
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
340
|
-
end
|
341
|
-
|
342
|
-
api_instance = BombBomb::SocialsApi.new
|
343
|
-
|
344
|
-
prompt_id = "prompt_id_example" # String | The prompt id
|
345
|
-
|
346
|
-
|
347
|
-
begin
|
348
|
-
#Sends social content
|
349
|
-
api_instance.retry_social_send(prompt_id)
|
350
|
-
rescue BombBomb::ApiError => e
|
351
|
-
puts "Exception when calling SocialsApi->retry_social_send: #{e}"
|
352
|
-
end
|
353
|
-
```
|
354
|
-
|
355
|
-
### Parameters
|
356
|
-
|
357
|
-
Name | Type | Description | Notes
|
358
|
-
------------- | ------------- | ------------- | -------------
|
359
|
-
**prompt_id** | **String**| The prompt id |
|
360
|
-
|
361
|
-
### Return type
|
362
|
-
|
363
|
-
nil (empty response body)
|
364
|
-
|
365
|
-
### Authorization
|
366
|
-
|
367
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
368
|
-
|
369
|
-
### HTTP request headers
|
370
|
-
|
371
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
372
|
-
- **Accept**: application/json
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
# **send_social**
|
377
|
-
> send_social(prompt_id, social_type)
|
378
|
-
|
379
|
-
Sends social content
|
380
|
-
|
381
|
-
Sends social content for a user via their associated prompt
|
382
|
-
|
383
|
-
### Example
|
384
|
-
```ruby
|
385
|
-
# load the gem
|
386
|
-
require 'bombbomb'
|
387
|
-
# setup authorization
|
388
|
-
BombBomb.configure do |config|
|
389
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
390
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
391
|
-
end
|
392
|
-
|
393
|
-
api_instance = BombBomb::SocialsApi.new
|
394
|
-
|
395
|
-
prompt_id = "prompt_id_example" # String | The prompt id
|
396
|
-
|
397
|
-
social_type = "social_type_example" # String | The destination for social content
|
398
|
-
|
399
|
-
|
400
|
-
begin
|
401
|
-
#Sends social content
|
402
|
-
api_instance.send_social(prompt_id, social_type)
|
403
|
-
rescue BombBomb::ApiError => e
|
404
|
-
puts "Exception when calling SocialsApi->send_social: #{e}"
|
405
|
-
end
|
406
|
-
```
|
407
|
-
|
408
|
-
### Parameters
|
409
|
-
|
410
|
-
Name | Type | Description | Notes
|
411
|
-
------------- | ------------- | ------------- | -------------
|
412
|
-
**prompt_id** | **String**| The prompt id |
|
413
|
-
**social_type** | **String**| The destination for social content |
|
414
|
-
|
415
|
-
### Return type
|
416
|
-
|
417
|
-
nil (empty response body)
|
418
|
-
|
419
|
-
### Authorization
|
420
|
-
|
421
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
422
|
-
|
423
|
-
### HTTP request headers
|
424
|
-
|
425
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
426
|
-
- **Accept**: application/json
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
# **update_client_group_send_mechanism**
|
431
|
-
> update_client_group_send_mechanism(send_mechanism, client_group_id, opts)
|
432
|
-
|
433
|
-
Gets the auto shares from the client group assoc id
|
434
|
-
|
435
|
-
Gets the auto shares from the client group assoc id
|
436
|
-
|
437
|
-
### Example
|
438
|
-
```ruby
|
439
|
-
# load the gem
|
440
|
-
require 'bombbomb'
|
441
|
-
# setup authorization
|
442
|
-
BombBomb.configure do |config|
|
443
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
444
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
445
|
-
end
|
446
|
-
|
447
|
-
api_instance = BombBomb::SocialsApi.new
|
448
|
-
|
449
|
-
send_mechanism = "send_mechanism_example" # String | The send mechanism for the prompt
|
450
|
-
|
451
|
-
client_group_id = "client_group_id_example" # String | ID of the client group association
|
452
|
-
|
453
|
-
opts = {
|
454
|
-
enabled: "enabled_example" # String | Is the send mechanism enabled?
|
455
|
-
}
|
456
|
-
|
457
|
-
begin
|
458
|
-
#Gets the auto shares from the client group assoc id
|
459
|
-
api_instance.update_client_group_send_mechanism(send_mechanism, client_group_id, opts)
|
460
|
-
rescue BombBomb::ApiError => e
|
461
|
-
puts "Exception when calling SocialsApi->update_client_group_send_mechanism: #{e}"
|
462
|
-
end
|
463
|
-
```
|
464
|
-
|
465
|
-
### Parameters
|
466
|
-
|
467
|
-
Name | Type | Description | Notes
|
468
|
-
------------- | ------------- | ------------- | -------------
|
469
|
-
**send_mechanism** | **String**| The send mechanism for the prompt |
|
470
|
-
**client_group_id** | **String**| ID of the client group association |
|
471
|
-
**enabled** | **String**| Is the send mechanism enabled? | [optional]
|
472
|
-
|
473
|
-
### Return type
|
474
|
-
|
475
|
-
nil (empty response body)
|
476
|
-
|
477
|
-
### Authorization
|
478
|
-
|
479
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
480
|
-
|
481
|
-
### HTTP request headers
|
482
|
-
|
483
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
484
|
-
- **Accept**: application/json
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
# **update_client_groups_send_mechanism**
|
489
|
-
> update_client_groups_send_mechanism(send_mechanism, enabled)
|
490
|
-
|
491
|
-
Toggles the prompt campaigns in a users account
|
492
|
-
|
493
|
-
Toggles the prompt campaigns in a users account for a social integrations on or off
|
494
|
-
|
495
|
-
### Example
|
496
|
-
```ruby
|
497
|
-
# load the gem
|
498
|
-
require 'bombbomb'
|
499
|
-
# setup authorization
|
500
|
-
BombBomb.configure do |config|
|
501
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
502
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
503
|
-
end
|
504
|
-
|
505
|
-
api_instance = BombBomb::SocialsApi.new
|
506
|
-
|
507
|
-
send_mechanism = "send_mechanism_example" # String | The send mechanism for the prompt
|
508
|
-
|
509
|
-
enabled = "enabled_example" # String | Is the send mechanism enabled?
|
510
|
-
|
511
|
-
|
512
|
-
begin
|
513
|
-
#Toggles the prompt campaigns in a users account
|
514
|
-
api_instance.update_client_groups_send_mechanism(send_mechanism, enabled)
|
515
|
-
rescue BombBomb::ApiError => e
|
516
|
-
puts "Exception when calling SocialsApi->update_client_groups_send_mechanism: #{e}"
|
517
|
-
end
|
518
|
-
```
|
519
|
-
|
520
|
-
### Parameters
|
521
|
-
|
522
|
-
Name | Type | Description | Notes
|
523
|
-
------------- | ------------- | ------------- | -------------
|
524
|
-
**send_mechanism** | **String**| The send mechanism for the prompt |
|
525
|
-
**enabled** | **String**| Is the send mechanism enabled? |
|
526
|
-
|
527
|
-
### Return type
|
528
|
-
|
529
|
-
nil (empty response body)
|
530
|
-
|
531
|
-
### Authorization
|
532
|
-
|
533
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
534
|
-
|
535
|
-
### HTTP request headers
|
536
|
-
|
537
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
538
|
-
- **Accept**: application/json
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
# **update_facebook_pages**
|
543
|
-
> update_facebook_pages(page_ids)
|
544
|
-
|
545
|
-
Updates facebook page Ids
|
546
|
-
|
547
|
-
Updates facebook page Ids to be sent to for prompts
|
548
|
-
|
549
|
-
### Example
|
550
|
-
```ruby
|
551
|
-
# load the gem
|
552
|
-
require 'bombbomb'
|
553
|
-
# setup authorization
|
554
|
-
BombBomb.configure do |config|
|
555
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
556
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
557
|
-
end
|
558
|
-
|
559
|
-
api_instance = BombBomb::SocialsApi.new
|
560
|
-
|
561
|
-
page_ids = "page_ids_example" # String | Page Ids for the prompt
|
562
|
-
|
563
|
-
|
564
|
-
begin
|
565
|
-
#Updates facebook page Ids
|
566
|
-
api_instance.update_facebook_pages(page_ids)
|
567
|
-
rescue BombBomb::ApiError => e
|
568
|
-
puts "Exception when calling SocialsApi->update_facebook_pages: #{e}"
|
569
|
-
end
|
570
|
-
```
|
571
|
-
|
572
|
-
### Parameters
|
573
|
-
|
574
|
-
Name | Type | Description | Notes
|
575
|
-
------------- | ------------- | ------------- | -------------
|
576
|
-
**page_ids** | **String**| Page Ids for the prompt |
|
577
|
-
|
578
|
-
### Return type
|
579
|
-
|
580
|
-
nil (empty response body)
|
581
|
-
|
582
|
-
### Authorization
|
583
|
-
|
584
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
585
|
-
|
586
|
-
### HTTP request headers
|
587
|
-
|
588
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
589
|
-
- **Accept**: application/json
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
# **update_social_content**
|
594
|
-
> update_social_content(social_id, opts)
|
595
|
-
|
596
|
-
Updates social content
|
597
|
-
|
598
|
-
Updates social content for an email
|
599
|
-
|
600
|
-
### Example
|
601
|
-
```ruby
|
602
|
-
# load the gem
|
603
|
-
require 'bombbomb'
|
604
|
-
# setup authorization
|
605
|
-
BombBomb.configure do |config|
|
606
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
607
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
608
|
-
end
|
609
|
-
|
610
|
-
api_instance = BombBomb::SocialsApi.new
|
611
|
-
|
612
|
-
social_id = "social_id_example" # String | The social id
|
613
|
-
|
614
|
-
opts = {
|
615
|
-
title: "title_example", # String | The title for the article
|
616
|
-
description: "description_example", # String | The article description
|
617
|
-
picture_url: "picture_url_example", # String | The article picture url
|
618
|
-
suggested_message: "suggested_message_example" # String | The suggested message to use
|
619
|
-
}
|
620
|
-
|
621
|
-
begin
|
622
|
-
#Updates social content
|
623
|
-
api_instance.update_social_content(social_id, opts)
|
624
|
-
rescue BombBomb::ApiError => e
|
625
|
-
puts "Exception when calling SocialsApi->update_social_content: #{e}"
|
626
|
-
end
|
627
|
-
```
|
628
|
-
|
629
|
-
### Parameters
|
630
|
-
|
631
|
-
Name | Type | Description | Notes
|
632
|
-
------------- | ------------- | ------------- | -------------
|
633
|
-
**social_id** | **String**| The social id |
|
634
|
-
**title** | **String**| The title for the article | [optional]
|
635
|
-
**description** | **String**| The article description | [optional]
|
636
|
-
**picture_url** | **String**| The article picture url | [optional]
|
637
|
-
**suggested_message** | **String**| The suggested message to use | [optional]
|
638
|
-
|
639
|
-
### Return type
|
640
|
-
|
641
|
-
nil (empty response body)
|
642
|
-
|
643
|
-
### Authorization
|
644
|
-
|
645
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
646
|
-
|
647
|
-
### HTTP request headers
|
648
|
-
|
649
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
650
|
-
- **Accept**: application/json
|
651
|
-
|
652
|
-
|
653
|
-
|