bombbomb 2.0.25797 → 2.0.25798
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +68 -33
- data/Rakefile +8 -3
- data/bombbomb.gemspec +8 -17
- data/docs/AccountsApi.md +164 -5
- data/docs/AutomationsApi.md +52 -0
- data/docs/ClientGroupAssetMetaData.md +11 -0
- data/docs/ContactsApi.md +9 -6
- data/docs/EmailsApi.md +220 -0
- data/docs/FormsApi.md +60 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/IntegrationsApi.md +223 -0
- data/docs/JerichoConfiguration.md +2 -0
- data/docs/PromptMonthlyPerformance.md +11 -0
- data/docs/PromptOverview.md +11 -0
- data/docs/PromptSocialPrompt.md +20 -0
- data/docs/PromptsApi.md +230 -3
- data/docs/SocialsApi.md +167 -2
- data/docs/TeamsApi.md +300 -16
- data/docs/UsersApi.md +100 -0
- data/docs/VideoEmailPrompt.md +15 -15
- data/git_push.sh +1 -13
- data/lib/bombbomb.rb +8 -14
- data/lib/bombbomb/api/accounts_api.rb +189 -51
- data/lib/bombbomb/api/automations_api.rb +71 -30
- data/lib/bombbomb/api/contacts_api.rb +58 -86
- data/lib/bombbomb/api/curriculum_api.rb +8 -27
- data/lib/bombbomb/api/emails_api.rb +262 -66
- data/lib/bombbomb/api/files_api.rb +32 -53
- data/lib/bombbomb/api/forms_api.rb +77 -0
- data/lib/bombbomb/api/integrations_api.rb +238 -20
- 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 +347 -112
- data/lib/bombbomb/api/socials_api.rb +242 -87
- data/lib/bombbomb/api/teams_api.rb +485 -193
- 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/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +34 -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 +311 -0
- 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 +128 -144
- 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/forms_api_spec.rb +58 -0
- 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
- data/spec/models/{prompt_bot_bot_spec.rb → prompt_social_prompt_spec.rb} +27 -15
- metadata +40 -20
data/docs/TeamsApi.md
CHANGED
@@ -5,6 +5,8 @@ All URIs are relative to *https://api.bombbomb.com/v2*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**add_team_member**](TeamsApi.md#add_team_member) | **POST** /team/{teamId}/member | Add Member to Team
|
8
|
+
[**add_users**](TeamsApi.md#add_users) | **POST** /team/{teamId}/members | Add users to group.
|
9
|
+
[**add_users_from_csv**](TeamsApi.md#add_users_from_csv) | **POST** /team/{teamId}/members/csv | Add members to group from CSV
|
8
10
|
[**cancel_jericho_send**](TeamsApi.md#cancel_jericho_send) | **DELETE** /team/{teamId}/jericho/{jerichoId} | Cancel a Jericho Send
|
9
11
|
[**create_subteam**](TeamsApi.md#create_subteam) | **POST** /team/{teamId}/subteam | Add a Subteam
|
10
12
|
[**delete_subteam**](TeamsApi.md#delete_subteam) | **DELETE** /team/{teamId}/subteam | Delete Subteam
|
@@ -14,9 +16,12 @@ Method | HTTP request | Description
|
|
14
16
|
[**get_jericho_sends**](TeamsApi.md#get_jericho_sends) | **GET** /team/{teamId}/jericho | List Jericho Sends
|
15
17
|
[**get_jericho_stats**](TeamsApi.md#get_jericho_stats) | **GET** /team/{teamId}/jericho/{jerichoId}/performance | Gets Jericho performance statistics
|
16
18
|
[**get_paged_client_group_members**](TeamsApi.md#get_paged_client_group_members) | **GET** /team/{teamId}/members | List Team Members
|
19
|
+
[**get_prompt_monthly_stats**](TeamsApi.md#get_prompt_monthly_stats) | **GET** /team/{month}/{year}/monthStats | Jericho Monthly Stats
|
20
|
+
[**get_prompt_overview**](TeamsApi.md#get_prompt_overview) | **GET** /team/promptOverview | Get Prompt Overview
|
17
21
|
[**get_subteams**](TeamsApi.md#get_subteams) | **GET** /team/{teamId}/subteam | List Subteams
|
18
22
|
[**get_team_prompt_aggregate_stats**](TeamsApi.md#get_team_prompt_aggregate_stats) | **GET** /team/{clientGroupId}/campaign/stats | Get aggregate stats for campaigns
|
19
23
|
[**get_team_prompt_campaigns**](TeamsApi.md#get_team_prompt_campaigns) | **GET** /team/{clientGroupId}/campaign | Get campaigns for team
|
24
|
+
[**invite_to_social_prompt_team**](TeamsApi.md#invite_to_social_prompt_team) | **POST** /teams/prompt/invite | Invite a list to join the admin's social prompt team
|
20
25
|
[**queue_jericho_send**](TeamsApi.md#queue_jericho_send) | **POST** /team/{teamId}/jericho | Creates a Jericho send.
|
21
26
|
[**remove_member_from_team**](TeamsApi.md#remove_member_from_team) | **DELETE** /team/{teamId}/member/{userId} | Remove Member from Team
|
22
27
|
[**resend_team_member_invitation**](TeamsApi.md#resend_team_member_invitation) | **POST** /team/{teamId}/{memberUserId}/rewelcome | Resend invite
|
@@ -47,9 +52,10 @@ api_instance = BombBomb::TeamsApi.new
|
|
47
52
|
team_id = "team_id_example" # String | The team id
|
48
53
|
|
49
54
|
opts = {
|
50
|
-
|
55
|
+
admin: true, # BOOLEAN | Set if the user is an admin of this team.
|
56
|
+
subgroup_ids: "subgroup_ids_example", # String | Subgroup IDs to add user to
|
51
57
|
user_email: "user_email_example", # String | The email of the member being added to the team.
|
52
|
-
|
58
|
+
user_id: "user_id_example" # String | The user id of the member being added to the team.
|
53
59
|
}
|
54
60
|
|
55
61
|
begin
|
@@ -66,9 +72,10 @@ end
|
|
66
72
|
Name | Type | Description | Notes
|
67
73
|
------------- | ------------- | ------------- | -------------
|
68
74
|
**team_id** | **String**| The team id |
|
69
|
-
**user_id** | **String**| The user id of the member being added to the team. | [optional]
|
70
|
-
**user_email** | **String**| The email of the member being added to the team. | [optional]
|
71
75
|
**admin** | **BOOLEAN**| Set if the user is an admin of this team. | [optional]
|
76
|
+
**subgroup_ids** | **String**| Subgroup IDs to add user to | [optional]
|
77
|
+
**user_email** | **String**| The email of the member being added to the team. | [optional]
|
78
|
+
**user_id** | **String**| The user id of the member being added to the team. | [optional]
|
72
79
|
|
73
80
|
### Return type
|
74
81
|
|
@@ -85,6 +92,129 @@ Name | Type | Description | Notes
|
|
85
92
|
|
86
93
|
|
87
94
|
|
95
|
+
# **add_users**
|
96
|
+
> add_users(team_id, user_details, opts)
|
97
|
+
|
98
|
+
Add users to group.
|
99
|
+
|
100
|
+
Add a new or existing user to group.
|
101
|
+
|
102
|
+
### Example
|
103
|
+
```ruby
|
104
|
+
# load the gem
|
105
|
+
require 'bombbomb'
|
106
|
+
# setup authorization
|
107
|
+
BombBomb.configure do |config|
|
108
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
109
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
110
|
+
end
|
111
|
+
|
112
|
+
api_instance = BombBomb::TeamsApi.new
|
113
|
+
|
114
|
+
team_id = "team_id_example" # String | The team id
|
115
|
+
|
116
|
+
user_details = "user_details_example" # String | Array of emails or objects containing details needed to create user
|
117
|
+
|
118
|
+
opts = {
|
119
|
+
send_welcome_email: "send_welcome_email_example", # String | Whether to send welcome email to new users
|
120
|
+
subgroup_ids: "subgroup_ids_example" # String | Subgroup IDs to add user to
|
121
|
+
}
|
122
|
+
|
123
|
+
begin
|
124
|
+
#Add users to group.
|
125
|
+
api_instance.add_users(team_id, user_details, opts)
|
126
|
+
rescue BombBomb::ApiError => e
|
127
|
+
puts "Exception when calling TeamsApi->add_users: #{e}"
|
128
|
+
end
|
129
|
+
```
|
130
|
+
|
131
|
+
### Parameters
|
132
|
+
|
133
|
+
Name | Type | Description | Notes
|
134
|
+
------------- | ------------- | ------------- | -------------
|
135
|
+
**team_id** | **String**| The team id |
|
136
|
+
**user_details** | **String**| Array of emails or objects containing details needed to create user |
|
137
|
+
**send_welcome_email** | **String**| Whether to send welcome email to new users | [optional]
|
138
|
+
**subgroup_ids** | **String**| Subgroup IDs to add user to | [optional]
|
139
|
+
|
140
|
+
### Return type
|
141
|
+
|
142
|
+
nil (empty response body)
|
143
|
+
|
144
|
+
### Authorization
|
145
|
+
|
146
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
147
|
+
|
148
|
+
### HTTP request headers
|
149
|
+
|
150
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
151
|
+
- **Accept**: application/json
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
# **add_users_from_csv**
|
156
|
+
> add_users_from_csv(team_id, csv_import_id, map, opts)
|
157
|
+
|
158
|
+
Add members to group from CSV
|
159
|
+
|
160
|
+
Imports members to a group from a given CSV ID.
|
161
|
+
|
162
|
+
### Example
|
163
|
+
```ruby
|
164
|
+
# load the gem
|
165
|
+
require 'bombbomb'
|
166
|
+
# setup authorization
|
167
|
+
BombBomb.configure do |config|
|
168
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
169
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
170
|
+
end
|
171
|
+
|
172
|
+
api_instance = BombBomb::TeamsApi.new
|
173
|
+
|
174
|
+
team_id = "team_id_example" # String | The team id
|
175
|
+
|
176
|
+
csv_import_id = "csv_import_id_example" # String | ID of the CSV to import
|
177
|
+
|
178
|
+
map = "map_example" # String | Object to use when mapping import to AccountCreateDetails. Key is property name on details, value is CSV column number.
|
179
|
+
|
180
|
+
opts = {
|
181
|
+
send_welcome_email: "send_welcome_email_example", # String | Whether to send welcome email to new users
|
182
|
+
subgroup_ids: "subgroup_ids_example" # String | Subgroup IDs to add user to
|
183
|
+
}
|
184
|
+
|
185
|
+
begin
|
186
|
+
#Add members to group from CSV
|
187
|
+
api_instance.add_users_from_csv(team_id, csv_import_id, map, opts)
|
188
|
+
rescue BombBomb::ApiError => e
|
189
|
+
puts "Exception when calling TeamsApi->add_users_from_csv: #{e}"
|
190
|
+
end
|
191
|
+
```
|
192
|
+
|
193
|
+
### Parameters
|
194
|
+
|
195
|
+
Name | Type | Description | Notes
|
196
|
+
------------- | ------------- | ------------- | -------------
|
197
|
+
**team_id** | **String**| The team id |
|
198
|
+
**csv_import_id** | **String**| ID of the CSV to import |
|
199
|
+
**map** | **String**| Object to use when mapping import to AccountCreateDetails. Key is property name on details, value is CSV column number. |
|
200
|
+
**send_welcome_email** | **String**| Whether to send welcome email to new users | [optional]
|
201
|
+
**subgroup_ids** | **String**| Subgroup IDs to add user to | [optional]
|
202
|
+
|
203
|
+
### Return type
|
204
|
+
|
205
|
+
nil (empty response body)
|
206
|
+
|
207
|
+
### Authorization
|
208
|
+
|
209
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
210
|
+
|
211
|
+
### HTTP request headers
|
212
|
+
|
213
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
214
|
+
- **Accept**: application/json
|
215
|
+
|
216
|
+
|
217
|
+
|
88
218
|
# **cancel_jericho_send**
|
89
219
|
> cancel_jericho_send(jericho_id)
|
90
220
|
|
@@ -590,12 +720,67 @@ nil (empty response body)
|
|
590
720
|
|
591
721
|
|
592
722
|
|
593
|
-
# **
|
594
|
-
>
|
723
|
+
# **get_prompt_monthly_stats**
|
724
|
+
> String get_prompt_monthly_stats(month, year)
|
595
725
|
|
596
|
-
|
726
|
+
Jericho Monthly Stats
|
597
727
|
|
598
|
-
|
728
|
+
Jericho Monthly Stats
|
729
|
+
|
730
|
+
### Example
|
731
|
+
```ruby
|
732
|
+
# load the gem
|
733
|
+
require 'bombbomb'
|
734
|
+
# setup authorization
|
735
|
+
BombBomb.configure do |config|
|
736
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
737
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
738
|
+
end
|
739
|
+
|
740
|
+
api_instance = BombBomb::TeamsApi.new
|
741
|
+
|
742
|
+
month = "month_example" # String | The month whose Jericho sends you wish to see.
|
743
|
+
|
744
|
+
year = "year_example" # String | The year whose Jericho sends you wish to see.
|
745
|
+
|
746
|
+
|
747
|
+
begin
|
748
|
+
#Jericho Monthly Stats
|
749
|
+
result = api_instance.get_prompt_monthly_stats(month, year)
|
750
|
+
p result
|
751
|
+
rescue BombBomb::ApiError => e
|
752
|
+
puts "Exception when calling TeamsApi->get_prompt_monthly_stats: #{e}"
|
753
|
+
end
|
754
|
+
```
|
755
|
+
|
756
|
+
### Parameters
|
757
|
+
|
758
|
+
Name | Type | Description | Notes
|
759
|
+
------------- | ------------- | ------------- | -------------
|
760
|
+
**month** | **String**| The month whose Jericho sends you wish to see. |
|
761
|
+
**year** | **String**| The year whose Jericho sends you wish to see. |
|
762
|
+
|
763
|
+
### Return type
|
764
|
+
|
765
|
+
**String**
|
766
|
+
|
767
|
+
### Authorization
|
768
|
+
|
769
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
770
|
+
|
771
|
+
### HTTP request headers
|
772
|
+
|
773
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
774
|
+
- **Accept**: application/json
|
775
|
+
|
776
|
+
|
777
|
+
|
778
|
+
# **get_prompt_overview**
|
779
|
+
> String get_prompt_overview
|
780
|
+
|
781
|
+
Get Prompt Overview
|
782
|
+
|
783
|
+
Get Prompt Overview
|
599
784
|
|
600
785
|
### Example
|
601
786
|
```ruby
|
@@ -609,6 +794,47 @@ end
|
|
609
794
|
|
610
795
|
api_instance = BombBomb::TeamsApi.new
|
611
796
|
|
797
|
+
begin
|
798
|
+
#Get Prompt Overview
|
799
|
+
result = api_instance.get_prompt_overview
|
800
|
+
p result
|
801
|
+
rescue BombBomb::ApiError => e
|
802
|
+
puts "Exception when calling TeamsApi->get_prompt_overview: #{e}"
|
803
|
+
end
|
804
|
+
```
|
805
|
+
|
806
|
+
### Parameters
|
807
|
+
This endpoint does not need any parameter.
|
808
|
+
|
809
|
+
### Return type
|
810
|
+
|
811
|
+
**String**
|
812
|
+
|
813
|
+
### Authorization
|
814
|
+
|
815
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
816
|
+
|
817
|
+
### HTTP request headers
|
818
|
+
|
819
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
820
|
+
- **Accept**: application/json
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
# **get_subteams**
|
825
|
+
> Array<TeamPublicRepresentation> get_subteams(team_id)
|
826
|
+
|
827
|
+
List Subteams
|
828
|
+
|
829
|
+
Returns a collection of subteams for a parent team
|
830
|
+
|
831
|
+
### Example
|
832
|
+
```ruby
|
833
|
+
# load the gem
|
834
|
+
require 'bombbomb'
|
835
|
+
|
836
|
+
api_instance = BombBomb::TeamsApi.new
|
837
|
+
|
612
838
|
team_id = "team_id_example" # String | The team id
|
613
839
|
|
614
840
|
|
@@ -633,7 +859,7 @@ Name | Type | Description | Notes
|
|
633
859
|
|
634
860
|
### Authorization
|
635
861
|
|
636
|
-
|
862
|
+
No authorization required
|
637
863
|
|
638
864
|
### HTTP request headers
|
639
865
|
|
@@ -716,8 +942,7 @@ client_group_id = "client_group_id_example" # String | ID of the client group as
|
|
716
942
|
|
717
943
|
opts = {
|
718
944
|
search_term: "search_term_example", # String | The value to search for in prompt subject
|
719
|
-
|
720
|
-
asc: "asc_example" # String | Ascending or not
|
945
|
+
current_page: "current_page_example" # String | The current page
|
721
946
|
}
|
722
947
|
|
723
948
|
begin
|
@@ -734,8 +959,61 @@ Name | Type | Description | Notes
|
|
734
959
|
------------- | ------------- | ------------- | -------------
|
735
960
|
**client_group_id** | **String**| ID of the client group association |
|
736
961
|
**search_term** | **String**| The value to search for in prompt subject | [optional]
|
737
|
-
**
|
738
|
-
|
962
|
+
**current_page** | **String**| The current page | [optional]
|
963
|
+
|
964
|
+
### Return type
|
965
|
+
|
966
|
+
nil (empty response body)
|
967
|
+
|
968
|
+
### Authorization
|
969
|
+
|
970
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
971
|
+
|
972
|
+
### HTTP request headers
|
973
|
+
|
974
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
975
|
+
- **Accept**: application/json
|
976
|
+
|
977
|
+
|
978
|
+
|
979
|
+
# **invite_to_social_prompt_team**
|
980
|
+
> invite_to_social_prompt_team(team_id, list_id)
|
981
|
+
|
982
|
+
Invite a list to join the admin's social prompt team
|
983
|
+
|
984
|
+
Invite to Social Prompt Team
|
985
|
+
|
986
|
+
### Example
|
987
|
+
```ruby
|
988
|
+
# load the gem
|
989
|
+
require 'bombbomb'
|
990
|
+
# setup authorization
|
991
|
+
BombBomb.configure do |config|
|
992
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
993
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
994
|
+
end
|
995
|
+
|
996
|
+
api_instance = BombBomb::TeamsApi.new
|
997
|
+
|
998
|
+
team_id = "team_id_example" # String | The team id
|
999
|
+
|
1000
|
+
list_id = "list_id_example" # String | List to invite to the social prompt team.
|
1001
|
+
|
1002
|
+
|
1003
|
+
begin
|
1004
|
+
#Invite a list to join the admin's social prompt team
|
1005
|
+
api_instance.invite_to_social_prompt_team(team_id, list_id)
|
1006
|
+
rescue BombBomb::ApiError => e
|
1007
|
+
puts "Exception when calling TeamsApi->invite_to_social_prompt_team: #{e}"
|
1008
|
+
end
|
1009
|
+
```
|
1010
|
+
|
1011
|
+
### Parameters
|
1012
|
+
|
1013
|
+
Name | Type | Description | Notes
|
1014
|
+
------------- | ------------- | ------------- | -------------
|
1015
|
+
**team_id** | **String**| The team id |
|
1016
|
+
**list_id** | **String**| List to invite to the social prompt team. |
|
739
1017
|
|
740
1018
|
### Return type
|
741
1019
|
|
@@ -994,7 +1272,8 @@ team_id = "team_id_example" # String | The team id
|
|
994
1272
|
|
995
1273
|
opts = {
|
996
1274
|
name: "name_example", # String | The name of the team
|
997
|
-
state: "state_example" # String | The status of the login permissions
|
1275
|
+
state: "state_example", # String | The status of the login permissions
|
1276
|
+
subteams_can_add_members: true # BOOLEAN | Updates subteam member adding setting on group
|
998
1277
|
}
|
999
1278
|
|
1000
1279
|
begin
|
@@ -1013,6 +1292,7 @@ Name | Type | Description | Notes
|
|
1013
1292
|
**team_id** | **String**| The team id |
|
1014
1293
|
**name** | **String**| The name of the team | [optional]
|
1015
1294
|
**state** | **String**| The status of the login permissions | [optional]
|
1295
|
+
**subteams_can_add_members** | **BOOLEAN**| Updates subteam member adding setting on group | [optional]
|
1016
1296
|
|
1017
1297
|
### Return type
|
1018
1298
|
|
@@ -1030,7 +1310,7 @@ Name | Type | Description | Notes
|
|
1030
1310
|
|
1031
1311
|
|
1032
1312
|
# **update_team_member**
|
1033
|
-
> update_team_member(team_id, user_id, admin)
|
1313
|
+
> update_team_member(team_id, user_id, admin, opts)
|
1034
1314
|
|
1035
1315
|
Update Member of Team
|
1036
1316
|
|
@@ -1054,10 +1334,13 @@ user_id = "user_id_example" # String | The user id of the member being added to
|
|
1054
1334
|
|
1055
1335
|
admin = true # BOOLEAN | Set if the user is an admin of this team.
|
1056
1336
|
|
1337
|
+
opts = {
|
1338
|
+
permission_suite_id: "permission_suite_id_example" # String | Set if the user is an admin of this team.
|
1339
|
+
}
|
1057
1340
|
|
1058
1341
|
begin
|
1059
1342
|
#Update Member of Team
|
1060
|
-
api_instance.update_team_member(team_id, user_id, admin)
|
1343
|
+
api_instance.update_team_member(team_id, user_id, admin, opts)
|
1061
1344
|
rescue BombBomb::ApiError => e
|
1062
1345
|
puts "Exception when calling TeamsApi->update_team_member: #{e}"
|
1063
1346
|
end
|
@@ -1070,6 +1353,7 @@ Name | Type | Description | Notes
|
|
1070
1353
|
**team_id** | **String**| The team id |
|
1071
1354
|
**user_id** | **String**| The user id of the member being added to the team. |
|
1072
1355
|
**admin** | **BOOLEAN**| Set if the user is an admin of this team. |
|
1356
|
+
**permission_suite_id** | **String**| Set if the user is an admin of this team. | [optional]
|
1073
1357
|
|
1074
1358
|
### Return type
|
1075
1359
|
|
data/docs/UsersApi.md
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
# BombBomb::UsersApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get_client_contact_information**](UsersApi.md#get_client_contact_information) | **GET** /clients/contact/information | Get client contact information.
|
8
|
+
[**get_user_profile_info**](UsersApi.md#get_user_profile_info) | **GET** /users/profile/information | Get user profile information.
|
9
|
+
|
10
|
+
|
11
|
+
# **get_client_contact_information**
|
12
|
+
> get_client_contact_information
|
13
|
+
|
14
|
+
Get client contact information.
|
15
|
+
|
16
|
+
Get the client contact information of the user's account.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'bombbomb'
|
22
|
+
# setup authorization
|
23
|
+
BombBomb.configure do |config|
|
24
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
25
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
26
|
+
end
|
27
|
+
|
28
|
+
api_instance = BombBomb::UsersApi.new
|
29
|
+
|
30
|
+
begin
|
31
|
+
#Get client contact information.
|
32
|
+
api_instance.get_client_contact_information
|
33
|
+
rescue BombBomb::ApiError => e
|
34
|
+
puts "Exception when calling UsersApi->get_client_contact_information: #{e}"
|
35
|
+
end
|
36
|
+
```
|
37
|
+
|
38
|
+
### Parameters
|
39
|
+
This endpoint does not need any parameter.
|
40
|
+
|
41
|
+
### Return type
|
42
|
+
|
43
|
+
nil (empty response body)
|
44
|
+
|
45
|
+
### Authorization
|
46
|
+
|
47
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
48
|
+
|
49
|
+
### HTTP request headers
|
50
|
+
|
51
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
52
|
+
- **Accept**: application/json
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
# **get_user_profile_info**
|
57
|
+
> get_user_profile_info
|
58
|
+
|
59
|
+
Get user profile information.
|
60
|
+
|
61
|
+
Get the users profile information.
|
62
|
+
|
63
|
+
### Example
|
64
|
+
```ruby
|
65
|
+
# load the gem
|
66
|
+
require 'bombbomb'
|
67
|
+
# setup authorization
|
68
|
+
BombBomb.configure do |config|
|
69
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
70
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
71
|
+
end
|
72
|
+
|
73
|
+
api_instance = BombBomb::UsersApi.new
|
74
|
+
|
75
|
+
begin
|
76
|
+
#Get user profile information.
|
77
|
+
api_instance.get_user_profile_info
|
78
|
+
rescue BombBomb::ApiError => e
|
79
|
+
puts "Exception when calling UsersApi->get_user_profile_info: #{e}"
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
### Parameters
|
84
|
+
This endpoint does not need any parameter.
|
85
|
+
|
86
|
+
### Return type
|
87
|
+
|
88
|
+
nil (empty response body)
|
89
|
+
|
90
|
+
### Authorization
|
91
|
+
|
92
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
93
|
+
|
94
|
+
### HTTP request headers
|
95
|
+
|
96
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
97
|
+
- **Accept**: application/json
|
98
|
+
|
99
|
+
|
100
|
+
|