bombbomb 2.0.25797 → 2.0.25798

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -0
  3. data/README.md +68 -33
  4. data/Rakefile +8 -3
  5. data/bombbomb.gemspec +8 -17
  6. data/docs/AccountsApi.md +164 -5
  7. data/docs/AutomationsApi.md +52 -0
  8. data/docs/ClientGroupAssetMetaData.md +11 -0
  9. data/docs/ContactsApi.md +9 -6
  10. data/docs/EmailsApi.md +220 -0
  11. data/docs/FormsApi.md +60 -0
  12. data/docs/InlineResponse200.md +1 -1
  13. data/docs/IntegrationsApi.md +223 -0
  14. data/docs/JerichoConfiguration.md +2 -0
  15. data/docs/PromptMonthlyPerformance.md +11 -0
  16. data/docs/PromptOverview.md +11 -0
  17. data/docs/PromptSocialPrompt.md +20 -0
  18. data/docs/PromptsApi.md +230 -3
  19. data/docs/SocialsApi.md +167 -2
  20. data/docs/TeamsApi.md +300 -16
  21. data/docs/UsersApi.md +100 -0
  22. data/docs/VideoEmailPrompt.md +15 -15
  23. data/git_push.sh +1 -13
  24. data/lib/bombbomb.rb +8 -14
  25. data/lib/bombbomb/api/accounts_api.rb +189 -51
  26. data/lib/bombbomb/api/automations_api.rb +71 -30
  27. data/lib/bombbomb/api/contacts_api.rb +58 -86
  28. data/lib/bombbomb/api/curriculum_api.rb +8 -27
  29. data/lib/bombbomb/api/emails_api.rb +262 -66
  30. data/lib/bombbomb/api/files_api.rb +32 -53
  31. data/lib/bombbomb/api/forms_api.rb +77 -0
  32. data/lib/bombbomb/api/integrations_api.rb +238 -20
  33. data/lib/bombbomb/api/lists_api.rb +32 -53
  34. data/lib/bombbomb/api/orders_api.rb +8 -21
  35. data/lib/bombbomb/api/prompts_api.rb +347 -112
  36. data/lib/bombbomb/api/socials_api.rb +242 -87
  37. data/lib/bombbomb/api/teams_api.rb +485 -193
  38. data/lib/bombbomb/api/users_api.rb +119 -0
  39. data/lib/bombbomb/api/utilities_api.rb +23 -44
  40. data/lib/bombbomb/api/videos_api.rb +38 -55
  41. data/lib/bombbomb/api/webhooks_api.rb +23 -50
  42. data/lib/bombbomb/api_client.rb +55 -45
  43. data/lib/bombbomb/api_error.rb +9 -18
  44. data/lib/bombbomb/configuration.rb +8 -13
  45. data/lib/bombbomb/models/bb_web_hook.rb +6 -17
  46. data/lib/bombbomb/models/client_group_asset_meta_data.rb +215 -0
  47. data/lib/bombbomb/models/curriculum.rb +6 -17
  48. data/lib/bombbomb/models/curriculum_user_progress.rb +6 -17
  49. data/lib/bombbomb/models/curriculum_with_progress.rb +6 -17
  50. data/lib/bombbomb/models/hosted_doc.rb +6 -17
  51. data/lib/bombbomb/models/inline_response_200.rb +7 -18
  52. data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
  53. data/lib/bombbomb/models/jericho_configuration.rb +34 -21
  54. data/lib/bombbomb/models/jericho_performance.rb +6 -17
  55. data/lib/bombbomb/models/o_auth_client.rb +6 -17
  56. data/lib/bombbomb/models/prompt_bot.rb +6 -17
  57. data/lib/bombbomb/models/prompt_monthly_performance.rb +219 -0
  58. data/lib/bombbomb/models/prompt_overview.rb +219 -0
  59. data/lib/bombbomb/models/prompt_social_prompt.rb +311 -0
  60. data/lib/bombbomb/models/sign_upload_request.rb +6 -17
  61. data/lib/bombbomb/models/sign_upload_response.rb +6 -17
  62. data/lib/bombbomb/models/string.rb +6 -17
  63. data/lib/bombbomb/models/team_public_representation.rb +6 -17
  64. data/lib/bombbomb/models/video_email_prompt.rb +128 -144
  65. data/lib/bombbomb/models/video_encoding_status_response.rb +6 -17
  66. data/lib/bombbomb/models/video_public_representation.rb +6 -17
  67. data/lib/bombbomb/models/video_recorder_method_response.rb +6 -17
  68. data/lib/bombbomb/version.rb +3 -14
  69. data/spec/api/forms_api_spec.rb +58 -0
  70. data/spec/api/users_api_spec.rb +57 -0
  71. data/spec/models/{inline_response_200_items_spec.rb → client_group_asset_meta_data_spec.rb} +8 -19
  72. data/spec/models/prompt_monthly_performance_spec.rb +60 -0
  73. data/spec/models/prompt_overview_spec.rb +60 -0
  74. data/spec/models/{prompt_bot_bot_spec.rb → prompt_social_prompt_spec.rb} +27 -15
  75. metadata +40 -20
