smooch-api 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/docs/Action.md +2 -2
- data/docs/App.md +2 -2
- data/docs/AppApi.md +48 -48
- data/docs/AppSettings.md +2 -2
- data/docs/AppUser.md +6 -6
- data/docs/AppUserApi.md +78 -78
- data/docs/AppUserBusinessSystemsResponse.md +1 -1
- data/docs/AppUserLink.md +2 -2
- data/docs/AppUserPreCreate.md +3 -3
- data/docs/AppUserResponse.md +1 -1
- data/docs/AppUserUpdate.md +2 -2
- data/docs/AttachmentRemove.md +1 -1
- data/docs/AttachmentResponse.md +2 -2
- data/docs/AttachmentsApi.md +16 -16
- data/docs/AuthCodeResponse.md +1 -1
- data/docs/BusinessSystemItem.md +4 -4
- data/docs/ChannelEntityItem.md +3 -3
- data/docs/Client.md +4 -4
- data/docs/ClientInfo.md +8 -8
- data/docs/Conversation.md +2 -2
- data/docs/ConversationApi.md +42 -42
- data/docs/Destination.md +2 -2
- data/docs/DisplaySettings.md +1 -1
- data/docs/GetMessagesResponse.md +1 -1
- data/docs/Integration.md +44 -44
- data/docs/IntegrationApi.md +66 -66
- data/docs/IntegrationCreate.md +36 -36
- data/docs/IntegrationProfileUpdate.md +1 -1
- data/docs/IntegrationUpdate.md +16 -16
- data/docs/LinkRequestResponse.md +1 -1
- data/docs/LinkRequestResponseLinkRequests.md +1 -1
- data/docs/ListAppsResponse.md +1 -1
- data/docs/ListServiceAccountsResponse.md +2 -2
- data/docs/ListTemplatesResponse.md +1 -1
- data/docs/MenuApi.md +14 -14
- data/docs/Message.md +6 -6
- data/docs/MessageItem.md +2 -2
- data/docs/MessageOverride.md +8 -0
- data/docs/MessageOverrideWhatsapp.md +8 -0
- data/docs/MessagePost.md +4 -3
- data/docs/MessageResponse.md +1 -1
- data/docs/SecretKey.md +1 -1
- data/docs/ServiceAccount.md +1 -1
- data/docs/ServiceAccountApi.md +46 -46
- data/docs/ServiceAccountResponse.md +1 -1
- data/docs/Template.md +1 -1
- data/docs/TemplateApi.md +30 -30
- data/docs/TypingActivityTrigger.md +1 -1
- data/docs/Webhook.md +1 -1
- data/docs/WebhookApi.md +30 -30
- data/lib/smooch-api.rb +3 -1
- data/lib/smooch-api/api/app_api.rb +112 -112
- data/lib/smooch-api/api/app_user_api.rb +190 -190
- data/lib/smooch-api/api/attachments_api.rb +34 -34
- data/lib/smooch-api/api/conversation_api.rb +102 -102
- data/lib/smooch-api/api/integration_api.rb +161 -161
- data/lib/smooch-api/api/menu_api.rb +34 -34
- data/lib/smooch-api/api/service_account_api.rb +109 -109
- data/lib/smooch-api/api/template_api.rb +73 -73
- data/lib/smooch-api/api/webhook_api.rb +73 -73
- data/lib/smooch-api/api_client.rb +1 -1
- data/lib/smooch-api/api_error.rb +1 -1
- data/lib/smooch-api/configuration.rb +1 -1
- data/lib/smooch-api/models/action.rb +12 -12
- data/lib/smooch-api/models/app.rb +18 -18
- data/lib/smooch-api/models/app_create.rb +1 -1
- data/lib/smooch-api/models/app_response.rb +1 -1
- data/lib/smooch-api/models/app_settings.rb +12 -12
- data/lib/smooch-api/models/app_update.rb +1 -1
- data/lib/smooch-api/models/app_user.rb +38 -38
- data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
- data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
- data/lib/smooch-api/models/app_user_link.rb +12 -12
- data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
- data/lib/smooch-api/models/app_user_response.rb +10 -10
- data/lib/smooch-api/models/app_user_update.rb +12 -12
- data/lib/smooch-api/models/attachment_remove.rb +10 -10
- data/lib/smooch-api/models/attachment_response.rb +18 -18
- data/lib/smooch-api/models/auth_code_response.rb +10 -10
- data/lib/smooch-api/models/business_system_item.rb +22 -22
- data/lib/smooch-api/models/channel_entity_item.rb +17 -17
- data/lib/smooch-api/models/client.rb +22 -22
- data/lib/smooch-api/models/client_info.rb +42 -42
- data/lib/smooch-api/models/confirmation.rb +1 -1
- data/lib/smooch-api/models/conversation.rb +18 -18
- data/lib/smooch-api/models/destination.rb +18 -18
- data/lib/smooch-api/models/display_settings.rb +7 -7
- data/lib/smooch-api/models/get_messages_response.rb +7 -7
- data/lib/smooch-api/models/integration.rb +225 -225
- data/lib/smooch-api/models/integration_create.rb +182 -182
- data/lib/smooch-api/models/integration_profile_update.rb +7 -7
- data/lib/smooch-api/models/integration_response.rb +1 -1
- data/lib/smooch-api/models/integration_update.rb +82 -82
- data/lib/smooch-api/models/jwt_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response.rb +7 -7
- data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
- data/lib/smooch-api/models/list_apps_response.rb +7 -7
- data/lib/smooch-api/models/list_integrations_response.rb +1 -1
- data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
- data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
- data/lib/smooch-api/models/list_templates_response.rb +7 -7
- data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
- data/lib/smooch-api/models/menu.rb +1 -1
- data/lib/smooch-api/models/menu_item.rb +1 -1
- data/lib/smooch-api/models/menu_response.rb +1 -1
- data/lib/smooch-api/models/message.rb +41 -41
- data/lib/smooch-api/models/message_item.rb +12 -12
- data/lib/smooch-api/models/message_override.rb +188 -0
- data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
- data/lib/smooch-api/models/message_post.rb +30 -20
- data/lib/smooch-api/models/message_response.rb +7 -7
- data/lib/smooch-api/models/secret_key.rb +10 -10
- data/lib/smooch-api/models/secret_key_create.rb +1 -1
- data/lib/smooch-api/models/secret_key_response.rb +1 -1
- data/lib/smooch-api/models/service_account.rb +10 -10
- data/lib/smooch-api/models/service_account_create.rb +1 -1
- data/lib/smooch-api/models/service_account_response.rb +7 -7
- data/lib/smooch-api/models/service_account_update.rb +1 -1
- data/lib/smooch-api/models/source.rb +1 -1
- data/lib/smooch-api/models/sub_menu_item.rb +1 -1
- data/lib/smooch-api/models/template.rb +10 -10
- data/lib/smooch-api/models/template_create.rb +1 -1
- data/lib/smooch-api/models/template_response.rb +1 -1
- data/lib/smooch-api/models/template_update.rb +1 -1
- data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
- data/lib/smooch-api/models/webhook.rb +10 -10
- data/lib/smooch-api/models/webhook_create.rb +1 -1
- data/lib/smooch-api/models/webhook_response.rb +1 -1
- data/lib/smooch-api/models/webhook_update.rb +1 -1
- data/lib/smooch-api/version.rb +2 -2
- data/smooch-api.gemspec +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 4.
|
6
|
+
OpenAPI spec version: 4.2
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -22,35 +22,35 @@ module SmoochApi
|
|
22
22
|
|
23
23
|
#
|
24
24
|
# Delete specified app user.
|
25
|
-
# @param
|
26
|
-
# @param
|
25
|
+
# @param appId Identifies the app.
|
26
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
28
|
# @return [nil]
|
29
|
-
def delete_app_user(
|
30
|
-
delete_app_user_with_http_info(
|
29
|
+
def delete_app_user(appId, userId, opts = {})
|
30
|
+
delete_app_user_with_http_info(appId, userId, opts)
|
31
31
|
return nil
|
32
32
|
end
|
33
33
|
|
34
34
|
#
|
35
35
|
# Delete specified app user.
|
36
|
-
# @param
|
37
|
-
# @param
|
36
|
+
# @param appId Identifies the app.
|
37
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
40
|
-
def delete_app_user_with_http_info(
|
40
|
+
def delete_app_user_with_http_info(appId, userId, opts = {})
|
41
41
|
if @api_client.config.debugging
|
42
42
|
@api_client.config.logger.debug "Calling API: AppUserApi.delete_app_user ..."
|
43
43
|
end
|
44
|
-
# verify the required parameter '
|
45
|
-
if @api_client.config.client_side_validation &&
|
46
|
-
fail ArgumentError, "Missing the required parameter '
|
44
|
+
# verify the required parameter 'appId' is set
|
45
|
+
if @api_client.config.client_side_validation && appId.nil?
|
46
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.delete_app_user"
|
47
47
|
end
|
48
|
-
# verify the required parameter '
|
49
|
-
if @api_client.config.client_side_validation &&
|
50
|
-
fail ArgumentError, "Missing the required parameter '
|
48
|
+
# verify the required parameter 'userId' is set
|
49
|
+
if @api_client.config.client_side_validation && userId.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.delete_app_user"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}',
|
53
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -82,35 +82,35 @@ module SmoochApi
|
|
82
82
|
|
83
83
|
#
|
84
84
|
# Delete specified app user's profile.
|
85
|
-
# @param
|
86
|
-
# @param
|
85
|
+
# @param appId Identifies the app.
|
86
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @return [AppUserResponse]
|
89
|
-
def delete_app_user_profile(
|
90
|
-
data, _status_code, _headers = delete_app_user_profile_with_http_info(
|
89
|
+
def delete_app_user_profile(appId, userId, opts = {})
|
90
|
+
data, _status_code, _headers = delete_app_user_profile_with_http_info(appId, userId, opts)
|
91
91
|
return data
|
92
92
|
end
|
93
93
|
|
94
94
|
#
|
95
95
|
# Delete specified app user's profile.
|
96
|
-
# @param
|
97
|
-
# @param
|
96
|
+
# @param appId Identifies the app.
|
97
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @return [Array<(AppUserResponse, Fixnum, Hash)>] AppUserResponse data, response status code and response headers
|
100
|
-
def delete_app_user_profile_with_http_info(
|
100
|
+
def delete_app_user_profile_with_http_info(appId, userId, opts = {})
|
101
101
|
if @api_client.config.debugging
|
102
102
|
@api_client.config.logger.debug "Calling API: AppUserApi.delete_app_user_profile ..."
|
103
103
|
end
|
104
|
-
# verify the required parameter '
|
105
|
-
if @api_client.config.client_side_validation &&
|
106
|
-
fail ArgumentError, "Missing the required parameter '
|
104
|
+
# verify the required parameter 'appId' is set
|
105
|
+
if @api_client.config.client_side_validation && appId.nil?
|
106
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.delete_app_user_profile"
|
107
107
|
end
|
108
|
-
# verify the required parameter '
|
109
|
-
if @api_client.config.client_side_validation &&
|
110
|
-
fail ArgumentError, "Missing the required parameter '
|
108
|
+
# verify the required parameter 'userId' is set
|
109
|
+
if @api_client.config.client_side_validation && userId.nil?
|
110
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.delete_app_user_profile"
|
111
111
|
end
|
112
112
|
# resource path
|
113
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/profile".sub('{' + 'appId' + '}',
|
113
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/profile".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
114
114
|
|
115
115
|
# query parameters
|
116
116
|
query_params = {}
|
@@ -143,35 +143,35 @@ module SmoochApi
|
|
143
143
|
|
144
144
|
#
|
145
145
|
# Get the specified app user.
|
146
|
-
# @param
|
147
|
-
# @param
|
146
|
+
# @param appId Identifies the app.
|
147
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @return [AppUserResponse]
|
150
|
-
def get_app_user(
|
151
|
-
data, _status_code, _headers = get_app_user_with_http_info(
|
150
|
+
def get_app_user(appId, userId, opts = {})
|
151
|
+
data, _status_code, _headers = get_app_user_with_http_info(appId, userId, opts)
|
152
152
|
return data
|
153
153
|
end
|
154
154
|
|
155
155
|
#
|
156
156
|
# Get the specified app user.
|
157
|
-
# @param
|
158
|
-
# @param
|
157
|
+
# @param appId Identifies the app.
|
158
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
159
159
|
# @param [Hash] opts the optional parameters
|
160
160
|
# @return [Array<(AppUserResponse, Fixnum, Hash)>] AppUserResponse data, response status code and response headers
|
161
|
-
def get_app_user_with_http_info(
|
161
|
+
def get_app_user_with_http_info(appId, userId, opts = {})
|
162
162
|
if @api_client.config.debugging
|
163
163
|
@api_client.config.logger.debug "Calling API: AppUserApi.get_app_user ..."
|
164
164
|
end
|
165
|
-
# verify the required parameter '
|
166
|
-
if @api_client.config.client_side_validation &&
|
167
|
-
fail ArgumentError, "Missing the required parameter '
|
165
|
+
# verify the required parameter 'appId' is set
|
166
|
+
if @api_client.config.client_side_validation && appId.nil?
|
167
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.get_app_user"
|
168
168
|
end
|
169
|
-
# verify the required parameter '
|
170
|
-
if @api_client.config.client_side_validation &&
|
171
|
-
fail ArgumentError, "Missing the required parameter '
|
169
|
+
# verify the required parameter 'userId' is set
|
170
|
+
if @api_client.config.client_side_validation && userId.nil?
|
171
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.get_app_user"
|
172
172
|
end
|
173
173
|
# resource path
|
174
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}',
|
174
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
175
175
|
|
176
176
|
# query parameters
|
177
177
|
query_params = {}
|
@@ -204,35 +204,35 @@ module SmoochApi
|
|
204
204
|
|
205
205
|
#
|
206
206
|
# Get an auth code for facilitating a channel transfer
|
207
|
-
# @param
|
208
|
-
# @param
|
207
|
+
# @param appId Identifies the app.
|
208
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
209
209
|
# @param [Hash] opts the optional parameters
|
210
210
|
# @return [AuthCodeResponse]
|
211
|
-
def get_app_user_auth_code(
|
212
|
-
data, _status_code, _headers = get_app_user_auth_code_with_http_info(
|
211
|
+
def get_app_user_auth_code(appId, userId, opts = {})
|
212
|
+
data, _status_code, _headers = get_app_user_auth_code_with_http_info(appId, userId, opts)
|
213
213
|
return data
|
214
214
|
end
|
215
215
|
|
216
216
|
#
|
217
217
|
# Get an auth code for facilitating a channel transfer
|
218
|
-
# @param
|
219
|
-
# @param
|
218
|
+
# @param appId Identifies the app.
|
219
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
221
|
# @return [Array<(AuthCodeResponse, Fixnum, Hash)>] AuthCodeResponse data, response status code and response headers
|
222
|
-
def get_app_user_auth_code_with_http_info(
|
222
|
+
def get_app_user_auth_code_with_http_info(appId, userId, opts = {})
|
223
223
|
if @api_client.config.debugging
|
224
224
|
@api_client.config.logger.debug "Calling API: AppUserApi.get_app_user_auth_code ..."
|
225
225
|
end
|
226
|
-
# verify the required parameter '
|
227
|
-
if @api_client.config.client_side_validation &&
|
228
|
-
fail ArgumentError, "Missing the required parameter '
|
226
|
+
# verify the required parameter 'appId' is set
|
227
|
+
if @api_client.config.client_side_validation && appId.nil?
|
228
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.get_app_user_auth_code"
|
229
229
|
end
|
230
|
-
# verify the required parameter '
|
231
|
-
if @api_client.config.client_side_validation &&
|
232
|
-
fail ArgumentError, "Missing the required parameter '
|
230
|
+
# verify the required parameter 'userId' is set
|
231
|
+
if @api_client.config.client_side_validation && userId.nil?
|
232
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.get_app_user_auth_code"
|
233
233
|
end
|
234
234
|
# resource path
|
235
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/authcode".sub('{' + 'appId' + '}',
|
235
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/authcode".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = {}
|
@@ -265,35 +265,35 @@ module SmoochApi
|
|
265
265
|
|
266
266
|
#
|
267
267
|
# Get specified app user's business system IDs.
|
268
|
-
# @param
|
269
|
-
# @param
|
268
|
+
# @param appId Identifies the app.
|
269
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
271
|
# @return [AppUserBusinessSystemsResponse]
|
272
|
-
def get_app_user_business_system_ids(
|
273
|
-
data, _status_code, _headers = get_app_user_business_system_ids_with_http_info(
|
272
|
+
def get_app_user_business_system_ids(appId, userId, opts = {})
|
273
|
+
data, _status_code, _headers = get_app_user_business_system_ids_with_http_info(appId, userId, opts)
|
274
274
|
return data
|
275
275
|
end
|
276
276
|
|
277
277
|
#
|
278
278
|
# Get specified app user's business system IDs.
|
279
|
-
# @param
|
280
|
-
# @param
|
279
|
+
# @param appId Identifies the app.
|
280
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
281
281
|
# @param [Hash] opts the optional parameters
|
282
282
|
# @return [Array<(AppUserBusinessSystemsResponse, Fixnum, Hash)>] AppUserBusinessSystemsResponse data, response status code and response headers
|
283
|
-
def get_app_user_business_system_ids_with_http_info(
|
283
|
+
def get_app_user_business_system_ids_with_http_info(appId, userId, opts = {})
|
284
284
|
if @api_client.config.debugging
|
285
285
|
@api_client.config.logger.debug "Calling API: AppUserApi.get_app_user_business_system_ids ..."
|
286
286
|
end
|
287
|
-
# verify the required parameter '
|
288
|
-
if @api_client.config.client_side_validation &&
|
289
|
-
fail ArgumentError, "Missing the required parameter '
|
287
|
+
# verify the required parameter 'appId' is set
|
288
|
+
if @api_client.config.client_side_validation && appId.nil?
|
289
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.get_app_user_business_system_ids"
|
290
290
|
end
|
291
|
-
# verify the required parameter '
|
292
|
-
if @api_client.config.client_side_validation &&
|
293
|
-
fail ArgumentError, "Missing the required parameter '
|
291
|
+
# verify the required parameter 'userId' is set
|
292
|
+
if @api_client.config.client_side_validation && userId.nil?
|
293
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.get_app_user_business_system_ids"
|
294
294
|
end
|
295
295
|
# resource path
|
296
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/businesssystems".sub('{' + 'appId' + '}',
|
296
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/businesssystems".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
297
297
|
|
298
298
|
# query parameters
|
299
299
|
query_params = {}
|
@@ -326,35 +326,35 @@ module SmoochApi
|
|
326
326
|
|
327
327
|
#
|
328
328
|
# Get specified app user's channel entity IDs.
|
329
|
-
# @param
|
330
|
-
# @param
|
329
|
+
# @param appId Identifies the app.
|
330
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
331
331
|
# @param [Hash] opts the optional parameters
|
332
332
|
# @return [AppUserChannelsResponse]
|
333
|
-
def get_app_user_entity_ids(
|
334
|
-
data, _status_code, _headers = get_app_user_entity_ids_with_http_info(
|
333
|
+
def get_app_user_entity_ids(appId, userId, opts = {})
|
334
|
+
data, _status_code, _headers = get_app_user_entity_ids_with_http_info(appId, userId, opts)
|
335
335
|
return data
|
336
336
|
end
|
337
337
|
|
338
338
|
#
|
339
339
|
# Get specified app user's channel entity IDs.
|
340
|
-
# @param
|
341
|
-
# @param
|
340
|
+
# @param appId Identifies the app.
|
341
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
342
342
|
# @param [Hash] opts the optional parameters
|
343
343
|
# @return [Array<(AppUserChannelsResponse, Fixnum, Hash)>] AppUserChannelsResponse data, response status code and response headers
|
344
|
-
def get_app_user_entity_ids_with_http_info(
|
344
|
+
def get_app_user_entity_ids_with_http_info(appId, userId, opts = {})
|
345
345
|
if @api_client.config.debugging
|
346
346
|
@api_client.config.logger.debug "Calling API: AppUserApi.get_app_user_entity_ids ..."
|
347
347
|
end
|
348
|
-
# verify the required parameter '
|
349
|
-
if @api_client.config.client_side_validation &&
|
350
|
-
fail ArgumentError, "Missing the required parameter '
|
348
|
+
# verify the required parameter 'appId' is set
|
349
|
+
if @api_client.config.client_side_validation && appId.nil?
|
350
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.get_app_user_entity_ids"
|
351
351
|
end
|
352
|
-
# verify the required parameter '
|
353
|
-
if @api_client.config.client_side_validation &&
|
354
|
-
fail ArgumentError, "Missing the required parameter '
|
352
|
+
# verify the required parameter 'userId' is set
|
353
|
+
if @api_client.config.client_side_validation && userId.nil?
|
354
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.get_app_user_entity_ids"
|
355
355
|
end
|
356
356
|
# resource path
|
357
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}',
|
357
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = {}
|
@@ -387,49 +387,49 @@ module SmoochApi
|
|
387
387
|
|
388
388
|
#
|
389
389
|
# Fetch link requests for the specified app user.
|
390
|
-
# @param
|
391
|
-
# @param
|
392
|
-
# @param
|
390
|
+
# @param appId Identifies the app.
|
391
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
392
|
+
# @param integrationIds List of integration IDs
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [LinkRequestResponse]
|
395
|
-
def get_link_requests(
|
396
|
-
data, _status_code, _headers = get_link_requests_with_http_info(
|
395
|
+
def get_link_requests(appId, userId, integrationIds, opts = {})
|
396
|
+
data, _status_code, _headers = get_link_requests_with_http_info(appId, userId, integrationIds, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
400
400
|
#
|
401
401
|
# Fetch link requests for the specified app user.
|
402
|
-
# @param
|
403
|
-
# @param
|
404
|
-
# @param
|
402
|
+
# @param appId Identifies the app.
|
403
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
404
|
+
# @param integrationIds List of integration IDs
|
405
405
|
# @param [Hash] opts the optional parameters
|
406
406
|
# @return [Array<(LinkRequestResponse, Fixnum, Hash)>] LinkRequestResponse data, response status code and response headers
|
407
|
-
def get_link_requests_with_http_info(
|
407
|
+
def get_link_requests_with_http_info(appId, userId, integrationIds, opts = {})
|
408
408
|
if @api_client.config.debugging
|
409
409
|
@api_client.config.logger.debug "Calling API: AppUserApi.get_link_requests ..."
|
410
410
|
end
|
411
|
-
# verify the required parameter '
|
412
|
-
if @api_client.config.client_side_validation &&
|
413
|
-
fail ArgumentError, "Missing the required parameter '
|
411
|
+
# verify the required parameter 'appId' is set
|
412
|
+
if @api_client.config.client_side_validation && appId.nil?
|
413
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.get_link_requests"
|
414
414
|
end
|
415
|
-
# verify the required parameter '
|
416
|
-
if @api_client.config.client_side_validation &&
|
417
|
-
fail ArgumentError, "Missing the required parameter '
|
415
|
+
# verify the required parameter 'userId' is set
|
416
|
+
if @api_client.config.client_side_validation && userId.nil?
|
417
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.get_link_requests"
|
418
418
|
end
|
419
|
-
# verify the required parameter '
|
420
|
-
if @api_client.config.client_side_validation &&
|
421
|
-
fail ArgumentError, "Missing the required parameter '
|
419
|
+
# verify the required parameter 'integrationIds' is set
|
420
|
+
if @api_client.config.client_side_validation && integrationIds.nil?
|
421
|
+
fail ArgumentError, "Missing the required parameter 'integrationIds' when calling AppUserApi.get_link_requests"
|
422
422
|
end
|
423
|
-
if @api_client.config.client_side_validation &&
|
424
|
-
fail ArgumentError, 'invalid value for "
|
423
|
+
if @api_client.config.client_side_validation && integrationIds.length < 1
|
424
|
+
fail ArgumentError, 'invalid value for "integrationIds" when calling AppUserApi.get_link_requests, number of items must be greater than or equal to 1.'
|
425
425
|
end
|
426
426
|
|
427
427
|
# resource path
|
428
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/linkrequest".sub('{' + 'appId' + '}',
|
428
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/linkrequest".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
429
429
|
|
430
430
|
# query parameters
|
431
431
|
query_params = {}
|
432
|
-
query_params[:'integrationIds'] = @api_client.build_collection_param(
|
432
|
+
query_params[:'integrationIds'] = @api_client.build_collection_param(integrationIds, :csv)
|
433
433
|
|
434
434
|
# header parameters
|
435
435
|
header_params = {}
|
@@ -459,41 +459,41 @@ module SmoochApi
|
|
459
459
|
|
460
460
|
#
|
461
461
|
# Link specified app user to given channel.
|
462
|
-
# @param
|
463
|
-
# @param
|
464
|
-
# @param
|
462
|
+
# @param appId Identifies the app.
|
463
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
464
|
+
# @param appUserLinkBody Body for a linkAppUser request.
|
465
465
|
# @param [Hash] opts the optional parameters
|
466
466
|
# @return [AppUserResponse]
|
467
|
-
def link_app_user(
|
468
|
-
data, _status_code, _headers = link_app_user_with_http_info(
|
467
|
+
def link_app_user(appId, userId, appUserLinkBody, opts = {})
|
468
|
+
data, _status_code, _headers = link_app_user_with_http_info(appId, userId, appUserLinkBody, opts)
|
469
469
|
return data
|
470
470
|
end
|
471
471
|
|
472
472
|
#
|
473
473
|
# Link specified app user to given channel.
|
474
|
-
# @param
|
475
|
-
# @param
|
476
|
-
# @param
|
474
|
+
# @param appId Identifies the app.
|
475
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
476
|
+
# @param appUserLinkBody Body for a linkAppUser request.
|
477
477
|
# @param [Hash] opts the optional parameters
|
478
478
|
# @return [Array<(AppUserResponse, Fixnum, Hash)>] AppUserResponse data, response status code and response headers
|
479
|
-
def link_app_user_with_http_info(
|
479
|
+
def link_app_user_with_http_info(appId, userId, appUserLinkBody, opts = {})
|
480
480
|
if @api_client.config.debugging
|
481
481
|
@api_client.config.logger.debug "Calling API: AppUserApi.link_app_user ..."
|
482
482
|
end
|
483
|
-
# verify the required parameter '
|
484
|
-
if @api_client.config.client_side_validation &&
|
485
|
-
fail ArgumentError, "Missing the required parameter '
|
483
|
+
# verify the required parameter 'appId' is set
|
484
|
+
if @api_client.config.client_side_validation && appId.nil?
|
485
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.link_app_user"
|
486
486
|
end
|
487
|
-
# verify the required parameter '
|
488
|
-
if @api_client.config.client_side_validation &&
|
489
|
-
fail ArgumentError, "Missing the required parameter '
|
487
|
+
# verify the required parameter 'userId' is set
|
488
|
+
if @api_client.config.client_side_validation && userId.nil?
|
489
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.link_app_user"
|
490
490
|
end
|
491
|
-
# verify the required parameter '
|
492
|
-
if @api_client.config.client_side_validation &&
|
493
|
-
fail ArgumentError, "Missing the required parameter '
|
491
|
+
# verify the required parameter 'appUserLinkBody' is set
|
492
|
+
if @api_client.config.client_side_validation && appUserLinkBody.nil?
|
493
|
+
fail ArgumentError, "Missing the required parameter 'appUserLinkBody' when calling AppUserApi.link_app_user"
|
494
494
|
end
|
495
495
|
# resource path
|
496
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}',
|
496
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
497
497
|
|
498
498
|
# query parameters
|
499
499
|
query_params = {}
|
@@ -509,7 +509,7 @@ module SmoochApi
|
|
509
509
|
form_params = {}
|
510
510
|
|
511
511
|
# http body (model)
|
512
|
-
post_body = @api_client.object_to_http_body(
|
512
|
+
post_body = @api_client.object_to_http_body(appUserLinkBody)
|
513
513
|
auth_names = ['jwt']
|
514
514
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
515
515
|
:header_params => header_params,
|
@@ -526,36 +526,36 @@ module SmoochApi
|
|
526
526
|
|
527
527
|
#
|
528
528
|
# Send an image message to the conversation.
|
529
|
-
# @param
|
530
|
-
# @param
|
529
|
+
# @param appId Identifies the app.
|
530
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
531
531
|
# @param source Image to be uploaded
|
532
532
|
# @param role Role of the sender
|
533
533
|
# @param [Hash] opts the optional parameters
|
534
534
|
# @return [MessageResponse]
|
535
|
-
def post_image_message(
|
536
|
-
data, _status_code, _headers = post_image_message_with_http_info(
|
535
|
+
def post_image_message(appId, userId, source, role, opts = {})
|
536
|
+
data, _status_code, _headers = post_image_message_with_http_info(appId, userId, source, role, opts)
|
537
537
|
return data
|
538
538
|
end
|
539
539
|
|
540
540
|
#
|
541
541
|
# Send an image message to the conversation.
|
542
|
-
# @param
|
543
|
-
# @param
|
542
|
+
# @param appId Identifies the app.
|
543
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
544
544
|
# @param source Image to be uploaded
|
545
545
|
# @param role Role of the sender
|
546
546
|
# @param [Hash] opts the optional parameters
|
547
547
|
# @return [Array<(MessageResponse, Fixnum, Hash)>] MessageResponse data, response status code and response headers
|
548
|
-
def post_image_message_with_http_info(
|
548
|
+
def post_image_message_with_http_info(appId, userId, source, role, opts = {})
|
549
549
|
if @api_client.config.debugging
|
550
550
|
@api_client.config.logger.debug "Calling API: AppUserApi.post_image_message ..."
|
551
551
|
end
|
552
|
-
# verify the required parameter '
|
553
|
-
if @api_client.config.client_side_validation &&
|
554
|
-
fail ArgumentError, "Missing the required parameter '
|
552
|
+
# verify the required parameter 'appId' is set
|
553
|
+
if @api_client.config.client_side_validation && appId.nil?
|
554
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.post_image_message"
|
555
555
|
end
|
556
|
-
# verify the required parameter '
|
557
|
-
if @api_client.config.client_side_validation &&
|
558
|
-
fail ArgumentError, "Missing the required parameter '
|
556
|
+
# verify the required parameter 'userId' is set
|
557
|
+
if @api_client.config.client_side_validation && userId.nil?
|
558
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.post_image_message"
|
559
559
|
end
|
560
560
|
# verify the required parameter 'source' is set
|
561
561
|
if @api_client.config.client_side_validation && source.nil?
|
@@ -566,7 +566,7 @@ module SmoochApi
|
|
566
566
|
fail ArgumentError, "Missing the required parameter 'role' when calling AppUserApi.post_image_message"
|
567
567
|
end
|
568
568
|
# resource path
|
569
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/images".sub('{' + 'appId' + '}',
|
569
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/images".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
570
570
|
|
571
571
|
# query parameters
|
572
572
|
query_params = {}
|
@@ -601,35 +601,35 @@ module SmoochApi
|
|
601
601
|
|
602
602
|
#
|
603
603
|
# Pre-create an app user.
|
604
|
-
# @param
|
605
|
-
# @param
|
604
|
+
# @param appId Identifies the app.
|
605
|
+
# @param appUserPreCreateBody Body for a preCreateAppUser request.
|
606
606
|
# @param [Hash] opts the optional parameters
|
607
607
|
# @return [AppUserResponse]
|
608
|
-
def pre_create_app_user(
|
609
|
-
data, _status_code, _headers = pre_create_app_user_with_http_info(
|
608
|
+
def pre_create_app_user(appId, appUserPreCreateBody, opts = {})
|
609
|
+
data, _status_code, _headers = pre_create_app_user_with_http_info(appId, appUserPreCreateBody, opts)
|
610
610
|
return data
|
611
611
|
end
|
612
612
|
|
613
613
|
#
|
614
614
|
# Pre-create an app user.
|
615
|
-
# @param
|
616
|
-
# @param
|
615
|
+
# @param appId Identifies the app.
|
616
|
+
# @param appUserPreCreateBody Body for a preCreateAppUser request.
|
617
617
|
# @param [Hash] opts the optional parameters
|
618
618
|
# @return [Array<(AppUserResponse, Fixnum, Hash)>] AppUserResponse data, response status code and response headers
|
619
|
-
def pre_create_app_user_with_http_info(
|
619
|
+
def pre_create_app_user_with_http_info(appId, appUserPreCreateBody, opts = {})
|
620
620
|
if @api_client.config.debugging
|
621
621
|
@api_client.config.logger.debug "Calling API: AppUserApi.pre_create_app_user ..."
|
622
622
|
end
|
623
|
-
# verify the required parameter '
|
624
|
-
if @api_client.config.client_side_validation &&
|
625
|
-
fail ArgumentError, "Missing the required parameter '
|
623
|
+
# verify the required parameter 'appId' is set
|
624
|
+
if @api_client.config.client_side_validation && appId.nil?
|
625
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.pre_create_app_user"
|
626
626
|
end
|
627
|
-
# verify the required parameter '
|
628
|
-
if @api_client.config.client_side_validation &&
|
629
|
-
fail ArgumentError, "Missing the required parameter '
|
627
|
+
# verify the required parameter 'appUserPreCreateBody' is set
|
628
|
+
if @api_client.config.client_side_validation && appUserPreCreateBody.nil?
|
629
|
+
fail ArgumentError, "Missing the required parameter 'appUserPreCreateBody' when calling AppUserApi.pre_create_app_user"
|
630
630
|
end
|
631
631
|
# resource path
|
632
|
-
local_var_path = "/v1.1/apps/{appId}/appusers".sub('{' + 'appId' + '}',
|
632
|
+
local_var_path = "/v1.1/apps/{appId}/appusers".sub('{' + 'appId' + '}', appId.to_s)
|
633
633
|
|
634
634
|
# query parameters
|
635
635
|
query_params = {}
|
@@ -645,7 +645,7 @@ module SmoochApi
|
|
645
645
|
form_params = {}
|
646
646
|
|
647
647
|
# http body (model)
|
648
|
-
post_body = @api_client.object_to_http_body(
|
648
|
+
post_body = @api_client.object_to_http_body(appUserPreCreateBody)
|
649
649
|
auth_names = ['jwt']
|
650
650
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
651
651
|
:header_params => header_params,
|
@@ -662,41 +662,41 @@ module SmoochApi
|
|
662
662
|
|
663
663
|
#
|
664
664
|
# Unlink specified app user from given channel.
|
665
|
-
# @param
|
666
|
-
# @param
|
665
|
+
# @param appId Identifies the app.
|
666
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
667
667
|
# @param channel Name of the channel.
|
668
668
|
# @param [Hash] opts the optional parameters
|
669
669
|
# @return [nil]
|
670
|
-
def unlink_app_user(
|
671
|
-
unlink_app_user_with_http_info(
|
670
|
+
def unlink_app_user(appId, userId, channel, opts = {})
|
671
|
+
unlink_app_user_with_http_info(appId, userId, channel, opts)
|
672
672
|
return nil
|
673
673
|
end
|
674
674
|
|
675
675
|
#
|
676
676
|
# Unlink specified app user from given channel.
|
677
|
-
# @param
|
678
|
-
# @param
|
677
|
+
# @param appId Identifies the app.
|
678
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
679
679
|
# @param channel Name of the channel.
|
680
680
|
# @param [Hash] opts the optional parameters
|
681
681
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
682
|
-
def unlink_app_user_with_http_info(
|
682
|
+
def unlink_app_user_with_http_info(appId, userId, channel, opts = {})
|
683
683
|
if @api_client.config.debugging
|
684
684
|
@api_client.config.logger.debug "Calling API: AppUserApi.unlink_app_user ..."
|
685
685
|
end
|
686
|
-
# verify the required parameter '
|
687
|
-
if @api_client.config.client_side_validation &&
|
688
|
-
fail ArgumentError, "Missing the required parameter '
|
686
|
+
# verify the required parameter 'appId' is set
|
687
|
+
if @api_client.config.client_side_validation && appId.nil?
|
688
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.unlink_app_user"
|
689
689
|
end
|
690
|
-
# verify the required parameter '
|
691
|
-
if @api_client.config.client_side_validation &&
|
692
|
-
fail ArgumentError, "Missing the required parameter '
|
690
|
+
# verify the required parameter 'userId' is set
|
691
|
+
if @api_client.config.client_side_validation && userId.nil?
|
692
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.unlink_app_user"
|
693
693
|
end
|
694
694
|
# verify the required parameter 'channel' is set
|
695
695
|
if @api_client.config.client_side_validation && channel.nil?
|
696
696
|
fail ArgumentError, "Missing the required parameter 'channel' when calling AppUserApi.unlink_app_user"
|
697
697
|
end
|
698
698
|
# resource path
|
699
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels/{channel}".sub('{' + 'appId' + '}',
|
699
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}/channels/{channel}".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s).sub('{' + 'channel' + '}', channel.to_s)
|
700
700
|
|
701
701
|
# query parameters
|
702
702
|
query_params = {}
|
@@ -728,41 +728,41 @@ module SmoochApi
|
|
728
728
|
|
729
729
|
#
|
730
730
|
# Update the specified app user.
|
731
|
-
# @param
|
732
|
-
# @param
|
733
|
-
# @param
|
731
|
+
# @param appId Identifies the app.
|
732
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
733
|
+
# @param appUserUpdateBody Body for an updateAppUser request.
|
734
734
|
# @param [Hash] opts the optional parameters
|
735
735
|
# @return [AppUserResponse]
|
736
|
-
def update_app_user(
|
737
|
-
data, _status_code, _headers = update_app_user_with_http_info(
|
736
|
+
def update_app_user(appId, userId, appUserUpdateBody, opts = {})
|
737
|
+
data, _status_code, _headers = update_app_user_with_http_info(appId, userId, appUserUpdateBody, opts)
|
738
738
|
return data
|
739
739
|
end
|
740
740
|
|
741
741
|
#
|
742
742
|
# Update the specified app user.
|
743
|
-
# @param
|
744
|
-
# @param
|
745
|
-
# @param
|
743
|
+
# @param appId Identifies the app.
|
744
|
+
# @param userId Identifies the user. Can be either the smoochId or the userId.
|
745
|
+
# @param appUserUpdateBody Body for an updateAppUser request.
|
746
746
|
# @param [Hash] opts the optional parameters
|
747
747
|
# @return [Array<(AppUserResponse, Fixnum, Hash)>] AppUserResponse data, response status code and response headers
|
748
|
-
def update_app_user_with_http_info(
|
748
|
+
def update_app_user_with_http_info(appId, userId, appUserUpdateBody, opts = {})
|
749
749
|
if @api_client.config.debugging
|
750
750
|
@api_client.config.logger.debug "Calling API: AppUserApi.update_app_user ..."
|
751
751
|
end
|
752
|
-
# verify the required parameter '
|
753
|
-
if @api_client.config.client_side_validation &&
|
754
|
-
fail ArgumentError, "Missing the required parameter '
|
752
|
+
# verify the required parameter 'appId' is set
|
753
|
+
if @api_client.config.client_side_validation && appId.nil?
|
754
|
+
fail ArgumentError, "Missing the required parameter 'appId' when calling AppUserApi.update_app_user"
|
755
755
|
end
|
756
|
-
# verify the required parameter '
|
757
|
-
if @api_client.config.client_side_validation &&
|
758
|
-
fail ArgumentError, "Missing the required parameter '
|
756
|
+
# verify the required parameter 'userId' is set
|
757
|
+
if @api_client.config.client_side_validation && userId.nil?
|
758
|
+
fail ArgumentError, "Missing the required parameter 'userId' when calling AppUserApi.update_app_user"
|
759
759
|
end
|
760
|
-
# verify the required parameter '
|
761
|
-
if @api_client.config.client_side_validation &&
|
762
|
-
fail ArgumentError, "Missing the required parameter '
|
760
|
+
# verify the required parameter 'appUserUpdateBody' is set
|
761
|
+
if @api_client.config.client_side_validation && appUserUpdateBody.nil?
|
762
|
+
fail ArgumentError, "Missing the required parameter 'appUserUpdateBody' when calling AppUserApi.update_app_user"
|
763
763
|
end
|
764
764
|
# resource path
|
765
|
-
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}',
|
765
|
+
local_var_path = "/v1.1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', appId.to_s).sub('{' + 'userId' + '}', userId.to_s)
|
766
766
|
|
767
767
|
# query parameters
|
768
768
|
query_params = {}
|
@@ -778,7 +778,7 @@ module SmoochApi
|
|
778
778
|
form_params = {}
|
779
779
|
|
780
780
|
# http body (model)
|
781
|
-
post_body = @api_client.object_to_http_body(
|
781
|
+
post_body = @api_client.object_to_http_body(appUserUpdateBody)
|
782
782
|
auth_names = ['jwt']
|
783
783
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
784
784
|
:header_params => header_params,
|