purecloud-platform-client-v2 136.1.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 +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +9544 -9538
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9544 -9538
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9544 -9538
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +9544 -9538
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +5262 -74
  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 +534 -534
  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 +808 -808
  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 +246 -246
  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 +311 -311
  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 +608 -608
  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 +302 -302
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
  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 136.1.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,11 +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)
425
+ * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
426
426
  * @param {String} opts.category Filter by category name.
427
427
  * @param {String} opts.name Filter by partial or complete action name.
428
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
+ * @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.
430
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)
431
431
  */
432
432
  getIntegrationsActions(opts) {
@@ -436,13 +436,13 @@ class IntegrationsApi {
436
436
  return this.apiClient.callApi(
437
437
  '/api/v2/integrations/actions',
438
438
  'GET',
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
- { },
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
+ { },
443
443
  null,
444
444
  ['PureCloud OAuth'],
445
- ['application/json'],
445
+ ['application/json'],
446
446
  ['application/json']
447
447
  );
448
448
  }
@@ -455,8 +455,8 @@ class IntegrationsApi {
455
455
  * @param {Number} opts.pageNumber The page number requested (default to 1)
456
456
  * @param {String} opts.nextPage next page token
457
457
  * @param {String} opts.previousPage Previous page token
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)
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)
460
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.
461
461
  */
