purecloud-platform-client-v2 224.0.0 → 226.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +2853 -2693
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2679 -2639
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +227 -162
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class IntegrationsApi {
27
27
  */
28
28
  deleteIntegration(integrationId) {
29
29
  // verify the required parameter 'integrationId' is set
30
- if (integrationId === undefined || integrationId === null) {
30
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
31
31
  throw 'Missing the required parameter "integrationId" when calling deleteIntegration';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class IntegrationsApi {
52
52
  */
53
53
  deleteIntegrationsAction(actionId) {
54
54
  // verify the required parameter 'actionId' is set
55
- if (actionId === undefined || actionId === null) {
55
+ if (actionId === undefined || actionId === null || actionId === '') {
56
56
  throw 'Missing the required parameter "actionId" when calling deleteIntegrationsAction';
57
57
  }
58
58
 
@@ -77,7 +77,7 @@ class IntegrationsApi {
77
77
  */
78
78
  deleteIntegrationsActionDraft(actionId) {
79
79
  // verify the required parameter 'actionId' is set
80
- if (actionId === undefined || actionId === null) {
80
+ if (actionId === undefined || actionId === null || actionId === '') {
81
81
  throw 'Missing the required parameter "actionId" when calling deleteIntegrationsActionDraft';
82
82
  }
83
83
 
@@ -102,7 +102,7 @@ class IntegrationsApi {
102
102
  */
103
103
  deleteIntegrationsCredential(credentialId) {
104
104
  // verify the required parameter 'credentialId' is set
105
- if (credentialId === undefined || credentialId === null) {
105
+ if (credentialId === undefined || credentialId === null || credentialId === '') {
106
106
  throw 'Missing the required parameter "credentialId" when calling deleteIntegrationsCredential';
107
107
  }
108
108
 
@@ -136,7 +136,7 @@ class IntegrationsApi {
136
136
  opts = opts || {};
137
137
 
138
138
  // verify the required parameter 'integrationId' is set
139
- if (integrationId === undefined || integrationId === null) {
139
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
140
140
  throw 'Missing the required parameter "integrationId" when calling getIntegration';
141
141
  }
142
142
 
@@ -161,7 +161,7 @@ class IntegrationsApi {
161
161
  */
162
162
  getIntegrationConfigCurrent(integrationId) {
163
163
  // verify the required parameter 'integrationId' is set
164
- if (integrationId === undefined || integrationId === null) {
164
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
165
165
  throw 'Missing the required parameter "integrationId" when calling getIntegrationConfigCurrent';
166
166
  }
167
167
 
@@ -221,7 +221,7 @@ class IntegrationsApi {
221
221
  opts = opts || {};
222
222
 
223
223
  // verify the required parameter 'actionId' is set
224
- if (actionId === undefined || actionId === null) {
224
+ if (actionId === undefined || actionId === null || actionId === '') {
225
225
  throw 'Missing the required parameter "actionId" when calling getIntegrationsAction';
226
226
  }
227
227
 
@@ -252,7 +252,7 @@ class IntegrationsApi {
252
252
  opts = opts || {};
253
253
 
254
254
  // verify the required parameter 'actionId' is set
255
- if (actionId === undefined || actionId === null) {
255
+ if (actionId === undefined || actionId === null || actionId === '') {
256
256
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';
257
257
  }
258
258
 
@@ -277,7 +277,7 @@ class IntegrationsApi {
277
277
  */
278
278
  getIntegrationsActionDraftFunction(actionId) {
279
279
  // verify the required parameter 'actionId' is set
280
- if (actionId === undefined || actionId === null) {
280
+ if (actionId === undefined || actionId === null || actionId === '') {
281
281
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';
282
282
  }
283
283
 
@@ -307,11 +307,11 @@ class IntegrationsApi {
307
307
  opts = opts || {};
308
308
 
309
309
  // verify the required parameter 'actionId' is set
310
- if (actionId === undefined || actionId === null) {
310
+ if (actionId === undefined || actionId === null || actionId === '') {
311
311
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';
312
312
  }
313
313
  // verify the required parameter 'fileName' is set
314
- if (fileName === undefined || fileName === null) {
314
+ if (fileName === undefined || fileName === null || fileName === '') {
315
315
  throw 'Missing the required parameter "fileName" when calling getIntegrationsActionDraftSchema';
316
316
  }
317
317
 
@@ -337,11 +337,11 @@ class IntegrationsApi {
337
337
  */
338
338
  getIntegrationsActionDraftTemplate(actionId, fileName) {
339
339
  // verify the required parameter 'actionId' is set
340
- if (actionId === undefined || actionId === null) {
340
+ if (actionId === undefined || actionId === null || actionId === '') {
341
341
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftTemplate';
342
342
  }
343
343
  // verify the required parameter 'fileName' is set
344
- if (fileName === undefined || fileName === null) {
344
+ if (fileName === undefined || fileName === null || fileName === '') {
345
345
  throw 'Missing the required parameter "fileName" when calling getIntegrationsActionDraftTemplate';
346
346
  }
347
347
 
@@ -366,7 +366,7 @@ class IntegrationsApi {
366
366
  */
367
367
  getIntegrationsActionDraftValidation(actionId) {
368
368
  // verify the required parameter 'actionId' is set
369
- if (actionId === undefined || actionId === null) {
369
+ if (actionId === undefined || actionId === null || actionId === '') {
370
370
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';
371
371
  }
372
372
 
@@ -391,7 +391,7 @@ class IntegrationsApi {
391
391
  */
392
392
  getIntegrationsActionFunction(actionId) {
393
393
  // verify the required parameter 'actionId' is set
394
- if (actionId === undefined || actionId === null) {
394
+ if (actionId === undefined || actionId === null || actionId === '') {
395
395
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';
396
396
  }
397
397
 
@@ -421,11 +421,11 @@ class IntegrationsApi {
421
421
  opts = opts || {};
422
422
 
423
423
  // verify the required parameter 'actionId' is set
424
- if (actionId === undefined || actionId === null) {
424
+ if (actionId === undefined || actionId === null || actionId === '') {
425
425
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';
426
426
  }
427
427
  // verify the required parameter 'fileName' is set
428
- if (fileName === undefined || fileName === null) {
428
+ if (fileName === undefined || fileName === null || fileName === '') {
429
429
  throw 'Missing the required parameter "fileName" when calling getIntegrationsActionSchema';
430
430
  }
431
431
 
@@ -451,11 +451,11 @@ class IntegrationsApi {
451
451
  */
452
452
  getIntegrationsActionTemplate(actionId, fileName) {
453
453
  // verify the required parameter 'actionId' is set
454
- if (actionId === undefined || actionId === null) {
454
+ if (actionId === undefined || actionId === null || actionId === '') {
455
455
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionTemplate';
456
456
  }
457
457
  // verify the required parameter 'fileName' is set
458
- if (fileName === undefined || fileName === null) {
458
+ if (fileName === undefined || fileName === null || fileName === '') {
459
459
  throw 'Missing the required parameter "fileName" when calling getIntegrationsActionTemplate';
460
460
  }
461
461
 
@@ -649,11 +649,11 @@ class IntegrationsApi {
649
649
  opts = opts || {};
650
650
 
651
651
  // verify the required parameter 'integrationId' is set
652
- if (integrationId === undefined || integrationId === null) {
652
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
653
653
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';
654
654
  }
655
655
  // verify the required parameter 'botId' is set
656
- if (botId === undefined || botId === null) {
656
+ if (botId === undefined || botId === null || botId === '') {
657
657
  throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';
658
658
  }
659
659
 
@@ -684,7 +684,7 @@ class IntegrationsApi {
684
684
  opts = opts || {};
685
685
 
686
686
  // verify the required parameter 'integrationId' is set
687
- if (integrationId === undefined || integrationId === null) {
687
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
688
688
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';
689
689
  }
690
690
 
@@ -715,7 +715,7 @@ class IntegrationsApi {
715
715
  opts = opts || {};
716
716
 
717
717
  // verify the required parameter 'integrationId' is set
718
- if (integrationId === undefined || integrationId === null) {
718
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
719
719
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';
720
720
  }
721
721
 
@@ -745,11 +745,11 @@ class IntegrationsApi {
745
745
  opts = opts || {};
746
746
 
747
747
  // verify the required parameter 'integrationId' is set
748
- if (integrationId === undefined || integrationId === null) {
748
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
749
749
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBot';
750
750
  }
751
751
  // verify the required parameter 'botId' is set
752
- if (botId === undefined || botId === null) {
752
+ if (botId === undefined || botId === null || botId === '') {
753
753
  throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBot';
754
754
  }
755
755
 
@@ -780,11 +780,11 @@ class IntegrationsApi {
780
780
  opts = opts || {};
781
781
 
782
782
  // verify the required parameter 'integrationId' is set
783
- if (integrationId === undefined || integrationId === null) {
783
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
784
784
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';
785
785
  }
786
786
  // verify the required parameter 'botId' is set
787
- if (botId === undefined || botId === null) {
787
+ if (botId === undefined || botId === null || botId === '') {
788
788
  throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorIntegrationIdBotVersions';
789
789
  }
790
790
 
@@ -809,7 +809,7 @@ class IntegrationsApi {
809
809
  */
810
810
  getIntegrationsBotconnectorIntegrationIdBots(integrationId) {
811
811
  // verify the required parameter 'integrationId' is set
812
- if (integrationId === undefined || integrationId === null) {
812
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
813
813
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBots';
814
814
  }
815
815
 
@@ -839,7 +839,7 @@ class IntegrationsApi {
839
839
  opts = opts || {};
840
840
 
841
841
  // verify the required parameter 'integrationId' is set
842
- if (integrationId === undefined || integrationId === null) {
842
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
843
843
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBotsSummaries';
844
844
  }
845
845
 
@@ -923,7 +923,7 @@ class IntegrationsApi {
923
923
  */
924
924
  getIntegrationsCredential(credentialId) {
925
925
  // verify the required parameter 'credentialId' is set
926
- if (credentialId === undefined || credentialId === null) {
926
+ if (credentialId === undefined || credentialId === null || credentialId === '') {
927
927
  throw 'Missing the required parameter "credentialId" when calling getIntegrationsCredential';
928
928
  }
929
929
 
@@ -943,10 +943,11 @@ class IntegrationsApi {
943
943
 
944
944
  /**
945
945
  * List multiple sets of credentials
946
- *
946
+ * This endpoint is deprecated. Please see the Listing API (GET /api/v2/integrations/credentials/listing)
947
947
  * @param {Object} opts Optional parameters
948
948
  * @param {Number} opts.pageNumber Page number (default to 1)
949
949
  * @param {Number} opts.pageSize Page size (default to 25)
950
+ * @deprecated
950
951
  */
951
952
  getIntegrationsCredentials(opts) {
952
953
  opts = opts || {};
@@ -1044,7 +1045,7 @@ class IntegrationsApi {
1044
1045
  */
1045
1046
  getIntegrationsSpeechAudioconnectorIntegrationId(integrationId) {
1046
1047
  // verify the required parameter 'integrationId' is set
1047
- if (integrationId === undefined || integrationId === null) {
1048
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
1048
1049
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';
1049
1050
  }
1050
1051
 
@@ -1069,7 +1070,7 @@ class IntegrationsApi {
1069
1070
  */
1070
1071
  getIntegrationsSpeechDialogflowAgent(agentId) {
1071
1072
  // verify the required parameter 'agentId' is set
1072
- if (agentId === undefined || agentId === null) {
1073
+ if (agentId === undefined || agentId === null || agentId === '') {
1073
1074
  throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowAgent';
1074
1075
  }
1075
1076
 
@@ -1120,7 +1121,7 @@ class IntegrationsApi {
1120
1121
  */
1121
1122
  getIntegrationsSpeechDialogflowcxAgent(agentId) {
1122
1123
  // verify the required parameter 'agentId' is set
1123
- if (agentId === undefined || agentId === null) {
1124
+ if (agentId === undefined || agentId === null || agentId === '') {
1124
1125
  throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';
1125
1126
  }
1126
1127
 
@@ -1171,7 +1172,7 @@ class IntegrationsApi {
1171
1172
  */
1172
1173
  getIntegrationsSpeechLexBotAlias(aliasId) {
1173
1174
  // verify the required parameter 'aliasId' is set
1174
- if (aliasId === undefined || aliasId === null) {
1175
+ if (aliasId === undefined || aliasId === null || aliasId === '') {
1175
1176
  throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexBotAlias';
1176
1177
  }
1177
1178
 
@@ -1203,7 +1204,7 @@ class IntegrationsApi {
1203
1204
  opts = opts || {};
1204
1205
 
1205
1206
  // verify the required parameter 'botId' is set
1206
- if (botId === undefined || botId === null) {
1207
+ if (botId === undefined || botId === null || botId === '') {
1207
1208
  throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexBotBotIdAliases';
1208
1209
  }
1209
1210
 
@@ -1254,7 +1255,7 @@ class IntegrationsApi {
1254
1255
  */
1255
1256
  getIntegrationsSpeechLexv2BotAlias(aliasId) {
1256
1257
  // verify the required parameter 'aliasId' is set
1257
- if (aliasId === undefined || aliasId === null) {
1258
+ if (aliasId === undefined || aliasId === null || aliasId === '') {
1258
1259
  throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';
1259
1260
  }
1260
1261
 
@@ -1286,7 +1287,7 @@ class IntegrationsApi {
1286
1287
  opts = opts || {};
1287
1288
 
1288
1289
  // verify the required parameter 'botId' is set
1289
- if (botId === undefined || botId === null) {
1290
+ if (botId === undefined || botId === null || botId === '') {
1290
1291
  throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';
1291
1292
  }
1292
1293
 
@@ -1343,11 +1344,11 @@ class IntegrationsApi {
1343
1344
  opts = opts || {};
1344
1345
 
1345
1346
  // verify the required parameter 'nuanceIntegrationId' is set
1346
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1347
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1347
1348
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';
1348
1349
  }
1349
1350
  // verify the required parameter 'botId' is set
1350
- if (botId === undefined || botId === null) {
1351
+ if (botId === undefined || botId === null || botId === '') {
1351
1352
  throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';
1352
1353
  }
1353
1354
 
@@ -1374,15 +1375,15 @@ class IntegrationsApi {
1374
1375
  */
1375
1376
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId) {
1376
1377
  // verify the required parameter 'nuanceIntegrationId' is set
1377
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1378
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1378
1379
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
1379
1380
  }
1380
1381
  // verify the required parameter 'botId' is set
1381
- if (botId === undefined || botId === null) {
1382
+ if (botId === undefined || botId === null || botId === '') {
1382
1383
  throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
1383
1384
  }
1384
1385
  // verify the required parameter 'jobId' is set
1385
- if (jobId === undefined || jobId === null) {
1386
+ if (jobId === undefined || jobId === null || jobId === '') {
1386
1387
  throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
1387
1388
  }
1388
1389
 
@@ -1409,15 +1410,15 @@ class IntegrationsApi {
1409
1410
  */
1410
1411
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId) {
1411
1412
  // verify the required parameter 'nuanceIntegrationId' is set
1412
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1413
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1413
1414
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
1414
1415
  }
1415
1416
  // verify the required parameter 'botId' is set
1416
- if (botId === undefined || botId === null) {
1417
+ if (botId === undefined || botId === null || botId === '') {
1417
1418
  throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
1418
1419
  }
1419
1420
  // verify the required parameter 'jobId' is set
1420
- if (jobId === undefined || jobId === null) {
1421
+ if (jobId === undefined || jobId === null || jobId === '') {
1421
1422
  throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
1422
1423
  }
1423
1424
 
@@ -1448,7 +1449,7 @@ class IntegrationsApi {
1448
1449
  opts = opts || {};
1449
1450
 
1450
1451
  // verify the required parameter 'nuanceIntegrationId' is set
1451
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1452
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1452
1453
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';
1453
1454
  }
1454
1455
 
@@ -1474,11 +1475,11 @@ class IntegrationsApi {
1474
1475
  */
1475
1476
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId) {
1476
1477
  // verify the required parameter 'nuanceIntegrationId' is set
1477
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1478
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1478
1479
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';
1479
1480
  }
1480
1481
  // verify the required parameter 'jobId' is set
1481
- if (jobId === undefined || jobId === null) {
1482
+ if (jobId === undefined || jobId === null || jobId === '') {
1482
1483
  throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';
1483
1484
  }
1484
1485
 
@@ -1504,11 +1505,11 @@ class IntegrationsApi {
1504
1505
  */
1505
1506
  getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId) {
1506
1507
  // verify the required parameter 'nuanceIntegrationId' is set
1507
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
1508
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1508
1509
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';
1509
1510
  }
1510
1511
  // verify the required parameter 'jobId' is set
1511
- if (jobId === undefined || jobId === null) {
1512
+ if (jobId === undefined || jobId === null || jobId === '') {
1512
1513
  throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';
1513
1514
  }
1514
1515
 
@@ -1533,7 +1534,7 @@ class IntegrationsApi {
1533
1534
  */
1534
1535
  getIntegrationsSpeechSttEngine(engineId) {
1535
1536
  // verify the required parameter 'engineId' is set
1536
- if (engineId === undefined || engineId === null) {
1537
+ if (engineId === undefined || engineId === null || engineId === '') {
1537
1538
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';
1538
1539
  }
1539
1540
 
@@ -1588,7 +1589,7 @@ class IntegrationsApi {
1588
1589
  opts = opts || {};
1589
1590
 
1590
1591
  // verify the required parameter 'engineId' is set
1591
- if (engineId === undefined || engineId === null) {
1592
+ if (engineId === undefined || engineId === null || engineId === '') {
1592
1593
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngine';
1593
1594
  }
1594
1595
 
@@ -1614,11 +1615,11 @@ class IntegrationsApi {
1614
1615
  */
1615
1616
  getIntegrationsSpeechTtsEngineVoice(engineId, voiceId) {
1616
1617
  // verify the required parameter 'engineId' is set
1617
- if (engineId === undefined || engineId === null) {
1618
+ if (engineId === undefined || engineId === null || engineId === '') {
1618
1619
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoice';
1619
1620
  }
1620
1621
  // verify the required parameter 'voiceId' is set
1621
- if (voiceId === undefined || voiceId === null) {
1622
+ if (voiceId === undefined || voiceId === null || voiceId === '') {
1622
1623
  throw 'Missing the required parameter "voiceId" when calling getIntegrationsSpeechTtsEngineVoice';
1623
1624
  }
1624
1625
 
@@ -1648,7 +1649,7 @@ class IntegrationsApi {
1648
1649
  opts = opts || {};
1649
1650
 
1650
1651
  // verify the required parameter 'engineId' is set
1651
- if (engineId === undefined || engineId === null) {
1652
+ if (engineId === undefined || engineId === null || engineId === '') {
1652
1653
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoices';
1653
1654
  }
1654
1655
 
@@ -1721,7 +1722,7 @@ class IntegrationsApi {
1721
1722
  */
1722
1723
  getIntegrationsType(typeId) {
1723
1724
  // verify the required parameter 'typeId' is set
1724
- if (typeId === undefined || typeId === null) {
1725
+ if (typeId === undefined || typeId === null || typeId === '') {
1725
1726
  throw 'Missing the required parameter "typeId" when calling getIntegrationsType';
1726
1727
  }
1727
1728
 
@@ -1747,11 +1748,11 @@ class IntegrationsApi {
1747
1748
  */
1748
1749
  getIntegrationsTypeConfigschema(typeId, configType) {
1749
1750
  // verify the required parameter 'typeId' is set
1750
- if (typeId === undefined || typeId === null) {
1751
+ if (typeId === undefined || typeId === null || typeId === '') {
1751
1752
  throw 'Missing the required parameter "typeId" when calling getIntegrationsTypeConfigschema';
1752
1753
  }
1753
1754
  // verify the required parameter 'configType' is set
1754
- if (configType === undefined || configType === null) {
1755
+ if (configType === undefined || configType === null || configType === '') {
1755
1756
  throw 'Missing the required parameter "configType" when calling getIntegrationsTypeConfigschema';
1756
1757
  }
1757
1758
 
@@ -1805,7 +1806,7 @@ class IntegrationsApi {
1805
1806
  */
1806
1807
  getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId) {
1807
1808
  // verify the required parameter 'ucIntegrationId' is set
1808
- if (ucIntegrationId === undefined || ucIntegrationId === null) {
1809
+ if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
1809
1810
  throw 'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';
1810
1811
  }
1811
1812
 
@@ -1899,7 +1900,7 @@ class IntegrationsApi {
1899
1900
  opts = opts || {};
1900
1901
 
1901
1902
  // verify the required parameter 'integrationId' is set
1902
- if (integrationId === undefined || integrationId === null) {
1903
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
1903
1904
  throw 'Missing the required parameter "integrationId" when calling patchIntegration';
1904
1905
  }
1905
1906
 
@@ -1925,7 +1926,7 @@ class IntegrationsApi {
1925
1926
  */
1926
1927
  patchIntegrationsAction(actionId, body) {
1927
1928
  // verify the required parameter 'actionId' is set
1928
- if (actionId === undefined || actionId === null) {
1929
+ if (actionId === undefined || actionId === null || actionId === '') {
1929
1930
  throw 'Missing the required parameter "actionId" when calling patchIntegrationsAction';
1930
1931
  }
1931
1932
  // verify the required parameter 'body' is set
@@ -1955,7 +1956,7 @@ class IntegrationsApi {
1955
1956
  */
1956
1957
  patchIntegrationsActionDraft(actionId, body) {
1957
1958
  // verify the required parameter 'actionId' is set
1958
- if (actionId === undefined || actionId === null) {
1959
+ if (actionId === undefined || actionId === null || actionId === '') {
1959
1960
  throw 'Missing the required parameter "actionId" when calling patchIntegrationsActionDraft';
1960
1961
  }
1961
1962
  // verify the required parameter 'body' is set
@@ -2008,7 +2009,7 @@ class IntegrationsApi {
2008
2009
  */
2009
2010
  postIntegrationsActionDraft(actionId) {
2010
2011
  // verify the required parameter 'actionId' is set
2011
- if (actionId === undefined || actionId === null) {
2012
+ if (actionId === undefined || actionId === null || actionId === '') {
2012
2013
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';
2013
2014
  }
2014
2015
 
@@ -2034,7 +2035,7 @@ class IntegrationsApi {
2034
2035
  */
2035
2036
  postIntegrationsActionDraftFunctionUpload(actionId, body) {
2036
2037
  // verify the required parameter 'actionId' is set
2037
- if (actionId === undefined || actionId === null) {
2038
+ if (actionId === undefined || actionId === null || actionId === '') {
2038
2039
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
2039
2040
  }
2040
2041
  // verify the required parameter 'body' is set
@@ -2064,7 +2065,7 @@ class IntegrationsApi {
2064
2065
  */
2065
2066
  postIntegrationsActionDraftPublish(actionId, body) {
2066
2067
  // verify the required parameter 'actionId' is set
2067
- if (actionId === undefined || actionId === null) {
2068
+ if (actionId === undefined || actionId === null || actionId === '') {
2068
2069
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftPublish';
2069
2070
  }
2070
2071
  // verify the required parameter 'body' is set
@@ -2098,7 +2099,7 @@ class IntegrationsApi {
2098
2099
  opts = opts || {};
2099
2100
 
2100
2101
  // verify the required parameter 'actionId' is set
2101
- if (actionId === undefined || actionId === null) {
2102
+ if (actionId === undefined || actionId === null || actionId === '') {
2102
2103
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';
2103
2104
  }
2104
2105
  // verify the required parameter 'body' is set
@@ -2132,7 +2133,7 @@ class IntegrationsApi {
2132
2133
  opts = opts || {};
2133
2134
 
2134
2135
  // verify the required parameter 'actionId' is set
2135
- if (actionId === undefined || actionId === null) {
2136
+ if (actionId === undefined || actionId === null || actionId === '') {
2136
2137
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';
2137
2138
  }
2138
2139
  // verify the required parameter 'body' is set
@@ -2166,7 +2167,7 @@ class IntegrationsApi {
2166
2167
  opts = opts || {};
2167
2168
 
2168
2169
  // verify the required parameter 'actionId' is set
2169
- if (actionId === undefined || actionId === null) {
2170
+ if (actionId === undefined || actionId === null || actionId === '') {
2170
2171
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionTest';
2171
2172
  }
2172
2173
  // verify the required parameter 'body' is set
@@ -2327,11 +2328,11 @@ class IntegrationsApi {
2327
2328
  opts = opts || {};
2328
2329
 
2329
2330
  // verify the required parameter 'nuanceIntegrationId' is set
2330
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
2331
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2331
2332
  throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';
2332
2333
  }
2333
2334
  // verify the required parameter 'botId' is set
2334
- if (botId === undefined || botId === null) {
2335
+ if (botId === undefined || botId === null || botId === '') {
2335
2336
  throw 'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';
2336
2337
  }
2337
2338
 
@@ -2362,7 +2363,7 @@ class IntegrationsApi {
2362
2363
  opts = opts || {};
2363
2364
 
2364
2365
  // verify the required parameter 'nuanceIntegrationId' is set
2365
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
2366
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2366
2367
  throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';
2367
2368
  }
2368
2369
 
@@ -2388,7 +2389,7 @@ class IntegrationsApi {
2388
2389
  */
2389
2390
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings) {
2390
2391
  // verify the required parameter 'nuanceIntegrationId' is set
2391
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
2392
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2392
2393
  throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';
2393
2394
  }
2394
2395
  // verify the required parameter 'settings' is set
@@ -2418,7 +2419,7 @@ class IntegrationsApi {
2418
2419
  */
2419
2420
  postIntegrationsWebhookEvents(tokenId, body) {
2420
2421
  // verify the required parameter 'tokenId' is set
2421
- if (tokenId === undefined || tokenId === null) {
2422
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
2422
2423
  throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
2423
2424
  }
2424
2425
  // verify the required parameter 'body' is set
@@ -2451,7 +2452,7 @@ class IntegrationsApi {
2451
2452
  opts = opts || {};
2452
2453
 
2453
2454
  // verify the required parameter 'integrationId' is set
2454
- if (integrationId === undefined || integrationId === null) {
2455
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2455
2456
  throw 'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';
2456
2457
  }
2457
2458
 
@@ -2477,7 +2478,7 @@ class IntegrationsApi {
2477
2478
  */
2478
2479
  putIntegrationsActionDraftFunction(actionId, body) {
2479
2480
  // verify the required parameter 'actionId' is set
2480
- if (actionId === undefined || actionId === null) {
2481
+ if (actionId === undefined || actionId === null || actionId === '') {
2481
2482
  throw 'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';
2482
2483
  }
2483
2484
  // verify the required parameter 'body' is set
@@ -2507,7 +2508,7 @@ class IntegrationsApi {
2507
2508
  */
2508
2509
  putIntegrationsBotconnectorIntegrationIdBots(integrationId, botList) {
2509
2510
  // verify the required parameter 'integrationId' is set
2510
- if (integrationId === undefined || integrationId === null) {
2511
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2511
2512
  throw 'Missing the required parameter "integrationId" when calling putIntegrationsBotconnectorIntegrationIdBots';
2512
2513
  }
2513
2514
  // verify the required parameter 'botList' is set
@@ -2540,7 +2541,7 @@ class IntegrationsApi {
2540
2541
  opts = opts || {};
2541
2542
 
2542
2543
  // verify the required parameter 'credentialId' is set
2543
- if (credentialId === undefined || credentialId === null) {
2544
+ if (credentialId === undefined || credentialId === null || credentialId === '') {
2544
2545
  throw 'Missing the required parameter "credentialId" when calling putIntegrationsCredential';
2545
2546
  }
2546
2547
 
@@ -2566,7 +2567,7 @@ class IntegrationsApi {
2566
2567
  */
2567
2568
  putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings) {
2568
2569
  // verify the required parameter 'nuanceIntegrationId' is set
2569
- if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
2570
+ if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2570
2571
  throw 'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';
2571
2572
  }
2572
2573
  // verify the required parameter 'settings' is set
@@ -2621,7 +2622,7 @@ class IntegrationsApi {
2621
2622
  */
2622
2623
  putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId, body) {
2623
2624
  // verify the required parameter 'ucIntegrationId' is set
2624
- if (ucIntegrationId === undefined || ucIntegrationId === null) {
2625
+ if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
2625
2626
  throw 'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';
2626
2627
  }
2627
2628
  // verify the required parameter 'body' is set