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.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/docs/Action.md +2 -2
  4. data/docs/App.md +2 -2
  5. data/docs/AppApi.md +48 -48
  6. data/docs/AppSettings.md +2 -2
  7. data/docs/AppUser.md +6 -6
  8. data/docs/AppUserApi.md +78 -78
  9. data/docs/AppUserBusinessSystemsResponse.md +1 -1
  10. data/docs/AppUserLink.md +2 -2
  11. data/docs/AppUserPreCreate.md +3 -3
  12. data/docs/AppUserResponse.md +1 -1
  13. data/docs/AppUserUpdate.md +2 -2
  14. data/docs/AttachmentRemove.md +1 -1
  15. data/docs/AttachmentResponse.md +2 -2
  16. data/docs/AttachmentsApi.md +16 -16
  17. data/docs/AuthCodeResponse.md +1 -1
  18. data/docs/BusinessSystemItem.md +4 -4
  19. data/docs/ChannelEntityItem.md +3 -3
  20. data/docs/Client.md +4 -4
  21. data/docs/ClientInfo.md +8 -8
  22. data/docs/Conversation.md +2 -2
  23. data/docs/ConversationApi.md +42 -42
  24. data/docs/Destination.md +2 -2
  25. data/docs/DisplaySettings.md +1 -1
  26. data/docs/GetMessagesResponse.md +1 -1
  27. data/docs/Integration.md +44 -44
  28. data/docs/IntegrationApi.md +66 -66
  29. data/docs/IntegrationCreate.md +36 -36
  30. data/docs/IntegrationProfileUpdate.md +1 -1
  31. data/docs/IntegrationUpdate.md +16 -16
  32. data/docs/LinkRequestResponse.md +1 -1
  33. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  34. data/docs/ListAppsResponse.md +1 -1
  35. data/docs/ListServiceAccountsResponse.md +2 -2
  36. data/docs/ListTemplatesResponse.md +1 -1
  37. data/docs/MenuApi.md +14 -14
  38. data/docs/Message.md +6 -6
  39. data/docs/MessageItem.md +2 -2
  40. data/docs/MessageOverride.md +8 -0
  41. data/docs/MessageOverrideWhatsapp.md +8 -0
  42. data/docs/MessagePost.md +4 -3
  43. data/docs/MessageResponse.md +1 -1
  44. data/docs/SecretKey.md +1 -1
  45. data/docs/ServiceAccount.md +1 -1
  46. data/docs/ServiceAccountApi.md +46 -46
  47. data/docs/ServiceAccountResponse.md +1 -1
  48. data/docs/Template.md +1 -1
  49. data/docs/TemplateApi.md +30 -30
  50. data/docs/TypingActivityTrigger.md +1 -1
  51. data/docs/Webhook.md +1 -1
  52. data/docs/WebhookApi.md +30 -30
  53. data/lib/smooch-api.rb +3 -1
  54. data/lib/smooch-api/api/app_api.rb +112 -112
  55. data/lib/smooch-api/api/app_user_api.rb +190 -190
  56. data/lib/smooch-api/api/attachments_api.rb +34 -34
  57. data/lib/smooch-api/api/conversation_api.rb +102 -102
  58. data/lib/smooch-api/api/integration_api.rb +161 -161
  59. data/lib/smooch-api/api/menu_api.rb +34 -34
  60. data/lib/smooch-api/api/service_account_api.rb +109 -109
  61. data/lib/smooch-api/api/template_api.rb +73 -73
  62. data/lib/smooch-api/api/webhook_api.rb +73 -73
  63. data/lib/smooch-api/api_client.rb +1 -1
  64. data/lib/smooch-api/api_error.rb +1 -1
  65. data/lib/smooch-api/configuration.rb +1 -1
  66. data/lib/smooch-api/models/action.rb +12 -12
  67. data/lib/smooch-api/models/app.rb +18 -18
  68. data/lib/smooch-api/models/app_create.rb +1 -1
  69. data/lib/smooch-api/models/app_response.rb +1 -1
  70. data/lib/smooch-api/models/app_settings.rb +12 -12
  71. data/lib/smooch-api/models/app_update.rb +1 -1
  72. data/lib/smooch-api/models/app_user.rb +38 -38
  73. data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
  74. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  75. data/lib/smooch-api/models/app_user_link.rb +12 -12
  76. data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
  77. data/lib/smooch-api/models/app_user_response.rb +10 -10
  78. data/lib/smooch-api/models/app_user_update.rb +12 -12
  79. data/lib/smooch-api/models/attachment_remove.rb +10 -10
  80. data/lib/smooch-api/models/attachment_response.rb +18 -18
  81. data/lib/smooch-api/models/auth_code_response.rb +10 -10
  82. data/lib/smooch-api/models/business_system_item.rb +22 -22
  83. data/lib/smooch-api/models/channel_entity_item.rb +17 -17
  84. data/lib/smooch-api/models/client.rb +22 -22
  85. data/lib/smooch-api/models/client_info.rb +42 -42
  86. data/lib/smooch-api/models/confirmation.rb +1 -1
  87. data/lib/smooch-api/models/conversation.rb +18 -18
  88. data/lib/smooch-api/models/destination.rb +18 -18
  89. data/lib/smooch-api/models/display_settings.rb +7 -7
  90. data/lib/smooch-api/models/get_messages_response.rb +7 -7
  91. data/lib/smooch-api/models/integration.rb +225 -225
  92. data/lib/smooch-api/models/integration_create.rb +182 -182
  93. data/lib/smooch-api/models/integration_profile_update.rb +7 -7
  94. data/lib/smooch-api/models/integration_response.rb +1 -1
  95. data/lib/smooch-api/models/integration_update.rb +82 -82
  96. data/lib/smooch-api/models/jwt_response.rb +1 -1
  97. data/lib/smooch-api/models/link_request_response.rb +7 -7
  98. data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
  99. data/lib/smooch-api/models/list_apps_response.rb +7 -7
  100. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  101. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  102. data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
  103. data/lib/smooch-api/models/list_templates_response.rb +7 -7
  104. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  105. data/lib/smooch-api/models/menu.rb +1 -1
  106. data/lib/smooch-api/models/menu_item.rb +1 -1
  107. data/lib/smooch-api/models/menu_response.rb +1 -1
  108. data/lib/smooch-api/models/message.rb +41 -41
  109. data/lib/smooch-api/models/message_item.rb +12 -12
  110. data/lib/smooch-api/models/message_override.rb +188 -0
  111. data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
  112. data/lib/smooch-api/models/message_post.rb +30 -20
  113. data/lib/smooch-api/models/message_response.rb +7 -7
  114. data/lib/smooch-api/models/secret_key.rb +10 -10
  115. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  116. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  117. data/lib/smooch-api/models/service_account.rb +10 -10
  118. data/lib/smooch-api/models/service_account_create.rb +1 -1
  119. data/lib/smooch-api/models/service_account_response.rb +7 -7
  120. data/lib/smooch-api/models/service_account_update.rb +1 -1
  121. data/lib/smooch-api/models/source.rb +1 -1
  122. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  123. data/lib/smooch-api/models/template.rb +10 -10
  124. data/lib/smooch-api/models/template_create.rb +1 -1
  125. data/lib/smooch-api/models/template_response.rb +1 -1
  126. data/lib/smooch-api/models/template_update.rb +1 -1
  127. data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
  128. data/lib/smooch-api/models/webhook.rb +10 -10
  129. data/lib/smooch-api/models/webhook_create.rb +1 -1
  130. data/lib/smooch-api/models/webhook_response.rb +1 -1
  131. data/lib/smooch-api/models/webhook_update.rb +1 -1
  132. data/lib/smooch-api/version.rb +2 -2
  133. data/smooch-api.gemspec +1 -1
  134. data/spec/api_client_spec.rb +1 -1
  135. data/spec/configuration_spec.rb +1 -1
  136. data/spec/spec_helper.rb +1 -1
  137. 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.1
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 app_id Identifies the app.
26
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
30
- delete_app_user_with_http_info(app_id, user_id, opts)
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 app_id Identifies the app.
37
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
45
- if @api_client.config.client_side_validation && app_id.nil?
46
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.delete_app_user"
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 'user_id' is set
49
- if @api_client.config.client_side_validation && user_id.nil?
50
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.delete_app_user"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
86
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
90
- data, _status_code, _headers = delete_app_user_profile_with_http_info(app_id, user_id, opts)
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&#39;s profile.
96
- # @param app_id Identifies the app.
97
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
105
- if @api_client.config.client_side_validation && app_id.nil?
106
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.delete_app_user_profile"
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 'user_id' is set
109
- if @api_client.config.client_side_validation && user_id.nil?
110
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.delete_app_user_profile"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
147
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
151
- data, _status_code, _headers = get_app_user_with_http_info(app_id, user_id, opts)
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 app_id Identifies the app.
158
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
166
- if @api_client.config.client_side_validation && app_id.nil?
167
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.get_app_user"
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 'user_id' is set
170
- if @api_client.config.client_side_validation && user_id.nil?
171
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
208
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
212
- data, _status_code, _headers = get_app_user_auth_code_with_http_info(app_id, user_id, opts)
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 app_id Identifies the app.
219
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
227
- if @api_client.config.client_side_validation && app_id.nil?
228
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.get_app_user_auth_code"
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 'user_id' is set
231
- if @api_client.config.client_side_validation && user_id.nil?
232
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_auth_code"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
269
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
273
- data, _status_code, _headers = get_app_user_business_system_ids_with_http_info(app_id, user_id, opts)
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&#39;s business system IDs.
279
- # @param app_id Identifies the app.
280
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
288
- if @api_client.config.client_side_validation && app_id.nil?
289
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.get_app_user_business_system_ids"
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 'user_id' is set
292
- if @api_client.config.client_side_validation && user_id.nil?
293
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_business_system_ids"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
330
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
334
- data, _status_code, _headers = get_app_user_entity_ids_with_http_info(app_id, user_id, opts)
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&#39;s channel entity IDs.
340
- # @param app_id Identifies the app.
341
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, opts = {})
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 'app_id' is set
349
- if @api_client.config.client_side_validation && app_id.nil?
350
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.get_app_user_entity_ids"
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 'user_id' is set
353
- if @api_client.config.client_side_validation && user_id.nil?
354
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_entity_ids"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
391
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
392
- # @param integration_ids List of integration IDs
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(app_id, user_id, integration_ids, opts = {})
396
- data, _status_code, _headers = get_link_requests_with_http_info(app_id, user_id, integration_ids, opts)
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 app_id Identifies the app.
403
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
404
- # @param integration_ids List of integration IDs
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(app_id, user_id, integration_ids, opts = {})
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 'app_id' is set
412
- if @api_client.config.client_side_validation && app_id.nil?
413
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.get_link_requests"
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 'user_id' is set
416
- if @api_client.config.client_side_validation && user_id.nil?
417
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_link_requests"
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 'integration_ids' is set
420
- if @api_client.config.client_side_validation && integration_ids.nil?
421
- fail ArgumentError, "Missing the required parameter 'integration_ids' when calling AppUserApi.get_link_requests"
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 && integration_ids.length < 1
424
- fail ArgumentError, 'invalid value for "integration_ids" when calling AppUserApi.get_link_requests, number of items must be greater than or equal to 1.'
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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(integration_ids, :csv)
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 app_id Identifies the app.
463
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
464
- # @param app_user_link_body Body for a linkAppUser request.
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(app_id, user_id, app_user_link_body, opts = {})
468
- data, _status_code, _headers = link_app_user_with_http_info(app_id, user_id, app_user_link_body, opts)
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 app_id Identifies the app.
475
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
476
- # @param app_user_link_body Body for a linkAppUser request.
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(app_id, user_id, app_user_link_body, opts = {})
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 'app_id' is set
484
- if @api_client.config.client_side_validation && app_id.nil?
485
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.link_app_user"
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 'user_id' is set
488
- if @api_client.config.client_side_validation && user_id.nil?
489
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.link_app_user"
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 'app_user_link_body' is set
492
- if @api_client.config.client_side_validation && app_user_link_body.nil?
493
- fail ArgumentError, "Missing the required parameter 'app_user_link_body' when calling AppUserApi.link_app_user"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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(app_user_link_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 app_id Identifies the app.
530
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, source, role, opts = {})
536
- data, _status_code, _headers = post_image_message_with_http_info(app_id, user_id, source, role, opts)
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 app_id Identifies the app.
543
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, source, role, opts = {})
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 'app_id' is set
553
- if @api_client.config.client_side_validation && app_id.nil?
554
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.post_image_message"
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 'user_id' is set
557
- if @api_client.config.client_side_validation && user_id.nil?
558
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.post_image_message"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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 app_id Identifies the app.
605
- # @param app_user_pre_create_body Body for a preCreateAppUser request.
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(app_id, app_user_pre_create_body, opts = {})
609
- data, _status_code, _headers = pre_create_app_user_with_http_info(app_id, app_user_pre_create_body, opts)
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 app_id Identifies the app.
616
- # @param app_user_pre_create_body Body for a preCreateAppUser request.
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(app_id, app_user_pre_create_body, opts = {})
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 'app_id' is set
624
- if @api_client.config.client_side_validation && app_id.nil?
625
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.pre_create_app_user"
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 'app_user_pre_create_body' is set
628
- if @api_client.config.client_side_validation && app_user_pre_create_body.nil?
629
- fail ArgumentError, "Missing the required parameter 'app_user_pre_create_body' when calling AppUserApi.pre_create_app_user"
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' + '}', app_id.to_s)
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(app_user_pre_create_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 app_id Identifies the app.
666
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, channel, opts = {})
671
- unlink_app_user_with_http_info(app_id, user_id, channel, opts)
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 app_id Identifies the app.
678
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
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(app_id, user_id, channel, opts = {})
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 'app_id' is set
687
- if @api_client.config.client_side_validation && app_id.nil?
688
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.unlink_app_user"
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 'user_id' is set
691
- if @api_client.config.client_side_validation && user_id.nil?
692
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.unlink_app_user"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'channel' + '}', channel.to_s)
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 app_id Identifies the app.
732
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
733
- # @param app_user_update_body Body for an updateAppUser request.
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(app_id, user_id, app_user_update_body, opts = {})
737
- data, _status_code, _headers = update_app_user_with_http_info(app_id, user_id, app_user_update_body, opts)
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 app_id Identifies the app.
744
- # @param user_id Identifies the user. Can be either the smoochId or the userId.
745
- # @param app_user_update_body Body for an updateAppUser request.
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(app_id, user_id, app_user_update_body, opts = {})
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 'app_id' is set
753
- if @api_client.config.client_side_validation && app_id.nil?
754
- fail ArgumentError, "Missing the required parameter 'app_id' when calling AppUserApi.update_app_user"
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 'user_id' is set
757
- if @api_client.config.client_side_validation && user_id.nil?
758
- fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.update_app_user"
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 'app_user_update_body' is set
761
- if @api_client.config.client_side_validation && app_user_update_body.nil?
762
- fail ArgumentError, "Missing the required parameter 'app_user_update_body' when calling AppUserApi.update_app_user"
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' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
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(app_user_update_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,