smooch-api 5.13.0 → 5.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/docs/AppApi.md +50 -10
  4. data/docs/AppUserApi.md +65 -13
  5. data/docs/AttachmentsApi.md +10 -2
  6. data/docs/ConversationApi.md +30 -6
  7. data/docs/DeploymentApi.md +30 -6
  8. data/docs/Integration.md +2 -0
  9. data/docs/IntegrationApi.md +60 -12
  10. data/docs/IntegrationCreate.md +1 -0
  11. data/docs/IntegrationUpdate.md +1 -0
  12. data/docs/MenuApi.md +15 -3
  13. data/docs/ServiceAccountApi.md +50 -10
  14. data/docs/TemplateApi.md +25 -5
  15. data/docs/WebhookApi.md +25 -5
  16. data/lib/smooch-api.rb +1 -1
  17. data/lib/smooch-api/api/app_api.rb +11 -11
  18. data/lib/smooch-api/api/app_user_api.rb +14 -14
  19. data/lib/smooch-api/api/attachments_api.rb +3 -3
  20. data/lib/smooch-api/api/conversation_api.rb +7 -7
  21. data/lib/smooch-api/api/deployment_api.rb +7 -7
  22. data/lib/smooch-api/api/integration_api.rb +13 -13
  23. data/lib/smooch-api/api/menu_api.rb +4 -4
  24. data/lib/smooch-api/api/service_account_api.rb +11 -11
  25. data/lib/smooch-api/api/template_api.rb +6 -6
  26. data/lib/smooch-api/api/webhook_api.rb +6 -6
  27. data/lib/smooch-api/api_client.rb +1 -1
  28. data/lib/smooch-api/api_error.rb +1 -1
  29. data/lib/smooch-api/configuration.rb +8 -1
  30. data/lib/smooch-api/models/action.rb +1 -1
  31. data/lib/smooch-api/models/activity_response.rb +1 -1
  32. data/lib/smooch-api/models/app.rb +1 -1
  33. data/lib/smooch-api/models/app_create.rb +1 -1
  34. data/lib/smooch-api/models/app_response.rb +1 -1
  35. data/lib/smooch-api/models/app_settings.rb +1 -1
  36. data/lib/smooch-api/models/app_update.rb +1 -1
  37. data/lib/smooch-api/models/app_user.rb +1 -1
  38. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  39. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  40. data/lib/smooch-api/models/app_user_link.rb +1 -1
  41. data/lib/smooch-api/models/app_user_merge.rb +1 -1
  42. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  43. data/lib/smooch-api/models/app_user_response.rb +1 -1
  44. data/lib/smooch-api/models/app_user_update.rb +1 -1
  45. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  46. data/lib/smooch-api/models/attachment_response.rb +1 -1
  47. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  48. data/lib/smooch-api/models/business_system_item.rb +1 -1
  49. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  50. data/lib/smooch-api/models/client.rb +1 -1
  51. data/lib/smooch-api/models/client_info.rb +1 -1
  52. data/lib/smooch-api/models/confirmation.rb +1 -1
  53. data/lib/smooch-api/models/conversation.rb +1 -1
  54. data/lib/smooch-api/models/conversation_activity.rb +1 -1
  55. data/lib/smooch-api/models/deployment.rb +1 -1
  56. data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
  57. data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
  58. data/lib/smooch-api/models/deployment_create.rb +1 -1
  59. data/lib/smooch-api/models/deployment_response.rb +1 -1
  60. data/lib/smooch-api/models/destination.rb +1 -1
  61. data/lib/smooch-api/models/display_settings.rb +1 -1
  62. data/lib/smooch-api/models/enums.rb +1 -1
  63. data/lib/smooch-api/models/field.rb +1 -1
  64. data/lib/smooch-api/models/field_post.rb +1 -1
  65. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  66. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  67. data/lib/smooch-api/models/integration.rb +22 -2
  68. data/lib/smooch-api/models/integration_create.rb +15 -5
  69. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  70. data/lib/smooch-api/models/integration_response.rb +1 -1
  71. data/lib/smooch-api/models/integration_update.rb +15 -5
  72. data/lib/smooch-api/models/jwt_response.rb +1 -1
  73. data/lib/smooch-api/models/link_request_response.rb +1 -1
  74. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  75. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  76. data/lib/smooch-api/models/list_deployments_response.rb +1 -1
  77. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  78. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  79. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  80. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  81. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  82. data/lib/smooch-api/models/menu.rb +1 -1
  83. data/lib/smooch-api/models/menu_item.rb +1 -1
  84. data/lib/smooch-api/models/menu_response.rb +1 -1
  85. data/lib/smooch-api/models/merged_user.rb +1 -1
  86. data/lib/smooch-api/models/message.rb +1 -1
  87. data/lib/smooch-api/models/message_item.rb +1 -1
  88. data/lib/smooch-api/models/message_override.rb +1 -1
  89. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  90. data/lib/smooch-api/models/message_post.rb +1 -1
  91. data/lib/smooch-api/models/message_response.rb +1 -1
  92. data/lib/smooch-api/models/option.rb +1 -1
  93. data/lib/smooch-api/models/quoted_message.rb +1 -1
  94. data/lib/smooch-api/models/secret_key.rb +1 -1
  95. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  96. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  97. data/lib/smooch-api/models/select.rb +1 -1
  98. data/lib/smooch-api/models/service_account.rb +1 -1
  99. data/lib/smooch-api/models/service_account_create.rb +1 -1
  100. data/lib/smooch-api/models/service_account_response.rb +1 -1
  101. data/lib/smooch-api/models/service_account_update.rb +1 -1
  102. data/lib/smooch-api/models/source.rb +1 -1
  103. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  104. data/lib/smooch-api/models/template.rb +1 -1
  105. data/lib/smooch-api/models/template_create.rb +1 -1
  106. data/lib/smooch-api/models/template_response.rb +1 -1
  107. data/lib/smooch-api/models/template_update.rb +1 -1
  108. data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
  109. data/lib/smooch-api/models/webhook.rb +1 -1
  110. data/lib/smooch-api/models/webhook_create.rb +1 -1
  111. data/lib/smooch-api/models/webhook_response.rb +1 -1
  112. data/lib/smooch-api/models/webhook_update.rb +1 -1
  113. data/lib/smooch-api/version.rb +2 -2
  114. data/smooch-api.gemspec +1 -1
  115. data/spec/api_client_spec.rb +1 -1
  116. data/spec/configuration_spec.rb +1 -1
  117. data/spec/spec_helper.rb +1 -1
  118. metadata +2 -2
