smooch-api 5.16.0 → 5.16.1
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 +1 -1
- data/docs/AppApi.md +8 -8
- data/docs/AppUserApi.md +12 -12
- data/docs/AttachmentsApi.md +2 -2
- data/docs/ConversationApi.md +6 -6
- data/docs/DeploymentApi.md +6 -6
- data/docs/IntegrationApi.md +12 -12
- data/docs/MenuApi.md +4 -4
- data/docs/ServiceAccountApi.md +8 -8
- data/docs/TemplateApi.md +4 -4
- data/docs/WebhookApi.md +4 -4
- data/lib/smooch-api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c67b11c64312287575aaf1c53b88355acbdaf7
|
4
|
+
data.tar.gz: 69010df43467684dfaf75cd6a85ff7bdca0eec75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 293d77b4462b28b7dbb2bdf621bd5701597fdb0920164689a65340494c64c22bf6d5adcadc2d4f7b784acb2c4b4ad06a5271cbacfa95253333dd32409e61e467
|
7
|
+
data.tar.gz: 3fefe1e8062d578a15d903b4ef77378bdbb6345788a2781d4b87fc0af0e7de4110a8e1fda590490f2fce72da7ce4af5b1921802c88f2c6560453f36e521bd05e
|
data/README.md
CHANGED
data/docs/AppApi.md
CHANGED
@@ -138,7 +138,7 @@ Name | Type | Description | Notes
|
|
138
138
|
|
139
139
|
|
140
140
|
# **delete_app**
|
141
|
-
> delete_app(appId
|
141
|
+
> delete_app(appId)
|
142
142
|
|
143
143
|
|
144
144
|
|
@@ -168,7 +168,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
168
168
|
|
169
169
|
|
170
170
|
begin
|
171
|
-
api_instance.delete_app(appId
|
171
|
+
api_instance.delete_app(appId)
|
172
172
|
rescue SmoochApi::ApiError => e
|
173
173
|
puts "Exception when calling AppApi->delete_app: #{e}"
|
174
174
|
end
|
@@ -257,7 +257,7 @@ nil (empty response body)
|
|
257
257
|
|
258
258
|
|
259
259
|
# **get_app**
|
260
|
-
> AppResponse get_app(appId
|
260
|
+
> AppResponse get_app(appId)
|
261
261
|
|
262
262
|
|
263
263
|
|
@@ -287,7 +287,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
287
287
|
|
288
288
|
|
289
289
|
begin
|
290
|
-
result = api_instance.get_app(appId
|
290
|
+
result = api_instance.get_app(appId)
|
291
291
|
p result
|
292
292
|
rescue SmoochApi::ApiError => e
|
293
293
|
puts "Exception when calling AppApi->get_app: #{e}"
|
@@ -440,7 +440,7 @@ Name | Type | Description | Notes
|
|
440
440
|
|
441
441
|
|
442
442
|
# **list_apps**
|
443
|
-
> ListAppsResponse list_apps(
|
443
|
+
> ListAppsResponse list_apps(limit, offset, serviceAccountId)
|
444
444
|
|
445
445
|
|
446
446
|
|
@@ -473,7 +473,7 @@ opts = {
|
|
473
473
|
}
|
474
474
|
|
475
475
|
begin
|
476
|
-
result = api_instance.list_apps(
|
476
|
+
result = api_instance.list_apps(limit, offset, serviceAccountId)
|
477
477
|
p result
|
478
478
|
rescue SmoochApi::ApiError => e
|
479
479
|
puts "Exception when calling AppApi->list_apps: #{e}"
|
@@ -504,7 +504,7 @@ Name | Type | Description | Notes
|
|
504
504
|
|
505
505
|
|
506
506
|
# **list_secret_keys**
|
507
|
-
> ListSecretKeysResponse list_secret_keys(appId
|
507
|
+
> ListSecretKeysResponse list_secret_keys(appId)
|
508
508
|
|
509
509
|
|
510
510
|
|
@@ -534,7 +534,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
534
534
|
|
535
535
|
|
536
536
|
begin
|
537
|
-
result = api_instance.list_secret_keys(appId
|
537
|
+
result = api_instance.list_secret_keys(appId)
|
538
538
|
p result
|
539
539
|
rescue SmoochApi::ApiError => e
|
540
540
|
puts "Exception when calling AppApi->list_secret_keys: #{e}"
|
data/docs/AppUserApi.md
CHANGED
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
20
20
|
|
21
21
|
|
22
22
|
# **delete_app_user**
|
23
|
-
> delete_app_user(appId, userId
|
23
|
+
> delete_app_user(appId, userId)
|
24
24
|
|
25
25
|
|
26
26
|
|
@@ -52,7 +52,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
52
52
|
|
53
53
|
|
54
54
|
begin
|
55
|
-
api_instance.delete_app_user(appId, userId
|
55
|
+
api_instance.delete_app_user(appId, userId)
|
56
56
|
rescue SmoochApi::ApiError => e
|
57
57
|
puts "Exception when calling AppUserApi->delete_app_user: #{e}"
|
58
58
|
end
|
@@ -81,7 +81,7 @@ nil (empty response body)
|
|
81
81
|
|
82
82
|
|
83
83
|
# **delete_app_user_profile**
|
84
|
-
> AppUserResponse delete_app_user_profile(appId, userId
|
84
|
+
> AppUserResponse delete_app_user_profile(appId, userId)
|
85
85
|
|
86
86
|
|
87
87
|
|
@@ -113,7 +113,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
113
113
|
|
114
114
|
|
115
115
|
begin
|
116
|
-
result = api_instance.delete_app_user_profile(appId, userId
|
116
|
+
result = api_instance.delete_app_user_profile(appId, userId)
|
117
117
|
p result
|
118
118
|
rescue SmoochApi::ApiError => e
|
119
119
|
puts "Exception when calling AppUserApi->delete_app_user_profile: #{e}"
|
@@ -143,7 +143,7 @@ Name | Type | Description | Notes
|
|
143
143
|
|
144
144
|
|
145
145
|
# **get_app_user**
|
146
|
-
> AppUserResponse get_app_user(appId, userId
|
146
|
+
> AppUserResponse get_app_user(appId, userId)
|
147
147
|
|
148
148
|
|
149
149
|
|
@@ -175,7 +175,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
175
175
|
|
176
176
|
|
177
177
|
begin
|
178
|
-
result = api_instance.get_app_user(appId, userId
|
178
|
+
result = api_instance.get_app_user(appId, userId)
|
179
179
|
p result
|
180
180
|
rescue SmoochApi::ApiError => e
|
181
181
|
puts "Exception when calling AppUserApi->get_app_user: #{e}"
|
@@ -205,7 +205,7 @@ Name | Type | Description | Notes
|
|
205
205
|
|
206
206
|
|
207
207
|
# **get_app_user_auth_code**
|
208
|
-
> AuthCodeResponse get_app_user_auth_code(appId, userId
|
208
|
+
> AuthCodeResponse get_app_user_auth_code(appId, userId)
|
209
209
|
|
210
210
|
|
211
211
|
|
@@ -237,7 +237,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
237
237
|
|
238
238
|
|
239
239
|
begin
|
240
|
-
result = api_instance.get_app_user_auth_code(appId, userId
|
240
|
+
result = api_instance.get_app_user_auth_code(appId, userId)
|
241
241
|
p result
|
242
242
|
rescue SmoochApi::ApiError => e
|
243
243
|
puts "Exception when calling AppUserApi->get_app_user_auth_code: #{e}"
|
@@ -267,7 +267,7 @@ Name | Type | Description | Notes
|
|
267
267
|
|
268
268
|
|
269
269
|
# **get_app_user_business_system_ids**
|
270
|
-
> AppUserBusinessSystemsResponse get_app_user_business_system_ids(appId, userId
|
270
|
+
> AppUserBusinessSystemsResponse get_app_user_business_system_ids(appId, userId)
|
271
271
|
|
272
272
|
|
273
273
|
|
@@ -299,7 +299,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
299
299
|
|
300
300
|
|
301
301
|
begin
|
302
|
-
result = api_instance.get_app_user_business_system_ids(appId, userId
|
302
|
+
result = api_instance.get_app_user_business_system_ids(appId, userId)
|
303
303
|
p result
|
304
304
|
rescue SmoochApi::ApiError => e
|
305
305
|
puts "Exception when calling AppUserApi->get_app_user_business_system_ids: #{e}"
|
@@ -329,7 +329,7 @@ Name | Type | Description | Notes
|
|
329
329
|
|
330
330
|
|
331
331
|
# **get_app_user_entity_ids**
|
332
|
-
> AppUserChannelsResponse get_app_user_entity_ids(appId, userId
|
332
|
+
> AppUserChannelsResponse get_app_user_entity_ids(appId, userId)
|
333
333
|
|
334
334
|
|
335
335
|
|
@@ -361,7 +361,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
361
361
|
|
362
362
|
|
363
363
|
begin
|
364
|
-
result = api_instance.get_app_user_entity_ids(appId, userId
|
364
|
+
result = api_instance.get_app_user_entity_ids(appId, userId)
|
365
365
|
p result
|
366
366
|
rescue SmoochApi::ApiError => e
|
367
367
|
puts "Exception when calling AppUserApi->get_app_user_entity_ids: #{e}"
|
data/docs/AttachmentsApi.md
CHANGED
@@ -70,7 +70,7 @@ nil (empty response body)
|
|
70
70
|
|
71
71
|
|
72
72
|
# **upload_attachment**
|
73
|
-
> AttachmentResponse upload_attachment(appId, source, access,
|
73
|
+
> AttachmentResponse upload_attachment(appId, source, access, _for, appUserId, userId)
|
74
74
|
|
75
75
|
|
76
76
|
|
@@ -109,7 +109,7 @@ opts = {
|
|
109
109
|
}
|
110
110
|
|
111
111
|
begin
|
112
|
-
result = api_instance.upload_attachment(appId, source, access,
|
112
|
+
result = api_instance.upload_attachment(appId, source, access, _for, appUserId, userId)
|
113
113
|
p result
|
114
114
|
rescue SmoochApi::ApiError => e
|
115
115
|
puts "Exception when calling AttachmentsApi->upload_attachment: #{e}"
|
data/docs/ConversationApi.md
CHANGED
@@ -142,7 +142,7 @@ nil (empty response body)
|
|
142
142
|
|
143
143
|
|
144
144
|
# **delete_messages**
|
145
|
-
> delete_messages(appId, userId
|
145
|
+
> delete_messages(appId, userId)
|
146
146
|
|
147
147
|
|
148
148
|
|
@@ -174,7 +174,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
174
174
|
|
175
175
|
|
176
176
|
begin
|
177
|
-
api_instance.delete_messages(appId, userId
|
177
|
+
api_instance.delete_messages(appId, userId)
|
178
178
|
rescue SmoochApi::ApiError => e
|
179
179
|
puts "Exception when calling ConversationApi->delete_messages: #{e}"
|
180
180
|
end
|
@@ -203,7 +203,7 @@ nil (empty response body)
|
|
203
203
|
|
204
204
|
|
205
205
|
# **get_messages**
|
206
|
-
> GetMessagesResponse get_messages(appId, userId, ,
|
206
|
+
> GetMessagesResponse get_messages(appId, userId, before, after)
|
207
207
|
|
208
208
|
|
209
209
|
|
@@ -239,7 +239,7 @@ opts = {
|
|
239
239
|
}
|
240
240
|
|
241
241
|
begin
|
242
|
-
result = api_instance.get_messages(appId, userId, ,
|
242
|
+
result = api_instance.get_messages(appId, userId, before, after)
|
243
243
|
p result
|
244
244
|
rescue SmoochApi::ApiError => e
|
245
245
|
puts "Exception when calling ConversationApi->get_messages: #{e}"
|
@@ -336,7 +336,7 @@ Name | Type | Description | Notes
|
|
336
336
|
|
337
337
|
|
338
338
|
# **reset_unread_count**
|
339
|
-
> reset_unread_count(appId, userId
|
339
|
+
> reset_unread_count(appId, userId)
|
340
340
|
|
341
341
|
|
342
342
|
|
@@ -368,7 +368,7 @@ userId = "userId_example" # String | Identifies the user. Can be either the smoo
|
|
368
368
|
|
369
369
|
|
370
370
|
begin
|
371
|
-
api_instance.reset_unread_count(appId, userId
|
371
|
+
api_instance.reset_unread_count(appId, userId)
|
372
372
|
rescue SmoochApi::ApiError => e
|
373
373
|
puts "Exception when calling ConversationApi->reset_unread_count: #{e}"
|
374
374
|
end
|
data/docs/DeploymentApi.md
CHANGED
@@ -196,7 +196,7 @@ Name | Type | Description | Notes
|
|
196
196
|
|
197
197
|
|
198
198
|
# **delete_deployment**
|
199
|
-
> delete_deployment(deploymentId
|
199
|
+
> delete_deployment(deploymentId)
|
200
200
|
|
201
201
|
|
202
202
|
|
@@ -226,7 +226,7 @@ deploymentId = "deploymentId_example" # String | Identifies the deployment.
|
|
226
226
|
|
227
227
|
|
228
228
|
begin
|
229
|
-
api_instance.delete_deployment(deploymentId
|
229
|
+
api_instance.delete_deployment(deploymentId)
|
230
230
|
rescue SmoochApi::ApiError => e
|
231
231
|
puts "Exception when calling DeploymentApi->delete_deployment: #{e}"
|
232
232
|
end
|
@@ -254,7 +254,7 @@ nil (empty response body)
|
|
254
254
|
|
255
255
|
|
256
256
|
# **get_deployment**
|
257
|
-
> DeploymentResponse get_deployment(deploymentId
|
257
|
+
> DeploymentResponse get_deployment(deploymentId)
|
258
258
|
|
259
259
|
|
260
260
|
|
@@ -284,7 +284,7 @@ deploymentId = "deploymentId_example" # String | Identifies the deployment.
|
|
284
284
|
|
285
285
|
|
286
286
|
begin
|
287
|
-
result = api_instance.get_deployment(deploymentId
|
287
|
+
result = api_instance.get_deployment(deploymentId)
|
288
288
|
p result
|
289
289
|
rescue SmoochApi::ApiError => e
|
290
290
|
puts "Exception when calling DeploymentApi->get_deployment: #{e}"
|
@@ -313,7 +313,7 @@ Name | Type | Description | Notes
|
|
313
313
|
|
314
314
|
|
315
315
|
# **list_deployments**
|
316
|
-
> ListDeploymentsResponse list_deployments
|
316
|
+
> ListDeploymentsResponse list_deployments()
|
317
317
|
|
318
318
|
|
319
319
|
|
@@ -340,7 +340,7 @@ end
|
|
340
340
|
api_instance = SmoochApi::DeploymentApi.new
|
341
341
|
|
342
342
|
begin
|
343
|
-
result = api_instance.list_deployments
|
343
|
+
result = api_instance.list_deployments()
|
344
344
|
p result
|
345
345
|
rescue SmoochApi::ApiError => e
|
346
346
|
puts "Exception when calling DeploymentApi->list_deployments: #{e}"
|
data/docs/IntegrationApi.md
CHANGED
@@ -146,7 +146,7 @@ Name | Type | Description | Notes
|
|
146
146
|
|
147
147
|
|
148
148
|
# **delete_integration**
|
149
|
-
> delete_integration(appId, integrationId
|
149
|
+
> delete_integration(appId, integrationId)
|
150
150
|
|
151
151
|
|
152
152
|
|
@@ -178,7 +178,7 @@ integrationId = "integrationId_example" # String | Identifies the integration.
|
|
178
178
|
|
179
179
|
|
180
180
|
begin
|
181
|
-
api_instance.delete_integration(appId, integrationId
|
181
|
+
api_instance.delete_integration(appId, integrationId)
|
182
182
|
rescue SmoochApi::ApiError => e
|
183
183
|
puts "Exception when calling IntegrationApi->delete_integration: #{e}"
|
184
184
|
end
|
@@ -207,7 +207,7 @@ nil (empty response body)
|
|
207
207
|
|
208
208
|
|
209
209
|
# **delete_integration_menu**
|
210
|
-
> delete_integration_menu(appId, integrationId
|
210
|
+
> delete_integration_menu(appId, integrationId)
|
211
211
|
|
212
212
|
|
213
213
|
|
@@ -239,7 +239,7 @@ integrationId = "integrationId_example" # String | Identifies the integration.
|
|
239
239
|
|
240
240
|
|
241
241
|
begin
|
242
|
-
api_instance.delete_integration_menu(appId, integrationId
|
242
|
+
api_instance.delete_integration_menu(appId, integrationId)
|
243
243
|
rescue SmoochApi::ApiError => e
|
244
244
|
puts "Exception when calling IntegrationApi->delete_integration_menu: #{e}"
|
245
245
|
end
|
@@ -268,7 +268,7 @@ nil (empty response body)
|
|
268
268
|
|
269
269
|
|
270
270
|
# **get_integration**
|
271
|
-
> IntegrationResponse get_integration(appId, integrationId
|
271
|
+
> IntegrationResponse get_integration(appId, integrationId)
|
272
272
|
|
273
273
|
|
274
274
|
|
@@ -300,7 +300,7 @@ integrationId = "integrationId_example" # String | Identifies the integration.
|
|
300
300
|
|
301
301
|
|
302
302
|
begin
|
303
|
-
result = api_instance.get_integration(appId, integrationId
|
303
|
+
result = api_instance.get_integration(appId, integrationId)
|
304
304
|
p result
|
305
305
|
rescue SmoochApi::ApiError => e
|
306
306
|
puts "Exception when calling IntegrationApi->get_integration: #{e}"
|
@@ -330,7 +330,7 @@ Name | Type | Description | Notes
|
|
330
330
|
|
331
331
|
|
332
332
|
# **get_integration_menu**
|
333
|
-
> MenuResponse get_integration_menu(appId, integrationId
|
333
|
+
> MenuResponse get_integration_menu(appId, integrationId)
|
334
334
|
|
335
335
|
|
336
336
|
|
@@ -362,7 +362,7 @@ integrationId = "integrationId_example" # String | Identifies the integration.
|
|
362
362
|
|
363
363
|
|
364
364
|
begin
|
365
|
-
result = api_instance.get_integration_menu(appId, integrationId
|
365
|
+
result = api_instance.get_integration_menu(appId, integrationId)
|
366
366
|
p result
|
367
367
|
rescue SmoochApi::ApiError => e
|
368
368
|
puts "Exception when calling IntegrationApi->get_integration_menu: #{e}"
|
@@ -392,7 +392,7 @@ Name | Type | Description | Notes
|
|
392
392
|
|
393
393
|
|
394
394
|
# **get_integration_profile**
|
395
|
-
> GetIntegrationProfileResponse get_integration_profile(appId, integrationId
|
395
|
+
> GetIntegrationProfileResponse get_integration_profile(appId, integrationId)
|
396
396
|
|
397
397
|
|
398
398
|
|
@@ -424,7 +424,7 @@ integrationId = "integrationId_example" # String | Identifies the integration.
|
|
424
424
|
|
425
425
|
|
426
426
|
begin
|
427
|
-
result = api_instance.get_integration_profile(appId, integrationId
|
427
|
+
result = api_instance.get_integration_profile(appId, integrationId)
|
428
428
|
p result
|
429
429
|
rescue SmoochApi::ApiError => e
|
430
430
|
puts "Exception when calling IntegrationApi->get_integration_profile: #{e}"
|
@@ -454,7 +454,7 @@ Name | Type | Description | Notes
|
|
454
454
|
|
455
455
|
|
456
456
|
# **list_integrations**
|
457
|
-
> ListIntegrationsResponse list_integrations(appId, ,
|
457
|
+
> ListIntegrationsResponse list_integrations(appId, types, limit, offset)
|
458
458
|
|
459
459
|
|
460
460
|
|
@@ -489,7 +489,7 @@ opts = {
|
|
489
489
|
}
|
490
490
|
|
491
491
|
begin
|
492
|
-
result = api_instance.list_integrations(appId, ,
|
492
|
+
result = api_instance.list_integrations(appId, types, limit, offset)
|
493
493
|
p result
|
494
494
|
rescue SmoochApi::ApiError => e
|
495
495
|
puts "Exception when calling IntegrationApi->list_integrations: #{e}"
|
data/docs/MenuApi.md
CHANGED
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
10
10
|
|
11
11
|
|
12
12
|
# **delete_menu**
|
13
|
-
> MenuResponse delete_menu(appId
|
13
|
+
> MenuResponse delete_menu(appId)
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -40,7 +40,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
40
40
|
|
41
41
|
|
42
42
|
begin
|
43
|
-
result = api_instance.delete_menu(appId
|
43
|
+
result = api_instance.delete_menu(appId)
|
44
44
|
p result
|
45
45
|
rescue SmoochApi::ApiError => e
|
46
46
|
puts "Exception when calling MenuApi->delete_menu: #{e}"
|
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
|
70
70
|
|
71
71
|
# **get_menu**
|
72
|
-
> MenuResponse get_menu(appId
|
72
|
+
> MenuResponse get_menu(appId)
|
73
73
|
|
74
74
|
|
75
75
|
|
@@ -99,7 +99,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
99
99
|
|
100
100
|
|
101
101
|
begin
|
102
|
-
result = api_instance.get_menu(appId
|
102
|
+
result = api_instance.get_menu(appId)
|
103
103
|
p result
|
104
104
|
rescue SmoochApi::ApiError => e
|
105
105
|
puts "Exception when calling MenuApi->get_menu: #{e}"
|
data/docs/ServiceAccountApi.md
CHANGED
@@ -199,7 +199,7 @@ nil (empty response body)
|
|
199
199
|
|
200
200
|
|
201
201
|
# **delete_service_account**
|
202
|
-
> delete_service_account(serviceAccountId
|
202
|
+
> delete_service_account(serviceAccountId)
|
203
203
|
|
204
204
|
|
205
205
|
|
@@ -229,7 +229,7 @@ serviceAccountId = "serviceAccountId_example" # String | Identifies the service
|
|
229
229
|
|
230
230
|
|
231
231
|
begin
|
232
|
-
api_instance.delete_service_account(serviceAccountId
|
232
|
+
api_instance.delete_service_account(serviceAccountId)
|
233
233
|
rescue SmoochApi::ApiError => e
|
234
234
|
puts "Exception when calling ServiceAccountApi->delete_service_account: #{e}"
|
235
235
|
end
|
@@ -381,7 +381,7 @@ Name | Type | Description | Notes
|
|
381
381
|
|
382
382
|
|
383
383
|
# **get_service_account**
|
384
|
-
> ServiceAccountResponse get_service_account(serviceAccountId
|
384
|
+
> ServiceAccountResponse get_service_account(serviceAccountId)
|
385
385
|
|
386
386
|
|
387
387
|
|
@@ -411,7 +411,7 @@ serviceAccountId = "serviceAccountId_example" # String | Identifies the service
|
|
411
411
|
|
412
412
|
|
413
413
|
begin
|
414
|
-
result = api_instance.get_service_account(serviceAccountId
|
414
|
+
result = api_instance.get_service_account(serviceAccountId)
|
415
415
|
p result
|
416
416
|
rescue SmoochApi::ApiError => e
|
417
417
|
puts "Exception when calling ServiceAccountApi->get_service_account: #{e}"
|
@@ -440,7 +440,7 @@ Name | Type | Description | Notes
|
|
440
440
|
|
441
441
|
|
442
442
|
# **list_secret_keys**
|
443
|
-
> ListSecretKeysResponse list_secret_keys(serviceAccountId
|
443
|
+
> ListSecretKeysResponse list_secret_keys(serviceAccountId)
|
444
444
|
|
445
445
|
|
446
446
|
|
@@ -470,7 +470,7 @@ serviceAccountId = "serviceAccountId_example" # String | Identifies the service
|
|
470
470
|
|
471
471
|
|
472
472
|
begin
|
473
|
-
result = api_instance.list_secret_keys(serviceAccountId
|
473
|
+
result = api_instance.list_secret_keys(serviceAccountId)
|
474
474
|
p result
|
475
475
|
rescue SmoochApi::ApiError => e
|
476
476
|
puts "Exception when calling ServiceAccountApi->list_secret_keys: #{e}"
|
@@ -499,7 +499,7 @@ Name | Type | Description | Notes
|
|
499
499
|
|
500
500
|
|
501
501
|
# **list_service_accounts**
|
502
|
-
> ListServiceAccountsResponse list_service_accounts(
|
502
|
+
> ListServiceAccountsResponse list_service_accounts(limit, offset)
|
503
503
|
|
504
504
|
|
505
505
|
|
@@ -531,7 +531,7 @@ opts = {
|
|
531
531
|
}
|
532
532
|
|
533
533
|
begin
|
534
|
-
result = api_instance.list_service_accounts(
|
534
|
+
result = api_instance.list_service_accounts(limit, offset)
|
535
535
|
p result
|
536
536
|
rescue SmoochApi::ApiError => e
|
537
537
|
puts "Exception when calling ServiceAccountApi->list_service_accounts: #{e}"
|
data/docs/TemplateApi.md
CHANGED
@@ -197,7 +197,7 @@ Name | Type | Description | Notes
|
|
197
197
|
|
198
198
|
|
199
199
|
# **list_templates**
|
200
|
-
> ListTemplatesResponse list_templates(appId, ,
|
200
|
+
> ListTemplatesResponse list_templates(appId, limit, offset)
|
201
201
|
|
202
202
|
|
203
203
|
|
@@ -231,7 +231,7 @@ opts = {
|
|
231
231
|
}
|
232
232
|
|
233
233
|
begin
|
234
|
-
result = api_instance.list_templates(appId, ,
|
234
|
+
result = api_instance.list_templates(appId, limit, offset)
|
235
235
|
p result
|
236
236
|
rescue SmoochApi::ApiError => e
|
237
237
|
puts "Exception when calling TemplateApi->list_templates: #{e}"
|
@@ -262,7 +262,7 @@ Name | Type | Description | Notes
|
|
262
262
|
|
263
263
|
|
264
264
|
# **update_template**
|
265
|
-
> TemplateResponse update_template(appId,
|
265
|
+
> TemplateResponse update_template(appId, templateId, templateUpdateBody)
|
266
266
|
|
267
267
|
|
268
268
|
|
@@ -296,7 +296,7 @@ templateUpdateBody = SmoochApi::TemplateUpdate.new # TemplateUpdate | Body for a
|
|
296
296
|
|
297
297
|
|
298
298
|
begin
|
299
|
-
result = api_instance.update_template(appId,
|
299
|
+
result = api_instance.update_template(appId, templateId, templateUpdateBody)
|
300
300
|
p result
|
301
301
|
rescue SmoochApi::ApiError => e
|
302
302
|
puts "Exception when calling TemplateApi->update_template: #{e}"
|
data/docs/WebhookApi.md
CHANGED
@@ -197,7 +197,7 @@ Name | Type | Description | Notes
|
|
197
197
|
|
198
198
|
|
199
199
|
# **list_webhooks**
|
200
|
-
> ListWebhooksResponse list_webhooks(appId
|
200
|
+
> ListWebhooksResponse list_webhooks(appId)
|
201
201
|
|
202
202
|
|
203
203
|
|
@@ -227,7 +227,7 @@ appId = "appId_example" # String | Identifies the app.
|
|
227
227
|
|
228
228
|
|
229
229
|
begin
|
230
|
-
result = api_instance.list_webhooks(appId
|
230
|
+
result = api_instance.list_webhooks(appId)
|
231
231
|
p result
|
232
232
|
rescue SmoochApi::ApiError => e
|
233
233
|
puts "Exception when calling WebhookApi->list_webhooks: #{e}"
|
@@ -256,7 +256,7 @@ Name | Type | Description | Notes
|
|
256
256
|
|
257
257
|
|
258
258
|
# **update_webhook**
|
259
|
-
> WebhookResponse update_webhook(appId,
|
259
|
+
> WebhookResponse update_webhook(appId, webhookId, webhookUpdateBody)
|
260
260
|
|
261
261
|
|
262
262
|
|
@@ -290,7 +290,7 @@ webhookUpdateBody = SmoochApi::WebhookUpdate.new # WebhookUpdate | Body for an u
|
|
290
290
|
|
291
291
|
|
292
292
|
begin
|
293
|
-
result = api_instance.update_webhook(appId,
|
293
|
+
result = api_instance.update_webhook(appId, webhookId, webhookUpdateBody)
|
294
294
|
p result
|
295
295
|
rescue SmoochApi::ApiError => e
|
296
296
|
puts "Exception when calling WebhookApi->update_webhook: #{e}"
|
data/lib/smooch-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smooch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.16.
|
4
|
+
version: 5.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Smooch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|