purecloud-platform-client-v2 135.0.0 → 137.0.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 (73) hide show
  1. package/README.md +32 -29
  2. package/dist/node/purecloud-platform-client-v2.js +9882 -9496
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9882 -9496
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9882 -9496
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +9892 -9507
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +5771 -301
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +573 -524
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +810 -810
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +270 -270
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +317 -315
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +768 -568
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +404 -279
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +541 -537
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
  73. package/src/purecloud-platform-client-v2/index.js +145 -149
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 135.0.0
8
+ * @version 137.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -34,13 +34,13 @@ class IntegrationsApi {
34
34
  return this.apiClient.callApi(
35
35
  '/api/v2/integrations/{integrationId}',
36
36
  'DELETE',
37
- { 'integrationId': integrationId },
38
- { },
39
- { },
40
- { },
37
+ { 'integrationId': integrationId },
38
+ { },
39
+ { },
40
+ { },
41
41
  null,
42
42
  ['PureCloud OAuth'],
43
- ['application/json'],
43
+ ['application/json'],
44
44
  ['application/json']
45
45
  );
46
46
  }
@@ -59,13 +59,13 @@ class IntegrationsApi {
59
59
  return this.apiClient.callApi(
60
60
  '/api/v2/integrations/actions/{actionId}',
61
61
  'DELETE',
62
- { 'actionId': actionId },
63
- { },
64
- { },
65
- { },
62
+ { 'actionId': actionId },
63
+ { },
64
+ { },
65
+ { },
66
66
  null,
67
67
  ['PureCloud OAuth'],
68
- ['application/json'],
68
+ ['application/json'],
69
69
  ['application/json']
70
70
  );
71
71
  }
@@ -84,13 +84,13 @@ class IntegrationsApi {
84
84
  return this.apiClient.callApi(
85
85
  '/api/v2/integrations/actions/{actionId}/draft',
86
86
  'DELETE',
87
- { 'actionId': actionId },
88
- { },
89
- { },
90
- { },
87
+ { 'actionId': actionId },
88
+ { },
89
+ { },
90
+ { },
91
91
  null,
92
92
  ['PureCloud OAuth'],
93
- ['application/json'],
93
+ ['application/json'],
94
94
  ['application/json']
95
95
  );
96
96
  }
@@ -109,13 +109,13 @@ class IntegrationsApi {
109
109
  return this.apiClient.callApi(
110
110
  '/api/v2/integrations/credentials/{credentialId}',
111
111
  'DELETE',
112
- { 'credentialId': credentialId },
113
- { },
114
- { },
115
- { },
112
+ { 'credentialId': credentialId },
113
+ { },
114
+ { },
115
+ { },
116
116
  null,
117
117
  ['PureCloud OAuth'],
118
- ['application/json'],
118
+ ['application/json'],
119
119
  ['application/json']
120
120
  );
121
121
  }
@@ -143,13 +143,13 @@ class IntegrationsApi {
143
143
  return this.apiClient.callApi(
144
144
  '/api/v2/integrations/{integrationId}',
145
145
  'GET',
146
- { 'integrationId': integrationId },
147
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
148
- { },
149
- { },
146
+ { 'integrationId': integrationId },
147
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
148
+ { },
149
+ { },
150
150
  null,
151
151
  ['PureCloud OAuth'],
152
- ['application/json'],
152
+ ['application/json'],
153
153
  ['application/json']
154
154
  );
155
155
  }
@@ -168,13 +168,13 @@ class IntegrationsApi {
168
168
  return this.apiClient.callApi(
169
169
  '/api/v2/integrations/{integrationId}/config/current',
170
170
  'GET',
171
- { 'integrationId': integrationId },
172
- { },
173
- { },
174
- { },
171
+ { 'integrationId': integrationId },
172
+ { },
173
+ { },
174
+ { },
175
175
  null,
176
176
  ['PureCloud OAuth'],
177
- ['application/json'],
177
+ ['application/json'],
178
178
  ['application/json']
179
179
  );
180
180
  }
@@ -197,13 +197,13 @@ class IntegrationsApi {
197
197
  return this.apiClient.callApi(
198
198
  '/api/v2/integrations',
199
199
  'GET',
200
- { },
201
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
202
- { },
203
- { },
200
+ { },
201
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
202
+ { },
203
+ { },
204
204
  null,
205
205
  ['PureCloud OAuth'],
206
- ['application/json'],
206
+ ['application/json'],
207
207
  ['application/json']
208
208
  );
209
209
  }