462
462
  getIntegrationsActionsCategories(opts) {
@@ -466,13 +466,13 @@ class IntegrationsApi {
466
466
  return this.apiClient.callApi(
467
467
  '/api/v2/integrations/actions/categories',
468
468
  'GET',
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
- { },
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
+ { },
473
473
  null,
474
474
  ['PureCloud OAuth'],
475
- ['application/json'],
475
+ ['application/json'],
476
476
  ['application/json']
477
477
  );
478
478
  }
@@ -486,11 +486,11 @@ class IntegrationsApi {
486
486
  * @param {String} opts.nextPage next page token
487
487
  * @param {String} opts.previousPage Previous page token
488
488
  * @param {String} opts.sortBy Root level field name to sort on.
489
- * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
489
+ * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
490
490
  * @param {String} opts.category Filter by category name.
491
491
  * @param {String} opts.name Filter by partial or complete action name.
492
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.
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.
494
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)
495
495
  */
496
496
  getIntegrationsActionsDrafts(opts) {
@@ -500,13 +500,13 @@ class IntegrationsApi {
500
500
  return this.apiClient.callApi(
501
501
  '/api/v2/integrations/actions/drafts',
502
502
  'GET',
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
- { },
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
+ { },
507
507
  null,
508
508
  ['PureCloud OAuth'],
509
- ['application/json'],
509
+ ['application/json'],
510
510
  ['application/json']
511
511
  );
512
512
  }
@@ -534,13 +534,13 @@ class IntegrationsApi {
534
534
  return this.apiClient.callApi(
535
535
  '/api/v2/integrations/botconnector/{integrationId}/bots/{botId}',
536
536
  'GET',
537
- { 'integrationId': integrationId,'botId': botId },
538
- { 'version': opts['version'] },
539
- { },
540
- { },
537
+ { 'integrationId': integrationId,'botId': botId },
538
+ { 'version': opts['version'] },
539
+ { },
540
+ { },
541
541
  null,
542
542
  ['PureCloud OAuth'],
543
- ['application/json'],
543
+ ['application/json'],
544
544
  ['application/json']
545
545
  );
546
546
  }
@@ -569,13 +569,13 @@ class IntegrationsApi {
569
569
  return this.apiClient.callApi(
570
570
  '/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions',
571
571
  'GET',
572
- { 'integrationId': integrationId,'botId': botId },
573
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
574
- { },
575
- { },
572
+ { 'integrationId': integrationId,'botId': botId },
573
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
574
+ { },
575
+ { },
576
576
  null,
577
577
  ['PureCloud OAuth'],
578
- ['application/json'],
578
+ ['application/json'],
579
579
  ['application/json']
580
580
  );
581
581
  }
@@ -594,13 +594,13 @@ class IntegrationsApi {
594
594
  return this.apiClient.callApi(
595
595
  '/api/v2/integrations/botconnector/{integrationId}/bots',
596
596
  'GET',
597
- { 'integrationId': integrationId },
598
- { },
599
- { },
600
- { },
597
+ { 'integrationId': integrationId },
598
+ { },
599
+ { },
600
+ { },
601
601
  null,
602
602
  ['PureCloud OAuth'],
603
- ['application/json'],
603
+ ['application/json'],
604
604
  ['application/json']
605
605
  );
606
606
  }
@@ -624,13 +624,13 @@ class IntegrationsApi {
624
624
  return this.apiClient.callApi(
625
625
  '/api/v2/integrations/botconnector/{integrationId}/bots/summaries',
626
626
  'GET',
627
- { 'integrationId': integrationId },
628
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
629
- { },
630
- { },
627
+ { 'integrationId': integrationId },
628
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
629
+ { },
630
+ { },
631
631
  null,
632
632
  ['PureCloud OAuth'],
633
- ['application/json'],
633
+ ['application/json'],
634
634
  ['application/json']
635
635
  );
636
636
  }
@@ -653,13 +653,13 @@ class IntegrationsApi {
653
653
  return this.apiClient.callApi(
654
654
  '/api/v2/integrations/clientapps',
655
655
  'GET',
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
- { },
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
+ { },
660
660
  null,
661
661
  ['PureCloud OAuth'],
662
- ['application/json'],
662
+ ['application/json'],
663
663
  ['application/json']
664
664
  );
665
665
  }
@@ -682,13 +682,13 @@ class IntegrationsApi {
682
682
  return this.apiClient.callApi(
683
683
  '/api/v2/integrations/clientapps/unifiedcommunications',
684
684
  'GET',
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
- { },
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
+ { },
689
689
  null,
690
690
  ['PureCloud OAuth'],
691
- ['application/json'],
691
+ ['application/json'],
692
692
  ['application/json']
693
693
  );
694
694
  }
@@ -707,13 +707,13 @@ class IntegrationsApi {
707
707
  return this.apiClient.callApi(
708
708
  '/api/v2/integrations/credentials/{credentialId}',
709
709
  'GET',
710
- { 'credentialId': credentialId },
711
- { },
712
- { },
713
- { },
710
+ { 'credentialId': credentialId },
711
+ { },
712
+ { },
713
+ { },
714
714
  null,
715
715
  ['PureCloud OAuth'],
716
- ['application/json'],
716
+ ['application/json'],
717
717
  ['application/json']
718
718
  );
719
719
  }
@@ -732,13 +732,13 @@ class IntegrationsApi {
732
732
  return this.apiClient.callApi(
733
733
  '/api/v2/integrations/credentials',
734
734
  'GET',
735
- { },
736
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
737
- { },
738
- { },
735
+ { },
736
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
737
+ { },
738
+ { },
739
739
  null,
740
740
  ['PureCloud OAuth'],
741
- ['application/json'],
741
+ ['application/json'],
742
742
  ['application/json']
743
743
  );
744
744
  }
@@ -752,13 +752,13 @@ class IntegrationsApi {
752
752
  return this.apiClient.callApi(
753
753
  '/api/v2/integrations/credentials/types',
754
754
  'GET',
755
- { },
756
- { },
757
- { },
758
- { },
755
+ { },
756
+ { },
757
+ { },
758
+ { },
759
759
  null,
760
760
  ['PureCloud OAuth'],
761
- ['application/json'],
761
+ ['application/json'],
762
762
  ['application/json']
763
763
  );
764
764
  }
@@ -780,13 +780,13 @@ class IntegrationsApi {
780
780
  return this.apiClient.callApi(
781
781
  '/api/v2/integrations/eventlog',
782
782
  'GET',
783
- { },
784
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
785
- { },
786
- { },
783
+ { },
784
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
785
+ { },
786
+ { },
787
787
  null,
788
788
  ['PureCloud OAuth'],
789
- ['application/json'],
789
+ ['application/json'],
790
790
  ['application/json']
791
791
  );
792
792
  }
@@ -805,13 +805,13 @@ class IntegrationsApi {
805
805
  return this.apiClient.callApi(
806
806
  '/api/v2/integrations/eventlog/{eventId}',
807
807
  'GET',
808
- { 'eventId': eventId },
809
- { },
810
- { },
811
- { },
808
+ { 'eventId': eventId },
809
+ { },
810
+ { },
811
+ { },
812
812
  null,
813
813
  ['PureCloud OAuth'],
814
- ['application/json'],
814
+ ['application/json'],
815
815
  ['application/json']
816
816
  );
817
817
  }
@@ -830,19 +830,19 @@ class IntegrationsApi {
830
830
  return this.apiClient.callApi(
831
831
  '/api/v2/integrations/speech/dialogflow/agents/{agentId}',
832
832
  'GET',
833
- { 'agentId': agentId },
834
- { },
835
- { },
836
- { },
833
+ { 'agentId': agentId },
834
+ { },
835
+ { },
836
+ { },
837
837
  null,
838
838
  ['PureCloud OAuth'],
839
- ['application/json'],
839
+ ['application/json'],
840
840
  ['application/json']
841
841
  );
842
842
  }
843
843
 
844
844
  /**
845
- * Get a list of Dialogflow agents in the customers' Google accounts
845
+ * Get a list of Dialogflow agents in the customers' Google accounts
846
846
  *
847
847
  * @param {Object} opts Optional parameters
848
848
  * @param {Number} opts.pageNumber Page number (default to 1)
@@ -856,13 +856,13 @@ class IntegrationsApi {
856
856
  return this.apiClient.callApi(
857
857
  '/api/v2/integrations/speech/dialogflow/agents',
858
858
  'GET',
859
- { },
860
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
861
- { },
862
- { },
859
+ { },
860
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
861
+ { },
862
+ { },
863
863
  null,
864
864
  ['PureCloud OAuth'],
865
- ['application/json'],
865
+ ['application/json'],
866
866
  ['application/json']
867
867
  );
868
868
  }
@@ -881,19 +881,19 @@ class IntegrationsApi {
881
881
  return this.apiClient.callApi(
882
882
  '/api/v2/integrations/speech/lex/bot/alias/{aliasId}',
883
883
  'GET',
884
- { 'aliasId': aliasId },
885
- { },
886
- { },
887
- { },
884
+ { 'aliasId': aliasId },
885
+ { },
886
+ { },
887
+ { },
888
888
  null,
889
889
  ['PureCloud OAuth'],
890
- ['application/json'],
890
+ ['application/json'],
891
891
  ['application/json']
892
892
  );
893
893
  }
894
894
 
895
895
  /**
896
- * 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
897
897
  *
898
898
  * @param {String} botId The bot ID
899
899
  * @param {Object} opts Optional parameters
@@ -913,19 +913,19 @@ class IntegrationsApi {
913
913
  return this.apiClient.callApi(
914
914
  '/api/v2/integrations/speech/lex/bot/{botId}/aliases',
915
915
  'GET',
916
- { 'botId': botId },
917
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
918
- { },
919
- { },
916
+ { 'botId': botId },
917
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'status': opts['status'],'name': opts['name'] },
918
+ { },
919
+ { },
920
920
  null,
921
921
  ['PureCloud OAuth'],
922
- ['application/json'],
922
+ ['application/json'],
923
923
  ['application/json']
924
924
  );
925
925
  }
926
926
 
927
927
  /**
928
- * Get a list of Lex bots in the customers' AWS accounts
928
+ * Get a list of Lex bots in the customers' AWS accounts
929
929
  *
930
930
  * @param {Object} opts Optional parameters
931
931
  * @param {Number} opts.pageNumber Page number (default to 1)
@@ -939,13 +939,13 @@ class IntegrationsApi {
939
939
  return this.apiClient.callApi(
940
940
  '/api/v2/integrations/speech/lex/bots',
941
941
  'GET',
942
- { },
943
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
944
- { },
945
- { },
942
+ { },
943
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'] },
944
+ { },
945
+ { },
946
946
  null,
947
947
  ['PureCloud OAuth'],
948
- ['application/json'],
948
+ ['application/json'],
949
949
  ['application/json']
950
950
  );
951
951
  }
@@ -968,13 +968,13 @@ class IntegrationsApi {
968
968
  return this.apiClient.callApi(
969
969
  '/api/v2/integrations/speech/tts/engines/{engineId}',
970
970
  'GET',
971
- { 'engineId': engineId },
972
- { 'includeVoices': opts['includeVoices'] },
973
- { },
974
- { },
971
+ { 'engineId': engineId },
972
+ { 'includeVoices': opts['includeVoices'] },
973
+ { },
974
+ { },
975
975
  null,
976
976
  ['PureCloud OAuth'],
977
- ['application/json'],
977
+ ['application/json'],
978
978
  ['application/json']
979
979
  );
980
980
  }
@@ -998,13 +998,13 @@ class IntegrationsApi {
998
998
  return this.apiClient.callApi(
999
999
  '/api/v2/integrations/speech/tts/engines/{engineId}/voices/{voiceId}',
1000
1000
  'GET',
1001
- { 'engineId': engineId,'voiceId': voiceId },
1002
- { },
1003
- { },
1004
- { },
1001
+ { 'engineId': engineId,'voiceId': voiceId },
1002
+ { },
1003
+ { },
1004
+ { },
1005
1005
  null,
1006
1006
  ['PureCloud OAuth'],
1007
- ['application/json'],
1007
+ ['application/json'],
1008
1008
  ['application/json']
1009
1009
  );
1010
1010
  }
@@ -1028,13 +1028,13 @@ class IntegrationsApi {
1028
1028
  return this.apiClient.callApi(
1029
1029
  '/api/v2/integrations/speech/tts/engines/{engineId}/voices',
1030
1030
  'GET',
1031
- { 'engineId': engineId },
1032
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1033
- { },
1034
- { },
1031
+ { 'engineId': engineId },
1032
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1033
+ { },
1034
+ { },
1035
1035
  null,
1036
1036
  ['PureCloud OAuth'],
1037
- ['application/json'],
1037
+ ['application/json'],
1038
1038
  ['application/json']
1039
1039
  );
1040
1040
  }
@@ -1056,13 +1056,13 @@ class IntegrationsApi {
1056
1056
  return this.apiClient.callApi(
1057
1057
  '/api/v2/integrations/speech/tts/engines',
1058
1058
  'GET',
1059
- { },
1060
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeVoices': opts['includeVoices'],'name': opts['name'],'language': opts['language'] },
1061
- { },
1062
- { },
1059
+ { },
1060
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeVoices': opts['includeVoices'],'name': opts['name'],'language': opts['language'] },
1061
+ { },
1062
+ { },
1063
1063
  null,
1064
1064
  ['PureCloud OAuth'],
1065
- ['application/json'],
1065
+ ['application/json'],
1066
1066
  ['application/json']
1067
1067
  );
1068
1068
  }
@@ -1076,13 +1076,13 @@ class IntegrationsApi {
1076
1076
  return this.apiClient.callApi(
1077
1077
  '/api/v2/integrations/speech/tts/settings',
1078
1078
  'GET',
1079
- { },
1080
- { },
1081
- { },
1082
- { },
1079
+ { },
1080
+ { },
1081
+ { },
1082
+ { },
1083
1083
  null,
1084
1084
  ['PureCloud OAuth'],
1085
- ['application/json'],
1085
+ ['application/json'],
1086
1086
  ['application/json']
1087
1087
  );
1088
1088
  }
@@ -1101,13 +1101,13 @@ class IntegrationsApi {
1101
1101
  return this.apiClient.callApi(
1102
1102
  '/api/v2/integrations/types/{typeId}',
1103
1103
  'GET',
1104
- { 'typeId': typeId },
1105
- { },
1106
- { },
1107
- { },
1104
+ { 'typeId': typeId },
1105
+ { },
1106
+ { },
1107
+ { },
1108
1108
  null,
1109
1109
  ['PureCloud OAuth'],
1110
- ['application/json'],
1110
+ ['application/json'],
1111
1111
  ['application/json']
1112
1112
  );
1113
1113
  }
@@ -1131,13 +1131,13 @@ class IntegrationsApi {
1131
1131
  return this.apiClient.callApi(
1132
1132
  '/api/v2/integrations/types/{typeId}/configschemas/{configType}',
1133
1133
  'GET',
1134
- { 'typeId': typeId,'configType': configType },
1135
- { },
1136
- { },
1137
- { },
1134
+ { 'typeId': typeId,'configType': configType },
1135
+ { },
1136
+ { },
1137
+ { },
1138
1138
  null,
1139
1139
  ['PureCloud OAuth'],
1140
- ['application/json'],
1140
+ ['application/json'],
1141
1141
  ['application/json']
1142
1142
  );
1143
1143
  }
@@ -1160,13 +1160,13 @@ class IntegrationsApi {
1160
1160
  return this.apiClient.callApi(
1161
1161
  '/api/v2/integrations/types',
1162
1162
  'GET',
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
- { },
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
+ { },
1167
1167
  null,
1168
1168
  ['PureCloud OAuth'],
1169
- ['application/json'],
1169
+ ['application/json'],
1170
1170
  ['application/json']
1171
1171
  );
1172
1172
  }
@@ -1190,13 +1190,13 @@ class IntegrationsApi {
1190
1190
  return this.apiClient.callApi(
1191
1191
  '/api/v2/integrations/userapps',
1192
1192
  'GET',
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
- { },
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
+ { },
1197
1197
  null,
1198
1198
  ['PureCloud OAuth'],
1199
- ['application/json'],
1199
+ ['application/json'],
1200
1200
  ['application/json']
1201
1201
  );
1202
1202
  }
@@ -1206,13 +1206,13 @@ class IntegrationsApi {
1206
1206
  *
1207
1207
  * @param {String} integrationId Integration Id
1208
1208
  * @param {Object} opts Optional parameters
1209
- * @param {Object} opts.body Integration Update
1210
1209
  * @param {Number} opts.pageSize The total page size requested (default to 25)
1211
1210
  * @param {Number} opts.pageNumber The page number requested (default to 1)
1212
1211
  * @param {String} opts.sortBy variable name requested to sort by
1213
1212
  * @param {Array.<String>} opts.expand variable name requested by expand list
1214
1213
  * @param {String} opts.nextPage next page token
1215
1214
  * @param {String} opts.previousPage Previous page token
1215
+ * @param {Object} opts.body Integration Update
1216
1216
  */
1217
1217
  patchIntegration(integrationId, opts) {
1218
1218
  opts = opts || {};
@@ -1225,13 +1225,13 @@ class IntegrationsApi {
1225
1225
  return this.apiClient.callApi(
1226
1226
  '/api/v2/integrations/{integrationId}',
1227
1227
  'PATCH',
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
- { },
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
+ { },
1232
1232
  opts['body'],
1233
1233
  ['PureCloud OAuth'],
1234
- ['application/json'],
1234
+ ['application/json'],
1235
1235
  ['application/json']
1236
1236
  );
1237
1237
  }
@@ -1255,13 +1255,13 @@ class IntegrationsApi {
1255
1255
  return this.apiClient.callApi(
1256
1256
  '/api/v2/integrations/actions/{actionId}',
1257
1257
  'PATCH',
1258
- { 'actionId': actionId },
1259
- { },
1260
- { },
1261
- { },
1258
+ { 'actionId': actionId },
1259
+ { },
1260
+ { },
1261
+ { },
1262
1262
  body,
1263
1263
  ['PureCloud OAuth'],
1264
- ['application/json'],
1264
+ ['application/json'],
1265
1265
  ['application/json']
1266
1266
  );
1267
1267
  }
@@ -1285,13 +1285,13 @@ class IntegrationsApi {
1285
1285
  return this.apiClient.callApi(
1286
1286
  '/api/v2/integrations/actions/{actionId}/draft',
1287
1287
  'PATCH',
1288
- { 'actionId': actionId },
1289
- { },
1290
- { },
1291
- { },
1288
+ { 'actionId': actionId },
1289
+ { },
1290
+ { },
1291
+ { },
1292
1292
  body,
1293
1293
  ['PureCloud OAuth'],
1294
- ['application/json'],
1294
+ ['application/json'],
1295
1295
  ['application/json']
1296
1296
  );
1297
1297
  }
@@ -1309,13 +1309,13 @@ class IntegrationsApi {
1309
1309
  return this.apiClient.callApi(
1310
1310
  '/api/v2/integrations',
1311
1311
  'POST',
1312
- { },
1313
- { },
1314
- { },
1315
- { },
1312
+ { },
1313
+ { },
1314
+ { },
1315
+ { },
1316
1316
  opts['body'],
1317
1317
  ['PureCloud OAuth'],
1318
- ['application/json'],
1318
+ ['application/json'],
1319
1319
  ['application/json']
1320
1320
  );
1321
1321
  }
@@ -1334,13 +1334,13 @@ class IntegrationsApi {
1334
1334
  return this.apiClient.callApi(
1335
1335
  '/api/v2/integrations/actions/{actionId}/draft',
1336
1336
  'POST',
1337
- { 'actionId': actionId },
1338
- { },
1339
- { },
1340
- { },
1337
+ { 'actionId': actionId },
1338
+ { },
1339
+ { },
1340
+ { },
1341
1341
  null,
1342
1342
  ['PureCloud OAuth'],
1343
- ['application/json'],
1343
+ ['application/json'],
1344
1344
  ['application/json']
1345
1345
  );
1346
1346
  }
@@ -1364,13 +1364,13 @@ class IntegrationsApi {
1364
1364
  return this.apiClient.callApi(
1365
1365
  '/api/v2/integrations/actions/{actionId}/draft/publish',
1366
1366
  'POST',
1367
- { 'actionId': actionId },
1368
- { },
1369
- { },
1370
- { },
1367
+ { 'actionId': actionId },
1368
+ { },
1369
+ { },
1370
+ { },
1371
1371
  body,
1372
1372
  ['PureCloud OAuth'],
1373
- ['application/json'],
1373
+ ['application/json'],
1374
1374
  ['application/json']
1375
1375
  );
1376
1376
  }
@@ -1379,7 +1379,7 @@ class IntegrationsApi {
1379
1379
  * Test the execution of a draft. Responses will show execution steps broken out with intermediate results to help in debugging.
1380
1380
  *
1381
1381
  * @param {String} actionId actionId
1382
- * @param {Object} body Map of parameters used for variable substitution.
1382
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1383
1383
  */
1384
1384
  postIntegrationsActionDraftTest(actionId, body) {
1385
1385
  // verify the required parameter 'actionId' is set
@@ -1394,13 +1394,13 @@ class IntegrationsApi {
1394
1394
  return this.apiClient.callApi(
1395
1395
  '/api/v2/integrations/actions/{actionId}/draft/test',
1396
1396
  'POST',
1397
- { 'actionId': actionId },
1398
- { },
1399
- { },
1400
- { },
1397
+ { 'actionId': actionId },
1398
+ { },
1399
+ { },
1400
+ { },
1401
1401
  body,
1402
1402
  ['PureCloud OAuth'],
1403
- ['application/json'],
1403
+ ['application/json'],
1404
1404
  ['application/json']
1405
1405
  );
1406
1406
  }
@@ -1409,7 +1409,7 @@ class IntegrationsApi {
1409
1409
  * Execute Action and return response from 3rd party. Responses will follow the schemas defined on the Action for success and error.
1410
1410
  *
1411
1411
  * @param {String} actionId actionId
1412
- * @param {Object} body Map of parameters used for variable substitution.
1412
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1413
1413
  */
1414
1414
  postIntegrationsActionExecute(actionId, body) {
1415
1415
  // verify the required parameter 'actionId' is set
@@ -1424,13 +1424,13 @@ class IntegrationsApi {
1424
1424
  return this.apiClient.callApi(
1425
1425
  '/api/v2/integrations/actions/{actionId}/execute',
1426
1426
  'POST',
1427
- { 'actionId': actionId },
1428
- { },
1429
- { },
1430
- { },
1427
+ { 'actionId': actionId },
1428
+ { },
1429
+ { },
1430
+ { },
1431
1431
  body,
1432
1432
  ['PureCloud OAuth'],
1433
- ['application/json'],
1433
+ ['application/json'],
1434
1434
  ['application/json']
1435
1435
  );
1436
1436
  }
@@ -1439,7 +1439,7 @@ class IntegrationsApi {
1439
1439
  * Test the execution of an action. Responses will show execution steps broken out with intermediate results to help in debugging.
1440
1440
  *
1441
1441
  * @param {String} actionId actionId
1442
- * @param {Object} body Map of parameters used for variable substitution.
1442
+ * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
1443
1443
  */
1444
1444
  postIntegrationsActionTest(actionId, body) {
1445
1445
  // verify the required parameter 'actionId' is set
@@ -1454,13 +1454,13 @@ class IntegrationsApi {
1454
1454
  return this.apiClient.callApi(
1455
1455
  '/api/v2/integrations/actions/{actionId}/test',
1456
1456
  'POST',
1457
- { 'actionId': actionId },
1458
- { },
1459
- { },
1460
- { },
1457
+ { 'actionId': actionId },
1458
+ { },
1459
+ { },
1460
+ { },
1461
1461
  body,
1462
1462
  ['PureCloud OAuth'],
1463
- ['application/json'],
1463
+ ['application/json'],
1464
1464
  ['application/json']
1465
1465
  );
1466
1466
  }
@@ -1479,13 +1479,13 @@ class IntegrationsApi {
1479
1479
  return this.apiClient.callApi(
1480
1480
  '/api/v2/integrations/actions',
1481
1481
  'POST',
1482
- { },
1483
- { },
1484
- { },
1485
- { },
1482
+ { },
1483
+ { },
1484
+ { },
1485
+ { },
1486
1486
  body,
1487
1487
  ['PureCloud OAuth'],
1488
- ['application/json'],
1488
+ ['application/json'],
1489
1489
  ['application/json']
1490
1490
  );
1491
1491
  }
@@ -1504,13 +1504,13 @@ class IntegrationsApi {
1504
1504
  return this.apiClient.callApi(
1505
1505
  '/api/v2/integrations/actions/drafts',
1506
1506
  'POST',
1507
- { },
1508
- { },
1509
- { },
1510
- { },
1507
+ { },
1508
+ { },
1509
+ { },
1510
+ { },
1511
1511
  body,
1512
1512
  ['PureCloud OAuth'],
1513
- ['application/json'],
1513
+ ['application/json'],
1514
1514
  ['application/json']
1515
1515
  );
1516
1516
  }
@@ -1528,13 +1528,13 @@ class IntegrationsApi {
1528
1528
  return this.apiClient.callApi(
1529
1529
  '/api/v2/integrations/credentials',
1530
1530
  'POST',
1531
- { },
1532
- { },
1533
- { },
1534
- { },
1531
+ { },
1532
+ { },
1533
+ { },
1534
+ { },
1535
1535
  opts['body'],
1536
1536
  ['PureCloud OAuth'],
1537
- ['application/json'],
1537
+ ['application/json'],
1538
1538
  ['application/json']
1539
1539
  );
1540
1540
  }
@@ -1552,13 +1552,13 @@ class IntegrationsApi {
1552
1552
  return this.apiClient.callApi(
1553
1553
  '/api/v2/integrations/workforcemanagement/vendorconnection',
1554
1554
  'POST',
1555
- { },
1556
- { },
1557
- { },
1558
- { },
1555
+ { },
1556
+ { },
1557
+ { },
1558
+ { },
1559
1559
  opts['body'],
1560
1560
  ['PureCloud OAuth'],
1561
- ['application/json'],
1561
+ ['application/json'],
1562
1562
  ['application/json']
1563
1563
  );
1564
1564
  }
@@ -1581,13 +1581,13 @@ class IntegrationsApi {
1581
1581
  return this.apiClient.callApi(
1582
1582
  '/api/v2/integrations/{integrationId}/config/current',
1583
1583
  'PUT',
1584
- { 'integrationId': integrationId },
1585
- { },
1586
- { },
1587
- { },
1584
+ { 'integrationId': integrationId },
1585
+ { },
1586
+ { },
1587
+ { },
1588
1588
  opts['body'],
1589
1589
  ['PureCloud OAuth'],
1590
- ['application/json'],
1590
+ ['application/json'],
1591
1591
  ['application/json']
1592
1592
  );
1593
1593
  }
@@ -1611,13 +1611,13 @@ class IntegrationsApi {
1611
1611
  return this.apiClient.callApi(
1612
1612
  '/api/v2/integrations/botconnector/{integrationId}/bots',
1613
1613
  'PUT',
1614
- { 'integrationId': integrationId },
1615
- { },
1616
- { },
1617
- { },
1614
+ { 'integrationId': integrationId },
1615
+ { },
1616
+ { },
1617
+ { },
1618
1618
  botList,
1619
1619
  ['PureCloud OAuth'],
1620
- ['application/json'],
1620
+ ['application/json'],
1621
1621
  ['application/json']
1622
1622
  );
1623
1623
  }
@@ -1640,13 +1640,13 @@ class IntegrationsApi {
1640
1640
  return this.apiClient.callApi(
1641
1641
  '/api/v2/integrations/credentials/{credentialId}',
1642
1642
  'PUT',
1643
- { 'credentialId': credentialId },
1644
- { },
1645
- { },
1646
- { },
1643
+ { 'credentialId': credentialId },
1644
+ { },
1645
+ { },
1646
+ { },
1647
1647
  opts['body'],
1648
1648
  ['PureCloud OAuth'],
1649
- ['application/json'],
1649
+ ['application/json'],
1650
1650
  ['application/json']
1651
1651
  );
1652
1652
  }
@@ -1665,13 +1665,13 @@ class IntegrationsApi {
1665
1665
  return this.apiClient.callApi(
1666
1666
  '/api/v2/integrations/speech/tts/settings',
1667
1667
  'PUT',
1668
- { },
1669
- { },
1670
- { },
1671
- { },
1668
+ { },
1669
+ { },
1670
+ { },
1671
+ { },
1672
1672
  body,
1673
1673
  ['PureCloud OAuth'],
1674
- ['application/json'],
1674
+ ['application/json'],
1675
1675
  ['application/json']
1676
1676
  );
1677
1677
  }