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.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/docs/AppApi.md +50 -10
- data/docs/AppUserApi.md +65 -13
- data/docs/AttachmentsApi.md +10 -2
- data/docs/ConversationApi.md +30 -6
- data/docs/DeploymentApi.md +30 -6
- data/docs/Integration.md +2 -0
- data/docs/IntegrationApi.md +60 -12
- data/docs/IntegrationCreate.md +1 -0
- data/docs/IntegrationUpdate.md +1 -0
- data/docs/MenuApi.md +15 -3
- data/docs/ServiceAccountApi.md +50 -10
- data/docs/TemplateApi.md +25 -5
- data/docs/WebhookApi.md +25 -5
- data/lib/smooch-api.rb +1 -1
- data/lib/smooch-api/api/app_api.rb +11 -11
- data/lib/smooch-api/api/app_user_api.rb +14 -14
- data/lib/smooch-api/api/attachments_api.rb +3 -3
- data/lib/smooch-api/api/conversation_api.rb +7 -7
- data/lib/smooch-api/api/deployment_api.rb +7 -7
- data/lib/smooch-api/api/integration_api.rb +13 -13
- data/lib/smooch-api/api/menu_api.rb +4 -4
- data/lib/smooch-api/api/service_account_api.rb +11 -11
- data/lib/smooch-api/api/template_api.rb +6 -6
- data/lib/smooch-api/api/webhook_api.rb +6 -6
- data/lib/smooch-api/api_client.rb +1 -1
- data/lib/smooch-api/api_error.rb +1 -1
- data/lib/smooch-api/configuration.rb +8 -1
- data/lib/smooch-api/models/action.rb +1 -1
- data/lib/smooch-api/models/activity_response.rb +1 -1
- data/lib/smooch-api/models/app.rb +1 -1
- 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 +1 -1
- data/lib/smooch-api/models/app_update.rb +1 -1
- data/lib/smooch-api/models/app_user.rb +1 -1
- data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
- data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
- data/lib/smooch-api/models/app_user_link.rb +1 -1
- data/lib/smooch-api/models/app_user_merge.rb +1 -1
- data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
- data/lib/smooch-api/models/app_user_response.rb +1 -1
- data/lib/smooch-api/models/app_user_update.rb +1 -1
- data/lib/smooch-api/models/attachment_remove.rb +1 -1
- data/lib/smooch-api/models/attachment_response.rb +1 -1
- data/lib/smooch-api/models/auth_code_response.rb +1 -1
- data/lib/smooch-api/models/business_system_item.rb +1 -1
- data/lib/smooch-api/models/channel_entity_item.rb +1 -1
- data/lib/smooch-api/models/client.rb +1 -1
- data/lib/smooch-api/models/client_info.rb +1 -1
- data/lib/smooch-api/models/confirmation.rb +1 -1
- data/lib/smooch-api/models/conversation.rb +1 -1
- data/lib/smooch-api/models/conversation_activity.rb +1 -1
- data/lib/smooch-api/models/deployment.rb +1 -1
- data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
- data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
- data/lib/smooch-api/models/deployment_create.rb +1 -1
- data/lib/smooch-api/models/deployment_response.rb +1 -1
- data/lib/smooch-api/models/destination.rb +1 -1
- data/lib/smooch-api/models/display_settings.rb +1 -1
- data/lib/smooch-api/models/enums.rb +1 -1
- data/lib/smooch-api/models/field.rb +1 -1
- data/lib/smooch-api/models/field_post.rb +1 -1
- data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
- data/lib/smooch-api/models/get_messages_response.rb +1 -1
- data/lib/smooch-api/models/integration.rb +22 -2
- data/lib/smooch-api/models/integration_create.rb +15 -5
- data/lib/smooch-api/models/integration_profile_update.rb +1 -1
- data/lib/smooch-api/models/integration_response.rb +1 -1
- data/lib/smooch-api/models/integration_update.rb +15 -5
- data/lib/smooch-api/models/jwt_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
- data/lib/smooch-api/models/list_apps_response.rb +1 -1
- data/lib/smooch-api/models/list_deployments_response.rb +1 -1
- 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 +1 -1
- data/lib/smooch-api/models/list_templates_response.rb +1 -1
- 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/merged_user.rb +1 -1
- data/lib/smooch-api/models/message.rb +1 -1
- data/lib/smooch-api/models/message_item.rb +1 -1
- data/lib/smooch-api/models/message_override.rb +1 -1
- data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
- data/lib/smooch-api/models/message_post.rb +1 -1
- data/lib/smooch-api/models/message_response.rb +1 -1
- data/lib/smooch-api/models/option.rb +1 -1
- data/lib/smooch-api/models/quoted_message.rb +1 -1
- data/lib/smooch-api/models/secret_key.rb +1 -1
- 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/select.rb +1 -1
- data/lib/smooch-api/models/service_account.rb +1 -1
- data/lib/smooch-api/models/service_account_create.rb +1 -1
- data/lib/smooch-api/models/service_account_response.rb +1 -1
- 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 +1 -1
- 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/upload_integration_profile_photo_response.rb +1 -1
- data/lib/smooch-api/models/webhook.rb +1 -1
- 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 +2 -2
data/docs/IntegrationCreate.md
CHANGED
|
@@ -50,5 +50,6 @@ Name | Type | Description | Notes
|
|
|
50
50
|
**businessIconUrl** | **String** | A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
|
|
51
51
|
**backgroundImageUrl** | **String** | A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
|
|
52
52
|
**originWhitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454 `scheme \"://\" host [ \":\" port ]`, where scheme is `http` or `https`. (Optional) Used for *Web Messenger* integrations. | [optional]
|
|
53
|
+
**qrCodeUrl** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional]
|
|
53
54
|
|
|
54
55
|
|
data/docs/IntegrationUpdate.md
CHANGED
|
@@ -22,5 +22,6 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**serviceCode** | **String** | LINE Service Code. | [optional]
|
|
23
23
|
**switcherSecret** | **String** | LINE Switcher Secret. | [optional]
|
|
24
24
|
**hsmFallbackLanguage** | **String** | Specification of a fallback language. (Optional) Used for *WhatsApp* integrations. | [optional]
|
|
25
|
+
**qrCodeUrl** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional]
|
|
25
26
|
|
|
26
27
|
|
data/docs/MenuApi.md
CHANGED
|
@@ -22,6 +22,10 @@ Remove the specified app’s menu.
|
|
|
22
22
|
require 'smooch-api'
|
|
23
23
|
# setup authorization
|
|
24
24
|
SmoochApi.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
26
|
+
config.username = 'API_KEY_ID'
|
|
27
|
+
config.password = 'API_KEY_SECRET'
|
|
28
|
+
|
|
25
29
|
|
|
26
30
|
# OR
|
|
27
31
|
|
|
@@ -55,7 +59,7 @@ Name | Type | Description | Notes
|
|
|
55
59
|
|
|
56
60
|
### Authorization
|
|
57
61
|
|
|
58
|
-
[jwt](../README.md#jwt)
|
|
62
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
59
63
|
|
|
60
64
|
### HTTP request headers
|
|
61
65
|
|
|
@@ -77,6 +81,10 @@ Get the specified app’s menu.
|
|
|
77
81
|
require 'smooch-api'
|
|
78
82
|
# setup authorization
|
|
79
83
|
SmoochApi.configure do |config|
|
|
84
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
85
|
+
config.username = 'API_KEY_ID'
|
|
86
|
+
config.password = 'API_KEY_SECRET'
|
|
87
|
+
|
|
80
88
|
|
|
81
89
|
# OR
|
|
82
90
|
|
|
@@ -110,7 +118,7 @@ Name | Type | Description | Notes
|
|
|
110
118
|
|
|
111
119
|
### Authorization
|
|
112
120
|
|
|
113
|
-
[jwt](../README.md#jwt)
|
|
121
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
114
122
|
|
|
115
123
|
### HTTP request headers
|
|
116
124
|
|
|
@@ -132,6 +140,10 @@ Configure the specified app’s menu.
|
|
|
132
140
|
require 'smooch-api'
|
|
133
141
|
# setup authorization
|
|
134
142
|
SmoochApi.configure do |config|
|
|
143
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
144
|
+
config.username = 'API_KEY_ID'
|
|
145
|
+
config.password = 'API_KEY_SECRET'
|
|
146
|
+
|
|
135
147
|
|
|
136
148
|
# OR
|
|
137
149
|
|
|
@@ -168,7 +180,7 @@ Name | Type | Description | Notes
|
|
|
168
180
|
|
|
169
181
|
### Authorization
|
|
170
182
|
|
|
171
|
-
[jwt](../README.md#jwt)
|
|
183
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
172
184
|
|
|
173
185
|
### HTTP request headers
|
|
174
186
|
|
data/docs/ServiceAccountApi.md
CHANGED
|
@@ -29,6 +29,10 @@ Create a secret key for the specified service account.
|
|
|
29
29
|
require 'smooch-api'
|
|
30
30
|
# setup authorization
|
|
31
31
|
SmoochApi.configure do |config|
|
|
32
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
33
|
+
config.username = 'API_KEY_ID'
|
|
34
|
+
config.password = 'API_KEY_SECRET'
|
|
35
|
+
|
|
32
36
|
|
|
33
37
|
# OR
|
|
34
38
|
|
|
@@ -65,7 +69,7 @@ Name | Type | Description | Notes
|
|
|
65
69
|
|
|
66
70
|
### Authorization
|
|
67
71
|
|
|
68
|
-
[jwt](../README.md#jwt)
|
|
72
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
69
73
|
|
|
70
74
|
### HTTP request headers
|
|
71
75
|
|
|
@@ -87,6 +91,10 @@ Create a new service account.
|
|
|
87
91
|
require 'smooch-api'
|
|
88
92
|
# setup authorization
|
|
89
93
|
SmoochApi.configure do |config|
|
|
94
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
95
|
+
config.username = 'API_KEY_ID'
|
|
96
|
+
config.password = 'API_KEY_SECRET'
|
|
97
|
+
|
|
90
98
|
|
|
91
99
|
# OR
|
|
92
100
|
|
|
@@ -120,7 +128,7 @@ Name | Type | Description | Notes
|
|
|
120
128
|
|
|
121
129
|
### Authorization
|
|
122
130
|
|
|
123
|
-
[jwt](../README.md#jwt)
|
|
131
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
124
132
|
|
|
125
133
|
### HTTP request headers
|
|
126
134
|
|
|
@@ -142,6 +150,10 @@ Delete the specified service account secret key.
|
|
|
142
150
|
require 'smooch-api'
|
|
143
151
|
# setup authorization
|
|
144
152
|
SmoochApi.configure do |config|
|
|
153
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
154
|
+
config.username = 'API_KEY_ID'
|
|
155
|
+
config.password = 'API_KEY_SECRET'
|
|
156
|
+
|
|
145
157
|
|
|
146
158
|
# OR
|
|
147
159
|
|
|
@@ -177,7 +189,7 @@ nil (empty response body)
|
|
|
177
189
|
|
|
178
190
|
### Authorization
|
|
179
191
|
|
|
180
|
-
[jwt](../README.md#jwt)
|
|
192
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
181
193
|
|
|
182
194
|
### HTTP request headers
|
|
183
195
|
|
|
@@ -199,6 +211,10 @@ Delete the specified service account.
|
|
|
199
211
|
require 'smooch-api'
|
|
200
212
|
# setup authorization
|
|
201
213
|
SmoochApi.configure do |config|
|
|
214
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
215
|
+
config.username = 'API_KEY_ID'
|
|
216
|
+
config.password = 'API_KEY_SECRET'
|
|
217
|
+
|
|
202
218
|
|
|
203
219
|
# OR
|
|
204
220
|
|
|
@@ -231,7 +247,7 @@ nil (empty response body)
|
|
|
231
247
|
|
|
232
248
|
### Authorization
|
|
233
249
|
|
|
234
|
-
[jwt](../README.md#jwt)
|
|
250
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
235
251
|
|
|
236
252
|
### HTTP request headers
|
|
237
253
|
|
|
@@ -253,6 +269,10 @@ Get an account-scoped JWT for the specified service account secret key.
|
|
|
253
269
|
require 'smooch-api'
|
|
254
270
|
# setup authorization
|
|
255
271
|
SmoochApi.configure do |config|
|
|
272
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
273
|
+
config.username = 'API_KEY_ID'
|
|
274
|
+
config.password = 'API_KEY_SECRET'
|
|
275
|
+
|
|
256
276
|
|
|
257
277
|
# OR
|
|
258
278
|
|
|
@@ -289,7 +309,7 @@ Name | Type | Description | Notes
|
|
|
289
309
|
|
|
290
310
|
### Authorization
|
|
291
311
|
|
|
292
|
-
[jwt](../README.md#jwt)
|
|
312
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
293
313
|
|
|
294
314
|
### HTTP request headers
|
|
295
315
|
|
|
@@ -311,6 +331,10 @@ Get the specified service account secret key.
|
|
|
311
331
|
require 'smooch-api'
|
|
312
332
|
# setup authorization
|
|
313
333
|
SmoochApi.configure do |config|
|
|
334
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
335
|
+
config.username = 'API_KEY_ID'
|
|
336
|
+
config.password = 'API_KEY_SECRET'
|
|
337
|
+
|
|
314
338
|
|
|
315
339
|
# OR
|
|
316
340
|
|
|
@@ -347,7 +371,7 @@ Name | Type | Description | Notes
|
|
|
347
371
|
|
|
348
372
|
### Authorization
|
|
349
373
|
|
|
350
|
-
[jwt](../README.md#jwt)
|
|
374
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
351
375
|
|
|
352
376
|
### HTTP request headers
|
|
353
377
|
|
|
@@ -369,6 +393,10 @@ Get the specified service account.
|
|
|
369
393
|
require 'smooch-api'
|
|
370
394
|
# setup authorization
|
|
371
395
|
SmoochApi.configure do |config|
|
|
396
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
397
|
+
config.username = 'API_KEY_ID'
|
|
398
|
+
config.password = 'API_KEY_SECRET'
|
|
399
|
+
|
|
372
400
|
|
|
373
401
|
# OR
|
|
374
402
|
|
|
@@ -402,7 +430,7 @@ Name | Type | Description | Notes
|
|
|
402
430
|
|
|
403
431
|
### Authorization
|
|
404
432
|
|
|
405
|
-
[jwt](../README.md#jwt)
|
|
433
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
406
434
|
|
|
407
435
|
### HTTP request headers
|
|
408
436
|
|
|
@@ -424,6 +452,10 @@ List the secret keys for the specified service account.
|
|
|
424
452
|
require 'smooch-api'
|
|
425
453
|
# setup authorization
|
|
426
454
|
SmoochApi.configure do |config|
|
|
455
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
456
|
+
config.username = 'API_KEY_ID'
|
|
457
|
+
config.password = 'API_KEY_SECRET'
|
|
458
|
+
|
|
427
459
|
|
|
428
460
|
# OR
|
|
429
461
|
|
|
@@ -457,7 +489,7 @@ Name | Type | Description | Notes
|
|
|
457
489
|
|
|
458
490
|
### Authorization
|
|
459
491
|
|
|
460
|
-
[jwt](../README.md#jwt)
|
|
492
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
461
493
|
|
|
462
494
|
### HTTP request headers
|
|
463
495
|
|
|
@@ -479,6 +511,10 @@ List all service accounts configured.
|
|
|
479
511
|
require 'smooch-api'
|
|
480
512
|
# setup authorization
|
|
481
513
|
SmoochApi.configure do |config|
|
|
514
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
515
|
+
config.username = 'API_KEY_ID'
|
|
516
|
+
config.password = 'API_KEY_SECRET'
|
|
517
|
+
|
|
482
518
|
|
|
483
519
|
# OR
|
|
484
520
|
|
|
@@ -515,7 +551,7 @@ Name | Type | Description | Notes
|
|
|
515
551
|
|
|
516
552
|
### Authorization
|
|
517
553
|
|
|
518
|
-
[jwt](../README.md#jwt)
|
|
554
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
519
555
|
|
|
520
556
|
### HTTP request headers
|
|
521
557
|
|
|
@@ -537,6 +573,10 @@ Update the specified service account.
|
|
|
537
573
|
require 'smooch-api'
|
|
538
574
|
# setup authorization
|
|
539
575
|
SmoochApi.configure do |config|
|
|
576
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
577
|
+
config.username = 'API_KEY_ID'
|
|
578
|
+
config.password = 'API_KEY_SECRET'
|
|
579
|
+
|
|
540
580
|
|
|
541
581
|
# OR
|
|
542
582
|
|
|
@@ -573,7 +613,7 @@ Name | Type | Description | Notes
|
|
|
573
613
|
|
|
574
614
|
### Authorization
|
|
575
615
|
|
|
576
|
-
[jwt](../README.md#jwt)
|
|
616
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
577
617
|
|
|
578
618
|
### HTTP request headers
|
|
579
619
|
|
data/docs/TemplateApi.md
CHANGED
|
@@ -24,6 +24,10 @@ Create a template for the specified app.
|
|
|
24
24
|
require 'smooch-api'
|
|
25
25
|
# setup authorization
|
|
26
26
|
SmoochApi.configure do |config|
|
|
27
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
28
|
+
config.username = 'API_KEY_ID'
|
|
29
|
+
config.password = 'API_KEY_SECRET'
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
# OR
|
|
29
33
|
|
|
@@ -60,7 +64,7 @@ Name | Type | Description | Notes
|
|
|
60
64
|
|
|
61
65
|
### Authorization
|
|
62
66
|
|
|
63
|
-
[jwt](../README.md#jwt)
|
|
67
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
64
68
|
|
|
65
69
|
### HTTP request headers
|
|
66
70
|
|
|
@@ -82,6 +86,10 @@ Delete the specified template.
|
|
|
82
86
|
require 'smooch-api'
|
|
83
87
|
# setup authorization
|
|
84
88
|
SmoochApi.configure do |config|
|
|
89
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
90
|
+
config.username = 'API_KEY_ID'
|
|
91
|
+
config.password = 'API_KEY_SECRET'
|
|
92
|
+
|
|
85
93
|
|
|
86
94
|
# OR
|
|
87
95
|
|
|
@@ -117,7 +125,7 @@ nil (empty response body)
|
|
|
117
125
|
|
|
118
126
|
### Authorization
|
|
119
127
|
|
|
120
|
-
[jwt](../README.md#jwt)
|
|
128
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
121
129
|
|
|
122
130
|
### HTTP request headers
|
|
123
131
|
|
|
@@ -139,6 +147,10 @@ Get the specified template.
|
|
|
139
147
|
require 'smooch-api'
|
|
140
148
|
# setup authorization
|
|
141
149
|
SmoochApi.configure do |config|
|
|
150
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
151
|
+
config.username = 'API_KEY_ID'
|
|
152
|
+
config.password = 'API_KEY_SECRET'
|
|
153
|
+
|
|
142
154
|
|
|
143
155
|
# OR
|
|
144
156
|
|
|
@@ -175,7 +187,7 @@ Name | Type | Description | Notes
|
|
|
175
187
|
|
|
176
188
|
### Authorization
|
|
177
189
|
|
|
178
|
-
[jwt](../README.md#jwt)
|
|
190
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
179
191
|
|
|
180
192
|
### HTTP request headers
|
|
181
193
|
|
|
@@ -197,6 +209,10 @@ List templates for the specified app.
|
|
|
197
209
|
require 'smooch-api'
|
|
198
210
|
# setup authorization
|
|
199
211
|
SmoochApi.configure do |config|
|
|
212
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
213
|
+
config.username = 'API_KEY_ID'
|
|
214
|
+
config.password = 'API_KEY_SECRET'
|
|
215
|
+
|
|
200
216
|
|
|
201
217
|
# OR
|
|
202
218
|
|
|
@@ -236,7 +252,7 @@ Name | Type | Description | Notes
|
|
|
236
252
|
|
|
237
253
|
### Authorization
|
|
238
254
|
|
|
239
|
-
[jwt](../README.md#jwt)
|
|
255
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
240
256
|
|
|
241
257
|
### HTTP request headers
|
|
242
258
|
|
|
@@ -258,6 +274,10 @@ Update the specified template.
|
|
|
258
274
|
require 'smooch-api'
|
|
259
275
|
# setup authorization
|
|
260
276
|
SmoochApi.configure do |config|
|
|
277
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
278
|
+
config.username = 'API_KEY_ID'
|
|
279
|
+
config.password = 'API_KEY_SECRET'
|
|
280
|
+
|
|
261
281
|
|
|
262
282
|
# OR
|
|
263
283
|
|
|
@@ -297,7 +317,7 @@ Name | Type | Description | Notes
|
|
|
297
317
|
|
|
298
318
|
### Authorization
|
|
299
319
|
|
|
300
|
-
[jwt](../README.md#jwt)
|
|
320
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
301
321
|
|
|
302
322
|
### HTTP request headers
|
|
303
323
|
|
data/docs/WebhookApi.md
CHANGED
|
@@ -24,6 +24,10 @@ Create a webhook for the specified app.
|
|
|
24
24
|
require 'smooch-api'
|
|
25
25
|
# setup authorization
|
|
26
26
|
SmoochApi.configure do |config|
|
|
27
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
28
|
+
config.username = 'API_KEY_ID'
|
|
29
|
+
config.password = 'API_KEY_SECRET'
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
# OR
|
|
29
33
|
|
|
@@ -60,7 +64,7 @@ Name | Type | Description | Notes
|
|
|
60
64
|
|
|
61
65
|
### Authorization
|
|
62
66
|
|
|
63
|
-
[jwt](../README.md#jwt)
|
|
67
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
64
68
|
|
|
65
69
|
### HTTP request headers
|
|
66
70
|
|
|
@@ -82,6 +86,10 @@ Delete the specified webhook.
|
|
|
82
86
|
require 'smooch-api'
|
|
83
87
|
# setup authorization
|
|
84
88
|
SmoochApi.configure do |config|
|
|
89
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
90
|
+
config.username = 'API_KEY_ID'
|
|
91
|
+
config.password = 'API_KEY_SECRET'
|
|
92
|
+
|
|
85
93
|
|
|
86
94
|
# OR
|
|
87
95
|
|
|
@@ -117,7 +125,7 @@ nil (empty response body)
|
|
|
117
125
|
|
|
118
126
|
### Authorization
|
|
119
127
|
|
|
120
|
-
[jwt](../README.md#jwt)
|
|
128
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
121
129
|
|
|
122
130
|
### HTTP request headers
|
|
123
131
|
|
|
@@ -139,6 +147,10 @@ Get the specified webhook.
|
|
|
139
147
|
require 'smooch-api'
|
|
140
148
|
# setup authorization
|
|
141
149
|
SmoochApi.configure do |config|
|
|
150
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
151
|
+
config.username = 'API_KEY_ID'
|
|
152
|
+
config.password = 'API_KEY_SECRET'
|
|
153
|
+
|
|
142
154
|
|
|
143
155
|
# OR
|
|
144
156
|
|
|
@@ -175,7 +187,7 @@ Name | Type | Description | Notes
|
|
|
175
187
|
|
|
176
188
|
### Authorization
|
|
177
189
|
|
|
178
|
-
[jwt](../README.md#jwt)
|
|
190
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
179
191
|
|
|
180
192
|
### HTTP request headers
|
|
181
193
|
|
|
@@ -197,6 +209,10 @@ List webhooks for the specified app.
|
|
|
197
209
|
require 'smooch-api'
|
|
198
210
|
# setup authorization
|
|
199
211
|
SmoochApi.configure do |config|
|
|
212
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
213
|
+
config.username = 'API_KEY_ID'
|
|
214
|
+
config.password = 'API_KEY_SECRET'
|
|
215
|
+
|
|
200
216
|
|
|
201
217
|
# OR
|
|
202
218
|
|
|
@@ -230,7 +246,7 @@ Name | Type | Description | Notes
|
|
|
230
246
|
|
|
231
247
|
### Authorization
|
|
232
248
|
|
|
233
|
-
[jwt](../README.md#jwt)
|
|
249
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
234
250
|
|
|
235
251
|
### HTTP request headers
|
|
236
252
|
|
|
@@ -252,6 +268,10 @@ Update the specified webhook.
|
|
|
252
268
|
require 'smooch-api'
|
|
253
269
|
# setup authorization
|
|
254
270
|
SmoochApi.configure do |config|
|
|
271
|
+
# Configure HTTP basic authorization (recommended): basicAuth
|
|
272
|
+
config.username = 'API_KEY_ID'
|
|
273
|
+
config.password = 'API_KEY_SECRET'
|
|
274
|
+
|
|
255
275
|
|
|
256
276
|
# OR
|
|
257
277
|
|
|
@@ -291,7 +311,7 @@ Name | Type | Description | Notes
|
|
|
291
311
|
|
|
292
312
|
### Authorization
|
|
293
313
|
|
|
294
|
-
[jwt](../README.md#jwt)
|
|
314
|
+
[basicAuth](../README.md#basicAuth), [jwt](../README.md#jwt)
|
|
295
315
|
|
|
296
316
|
### HTTP request headers
|
|
297
317
|
|