@@ -214,7 +214,7 @@ class IntegrationsApi {
214
214
  * @param {String} actionId actionId
215
215
  * @param {Object} opts Optional parameters
216
216
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
217
- * @param {Boolean} opts.includeConfig Return config in response. (default to false)
217
+ * @param {Object} opts.includeConfig Return config in response. (default to false)
218
218
  */
219
219
  getIntegrationsAction(actionId, opts) {
220
220
  opts = opts || {};
@@ -227,13 +227,13 @@ class IntegrationsApi {
227
227
  return this.apiClient.callApi(
228
228
  '/api/v2/integrations/actions/{actionId}',
229
229
  'GET',
230
- { 'actionId': actionId },
231
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
232
- { },
233
- { },
230
+ { 'actionId': actionId },
231
+ { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
232
+ { },
233
+ { },
234
234
  null,
235
235
  ['PureCloud OAuth'],
236
- ['application/json'],
236
+ ['application/json'],
237
237
  ['application/json']
238
238
  );
239
239
  }
@@ -244,7 +244,7 @@ class IntegrationsApi {
244
244
  * @param {String} actionId actionId
245
245
  * @param {Object} opts Optional parameters
246
246
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
247
- * @param {Boolean} opts.includeConfig Return config in response. (default to false)
247
+ * @param {Object} opts.includeConfig Return config in response. (default to false)
248
248
  */
249
249
  getIntegrationsActionDraft(actionId, opts) {
250
250
  opts = opts || {};
@@ -257,13 +257,13 @@ class IntegrationsApi {
257
257
  return this.apiClient.callApi(
258
258
  '/api/v2/integrations/actions/{actionId}/draft',
259
259
  'GET',
260
- { 'actionId': actionId },
261
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
262
- { },
263
- { },
260
+ { 'actionId': actionId },
261
+ { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
262
+ { },
263
+ { },
264
264
  null,
265
265
  ['PureCloud OAuth'],
266
- ['application/json'],
266
+ ['application/json'],
267
267
  ['application/json']
268
268
  );
269
269
  }
@@ -287,13 +287,13 @@ class IntegrationsApi {
287
287
  return this.apiClient.callApi(
288
288
  '/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}',
289
289
  'GET',
290
- { 'actionId': actionId,'fileName': fileName },
291
- { },
292
- { },
293
- { },
290
+ { 'actionId': actionId,'fileName': fileName },
291
+ { },
292
+ { },
293
+ { },
294
294
  null,
295
295
  ['PureCloud OAuth'],
296
- ['application/json'],
296
+ ['application/json'],
297
297
  ['application/json']
298
298
  );
299
299
  }
@@ -317,13 +317,13 @@ class IntegrationsApi {
317
317
  return this.apiClient.callApi(
318
318
  '/api/v2/integrations/actions/{actionId}/draft/templates/{fileName}',
319
319
  'GET',
320
- { 'actionId': actionId,'fileName': fileName },
321
- { },
322
- { },
323
- { },
320
+ { 'actionId': actionId,'fileName': fileName },
321
+ { },
322
+ { },
323
+ { },
324
324
  null,
325
325
  ['PureCloud OAuth'],
326
- ['application/json'],
326
+ ['application/json'],
327
327
  ['text/plain']
328
328
  );
329
329
  }
@@ -342,13 +342,13 @@ class IntegrationsApi {
342
342
  return this.apiClient.callApi(
343
343
  '/api/v2/integrations/actions/{actionId}/draft/validation',
344
344
  'GET',
345
- { 'actionId': actionId },
346
- { },
347
- { },
348
- { },
345
+ { 'actionId': actionId },
346
+ { },
347
+ { },
348
+ { },
349
349
  null,
350
350
  ['PureCloud OAuth'],
351
- ['application/json'],
351
+ ['application/json'],
352
352
  ['application/json']
353
353
  );
354
354
  }
@@ -372,13 +372,13 @@ class IntegrationsApi {
372
372
  return this.apiClient.callApi(
373
373
  '/api/v2/integrations/actions/{actionId}/schemas/{fileName}',
374
374
  'GET',
375
- { 'actionId': actionId,'fileName': fileName },
376
- { },
377
- { },
378
- { },
375
+ { 'actionId': actionId,'fileName': fileName },
376
+ { },
377
+ { },
378
+ { },
379
379
  null,
380
380
  ['PureCloud OAuth'],
381
- ['application/json'],
381
+ ['application/json'],
382
382
  ['application/json']
383
383
  );
384
384
  }
@@ -402,13 +402,13 @@ class IntegrationsApi {
402
402
  return this.apiClient.callApi(
403
403
  '/api/v2/integrations/actions/{actionId}/templates/{fileName}',
404
404
  'GET',
405
- { 'actionId': actionId,'fileName': fileName },
406
- { },
407
- { },
408
- { },
405
+ { 'actionId': actionId,'fileName': fileName },
406
+ { },
407
+ { },
408
+ { },
409
409
  null,
410
410
  ['PureCloud OAuth'],
411
- ['application/json'],
411
+ ['application/json'],
412
412
  ['text/plain']
413
413
  );
414
414
  }
@@ -422,10 +422,11 @@ class IntegrationsApi {
422
422
  * @param {String} opts.nextPage next page token
423
423
  * @param {String} opts.previousPage Previous page token
424
424
  * @param {String} opts.sortBy Root level field name to sort on.
425
- * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
426
- * @param {String} opts.category Filter by category name
427
- * @param {String} opts.name Filter by action name. Provide full or just the first part of name.
428
- * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
425
+ * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
426
+ * @param {String} opts.category Filter by category name.
427
+ * @param {String} opts.name Filter by partial or complete action name.
428
+ * @param {String} opts.ids Filter by action Id. Can be a comma separated list to request multiple actions. Limit of 50 Ids.
429
+ * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
429
430
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
430
431
  */
431
432
  getIntegrationsActions(opts) {
@@ -435,13 +436,13 @@ class IntegrationsApi {
435
436
  return this.apiClient.callApi(
436
437
  '/api/v2/integrations/actions',
437
438
  'GET',
438
- { },
439
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
440
- { },
441
- { },
439
+ { },
440
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'ids': opts['ids'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
441
+ { },
442
+ { },
442
443
  null,
443
444
  ['PureCloud OAuth'],
444
- ['application/json'],
445
+ ['application/json'],
445
446
  ['application/json']
446
447
  );
447
448
  }
@@ -454,8 +455,8 @@ class IntegrationsApi {
454
455
  * @param {Number} opts.pageNumber The page number requested (default to 1)
455
456
  * @param {String} opts.nextPage next page token
456
457
  * @param {String} opts.previousPage Previous page token
457
- * @param {String} opts.sortBy Root level field name to sort on. Only 'name' is supported on this endpoint.
458
- * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
458
+ * @param {String} opts.sortBy Root level field name to sort on. Only 'name' is supported on this endpoint.
459
+ * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
459
460
  * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
460
461
  */
461
462
  getIntegrationsActionsCategories(opts) {
@@ -465,13 +466,13 @@ class IntegrationsApi {
465
466
  return this.apiClient.callApi(
466
467
  '/api/v2/integrations/actions/categories',
467
468
  'GET',
468
- { },
469
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'secure': opts['secure'] },
470
- { },
471
- { },
469
+ { },
470
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'secure': opts['secure'] },
471
+ { },
472
+ { },
472
473
  null,
473
474
  ['PureCloud OAuth'],
474
- ['application/json'],
475
+ ['application/json'],
475
476
  ['application/json']
476
477
  );
477
478
  }
@@ -485,10 +486,11 @@ class IntegrationsApi {
485
486
  * @param {String} opts.nextPage next page token
486
487
  * @param {String} opts.previousPage Previous page token
487
488
  * @param {String} opts.sortBy Root level field name to sort on.
488
- * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
489
- * @param {String} opts.category Filter by category name
490
- * @param {String} opts.name Filter by action name. Provide full or just the first part of name.
491
- * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
489
+ * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
490
+ * @param {String} opts.category Filter by category name.
491
+ * @param {String} opts.name Filter by partial or complete action name.
492
+ * @param {String} opts.ids Filter by action Id. Can be a comma separated list to request multiple actions. Limit of 50 Ids.
493
+ * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
492
494
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
493
495
  */
494
496
  getIntegrationsActionsDrafts(opts) {
@@ -498,13 +500,13 @@ class IntegrationsApi {
498
500
  return this.apiClient.callApi(
499
501
  '/api/v2/integrations/actions/drafts',
500
502
  'GET',
501
- { },
502
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
503
- { },
504
- { },
503
+ { },
504
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'category': opts['category'],'name': opts['name'],'ids': opts['ids'],'secure': opts['secure'],'includeAuthActions': opts['includeAuthActions'] },
505
+ { },
506
+ { },
505
507
  null,
506
508
  ['PureCloud OAuth'],
507
- ['application/json'],
509
+ ['application/json'],
508
510
  ['application/json']
509
511
  );
510
512
  }
@@ -532,13 +534,13 @@ class IntegrationsApi {
532
534
  return this.apiClient.callApi(
533
535
  '/api/v2/integrations/botconnector/{integrationId}/bots/{botId}',
534
536
  'GET',
535
- { 'integrationId': integrationId,'botId': botId },
536
- { 'version': opts['version'] },
537
- { },
538
- { },
537
+ { 'integrationId': integrationId,'botId': botId },
538
+ { 'version': opts['version'] },
539
+ { },
540
+ { },
539
541
  null,
540
542
  ['PureCloud OAuth'],
541
- ['application/json'],
543
+ ['application/json'],
542
544
  ['application/json']
543
545
  );
544
546
  }
@@ -567,13 +569,13 @@ class IntegrationsApi {
567
569
  return this.apiClient.callApi(
568
570
  '/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions',
569
571
  'GET',
570
- { 'integrationId': integrationId,'botId': botId },
571
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
572
- { },
573
- { },
572
+ { 'integrationId': integrationId,'botId': botId },
573
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
574
+ { },
575
+ { },
574
576
  null,
575
577
  ['PureCloud OAuth'],
576
- ['application/json'],
578
+ ['application/json'],
577
579
  ['application/json']
578
580
  );
579
581
  }
@@ -592,13 +594,13 @@ class IntegrationsApi {
592
594
  return this.apiClient.callApi(
593
595
  '/api/v2/integrations/botconnector/{integrationId}/bots',
594
596
  'GET',
595
- { 'integrationId': integrationId },
596
- { },
597
- { },
598
- { },
597
+ { 'integrationId': integrationId },
598
+ { },
599
+ { },
600
+ { },
599
601
  null,
600
602
  ['PureCloud OAuth'],
601
- ['application/json'],
603
+ ['application/json'],
602
604
  ['application/json']
603
605
  );
604
606
  }
@@ -622,13 +624,13 @@ class IntegrationsApi {
622
624
  return this.apiClient.callApi(
623
625
  '/api/v2/integrations/botconnector/{integrationId}/bots/summaries',
624
626
  'GET',
625
- { 'integrationId': integrationId },
626
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
627
- { },
628
- { },
627
+ { 'integrationId': integrationId },
628
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
629
+ { },
630
+ { },
629
631
  null,
630
632
  ['PureCloud OAuth'],
631
- ['application/json'],
633
+ ['application/json'],
632
634
  ['application/json']
633
635
  );
634
636
  }
@@ -651,13 +653,13 @@ class IntegrationsApi {
651
653
  return this.apiClient.callApi(
652
654
  '/api/v2/integrations/clientapps',
653
655
  'GET',
654
- { },
655
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
656
- { },
657
- { },
656
+ { },
657
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
658
+ { },
659
+ { },
658
660
  null,
659
661
  ['PureCloud OAuth'],
660
- ['application/json'],
662
+ ['application/json'],
661
663
  ['application/json']
662
664
  );
663
665
  }
@@ -680,13 +682,13 @@ class IntegrationsApi {
680
682
  return this.apiClient.callApi(
681
683
  '/api/v2/integrations/clientapps/unifiedcommunications',
682
684
  'GET',
683
- { },
684
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
685
- { },
686
- { },
685
+ { },
686
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
687
+ { },
688
+ { },
687
689
  null,
688
690
  ['PureCloud OAuth'],
689
- ['application/json'],
691
+ ['application/json'],
690
692
  ['application/json']
691
693
  );
692
694
  }
@@ -705,13 +707,13 @@ class IntegrationsApi {
705
707
  return this.apiClient.callApi(
706
708
  '/api/v2/integrations/credentials/{credentialId}',
707
709
  'GET',
708
- { 'credentialId': credentialId },
709
- { },
710
- { },
711
- { },
710
+ { 'credentialId': credentialId },
711
+ { },
712
+ { },
713
+ { },
712
714
  null,
713
715
  ['PureCloud OAuth'],
714
- ['application/json'],
716
+ ['application/json'],
715
717
  ['application/json']
716
718
  );
717
719
  }
@@ -730,13 +732,13 @@ class IntegrationsApi {
730
732
  return this.apiClient.callApi(
731
733
  '/api/v2/integrations/credentials',
732
734
  'GET',
733
- { },
734
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
735
- { },
736
- { },
735
+ { },
736
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
737
+ { },
738
+ { },
737
739
  null,
738
740
  ['PureCloud OAuth'],
739
- ['application/json'],
741
+ ['application/json'],
740
742
  ['application/json']
741
743
  );
742
744
  }
@@ -750,13 +752,13 @@ class IntegrationsApi {
750
752
  return this.apiClient.callApi(
751
753
  '/api/v2/integrations/credentials/types',
752
754
  'GET',
753
- { },
754
- { },
755
- { },
756
- { },
755
+ { },
756
+ { },
757
+ { },
758
+ { },
757
759
  null,
758
760
  ['PureCloud OAuth'],
759
- ['application/json'],
761
+ ['application/json'],
760
762
  ['application/json']
761
763
  );
762
764
  }
@@ -778,13 +780,13 @@ class IntegrationsApi {
778
780
  return this.apiClient.callApi(
779
781
  '/api/v2/integrations/eventlog',
780
782
  'GET',
781
- { },
782
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
783
- { },
784
- { },
783
+ { },
784
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
785
+ { },
786
+ { },
785
787
  null,
786
788
  ['PureCloud OAuth'],
787
- ['application/json'],
789
+ ['application/json'],
788
790
  ['application/json']
789
791
  );
790
792
  }
@@ -803,13 +805,13 @@ class IntegrationsApi {
803
805
  return this.apiClient.callApi(
804
806
  '/api/v2/integrations/eventlog/{eventId}',
805
807
  'GET',
806
- { 'eventId': eventId },
807
- { },
808
- { },
809
- { },
808
+ { 'eventId': eventId },
809
+ { },
810
+ { },
811
+ { },
810
812
  null,
811
813
  ['PureCloud OAuth'],
812
- ['application/json'],
814
+ ['application/json'],
813
815
  ['application/json']
814
816
  );
815
817
  }
@@ -828,19 +830,19 @@ class IntegrationsApi {
828
830
  return this.apiClient.callApi(
829
831
  '/api/v2/integrations/speech/dialogflow/agents/{agentId}',
830
832
  'GET',
831
- { 'agentId': agentId },
832
- { },
833
- { },
834
- { },
833
+ { 'agentId': agentId },
834
+ { },
835
+ { },
836
+ { },
835
837
  null,
836
838
  ['PureCloud OAuth'],
837
- ['application/json'],
839
+ ['application/json'],
838
840
  ['application/json']
839
841
  );
840
842
  }
841
843
 
842
844
  /**
843
- * Get a list of Dialogflow agents in the customers' Google accounts
845
+ * Get a list of Dialogflow agents in the customers' Google accounts
844
846
  *
845
847
  * @param {Object} opts Optional parameters
846
848
  * @param {Number} opts.pageNumber Page number (default to 1)
@@ -854,13 +856,13 @@ class IntegrationsApi {
854
856
  return this.apiClient.callApi(
855
857
  '/api/v2/integrations/speech/dialogflow/agents',
856
858
  'GET',
857
- { },
858
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
859
- { },
860
- { },
859
+ { },
860
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
861
+ { },
862
+ { },
861
863
  null,
862
864
  ['PureCloud OAuth'],
863
- ['application/json'],
865
+ ['application/json'],
864
866
  ['application/json']
865
867
  );
866
868
  }
@@ -879,19 +881,19 @@ class IntegrationsApi {
879
881
  return this.apiClient.callApi(
880
882
  '/api/v2/integrations/speech/lex/bot/alias/{aliasId}',
881
883
  'GET',
882
- { 'aliasId': aliasId },
883
- { },
884
- { },
885
- { },
884
+ { 'aliasId': aliasId },
885
+ { },
886
+ { },
887
+ { },
886
888
  null,
887
889
  ['PureCloud OAuth'],
888
- ['application/json'],
890
+ ['application/json'],
889
891
  ['application/json']
890
892
  );
891
893
  }
892
894
 
893
895
  /**
894
- * Get a list of aliases for a bot in the customer's AWS accounts
896
+ * Get a list of aliases for a bot in the customer's AWS accounts
895
897
  *
896
898
  * @param {String} botId The bot ID
897
899
  * @param {Object} opts Optional parameters
@@ -911,19 +913,19 @@ class IntegrationsApi {
911
913
  return this.apiClient.callApi(
912
914
  '/api/v2/integrations/speech/lex/bot/{botId}/aliases',
913
915
  'GET',
914
- { 'botId': botId },
915
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
916
- { },
917
- { },
916
+ { 'botId': botId },
917
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
918
+ { },
919
+ { },
918
920
  null,
919
921
  ['PureCloud OAuth'],
920
- ['application/json'],
922
+ ['application/json'],
921
923
  ['application/json']
922
924
  );
923
925
  }
924
926
 
925
927
  /**
926
- * Get a list of Lex bots in the customers' AWS accounts
928
+ * Get a list of Lex bots in the customers' AWS accounts
927
929
  *
928
930
  * @param {Object} opts Optional parameters
929
931
  * @param {Number} opts.pageNumber Page number (default to 1)
@@ -937,13 +939,13 @@ class IntegrationsApi {
937
939
  return this.apiClient.callApi(
938
940
  '/api/v2/integrations/speech/lex/bots',
939
941
  'GET',
940
- { },
941
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
942
- { },
943
- { },
942
+ { },
943
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
944
+ { },
945
+ { },
944
946
  null,
945
947
  ['PureCloud OAuth'],
946
- ['application/json'],
948
+ ['application/json'],
947
949
  ['application/json']
948
950
  );
949
951
  }
@@ -966,13 +968,13 @@ class IntegrationsApi {
966
968
  return this.apiClient.callApi(
967
969
  '/api/v2/integrations/speech/tts/engines/{engineId}',
968
970
  'GET',
969
- { 'engineId': engineId },
970
- { 'includeVoices': opts['includeVoices'] },
971
- { },
972
- { },
971
+ { 'engineId': engineId },
972
+ { 'includeVoices': opts['includeVoices'] },
973
+ { },
974
+ { },
973
975
  null,
974
976
  ['PureCloud OAuth'],
975
- ['application/json'],
977
+ ['application/json'],
976
978
  ['application/json']
977
979
  );
978
980
  }
@@ -996,13 +998,13 @@ class IntegrationsApi {
996
998
  return this.apiClient.callApi(
997
999
  '/api/v2/integrations/speech/tts/engines/{engineId}/voices/{voiceId}',
998
1000
  'GET',
999
- { 'engineId': engineId,'voiceId': voiceId },
1000
- { },
1001
- { },
1002
- { },
1001
+ { 'engineId': engineId,'voiceId': voiceId },
1002
+ { },
1003
+ { },
1004
+ { },
1003
1005
  null,
1004
1006
  ['PureCloud OAuth'],
1005
- ['application/json'],
1007
+ ['application/json'],
1006
1008
  ['application/json']
1007
1009
  );
1008
1010
  }
@@ -1026,13 +1028,13 @@ class IntegrationsApi {
1026
1028
  return this.apiClient.callApi(
1027
1029
  '/api/v2/integrations/speech/tts/engines/{engineId}/voices',
1028
1030
  'GET',
1029
- { 'engineId': engineId },
1030
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1031
- { },
1032
- { },
1031
+ { 'engineId': engineId },
1032
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1033
+ { },
1034
+ { },
1033
1035
  null,
1034
1036
  ['PureCloud OAuth'],
1035
- ['application/json'],
1037
+ ['application/json'],
1036
1038
  ['application/json']
1037
1039
  );
1038
1040
  }
@@ -1054,13 +1056,13 @@ class IntegrationsApi {
1054
1056
  return this.apiClient.callApi(
1055
1057
  '/api/v2/integrations/speech/tts/engines',
1056
1058
  'GET',
1057
- { },
1058
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeVoices': opts['includeVoices'],'name': opts['name'],'language': opts['language'] },
1059
- { },
1060
- { },
1059
+ { },
1060
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeVoices': opts['includeVoices'],'name': opts['name'],'language': opts['language'] },
1061
+ { },
1062
+ { },
1061
1063
  null,
1062
1064
  ['PureCloud OAuth'],
1063
- ['application/json'],
1065
+ ['application/json'],
1064
1066
  ['application/json']
1065
1067
  );
1066
1068
  }
@@ -1074,13 +1076,13 @@ class IntegrationsApi {
1074
1076
  return this.apiClient.callApi(
1075
1077
  '/api/v2/integrations/speech/tts/settings',
1076
1078
  'GET',
1077
- { },
1078
- { },
1079
- { },
1080
- { },
1079
+ { },
1080
+ { },
1081
+ { },
1082
+ { },
1081
1083
  null,
1082
1084
  ['PureCloud OAuth'],
1083
- ['application/json'],
1085
+ ['application/json'],
1084
1086
  ['application/json']
1085
1087
  );
1086
1088
  }
@@ -1099,13 +1101,13 @@ class IntegrationsApi {
1099
1101
  return this.apiClient.callApi(
1100
1102
  '/api/v2/integrations/types/{typeId}',
1101
1103
  'GET',
1102
- { 'typeId': typeId },
1103
- { },
1104
- { },
1105
- { },
1104
+ { 'typeId': typeId },
1105
+ { },
1106
+ { },
1107
+ { },
1106
1108
  null,
1107
1109
  ['PureCloud OAuth'],
1108
- ['application/json'],
1110
+ ['application/json'],
1109
1111
  ['application/json']
1110
1112
  );
1111
1113
  }
@@ -1129,13 +1131,13 @@ class IntegrationsApi {
1129
1131
  return this.apiClient.callApi(
1130
1132
  '/api/v2/integrations/types/{typeId}/configschemas/{configType}',
1131
1133
  'GET',
1132
- { 'typeId': typeId,'configType': configType },
1133
- { },
1134
- { },
1135
- { },
1134
+ { 'typeId': typeId,'configType': configType },
1135
+ { },
1136
+ { },
1137
+ { },
1136
1138
  null,
1137
1139
  ['PureCloud OAuth'],
1138
- ['application/json'],
1140
+ ['application/json'],
1139
1141
  ['application/json']
1140
1142
  );
1141
1143
  }
@@ -1158,13 +1160,13 @@ class IntegrationsApi {
1158
1160
  return this.apiClient.callApi(
1159
1161
  '/api/v2/integrations/types',
1160
1162
  'GET',
1161
- { },
1162
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
1163
- { },
1164
- { },
1163
+ { },
1164
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
1165
+ { },
1166
+ { },
1165
1167
  null,
1166
1168
  ['PureCloud OAuth'],
1167
- ['application/json'],
1169
+ ['application/json'],
1168
1170
  ['application/json']
1169
1171
  );
1170
1172
  }
@@ -1188,13 +1190,13 @@ class IntegrationsApi {
1188
1190
  return this.apiClient.callApi(
1189
1191
  '/api/v2/integrations/userapps',
1190
1192
  'GET',
1191
- { },
1192
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'appHost': opts['appHost'] },
1193
- { },
1194
- { },
1193
+ { },
1194
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'appHost': opts['appHost'] },
1195
+ { },
1196
+ { },
1195
1197
  null,
1196
1198
  ['PureCloud OAuth'],
1197
- ['application/json'],
1199
+ ['application/json'],
1198
1200
  ['application/json']
1199
1201
  );
1200
1202
  }
@@ -1204,13 +1206,13 @@ class IntegrationsApi {
1204
1206
  *
1205
1207
  * @param {String} integrationId Integration Id
1206
1208
  * @param {Object} opts Optional parameters
1207
- * @param {Object} opts.body Integration Update
1208
1209
  * @param {Number} opts.pageSize The total page size requested (default to 25)
1209
1210
  * @param {Number} opts.pageNumber The page number requested (default to 1)
1210
1211
  * @param {String} opts.sortBy variable name requested to sort by
1211
1212
  * @param {Array.<String>} opts.expand variable name requested by expand list
1212
1213
  * @param {String} opts.nextPage next page token
1213
1214
  * @param {String} opts.previousPage Previous page token
1215
+ * @param {Object} opts.body Integration Update
1214
1216
  */
1215
1217
  patchIntegration(integrationId, opts) {
1216
1218
  opts = opts || {};
@@ -1223,13 +1225,13 @@ class IntegrationsApi {
1223
1225
  return this.apiClient.callApi(
1224
1226
  '/api/v2/integrations/{integrationId}',
1225
1227
  'PATCH',
1226
- { 'integrationId': integrationId },
1227
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
1228
- { },
1229
- { },
1228
+ { 'integrationId': integrationId },
1229
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
1230
+ { },
1231
+ { },
1230
1232
  opts['body'],
1231
1233
  ['PureCloud OAuth'],
1232
- ['application/json'],
1234
+ ['application/json'],
1233
1235
  ['application/json']
1234
1236
  );
1235
1237
  }
@@ -1253,13 +1255,13 @@ class IntegrationsApi {
1253
1255
  return this.apiClient.callApi(
1254
1256
  '/api/v2/integrations/actions/{actionId}',
1255
1257
  'PATCH',
1256
- { 'actionId': actionId },
1257
- { },
1258
- { },
1259
- { },
1258
+ { 'actionId': actionId },
1259
+ { },
1260
+ { },
1261
+ { },
1260
1262
  body,
1261
1263
  ['PureCloud OAuth'],
1262
- ['application/json'],
1264
+ ['application/json'],
1263
1265
  ['application/json']
1264
1266
  );
1265
1267
  }
@@ -1283,13 +1285,13 @@ class IntegrationsApi {
1283
1285
  return this.apiClient.callApi(
1284
1286
  '/api/v2/integrations/actions/{actionId}/draft',
1285
1287
  'PATCH',
1286
- { 'actionId': actionId },
1287
- { },
1288
- { },
1289
- { },
1288
+ { 'actionId': actionId },
1289
+ { },
1290
+ { },
1291
+ { },
1290
1292
  body,
1291
1293
  ['PureCloud OAuth'],
1292
- ['application/json'],
1294
+ ['application/json'],
1293
1295
  ['application/json']
1294
1296
  );
1295
1297
  }
@@ -1307,13 +1309,13 @@ class IntegrationsApi {
1307
1309
  return this.apiClient.callApi(
1308
1310
  '/api/v2/integrations',
1309
1311
  'POST',
1310
- { },
1311
- { },
1312
- { },
1313
- { },
1312
+ { },
1313
+ { },
1314
+ { },
1315
+ { },
1314
1316
  opts['body'],
1315
1317
  ['PureCloud OAuth'],
1316
- ['application/json'],
1318
+ ['application/json'],
1317
1319
  ['application/json']
1318
1320
  );
1319
1321
  }
@@ -1332,13 +1334,13 @@ class IntegrationsApi {
1332
1334
  return this.apiClient.callApi(
1333
1335
  '/api/v2/integrations/actions/{actionId}/draft',
1334
1336
  'POST',
1335
- { 'actionId': actionId },
1336
- { },
1337
- { },
1338
- { },
1337
+ { 'actionId': actionId },
1338
+ { },
1339
+ { },
1340
+ { },
1339
1341
  null,
1340
1342
  ['PureCloud OAuth'],
1341
- ['application/json'],
1343
+ ['application/json'],
1342
1344
  ['application/json']
1343
1345
  );
1344
1346
  }
@@ -1362,13 +1364,13 @@ class IntegrationsApi {
1362
1364
  return this.apiClient.callApi(
1363
1365
  '/api/v2/integrations/actions/{actionId}/draft/publish',
1364
1366
  'POST',
1365
- { 'actionId': actionId },
1366
- { },
1367
- { },
1368
- { },
1367
+ { 'actionId': actionId },
1368
+ { },
1369
+ { },
1370
+ { },
1369
1371
  body,
1370
1372
  ['PureCloud OAuth'],
1371
- ['application/json'],
1373
+ ['application/json'],
1372
1374
  ['application/json']
1373
1375
  );
1374
1376
  }
@@ -1377,7 +1379,7 @@ class IntegrationsApi {
1377
1379
  * Test the execution of a draft. Responses will show execution steps broken out with intermediate results to help in debugging.
1378
1380
  *
1379
1381
  * @param {String} actionId actionId
1380
- * @param {Object} body Map of parameters used for variable substitution.
1382
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1381
1383
  */
1382
1384
  postIntegrationsActionDraftTest(actionId, body) {
1383
1385
  // verify the required parameter 'actionId' is set
@@ -1392,13 +1394,13 @@ class IntegrationsApi {
1392
1394
  return this.apiClient.callApi(
1393
1395
  '/api/v2/integrations/actions/{actionId}/draft/test',
1394
1396
  'POST',
1395
- { 'actionId': actionId },
1396
- { },
1397
- { },
1398
- { },
1397
+ { 'actionId': actionId },
1398
+ { },
1399
+ { },
1400
+ { },
1399
1401
  body,
1400
1402
  ['PureCloud OAuth'],
1401
- ['application/json'],
1403
+ ['application/json'],
1402
1404
  ['application/json']
1403
1405
  );
1404
1406
  }
@@ -1407,7 +1409,7 @@ class IntegrationsApi {
1407
1409
  * Execute Action and return response from 3rd party. Responses will follow the schemas defined on the Action for success and error.
1408
1410
  *
1409
1411
  * @param {String} actionId actionId
1410
- * @param {Object} body Map of parameters used for variable substitution.
1412
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1411
1413
  */
1412
1414
  postIntegrationsActionExecute(actionId, body) {
1413
1415
  // verify the required parameter 'actionId' is set
@@ -1422,13 +1424,13 @@ class IntegrationsApi {
1422
1424
  return this.apiClient.callApi(
1423
1425
  '/api/v2/integrations/actions/{actionId}/execute',
1424
1426
  'POST',
1425
- { 'actionId': actionId },
1426
- { },
1427
- { },
1428
- { },
1427
+ { 'actionId': actionId },
1428
+ { },
1429
+ { },
1430
+ { },
1429
1431
  body,
1430
1432
  ['PureCloud OAuth'],
1431
- ['application/json'],
1433
+ ['application/json'],
1432
1434
  ['application/json']
1433
1435
  );
1434
1436
  }
@@ -1437,7 +1439,7 @@ class IntegrationsApi {
1437
1439
  * Test the execution of an action. Responses will show execution steps broken out with intermediate results to help in debugging.
1438
1440
  *
1439
1441
  * @param {String} actionId actionId
1440
- * @param {Object} body Map of parameters used for variable substitution.
1442
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1441
1443
  */
1442
1444
  postIntegrationsActionTest(actionId, body) {
1443
1445
  // verify the required parameter 'actionId' is set
@@ -1452,13 +1454,13 @@ class IntegrationsApi {
1452
1454
  return this.apiClient.callApi(
1453
1455
  '/api/v2/integrations/actions/{actionId}/test',
1454
1456
  'POST',
1455
- { 'actionId': actionId },
1456
- { },
1457
- { },
1458
- { },
1457
+ { 'actionId': actionId },
1458
+ { },
1459
+ { },
1460
+ { },
1459
1461
  body,
1460
1462
  ['PureCloud OAuth'],
1461
- ['application/json'],
1463
+ ['application/json'],
1462
1464
  ['application/json']
1463
1465
  );
1464
1466
  }
@@ -1477,13 +1479,13 @@ class IntegrationsApi {
1477
1479
  return this.apiClient.callApi(
1478
1480
  '/api/v2/integrations/actions',
1479
1481
  'POST',
1480
- { },
1481
- { },
1482
- { },
1483
- { },
1482
+ { },
1483
+ { },
1484
+ { },
1485
+ { },
1484
1486
  body,
1485
1487
  ['PureCloud OAuth'],
1486
- ['application/json'],
1488
+ ['application/json'],
1487
1489
  ['application/json']
1488
1490
  );
1489
1491
  }
@@ -1502,13 +1504,13 @@ class IntegrationsApi {
1502
1504
  return this.apiClient.callApi(
1503
1505
  '/api/v2/integrations/actions/drafts',
1504
1506
  'POST',
1505
- { },
1506
- { },
1507
- { },
1508
- { },
1507
+ { },
1508
+ { },
1509
+ { },
1510
+ { },
1509
1511
  body,
1510
1512
  ['PureCloud OAuth'],
1511
- ['application/json'],
1513
+ ['application/json'],
1512
1514
  ['application/json']
1513
1515
  );
1514
1516
  }
@@ -1526,13 +1528,13 @@ class IntegrationsApi {
1526
1528
  return this.apiClient.callApi(
1527
1529
  '/api/v2/integrations/credentials',
1528
1530
  'POST',
1529
- { },
1530
- { },
1531
- { },
1532
- { },
1531
+ { },
1532
+ { },
1533
+ { },
1534
+ { },
1533
1535
  opts['body'],
1534
1536
  ['PureCloud OAuth'],
1535
- ['application/json'],
1537
+ ['application/json'],
1536
1538
  ['application/json']
1537
1539
  );
1538
1540
  }
@@ -1550,13 +1552,13 @@ class IntegrationsApi {
1550
1552
  return this.apiClient.callApi(
1551
1553
  '/api/v2/integrations/workforcemanagement/vendorconnection',
1552
1554
  'POST',
1553
- { },
1554
- { },
1555
- { },
1556
- { },
1555
+ { },
1556
+ { },
1557
+ { },
1558
+ { },
1557
1559
  opts['body'],
1558
1560
  ['PureCloud OAuth'],
1559
- ['application/json'],
1561
+ ['application/json'],
1560
1562
  ['application/json']
1561
1563
  );
1562
1564
  }
@@ -1579,13 +1581,13 @@ class IntegrationsApi {
1579
1581
  return this.apiClient.callApi(
1580
1582
  '/api/v2/integrations/{integrationId}/config/current',
1581
1583
  'PUT',
1582
- { 'integrationId': integrationId },
1583
- { },
1584
- { },
1585
- { },
1584
+ { 'integrationId': integrationId },
1585
+ { },
1586
+ { },
1587
+ { },
1586
1588
  opts['body'],
1587
1589
  ['PureCloud OAuth'],
1588
- ['application/json'],
1590
+ ['application/json'],
1589
1591
  ['application/json']
1590
1592
  );
1591
1593
  }
@@ -1609,13 +1611,13 @@ class IntegrationsApi {
1609
1611
  return this.apiClient.callApi(
1610
1612
  '/api/v2/integrations/botconnector/{integrationId}/bots',
1611
1613
  'PUT',
1612
- { 'integrationId': integrationId },
1613
- { },
1614
- { },
1615
- { },
1614
+ { 'integrationId': integrationId },
1615
+ { },
1616
+ { },
1617
+ { },
1616
1618
  botList,
1617
1619
  ['PureCloud OAuth'],
1618
- ['application/json'],
1620
+ ['application/json'],
1619
1621
  ['application/json']
1620
1622
  );
1621
1623
  }
@@ -1638,13 +1640,13 @@ class IntegrationsApi {
1638
1640
  return this.apiClient.callApi(
1639
1641
  '/api/v2/integrations/credentials/{credentialId}',
1640
1642
  'PUT',
1641
- { 'credentialId': credentialId },
1642
- { },
1643
- { },
1644
- { },
1643
+ { 'credentialId': credentialId },
1644
+ { },
1645
+ { },
1646
+ { },
1645
1647
  opts['body'],
1646
1648
  ['PureCloud OAuth'],
1647
- ['application/json'],
1649
+ ['application/json'],
1648
1650
  ['application/json']
1649
1651
  );
1650
1652
  }
@@ -1663,13 +1665,13 @@ class IntegrationsApi {
1663
1665
  return this.apiClient.callApi(
1664
1666
  '/api/v2/integrations/speech/tts/settings',
1665
1667
  'PUT',
1666
- { },
1667
- { },
1668
- { },
1669
- { },
1668
+ { },
1669
+ { },
1670
+ { },
1671
+ { },
1670
1672
  body,
1671
1673
  ['PureCloud OAuth'],
1672
- ['application/json'],
1674
+ ['application/json'],
1673
1675
  ['application/json']
1674
1676
  );
1675
1677
  }