purecloud-platform-client-v2 223.0.0 → 225.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.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +825 -249
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.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
|
|
|
@@ -966,6 +966,32 @@ class IntegrationsApi {
|
|
|
966
966
|
);
|
|
967
967
|
}
|
|
968
968
|
|
|
969
|
+
/**
|
|
970
|
+
* List multiple sets of credentials using cursor-based paging
|
|
971
|
+
*
|
|
972
|
+
* @param {Object} opts Optional parameters
|
|
973
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
974
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
975
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
976
|
+
*/
|
|
977
|
+
getIntegrationsCredentialsListing(opts) {
|
|
978
|
+
opts = opts || {};
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
return this.apiClient.callApi(
|
|
982
|
+
'/api/v2/integrations/credentials/listing',
|
|
983
|
+
'GET',
|
|
984
|
+
{ },
|
|
985
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
986
|
+
{ },
|
|
987
|
+
{ },
|
|
988
|
+
null,
|
|
989
|
+
['PureCloud OAuth'],
|
|
990
|
+
['application/json'],
|
|
991
|
+
['application/json']
|
|
992
|
+
);
|
|
993
|
+
}
|
|
994
|
+
|
|
969
995
|
/**
|
|
970
996
|
* List all credential types
|
|
971
997
|
*
|
|
@@ -1018,7 +1044,7 @@ class IntegrationsApi {
|
|
|
1018
1044
|
*/
|
|
1019
1045
|
getIntegrationsSpeechAudioconnectorIntegrationId(integrationId) {
|
|
1020
1046
|
// verify the required parameter 'integrationId' is set
|
|
1021
|
-
if (integrationId === undefined || integrationId === null) {
|
|
1047
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
1022
1048
|
throw 'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';
|
|
1023
1049
|
}
|
|
1024
1050
|
|
|
@@ -1043,7 +1069,7 @@ class IntegrationsApi {
|
|
|
1043
1069
|
*/
|
|
1044
1070
|
getIntegrationsSpeechDialogflowAgent(agentId) {
|
|
1045
1071
|
// verify the required parameter 'agentId' is set
|
|
1046
|
-
if (agentId === undefined || agentId === null) {
|
|
1072
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
1047
1073
|
throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowAgent';
|
|
1048
1074
|
}
|
|
1049
1075
|
|
|
@@ -1094,7 +1120,7 @@ class IntegrationsApi {
|
|
|
1094
1120
|
*/
|
|
1095
1121
|
getIntegrationsSpeechDialogflowcxAgent(agentId) {
|
|
1096
1122
|
// verify the required parameter 'agentId' is set
|
|
1097
|
-
if (agentId === undefined || agentId === null) {
|
|
1123
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
1098
1124
|
throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';
|
|
1099
1125
|
}
|
|
1100
1126
|
|
|
@@ -1145,7 +1171,7 @@ class IntegrationsApi {
|
|
|
1145
1171
|
*/
|
|
1146
1172
|
getIntegrationsSpeechLexBotAlias(aliasId) {
|
|
1147
1173
|
// verify the required parameter 'aliasId' is set
|
|
1148
|
-
if (aliasId === undefined || aliasId === null) {
|
|
1174
|
+
if (aliasId === undefined || aliasId === null || aliasId === '') {
|
|
1149
1175
|
throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexBotAlias';
|
|
1150
1176
|
}
|
|
1151
1177
|
|
|
@@ -1177,7 +1203,7 @@ class IntegrationsApi {
|
|
|
1177
1203
|
opts = opts || {};
|
|
1178
1204
|
|
|
1179
1205
|
// verify the required parameter 'botId' is set
|
|
1180
|
-
if (botId === undefined || botId === null) {
|
|
1206
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
1181
1207
|
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexBotBotIdAliases';
|
|
1182
1208
|
}
|
|
1183
1209
|
|
|
@@ -1228,7 +1254,7 @@ class IntegrationsApi {
|
|
|
1228
1254
|
*/
|
|
1229
1255
|
getIntegrationsSpeechLexv2BotAlias(aliasId) {
|
|
1230
1256
|
// verify the required parameter 'aliasId' is set
|
|
1231
|
-
if (aliasId === undefined || aliasId === null) {
|
|
1257
|
+
if (aliasId === undefined || aliasId === null || aliasId === '') {
|
|
1232
1258
|
throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';
|
|
1233
1259
|
}
|
|
1234
1260
|
|
|
@@ -1260,7 +1286,7 @@ class IntegrationsApi {
|
|
|
1260
1286
|
opts = opts || {};
|
|
1261
1287
|
|
|
1262
1288
|
// verify the required parameter 'botId' is set
|
|
1263
|
-
if (botId === undefined || botId === null) {
|
|
1289
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
1264
1290
|
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';
|
|
1265
1291
|
}
|
|
1266
1292
|
|
|
@@ -1317,11 +1343,11 @@ class IntegrationsApi {
|
|
|
1317
1343
|
opts = opts || {};
|
|
1318
1344
|
|
|
1319
1345
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1320
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1346
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1321
1347
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';
|
|
1322
1348
|
}
|
|
1323
1349
|
// verify the required parameter 'botId' is set
|
|
1324
|
-
if (botId === undefined || botId === null) {
|
|
1350
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
1325
1351
|
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';
|
|
1326
1352
|
}
|
|
1327
1353
|
|
|
@@ -1348,15 +1374,15 @@ class IntegrationsApi {
|
|
|
1348
1374
|
*/
|
|
1349
1375
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId) {
|
|
1350
1376
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1351
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1377
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1352
1378
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
|
|
1353
1379
|
}
|
|
1354
1380
|
// verify the required parameter 'botId' is set
|
|
1355
|
-
if (botId === undefined || botId === null) {
|
|
1381
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
1356
1382
|
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
|
|
1357
1383
|
}
|
|
1358
1384
|
// verify the required parameter 'jobId' is set
|
|
1359
|
-
if (jobId === undefined || jobId === null) {
|
|
1385
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1360
1386
|
throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
|
|
1361
1387
|
}
|
|
1362
1388
|
|
|
@@ -1383,15 +1409,15 @@ class IntegrationsApi {
|
|
|
1383
1409
|
*/
|
|
1384
1410
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId) {
|
|
1385
1411
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1386
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1412
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1387
1413
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
|
|
1388
1414
|
}
|
|
1389
1415
|
// verify the required parameter 'botId' is set
|
|
1390
|
-
if (botId === undefined || botId === null) {
|
|
1416
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
1391
1417
|
throw 'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
|
|
1392
1418
|
}
|
|
1393
1419
|
// verify the required parameter 'jobId' is set
|
|
1394
|
-
if (jobId === undefined || jobId === null) {
|
|
1420
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1395
1421
|
throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
|
|
1396
1422
|
}
|
|
1397
1423
|
|
|
@@ -1422,7 +1448,7 @@ class IntegrationsApi {
|
|
|
1422
1448
|
opts = opts || {};
|
|
1423
1449
|
|
|
1424
1450
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1425
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1451
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1426
1452
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';
|
|
1427
1453
|
}
|
|
1428
1454
|
|
|
@@ -1448,11 +1474,11 @@ class IntegrationsApi {
|
|
|
1448
1474
|
*/
|
|
1449
1475
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId) {
|
|
1450
1476
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1451
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1477
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1452
1478
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';
|
|
1453
1479
|
}
|
|
1454
1480
|
// verify the required parameter 'jobId' is set
|
|
1455
|
-
if (jobId === undefined || jobId === null) {
|
|
1481
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1456
1482
|
throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';
|
|
1457
1483
|
}
|
|
1458
1484
|
|
|
@@ -1478,11 +1504,11 @@ class IntegrationsApi {
|
|
|
1478
1504
|
*/
|
|
1479
1505
|
getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId) {
|
|
1480
1506
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
1481
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
1507
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
1482
1508
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';
|
|
1483
1509
|
}
|
|
1484
1510
|
// verify the required parameter 'jobId' is set
|
|
1485
|
-
if (jobId === undefined || jobId === null) {
|
|
1511
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1486
1512
|
throw 'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';
|
|
1487
1513
|
}
|
|
1488
1514
|
|
|
@@ -1507,7 +1533,7 @@ class IntegrationsApi {
|
|
|
1507
1533
|
*/
|
|
1508
1534
|
getIntegrationsSpeechSttEngine(engineId) {
|
|
1509
1535
|
// verify the required parameter 'engineId' is set
|
|
1510
|
-
if (engineId === undefined || engineId === null) {
|
|
1536
|
+
if (engineId === undefined || engineId === null || engineId === '') {
|
|
1511
1537
|
throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';
|
|
1512
1538
|
}
|
|
1513
1539
|
|
|
@@ -1562,7 +1588,7 @@ class IntegrationsApi {
|
|
|
1562
1588
|
opts = opts || {};
|
|
1563
1589
|
|
|
1564
1590
|
// verify the required parameter 'engineId' is set
|
|
1565
|
-
if (engineId === undefined || engineId === null) {
|
|
1591
|
+
if (engineId === undefined || engineId === null || engineId === '') {
|
|
1566
1592
|
throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngine';
|
|
1567
1593
|
}
|
|
1568
1594
|
|
|
@@ -1588,11 +1614,11 @@ class IntegrationsApi {
|
|
|
1588
1614
|
*/
|
|
1589
1615
|
getIntegrationsSpeechTtsEngineVoice(engineId, voiceId) {
|
|
1590
1616
|
// verify the required parameter 'engineId' is set
|
|
1591
|
-
if (engineId === undefined || engineId === null) {
|
|
1617
|
+
if (engineId === undefined || engineId === null || engineId === '') {
|
|
1592
1618
|
throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoice';
|
|
1593
1619
|
}
|
|
1594
1620
|
// verify the required parameter 'voiceId' is set
|
|
1595
|
-
if (voiceId === undefined || voiceId === null) {
|
|
1621
|
+
if (voiceId === undefined || voiceId === null || voiceId === '') {
|
|
1596
1622
|
throw 'Missing the required parameter "voiceId" when calling getIntegrationsSpeechTtsEngineVoice';
|
|
1597
1623
|
}
|
|
1598
1624
|
|
|
@@ -1622,7 +1648,7 @@ class IntegrationsApi {
|
|
|
1622
1648
|
opts = opts || {};
|
|
1623
1649
|
|
|
1624
1650
|
// verify the required parameter 'engineId' is set
|
|
1625
|
-
if (engineId === undefined || engineId === null) {
|
|
1651
|
+
if (engineId === undefined || engineId === null || engineId === '') {
|
|
1626
1652
|
throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoices';
|
|
1627
1653
|
}
|
|
1628
1654
|
|
|
@@ -1695,7 +1721,7 @@ class IntegrationsApi {
|
|
|
1695
1721
|
*/
|
|
1696
1722
|
getIntegrationsType(typeId) {
|
|
1697
1723
|
// verify the required parameter 'typeId' is set
|
|
1698
|
-
if (typeId === undefined || typeId === null) {
|
|
1724
|
+
if (typeId === undefined || typeId === null || typeId === '') {
|
|
1699
1725
|
throw 'Missing the required parameter "typeId" when calling getIntegrationsType';
|
|
1700
1726
|
}
|
|
1701
1727
|
|
|
@@ -1721,11 +1747,11 @@ class IntegrationsApi {
|
|
|
1721
1747
|
*/
|
|
1722
1748
|
getIntegrationsTypeConfigschema(typeId, configType) {
|
|
1723
1749
|
// verify the required parameter 'typeId' is set
|
|
1724
|
-
if (typeId === undefined || typeId === null) {
|
|
1750
|
+
if (typeId === undefined || typeId === null || typeId === '') {
|
|
1725
1751
|
throw 'Missing the required parameter "typeId" when calling getIntegrationsTypeConfigschema';
|
|
1726
1752
|
}
|
|
1727
1753
|
// verify the required parameter 'configType' is set
|
|
1728
|
-
if (configType === undefined || configType === null) {
|
|
1754
|
+
if (configType === undefined || configType === null || configType === '') {
|
|
1729
1755
|
throw 'Missing the required parameter "configType" when calling getIntegrationsTypeConfigschema';
|
|
1730
1756
|
}
|
|
1731
1757
|
|
|
@@ -1779,7 +1805,7 @@ class IntegrationsApi {
|
|
|
1779
1805
|
*/
|
|
1780
1806
|
getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId) {
|
|
1781
1807
|
// verify the required parameter 'ucIntegrationId' is set
|
|
1782
|
-
if (ucIntegrationId === undefined || ucIntegrationId === null) {
|
|
1808
|
+
if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
|
|
1783
1809
|
throw 'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';
|
|
1784
1810
|
}
|
|
1785
1811
|
|
|
@@ -1873,7 +1899,7 @@ class IntegrationsApi {
|
|
|
1873
1899
|
opts = opts || {};
|
|
1874
1900
|
|
|
1875
1901
|
// verify the required parameter 'integrationId' is set
|
|
1876
|
-
if (integrationId === undefined || integrationId === null) {
|
|
1902
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
1877
1903
|
throw 'Missing the required parameter "integrationId" when calling patchIntegration';
|
|
1878
1904
|
}
|
|
1879
1905
|
|
|
@@ -1899,7 +1925,7 @@ class IntegrationsApi {
|
|
|
1899
1925
|
*/
|
|
1900
1926
|
patchIntegrationsAction(actionId, body) {
|
|
1901
1927
|
// verify the required parameter 'actionId' is set
|
|
1902
|
-
if (actionId === undefined || actionId === null) {
|
|
1928
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
1903
1929
|
throw 'Missing the required parameter "actionId" when calling patchIntegrationsAction';
|
|
1904
1930
|
}
|
|
1905
1931
|
// verify the required parameter 'body' is set
|
|
@@ -1929,7 +1955,7 @@ class IntegrationsApi {
|
|
|
1929
1955
|
*/
|
|
1930
1956
|
patchIntegrationsActionDraft(actionId, body) {
|
|
1931
1957
|
// verify the required parameter 'actionId' is set
|
|
1932
|
-
if (actionId === undefined || actionId === null) {
|
|
1958
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
1933
1959
|
throw 'Missing the required parameter "actionId" when calling patchIntegrationsActionDraft';
|
|
1934
1960
|
}
|
|
1935
1961
|
// verify the required parameter 'body' is set
|
|
@@ -1982,7 +2008,7 @@ class IntegrationsApi {
|
|
|
1982
2008
|
*/
|
|
1983
2009
|
postIntegrationsActionDraft(actionId) {
|
|
1984
2010
|
// verify the required parameter 'actionId' is set
|
|
1985
|
-
if (actionId === undefined || actionId === null) {
|
|
2011
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
1986
2012
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';
|
|
1987
2013
|
}
|
|
1988
2014
|
|
|
@@ -2008,7 +2034,7 @@ class IntegrationsApi {
|
|
|
2008
2034
|
*/
|
|
2009
2035
|
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
2010
2036
|
// verify the required parameter 'actionId' is set
|
|
2011
|
-
if (actionId === undefined || actionId === null) {
|
|
2037
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2012
2038
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
|
|
2013
2039
|
}
|
|
2014
2040
|
// verify the required parameter 'body' is set
|
|
@@ -2038,7 +2064,7 @@ class IntegrationsApi {
|
|
|
2038
2064
|
*/
|
|
2039
2065
|
postIntegrationsActionDraftPublish(actionId, body) {
|
|
2040
2066
|
// verify the required parameter 'actionId' is set
|
|
2041
|
-
if (actionId === undefined || actionId === null) {
|
|
2067
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2042
2068
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftPublish';
|
|
2043
2069
|
}
|
|
2044
2070
|
// verify the required parameter 'body' is set
|
|
@@ -2072,7 +2098,7 @@ class IntegrationsApi {
|
|
|
2072
2098
|
opts = opts || {};
|
|
2073
2099
|
|
|
2074
2100
|
// verify the required parameter 'actionId' is set
|
|
2075
|
-
if (actionId === undefined || actionId === null) {
|
|
2101
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2076
2102
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';
|
|
2077
2103
|
}
|
|
2078
2104
|
// verify the required parameter 'body' is set
|
|
@@ -2106,7 +2132,7 @@ class IntegrationsApi {
|
|
|
2106
2132
|
opts = opts || {};
|
|
2107
2133
|
|
|
2108
2134
|
// verify the required parameter 'actionId' is set
|
|
2109
|
-
if (actionId === undefined || actionId === null) {
|
|
2135
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2110
2136
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';
|
|
2111
2137
|
}
|
|
2112
2138
|
// verify the required parameter 'body' is set
|
|
@@ -2140,7 +2166,7 @@ class IntegrationsApi {
|
|
|
2140
2166
|
opts = opts || {};
|
|
2141
2167
|
|
|
2142
2168
|
// verify the required parameter 'actionId' is set
|
|
2143
|
-
if (actionId === undefined || actionId === null) {
|
|
2169
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2144
2170
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionTest';
|
|
2145
2171
|
}
|
|
2146
2172
|
// verify the required parameter 'body' is set
|
|
@@ -2301,11 +2327,11 @@ class IntegrationsApi {
|
|
|
2301
2327
|
opts = opts || {};
|
|
2302
2328
|
|
|
2303
2329
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
2304
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
2330
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
2305
2331
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';
|
|
2306
2332
|
}
|
|
2307
2333
|
// verify the required parameter 'botId' is set
|
|
2308
|
-
if (botId === undefined || botId === null) {
|
|
2334
|
+
if (botId === undefined || botId === null || botId === '') {
|
|
2309
2335
|
throw 'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';
|
|
2310
2336
|
}
|
|
2311
2337
|
|
|
@@ -2336,7 +2362,7 @@ class IntegrationsApi {
|
|
|
2336
2362
|
opts = opts || {};
|
|
2337
2363
|
|
|
2338
2364
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
2339
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
2365
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
2340
2366
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';
|
|
2341
2367
|
}
|
|
2342
2368
|
|
|
@@ -2362,7 +2388,7 @@ class IntegrationsApi {
|
|
|
2362
2388
|
*/
|
|
2363
2389
|
postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings) {
|
|
2364
2390
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
2365
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
2391
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
2366
2392
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';
|
|
2367
2393
|
}
|
|
2368
2394
|
// verify the required parameter 'settings' is set
|
|
@@ -2392,7 +2418,7 @@ class IntegrationsApi {
|
|
|
2392
2418
|
*/
|
|
2393
2419
|
postIntegrationsWebhookEvents(tokenId, body) {
|
|
2394
2420
|
// verify the required parameter 'tokenId' is set
|
|
2395
|
-
if (tokenId === undefined || tokenId === null) {
|
|
2421
|
+
if (tokenId === undefined || tokenId === null || tokenId === '') {
|
|
2396
2422
|
throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
|
|
2397
2423
|
}
|
|
2398
2424
|
// verify the required parameter 'body' is set
|
|
@@ -2425,7 +2451,7 @@ class IntegrationsApi {
|
|
|
2425
2451
|
opts = opts || {};
|
|
2426
2452
|
|
|
2427
2453
|
// verify the required parameter 'integrationId' is set
|
|
2428
|
-
if (integrationId === undefined || integrationId === null) {
|
|
2454
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
2429
2455
|
throw 'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';
|
|
2430
2456
|
}
|
|
2431
2457
|
|
|
@@ -2451,7 +2477,7 @@ class IntegrationsApi {
|
|
|
2451
2477
|
*/
|
|
2452
2478
|
putIntegrationsActionDraftFunction(actionId, body) {
|
|
2453
2479
|
// verify the required parameter 'actionId' is set
|
|
2454
|
-
if (actionId === undefined || actionId === null) {
|
|
2480
|
+
if (actionId === undefined || actionId === null || actionId === '') {
|
|
2455
2481
|
throw 'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';
|
|
2456
2482
|
}
|
|
2457
2483
|
// verify the required parameter 'body' is set
|
|
@@ -2481,7 +2507,7 @@ class IntegrationsApi {
|
|
|
2481
2507
|
*/
|
|
2482
2508
|
putIntegrationsBotconnectorIntegrationIdBots(integrationId, botList) {
|
|
2483
2509
|
// verify the required parameter 'integrationId' is set
|
|
2484
|
-
if (integrationId === undefined || integrationId === null) {
|
|
2510
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
2485
2511
|
throw 'Missing the required parameter "integrationId" when calling putIntegrationsBotconnectorIntegrationIdBots';
|
|
2486
2512
|
}
|
|
2487
2513
|
// verify the required parameter 'botList' is set
|
|
@@ -2514,7 +2540,7 @@ class IntegrationsApi {
|
|
|
2514
2540
|
opts = opts || {};
|
|
2515
2541
|
|
|
2516
2542
|
// verify the required parameter 'credentialId' is set
|
|
2517
|
-
if (credentialId === undefined || credentialId === null) {
|
|
2543
|
+
if (credentialId === undefined || credentialId === null || credentialId === '') {
|
|
2518
2544
|
throw 'Missing the required parameter "credentialId" when calling putIntegrationsCredential';
|
|
2519
2545
|
}
|
|
2520
2546
|
|
|
@@ -2540,7 +2566,7 @@ class IntegrationsApi {
|
|
|
2540
2566
|
*/
|
|
2541
2567
|
putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings) {
|
|
2542
2568
|
// verify the required parameter 'nuanceIntegrationId' is set
|
|
2543
|
-
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null) {
|
|
2569
|
+
if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
|
|
2544
2570
|
throw 'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';
|
|
2545
2571
|
}
|
|
2546
2572
|
// verify the required parameter 'settings' is set
|
|
@@ -2595,7 +2621,7 @@ class IntegrationsApi {
|
|
|
2595
2621
|
*/
|
|
2596
2622
|
putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId, body) {
|
|
2597
2623
|
// verify the required parameter 'ucIntegrationId' is set
|
|
2598
|
-
if (ucIntegrationId === undefined || ucIntegrationId === null) {
|
|
2624
|
+
if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
|
|
2599
2625
|
throw 'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';
|
|
2600
2626
|
}
|
|
2601
2627
|
// verify the required parameter 'body' is set
|