@@ -18,5 +18,7 @@ Name | Type | Description | Notes
18
18
  **email_body** | **String** | Video Prompt: The HTML body of the final sent email. | [optional]
19
19
  **send_without_video** | **BOOLEAN** | Video Prompt: Whether to send the final email if no video was recorded. | [optional]
20
20
  **status** | **String** | The state of the send. | [optional]
21
+ **media_type** | **String** | The type of media used for a social send | [optional]
22
+ **custom_initial_email_subject_line** | **String** | The custom subject line for the prompt initial email | [optional]
21
23
 
22
24
 
@@ -0,0 +1,11 @@
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
+
@@ -0,0 +1,11 @@
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
+
@@ -0,0 +1,20 @@
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
+
@@ -6,15 +6,19 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create_prompt_bot**](PromptsApi.md#create_prompt_bot) | **POST** /prompts/bots | Create a running Prompt Bot for a list
8
8
  [**create_video_email_prompt**](PromptsApi.md#create_video_email_prompt) | **POST** /prompt | Prompts user to send a video
9
+ [**get_alternate_campaign_content**](PromptsApi.md#get_alternate_campaign_content) | **GET** /campaign/{campaignId}/content/alternate | List alternate campaign content
9
10
  [**get_pending_video_email_prompts**](PromptsApi.md#get_pending_video_email_prompts) | **GET** /prompt/pending | List pending prompts
10
11
  [**get_prompt_bots**](PromptsApi.md#get_prompt_bots) | **GET** /prompts/bots | List Prompt Bots
11
- [**get_prompt_campaigns**](PromptsApi.md#get_prompt_campaigns) | **GET** /prompts/campaigns | List Prompt Campaigns
12
+ [**get_prompt_campaigns**](PromptsApi.md#get_prompt_campaigns) | **GET** /prompts/{userId}/campaigns | List Prompt Campaigns
12
13
  [**get_video_email_prompt**](PromptsApi.md#get_video_email_prompt) | **GET** /prompt/{id} | Gets a prompt
13
14
  [**get_video_email_prompts**](PromptsApi.md#get_video_email_prompts) | **GET** /prompt/ | List prompts
14
15
  [**respond_to_video_email_prompt**](PromptsApi.md#respond_to_video_email_prompt) | **POST** /prompt/{id}/response | Respond to a prompt
16
+ [**send_prompt_immediately**](PromptsApi.md#send_prompt_immediately) | **POST** /prompt/{id}/sendit |
17
+ [**sync_prompt_subscriptions**](PromptsApi.md#sync_prompt_subscriptions) | **POST** /prompts/campaigns/sync | Syncs Campaigns and One to Ones Subscriptions for User
15
18
  [**update_prompt**](PromptsApi.md#update_prompt) | **PUT** /prompts/{id} | Update Prompt
16
19
  [**update_prompt_bot**](PromptsApi.md#update_prompt_bot) | **PUT** /prompts/bots/{id} | Update Prompt Bot
17
- [**update_prompt_campaign**](PromptsApi.md#update_prompt_campaign) | **PUT** /prompts/campaigns/{id} | Update Prompt Campaign
20
+ [**update_prompt_campaign**](PromptsApi.md#update_prompt_campaign) | **PUT** /prompts/campaigns/{clientGroupId} | Update Prompt Campaign
21
+ [**update_prompt_template**](PromptsApi.md#update_prompt_template) | **PUT** /prompts/{id}/content | Update Prompt Content
18
22
 
19
23
 
20
24
  # **create_prompt_bot**
@@ -147,6 +151,57 @@ Name | Type | Description | Notes
147
151
 
148
152
 
149
153
 
154
+ # **get_alternate_campaign_content**
155
+ > get_alternate_campaign_content(client_group_id)
156
+
157
+ List alternate campaign content
158
+
159
+ Returns a list of alternate campaign content by campaign id
160
+
161
+ ### Example
162
+ ```ruby
163
+ # load the gem
164
+ require 'bombbomb'
165
+ # setup authorization
166
+ BombBomb.configure do |config|
167
+ # Configure OAuth2 access token for authorization: BBOAuth2
168
+ config.access_token = 'YOUR ACCESS TOKEN'
169
+ end
170
+
171
+ api_instance = BombBomb::PromptsApi.new
172
+
173
+ client_group_id = "client_group_id_example" # String | Id for the campaign
174
+
175
+
176
+ begin
177
+ #List alternate campaign content
178
+ api_instance.get_alternate_campaign_content(client_group_id)
179
+ rescue BombBomb::ApiError => e
180
+ puts "Exception when calling PromptsApi->get_alternate_campaign_content: #{e}"
181
+ end
182
+ ```
183
+
184
+ ### Parameters
185
+
186
+ Name | Type | Description | Notes
187
+ ------------- | ------------- | ------------- | -------------
188
+ **client_group_id** | **String**| Id for the campaign |
189
+
190
+ ### Return type
191
+
192
+ nil (empty response body)
193
+
194
+ ### Authorization
195
+
196
+ [BBOAuth2](../README.md#BBOAuth2)
197
+
198
+ ### HTTP request headers
199
+
200
+ - **Content-Type**: application/x-www-form-urlencoded
201
+ - **Accept**: application/json
202
+
203
+
204
+
150
205
  # **get_pending_video_email_prompts**
151
206
  > Array<VideoEmailPrompt> get_pending_video_email_prompts
152
207
 
@@ -440,6 +495,109 @@ No authorization required
440
495
 
441
496
 
442
497
 
498
+ # **send_prompt_immediately**
499
+ > send_prompt_immediately(id)
500
+
501
+
502
+
503
+ Ignore send date and send the prompt now.
504
+
505
+ ### Example
506
+ ```ruby
507
+ # load the gem
508
+ require 'bombbomb'
509
+ # setup authorization
510
+ BombBomb.configure do |config|
511
+ # Configure OAuth2 access token for authorization: BBOAuth2
512
+ config.access_token = 'YOUR ACCESS TOKEN'
513
+ end
514
+
515
+ api_instance = BombBomb::PromptsApi.new
516
+
517
+ id = "id_example" # String | The Id of the prompt
518
+
519
+
520
+ begin
521
+ #
522
+ api_instance.send_prompt_immediately(id)
523
+ rescue BombBomb::ApiError => e
524
+ puts "Exception when calling PromptsApi->send_prompt_immediately: #{e}"
525
+ end
526
+ ```
527
+
528
+ ### Parameters
529
+
530
+ Name | Type | Description | Notes
531
+ ------------- | ------------- | ------------- | -------------
532
+ **id** | **String**| The Id of the prompt |
533
+
534
+ ### Return type
535
+
536
+ nil (empty response body)
537
+
538
+ ### Authorization
539
+
540
+ [BBOAuth2](../README.md#BBOAuth2)
541
+
542
+ ### HTTP request headers
543
+
544
+ - **Content-Type**: application/x-www-form-urlencoded
545
+ - **Accept**: application/json
546
+
547
+
548
+
549
+ # **sync_prompt_subscriptions**
550
+ > sync_prompt_subscriptions(opts)
551
+
552
+ Syncs Campaigns and One to Ones Subscriptions for User
553
+
554
+ Syncs Campaigns and One to Ones Subscriptions for User based on their profile information. The user must be a Prompt Subscriber.
555
+
556
+ ### Example
557
+ ```ruby
558
+ # load the gem
559
+ require 'bombbomb'
560
+ # setup authorization
561
+ BombBomb.configure do |config|
562
+ # Configure OAuth2 access token for authorization: BBOAuth2
563
+ config.access_token = 'YOUR ACCESS TOKEN'
564
+ end
565
+
566
+ api_instance = BombBomb::PromptsApi.new
567
+
568
+ opts = {
569
+ migrate: true # BOOLEAN | After syncing, migrate away from old campaigns.
570
+ }
571
+
572
+ begin
573
+ #Syncs Campaigns and One to Ones Subscriptions for User
574
+ api_instance.sync_prompt_subscriptions(opts)
575
+ rescue BombBomb::ApiError => e
576
+ puts "Exception when calling PromptsApi->sync_prompt_subscriptions: #{e}"
577
+ end
578
+ ```
579
+
580
+ ### Parameters
581
+
582
+ Name | Type | Description | Notes
583
+ ------------- | ------------- | ------------- | -------------
584
+ **migrate** | **BOOLEAN**| After syncing, migrate away from old campaigns. | [optional]
585
+
586
+ ### Return type
587
+
588
+ nil (empty response body)
589
+
590
+ ### Authorization
591
+
592
+ [BBOAuth2](../README.md#BBOAuth2)
593
+
594
+ ### HTTP request headers
595
+
596
+ - **Content-Type**: application/x-www-form-urlencoded
597
+ - **Accept**: application/json
598
+
599
+
600
+
443
601
  # **update_prompt**
444
602
  > update_prompt(id, opts)
445
603
 
@@ -467,7 +625,10 @@ opts = {
467
625
  twitter_message: "twitter_message_example", # String | The twitter message assigned to the prompt
468
626
  video_id: "video_id_example", # String | The id of the video.
469
627
  email_id: "email_id_example", # String | The id of the email.
470
- subject: "subject_example" # String | The subject of the email
628
+ subject: "subject_example", # String | The subject of the email
629
+ reset_cache: "reset_cache_example", # String | The subject of the email
630
+ reset_email_content: "reset_email_content_example", # String | The subject of the email
631
+ status: "status_example" # String | The status of the prompt
471
632
  }
472
633
 
473
634
  begin
@@ -489,6 +650,9 @@ Name | Type | Description | Notes
489
650
  **video_id** | **String**| The id of the video. | [optional]
490
651
  **email_id** | **String**| The id of the email. | [optional]
491
652
  **subject** | **String**| The subject of the email | [optional]
653
+ **reset_cache** | **String**| The subject of the email | [optional]
654
+ **reset_email_content** | **String**| The subject of the email | [optional]
655
+ **status** | **String**| The status of the prompt | [optional]
492
656
 
493
657
  ### Return type
494
658
 
@@ -646,3 +810,66 @@ nil (empty response body)
646
810
 
647
811
 
648
812
 
813
+ # **update_prompt_template**
814
+ > update_prompt_template(id, alternate_content_id, new_email_id, og_email_id, new_example_video_id)
815
+
816
+ Update Prompt Content
817
+
818
+ Updates a Prompt Content
819
+
820
+ ### Example
821
+ ```ruby
822
+ # load the gem
823
+ require 'bombbomb'
824
+ # setup authorization
825
+ BombBomb.configure do |config|
826
+ # Configure OAuth2 access token for authorization: BBOAuth2
827
+ config.access_token = 'YOUR ACCESS TOKEN'
828
+ end
829
+
830
+ api_instance = BombBomb::PromptsApi.new
831
+
832
+ id = "id_example" # String | The prompt's id
833
+
834
+ alternate_content_id = "alternate_content_id_example" # String | The alternate content id
835
+
836
+ new_email_id = "new_email_id_example" # String | The prompt's new email id
837
+
838
+ og_email_id = "og_email_id_example" # String | The prompt's original email id
839
+
840
+ new_example_video_id = "new_example_video_id_example" # String | The prompt's new tutorial video id
841
+
842
+
843
+ begin
844
+ #Update Prompt Content
845
+ api_instance.update_prompt_template(id, alternate_content_id, new_email_id, og_email_id, new_example_video_id)
846
+ rescue BombBomb::ApiError => e
847
+ puts "Exception when calling PromptsApi->update_prompt_template: #{e}"
848
+ end
849
+ ```
850
+
851
+ ### Parameters
852
+
853
+ Name | Type | Description | Notes
854
+ ------------- | ------------- | ------------- | -------------
855
+ **id** | **String**| The prompt's id |
856
+ **alternate_content_id** | **String**| The alternate content id |
857
+ **new_email_id** | **String**| The prompt's new email id |
858
+ **og_email_id** | **String**| The prompt's original email id |
859
+ **new_example_video_id** | **String**| The prompt's new tutorial video id |
860
+
861
+ ### Return type
862
+
863
+ nil (empty response body)
864
+
865
+ ### Authorization
866
+
867
+ [BBOAuth2](../README.md#BBOAuth2)
868
+
869
+ ### HTTP request headers
870
+
871
+ - **Content-Type**: application/x-www-form-urlencoded
872
+ - **Accept**: application/json
873
+
874
+
875
+
@@ -10,7 +10,10 @@ Method | HTTP request | Description
10
10
  [**get_social_profile_properties**](SocialsApi.md#get_social_profile_properties) | **GET** /socials/profile | Gets the profile properties
11
11
  [**get_social_stats**](SocialsApi.md#get_social_stats) | **GET** /socials/{promptId}/stats | Get social stats for a prompt
12
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
13
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
14
17
  [**update_facebook_pages**](SocialsApi.md#update_facebook_pages) | **PUT** /socials/facebook/pages | Updates facebook page Ids
15
18
  [**update_social_content**](SocialsApi.md#update_social_content) | **PUT** /socials/content | Updates social content
16
19
 
@@ -61,7 +64,7 @@ nil (empty response body)
61
64
 
62
65
 
63
66
  # **get_social_article_properties**
64
- > get_social_article_properties(email_id)
67
+ > get_social_article_properties(email_id, social_content_id)
65
68
 
66
69
  Gets the social email properties
67
70
 
@@ -81,10 +84,12 @@ api_instance = BombBomb::SocialsApi.new
81
84
 
82
85
  email_id = "email_id_example" # String | This is the email Id for the email url
83
86
 
87
+ social_content_id = "social_content_id_example" # String | This is the social content Id
88
+
84
89
 
85
90
  begin
86
91
  #Gets the social email properties
87
- api_instance.get_social_article_properties(email_id)
92
+ api_instance.get_social_article_properties(email_id, social_content_id)
88
93
  rescue BombBomb::ApiError => e
89
94
  puts "Exception when calling SocialsApi->get_social_article_properties: #{e}"
90
95
  end
@@ -95,6 +100,7 @@ end
95
100
  Name | Type | Description | Notes
96
101
  ------------- | ------------- | ------------- | -------------
97
102
  **email_id** | **String**| This is the email Id for the email url |
103
+ **social_content_id** | **String**| This is the social content Id |
98
104
 
99
105
  ### Return type
100
106
 
@@ -316,6 +322,111 @@ nil (empty response body)
316
322
 
317
323
 
318
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
+
319
430
  # **update_client_group_send_mechanism**
320
431
  > update_client_group_send_mechanism(send_mechanism, client_group_id, opts)
321
432
 
@@ -374,6 +485,60 @@ nil (empty response body)
374
485
 
375
486
 
376
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
+
377
542
  # **update_facebook_pages**
378
543
  > update_facebook_pages(page_ids)
379
544