@@ -21,6 +21,10 @@ Remove an attachment uploaded to Smooch.
21
21
  require 'smooch-api'
22
22
  # setup authorization
23
23
  SmoochApi.configure do |config|
24
+ # Configure HTTP basic authorization (recommended): basicAuth
25
+ config.username = 'API_KEY_ID'
26
+ config.password = 'API_KEY_SECRET'
27
+
24
28
 
25
29
  # OR
26
30
 
@@ -56,7 +60,7 @@ nil (empty response body)
56
60
 
57
61
  ### Authorization
58
62
 
59
- [jwt](../README.md#jwt)
63
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
60
64
 
61
65
  ### HTTP request headers
62
66
 
@@ -78,6 +82,10 @@ Upload an attachment to Smooch to use in future messages.
78
82
  require 'smooch-api'
79
83
  # setup authorization
80
84
  SmoochApi.configure do |config|
85
+ # Configure HTTP basic authorization (recommended): basicAuth
86
+ config.username = 'API_KEY_ID'
87
+ config.password = 'API_KEY_SECRET'
88
+
81
89
 
82
90
  # OR
83
91
 
@@ -125,7 +133,7 @@ Name | Type | Description | Notes
125
133
 
126
134
  ### Authorization
127
135
 
128
- [jwt](../README.md#jwt)
136
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
129
137
 
130
138
  ### HTTP request headers
131
139
 
@@ -25,6 +25,10 @@ Notify Smooch when an app maker starts or stops typing a response.
25
25
  require 'smooch-api'
26
26
  # setup authorization
27
27
  SmoochApi.configure do |config|
28
+ # Configure HTTP basic authorization (recommended): basicAuth
29
+ config.username = 'API_KEY_ID'
30
+ config.password = 'API_KEY_SECRET'
31
+
28
32
 
29
33
  # OR
30
34
 
@@ -64,7 +68,7 @@ Name | Type | Description | Notes
64
68
 
65
69
  ### Authorization
66
70
 
67
- [jwt](../README.md#jwt)
71
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
68
72
 
69
73
  ### HTTP request headers
70
74
 
@@ -86,6 +90,10 @@ Deletes a single message.
86
90
  require 'smooch-api'
87
91
  # setup authorization
88
92
  SmoochApi.configure do |config|
93
+ # Configure HTTP basic authorization (recommended): basicAuth
94
+ config.username = 'API_KEY_ID'
95
+ config.password = 'API_KEY_SECRET'
96
+
89
97
 
90
98
  # OR
91
99
 
@@ -124,7 +132,7 @@ nil (empty response body)
124
132
 
125
133
  ### Authorization
126
134
 
127
- [jwt](../README.md#jwt)
135
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
128
136
 
129
137
  ### HTTP request headers
130
138
 
@@ -146,6 +154,10 @@ Clears the message history for a user, permanently deleting all messages, but le
146
154
  require 'smooch-api'
147
155
  # setup authorization
148
156
  SmoochApi.configure do |config|
157
+ # Configure HTTP basic authorization (recommended): basicAuth
158
+ config.username = 'API_KEY_ID'
159
+ config.password = 'API_KEY_SECRET'
160
+
149
161
 
150
162
  # OR
151
163
 
@@ -181,7 +193,7 @@ nil (empty response body)
181
193
 
182
194
  ### Authorization
183
195
 
184
- [jwt](../README.md#jwt)
196
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
185
197
 
186
198
  ### HTTP request headers
187
199
 
@@ -203,6 +215,10 @@ Get the specified app user's messages.
203
215
  require 'smooch-api'
204
216
  # setup authorization
205
217
  SmoochApi.configure do |config|
218
+ # Configure HTTP basic authorization (recommended): basicAuth
219
+ config.username = 'API_KEY_ID'
220
+ config.password = 'API_KEY_SECRET'
221
+
206
222
 
207
223
  # OR
208
224
 
@@ -245,7 +261,7 @@ Name | Type | Description | Notes
245
261
 
246
262
  ### Authorization
247
263
 
248
- [jwt](../README.md#jwt)
264
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
249
265
 
250
266
  ### HTTP request headers
251
267
 
@@ -267,6 +283,10 @@ Post a message to or from the app user.
267
283
  require 'smooch-api'
268
284
  # setup authorization
269
285
  SmoochApi.configure do |config|
286
+ # Configure HTTP basic authorization (recommended): basicAuth
287
+ config.username = 'API_KEY_ID'
288
+ config.password = 'API_KEY_SECRET'
289
+
270
290
 
271
291
  # OR
272
292
 
@@ -306,7 +326,7 @@ Name | Type | Description | Notes
306
326
 
307
327
  ### Authorization
308
328
 
309
- [jwt](../README.md#jwt)
329
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
310
330
 
311
331
  ### HTTP request headers
312
332
 
@@ -328,6 +348,10 @@ Reset the unread count of the conversation to 0.
328
348
  require 'smooch-api'
329
349
  # setup authorization
330
350
  SmoochApi.configure do |config|
351
+ # Configure HTTP basic authorization (recommended): basicAuth
352
+ config.username = 'API_KEY_ID'
353
+ config.password = 'API_KEY_SECRET'
354
+
331
355
 
332
356
  # OR
333
357
 
@@ -363,7 +387,7 @@ nil (empty response body)
363
387
 
364
388
  ### Authorization
365
389
 
366
- [jwt](../README.md#jwt)
390
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
367
391
 
368
392
  ### HTTP request headers
369
393
 
@@ -25,6 +25,10 @@ Activate a phone number on the specified deployment.
25
25
  require 'smooch-api'
26
26
  # setup authorization
27
27
  SmoochApi.configure do |config|
28
+ # Configure HTTP basic authorization (recommended): basicAuth
29
+ config.username = 'API_KEY_ID'
30
+ config.password = 'API_KEY_SECRET'
31
+
28
32
 
29
33
  # OR
30
34
 
@@ -61,7 +65,7 @@ Name | Type | Description | Notes
61
65
 
62
66
  ### Authorization
63
67
 
64
- [jwt](../README.md#jwt)
68
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
65
69
 
66
70
  ### HTTP request headers
67
71
 
@@ -83,6 +87,10 @@ Confirm code to complete phone number activation.
83
87
  require 'smooch-api'
84
88
  # setup authorization
85
89
  SmoochApi.configure do |config|
90
+ # Configure HTTP basic authorization (recommended): basicAuth
91
+ config.username = 'API_KEY_ID'
92
+ config.password = 'API_KEY_SECRET'
93
+
86
94
 
87
95
  # OR
88
96
 
@@ -119,7 +127,7 @@ Name | Type | Description | Notes
119
127
 
120
128
  ### Authorization
121
129
 
122
- [jwt](../README.md#jwt)
130
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
123
131
 
124
132
  ### HTTP request headers
125
133
 
@@ -141,6 +149,10 @@ Create a WhatsApp deployment.
141
149
  require 'smooch-api'
142
150
  # setup authorization
143
151
  SmoochApi.configure do |config|
152
+ # Configure HTTP basic authorization (recommended): basicAuth
153
+ config.username = 'API_KEY_ID'
154
+ config.password = 'API_KEY_SECRET'
155
+
144
156
 
145
157
  # OR
146
158
 
@@ -174,7 +186,7 @@ Name | Type | Description | Notes
174
186
 
175
187
  ### Authorization
176
188
 
177
- [jwt](../README.md#jwt)
189
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
178
190
 
179
191
  ### HTTP request headers
180
192
 
@@ -196,6 +208,10 @@ Delete the specified deployment.
196
208
  require 'smooch-api'
197
209
  # setup authorization
198
210
  SmoochApi.configure do |config|
211
+ # Configure HTTP basic authorization (recommended): basicAuth
212
+ config.username = 'API_KEY_ID'
213
+ config.password = 'API_KEY_SECRET'
214
+
199
215
 
200
216
  # OR
201
217
 
@@ -228,7 +244,7 @@ nil (empty response body)
228
244
 
229
245
  ### Authorization
230
246
 
231
- [jwt](../README.md#jwt)
247
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
232
248
 
233
249
  ### HTTP request headers
234
250
 
@@ -250,6 +266,10 @@ Get the specified deployment.
250
266
  require 'smooch-api'
251
267
  # setup authorization
252
268
  SmoochApi.configure do |config|
269
+ # Configure HTTP basic authorization (recommended): basicAuth
270
+ config.username = 'API_KEY_ID'
271
+ config.password = 'API_KEY_SECRET'
272
+
253
273
 
254
274
  # OR
255
275
 
@@ -283,7 +303,7 @@ Name | Type | Description | Notes
283
303
 
284
304
  ### Authorization
285
305
 
286
- [jwt](../README.md#jwt)
306
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
287
307
 
288
308
  ### HTTP request headers
289
309
 
@@ -305,6 +325,10 @@ List owned WhatsApp deployments.
305
325
  require 'smooch-api'
306
326
  # setup authorization
307
327
  SmoochApi.configure do |config|
328
+ # Configure HTTP basic authorization (recommended): basicAuth
329
+ config.username = 'API_KEY_ID'
330
+ config.password = 'API_KEY_SECRET'
331
+
308
332
 
309
333
  # OR
310
334
 
@@ -332,7 +356,7 @@ This endpoint does not need any parameter.
332
356
 
333
357
  ### Authorization
334
358
 
335
- [jwt](../README.md#jwt)
359
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
336
360
 
337
361
  ### HTTP request headers
338
362
 
data/docs/Integration.md CHANGED
@@ -24,6 +24,8 @@ Name | Type | Description | Notes
24
24
  **channelAccessToken** | **String** | LINE Channel Access Token. Required for *line* integrations. | [optional]
25
25
  **serviceCode** | **String** | LINE Service Code. | [optional]
26
26
  **switcherSecret** | **String** | LINE Switcher Secret. | [optional]
27
+ **qrCodeUrl** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional]
28
+ **lineId** | **String** | LINE Basic ID. Generated automatically when a `qrCodeUrl` is updated. | [optional]
27
29
  **botName** | **String** | The bot's name. Returned on successful *line* integrations. | [optional]
28
30
  **encodingAesKey** | **String** | AES Encoding Key. (Optional) Used for *wechat* integrations. | [optional]
29
31
  **fromAddress** | **String** | Email will display as coming from this address. (Optional) Used for *frontendEmail* integrations. | [optional]
@@ -31,6 +31,10 @@ Create an integration for the specified app.
31
31
  require 'smooch-api'
32
32
  # setup authorization
33
33
  SmoochApi.configure do |config|
34
+ # Configure HTTP basic authorization (recommended): basicAuth
35
+ config.username = 'API_KEY_ID'
36
+ config.password = 'API_KEY_SECRET'
37
+
34
38
 
35
39
  # OR
36
40
 
@@ -67,7 +71,7 @@ Name | Type | Description | Notes
67
71
 
68
72
  ### Authorization
69
73
 
70
- [jwt](../README.md#jwt)
74
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
71
75
 
72
76
  ### HTTP request headers
73
77
 
@@ -89,6 +93,10 @@ Create the specified integration’s menu, overriding the app menu if configured
89
93
  require 'smooch-api'
90
94
  # setup authorization
91
95
  SmoochApi.configure do |config|
96
+ # Configure HTTP basic authorization (recommended): basicAuth
97
+ config.username = 'API_KEY_ID'
98
+ config.password = 'API_KEY_SECRET'
99
+
92
100
 
93
101
  # OR
94
102
 
@@ -128,7 +136,7 @@ Name | Type | Description | Notes
128
136
 
129
137
  ### Authorization
130
138
 
131
- [jwt](../README.md#jwt)
139
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
132
140
 
133
141
  ### HTTP request headers
134
142
 
@@ -150,6 +158,10 @@ Delete the specified integration.
150
158
  require 'smooch-api'
151
159
  # setup authorization
152
160
  SmoochApi.configure do |config|
161
+ # Configure HTTP basic authorization (recommended): basicAuth
162
+ config.username = 'API_KEY_ID'
163
+ config.password = 'API_KEY_SECRET'
164
+
153
165
 
154
166
  # OR
155
167
 
@@ -185,7 +197,7 @@ nil (empty response body)
185
197
 
186
198
  ### Authorization
187
199
 
188
- [jwt](../README.md#jwt)
200
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
189
201
 
190
202
  ### HTTP request headers
191
203
 
@@ -207,6 +219,10 @@ Delete the specified integration’s menu.
207
219
  require 'smooch-api'
208
220
  # setup authorization
209
221
  SmoochApi.configure do |config|
222
+ # Configure HTTP basic authorization (recommended): basicAuth
223
+ config.username = 'API_KEY_ID'
224
+ config.password = 'API_KEY_SECRET'
225
+
210
226
 
211
227
  # OR
212
228
 
@@ -242,7 +258,7 @@ nil (empty response body)
242
258
 
243
259
  ### Authorization
244
260
 
245
- [jwt](../README.md#jwt)
261
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
246
262
 
247
263
  ### HTTP request headers
248
264
 
@@ -264,6 +280,10 @@ Get the specified integration.
264
280
  require 'smooch-api'
265
281
  # setup authorization
266
282
  SmoochApi.configure do |config|
283
+ # Configure HTTP basic authorization (recommended): basicAuth
284
+ config.username = 'API_KEY_ID'
285
+ config.password = 'API_KEY_SECRET'
286
+
267
287
 
268
288
  # OR
269
289
 
@@ -300,7 +320,7 @@ Name | Type | Description | Notes
300
320
 
301
321
  ### Authorization
302
322
 
303
- [jwt](../README.md#jwt)
323
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
304
324
 
305
325
  ### HTTP request headers
306
326
 
@@ -322,6 +342,10 @@ Get the specified integration's menu.
322
342
  require 'smooch-api'
323
343
  # setup authorization
324
344
  SmoochApi.configure do |config|
345
+ # Configure HTTP basic authorization (recommended): basicAuth
346
+ config.username = 'API_KEY_ID'
347
+ config.password = 'API_KEY_SECRET'
348
+
325
349
 
326
350
  # OR
327
351
 
@@ -358,7 +382,7 @@ Name | Type | Description | Notes
358
382
 
359
383
  ### Authorization
360
384
 
361
- [jwt](../README.md#jwt)
385
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
362
386
 
363
387
  ### HTTP request headers
364
388
 
@@ -380,6 +404,10 @@ Get the specified integration’s profile.
380
404
  require 'smooch-api'
381
405
  # setup authorization
382
406
  SmoochApi.configure do |config|
407
+ # Configure HTTP basic authorization (recommended): basicAuth
408
+ config.username = 'API_KEY_ID'
409
+ config.password = 'API_KEY_SECRET'
410
+
383
411
 
384
412
  # OR
385
413
 
@@ -416,7 +444,7 @@ Name | Type | Description | Notes
416
444
 
417
445
  ### Authorization
418
446
 
419
- [jwt](../README.md#jwt)
447
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
420
448
 
421
449
  ### HTTP request headers
422
450
 
@@ -438,6 +466,10 @@ List integrations for the specified app.
438
466
  require 'smooch-api'
439
467
  # setup authorization
440
468
  SmoochApi.configure do |config|
469
+ # Configure HTTP basic authorization (recommended): basicAuth
470
+ config.username = 'API_KEY_ID'
471
+ config.password = 'API_KEY_SECRET'
472
+
441
473
 
442
474
  # OR
443
475
 
@@ -479,7 +511,7 @@ Name | Type | Description | Notes
479
511
 
480
512
  ### Authorization
481
513
 
482
- [jwt](../README.md#jwt)
514
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
483
515
 
484
516
  ### HTTP request headers
485
517
 
@@ -501,6 +533,10 @@ Update the specified integration.
501
533
  require 'smooch-api'
502
534
  # setup authorization
503
535
  SmoochApi.configure do |config|
536
+ # Configure HTTP basic authorization (recommended): basicAuth
537
+ config.username = 'API_KEY_ID'
538
+ config.password = 'API_KEY_SECRET'
539
+
504
540
 
505
541
  # OR
506
542
 
@@ -540,7 +576,7 @@ Name | Type | Description | Notes
540
576
 
541
577
  ### Authorization
542
578
 
543
- [jwt](../README.md#jwt)
579
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
544
580
 
545
581
  ### HTTP request headers
546
582
 
@@ -562,6 +598,10 @@ Update the specified integration’s menu.
562
598
  require 'smooch-api'
563
599
  # setup authorization
564
600
  SmoochApi.configure do |config|
601
+ # Configure HTTP basic authorization (recommended): basicAuth
602
+ config.username = 'API_KEY_ID'
603
+ config.password = 'API_KEY_SECRET'
604
+
565
605
 
566
606
  # OR
567
607
 
@@ -601,7 +641,7 @@ Name | Type | Description | Notes
601
641
 
602
642
  ### Authorization
603
643
 
604
- [jwt](../README.md#jwt)
644
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
605
645
 
606
646
  ### HTTP request headers
607
647
 
@@ -623,6 +663,10 @@ Update the specified integration’s profile.
623
663
  require 'smooch-api'
624
664
  # setup authorization
625
665
  SmoochApi.configure do |config|
666
+ # Configure HTTP basic authorization (recommended): basicAuth
667
+ config.username = 'API_KEY_ID'
668
+ config.password = 'API_KEY_SECRET'
669
+
626
670
 
627
671
  # OR
628
672
 
@@ -661,7 +705,7 @@ nil (empty response body)
661
705
 
662
706
  ### Authorization
663
707
 
664
- [jwt](../README.md#jwt)
708
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
665
709
 
666
710
  ### HTTP request headers
667
711
 
@@ -683,6 +727,10 @@ Upload a photo to be used for the the specified integration’s profile.
683
727
  require 'smooch-api'
684
728
  # setup authorization
685
729
  SmoochApi.configure do |config|
730
+ # Configure HTTP basic authorization (recommended): basicAuth
731
+ config.username = 'API_KEY_ID'
732
+ config.password = 'API_KEY_SECRET'
733
+
686
734
 
687
735
  # OR
688
736
 
@@ -722,7 +770,7 @@ Name | Type | Description | Notes
722
770
 
723
771
  ### Authorization
724
772
 
725
- [jwt](../README.md#jwt)
773
+ [basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
726
774
 
727
775
  ### HTTP request headers
728
776