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.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- 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 +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- 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 +29 -29
- 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 +486 -342
- 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 +16 -16
- 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 +82 -81
- 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 +121 -120
- 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 +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- 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 +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- 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 +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class ArchitectApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteArchitectEmergencygroup(emergencyGroupId) {
|
|
29
29
|
// verify the required parameter 'emergencyGroupId' is set
|
|
30
|
-
if (emergencyGroupId === undefined || emergencyGroupId === null) {
|
|
30
|
+
if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
|
|
31
31
|
throw 'Missing the required parameter "emergencyGroupId" when calling deleteArchitectEmergencygroup';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class ArchitectApi {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteArchitectGrammar(grammarId) {
|
|
54
54
|
// verify the required parameter 'grammarId' is set
|
|
55
|
-
if (grammarId === undefined || grammarId === null) {
|
|
55
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
56
56
|
throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammar';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -78,11 +78,11 @@ class ArchitectApi {
|
|
|
78
78
|
*/
|
|
79
79
|
deleteArchitectGrammarLanguage(grammarId, languageCode) {
|
|
80
80
|
// verify the required parameter 'grammarId' is set
|
|
81
|
-
if (grammarId === undefined || grammarId === null) {
|
|
81
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
82
82
|
throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguage';
|
|
83
83
|
}
|
|
84
84
|
// verify the required parameter 'languageCode' is set
|
|
85
|
-
if (languageCode === undefined || languageCode === null) {
|
|
85
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
86
86
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguage';
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -108,11 +108,11 @@ class ArchitectApi {
|
|
|
108
108
|
*/
|
|
109
109
|
deleteArchitectGrammarLanguageFilesDtmf(grammarId, languageCode) {
|
|
110
110
|
// verify the required parameter 'grammarId' is set
|
|
111
|
-
if (grammarId === undefined || grammarId === null) {
|
|
111
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
112
112
|
throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesDtmf';
|
|
113
113
|
}
|
|
114
114
|
// verify the required parameter 'languageCode' is set
|
|
115
|
-
if (languageCode === undefined || languageCode === null) {
|
|
115
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
116
116
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesDtmf';
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -138,11 +138,11 @@ class ArchitectApi {
|
|
|
138
138
|
*/
|
|
139
139
|
deleteArchitectGrammarLanguageFilesVoice(grammarId, languageCode) {
|
|
140
140
|
// verify the required parameter 'grammarId' is set
|
|
141
|
-
if (grammarId === undefined || grammarId === null) {
|
|
141
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
142
142
|
throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesVoice';
|
|
143
143
|
}
|
|
144
144
|
// verify the required parameter 'languageCode' is set
|
|
145
|
-
if (languageCode === undefined || languageCode === null) {
|
|
145
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
146
146
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectGrammarLanguageFilesVoice';
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -167,7 +167,7 @@ class ArchitectApi {
|
|
|
167
167
|
*/
|
|
168
168
|
deleteArchitectIvr(ivrId) {
|
|
169
169
|
// verify the required parameter 'ivrId' is set
|
|
170
|
-
if (ivrId === undefined || ivrId === null) {
|
|
170
|
+
if (ivrId === undefined || ivrId === null || ivrId === '') {
|
|
171
171
|
throw 'Missing the required parameter "ivrId" when calling deleteArchitectIvr';
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -196,7 +196,7 @@ class ArchitectApi {
|
|
|
196
196
|
opts = opts || {};
|
|
197
197
|
|
|
198
198
|
// verify the required parameter 'promptId' is set
|
|
199
|
-
if (promptId === undefined || promptId === null) {
|
|
199
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
200
200
|
throw 'Missing the required parameter "promptId" when calling deleteArchitectPrompt';
|
|
201
201
|
}
|
|
202
202
|
|
|
@@ -222,11 +222,11 @@ class ArchitectApi {
|
|
|
222
222
|
*/
|
|
223
223
|
deleteArchitectPromptResource(promptId, languageCode) {
|
|
224
224
|
// verify the required parameter 'promptId' is set
|
|
225
|
-
if (promptId === undefined || promptId === null) {
|
|
225
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
226
226
|
throw 'Missing the required parameter "promptId" when calling deleteArchitectPromptResource';
|
|
227
227
|
}
|
|
228
228
|
// verify the required parameter 'languageCode' is set
|
|
229
|
-
if (languageCode === undefined || languageCode === null) {
|
|
229
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
230
230
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectPromptResource';
|
|
231
231
|
}
|
|
232
232
|
|
|
@@ -252,11 +252,11 @@ class ArchitectApi {
|
|
|
252
252
|
*/
|
|
253
253
|
deleteArchitectPromptResourceAudio(promptId, languageCode) {
|
|
254
254
|
// verify the required parameter 'promptId' is set
|
|
255
|
-
if (promptId === undefined || promptId === null) {
|
|
255
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
256
256
|
throw 'Missing the required parameter "promptId" when calling deleteArchitectPromptResourceAudio';
|
|
257
257
|
}
|
|
258
258
|
// verify the required parameter 'languageCode' is set
|
|
259
|
-
if (languageCode === undefined || languageCode === null) {
|
|
259
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
260
260
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectPromptResourceAudio';
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -306,7 +306,7 @@ class ArchitectApi {
|
|
|
306
306
|
*/
|
|
307
307
|
deleteArchitectSchedule(scheduleId) {
|
|
308
308
|
// verify the required parameter 'scheduleId' is set
|
|
309
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
309
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
310
310
|
throw 'Missing the required parameter "scheduleId" when calling deleteArchitectSchedule';
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -331,7 +331,7 @@ class ArchitectApi {
|
|
|
331
331
|
*/
|
|
332
332
|
deleteArchitectSchedulegroup(scheduleGroupId) {
|
|
333
333
|
// verify the required parameter 'scheduleGroupId' is set
|
|
334
|
-
if (scheduleGroupId === undefined || scheduleGroupId === null) {
|
|
334
|
+
if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
|
|
335
335
|
throw 'Missing the required parameter "scheduleGroupId" when calling deleteArchitectSchedulegroup';
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -357,11 +357,11 @@ class ArchitectApi {
|
|
|
357
357
|
*/
|
|
358
358
|
deleteArchitectSystempromptResource(promptId, languageCode) {
|
|
359
359
|
// verify the required parameter 'promptId' is set
|
|
360
|
-
if (promptId === undefined || promptId === null) {
|
|
360
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
361
361
|
throw 'Missing the required parameter "promptId" when calling deleteArchitectSystempromptResource';
|
|
362
362
|
}
|
|
363
363
|
// verify the required parameter 'languageCode' is set
|
|
364
|
-
if (languageCode === undefined || languageCode === null) {
|
|
364
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
365
365
|
throw 'Missing the required parameter "languageCode" when calling deleteArchitectSystempromptResource';
|
|
366
366
|
}
|
|
367
367
|
|
|
@@ -386,7 +386,7 @@ class ArchitectApi {
|
|
|
386
386
|
*/
|
|
387
387
|
deleteFlow(flowId) {
|
|
388
388
|
// verify the required parameter 'flowId' is set
|
|
389
|
-
if (flowId === undefined || flowId === null) {
|
|
389
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
390
390
|
throw 'Missing the required parameter "flowId" when calling deleteFlow';
|
|
391
391
|
}
|
|
392
392
|
|
|
@@ -411,7 +411,7 @@ class ArchitectApi {
|
|
|
411
411
|
*/
|
|
412
412
|
deleteFlowInstancesSettingsLoglevels(flowId) {
|
|
413
413
|
// verify the required parameter 'flowId' is set
|
|
414
|
-
if (flowId === undefined || flowId === null) {
|
|
414
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
415
415
|
throw 'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';
|
|
416
416
|
}
|
|
417
417
|
|
|
@@ -465,7 +465,7 @@ class ArchitectApi {
|
|
|
465
465
|
opts = opts || {};
|
|
466
466
|
|
|
467
467
|
// verify the required parameter 'datatableId' is set
|
|
468
|
-
if (datatableId === undefined || datatableId === null) {
|
|
468
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
469
469
|
throw 'Missing the required parameter "datatableId" when calling deleteFlowsDatatable';
|
|
470
470
|
}
|
|
471
471
|
|
|
@@ -491,11 +491,11 @@ class ArchitectApi {
|
|
|
491
491
|
*/
|
|
492
492
|
deleteFlowsDatatableRow(datatableId, rowId) {
|
|
493
493
|
// verify the required parameter 'datatableId' is set
|
|
494
|
-
if (datatableId === undefined || datatableId === null) {
|
|
494
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
495
495
|
throw 'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';
|
|
496
496
|
}
|
|
497
497
|
// verify the required parameter 'rowId' is set
|
|
498
|
-
if (rowId === undefined || rowId === null) {
|
|
498
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
499
499
|
throw 'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';
|
|
500
500
|
}
|
|
501
501
|
|
|
@@ -540,7 +540,7 @@ class ArchitectApi {
|
|
|
540
540
|
*/
|
|
541
541
|
deleteFlowsMilestone(milestoneId) {
|
|
542
542
|
// verify the required parameter 'milestoneId' is set
|
|
543
|
-
if (milestoneId === undefined || milestoneId === null) {
|
|
543
|
+
if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
|
|
544
544
|
throw 'Missing the required parameter "milestoneId" when calling deleteFlowsMilestone';
|
|
545
545
|
}
|
|
546
546
|
|
|
@@ -764,7 +764,7 @@ class ArchitectApi {
|
|
|
764
764
|
*/
|
|
765
765
|
getArchitectDependencytrackingType(typeId) {
|
|
766
766
|
// verify the required parameter 'typeId' is set
|
|
767
|
-
if (typeId === undefined || typeId === null) {
|
|
767
|
+
if (typeId === undefined || typeId === null || typeId === '') {
|
|
768
768
|
throw 'Missing the required parameter "typeId" when calling getArchitectDependencytrackingType';
|
|
769
769
|
}
|
|
770
770
|
|
|
@@ -843,7 +843,7 @@ class ArchitectApi {
|
|
|
843
843
|
*/
|
|
844
844
|
getArchitectEmergencygroup(emergencyGroupId) {
|
|
845
845
|
// verify the required parameter 'emergencyGroupId' is set
|
|
846
|
-
if (emergencyGroupId === undefined || emergencyGroupId === null) {
|
|
846
|
+
if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
|
|
847
847
|
throw 'Missing the required parameter "emergencyGroupId" when calling getArchitectEmergencygroup';
|
|
848
848
|
}
|
|
849
849
|
|
|
@@ -930,7 +930,7 @@ class ArchitectApi {
|
|
|
930
930
|
opts = opts || {};
|
|
931
931
|
|
|
932
932
|
// verify the required parameter 'grammarId' is set
|
|
933
|
-
if (grammarId === undefined || grammarId === null) {
|
|
933
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
934
934
|
throw 'Missing the required parameter "grammarId" when calling getArchitectGrammar';
|
|
935
935
|
}
|
|
936
936
|
|
|
@@ -956,11 +956,11 @@ class ArchitectApi {
|
|
|
956
956
|
*/
|
|
957
957
|
getArchitectGrammarLanguage(grammarId, languageCode) {
|
|
958
958
|
// verify the required parameter 'grammarId' is set
|
|
959
|
-
if (grammarId === undefined || grammarId === null) {
|
|
959
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
960
960
|
throw 'Missing the required parameter "grammarId" when calling getArchitectGrammarLanguage';
|
|
961
961
|
}
|
|
962
962
|
// verify the required parameter 'languageCode' is set
|
|
963
|
-
if (languageCode === undefined || languageCode === null) {
|
|
963
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
964
964
|
throw 'Missing the required parameter "languageCode" when calling getArchitectGrammarLanguage';
|
|
965
965
|
}
|
|
966
966
|
|
|
@@ -1017,7 +1017,7 @@ class ArchitectApi {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
getArchitectIvr(ivrId) {
|
|
1019
1019
|
// verify the required parameter 'ivrId' is set
|
|
1020
|
-
if (ivrId === undefined || ivrId === null) {
|
|
1020
|
+
if (ivrId === undefined || ivrId === null || ivrId === '') {
|
|
1021
1021
|
throw 'Missing the required parameter "ivrId" when calling getArchitectIvr';
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
@@ -1042,7 +1042,7 @@ class ArchitectApi {
|
|
|
1042
1042
|
*/
|
|
1043
1043
|
getArchitectIvrIdentityresolution(ivrId) {
|
|
1044
1044
|
// verify the required parameter 'ivrId' is set
|
|
1045
|
-
if (ivrId === undefined || ivrId === null) {
|
|
1045
|
+
if (ivrId === undefined || ivrId === null || ivrId === '') {
|
|
1046
1046
|
throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
@@ -1134,7 +1134,7 @@ class ArchitectApi {
|
|
|
1134
1134
|
opts = opts || {};
|
|
1135
1135
|
|
|
1136
1136
|
// verify the required parameter 'promptId' is set
|
|
1137
|
-
if (promptId === undefined || promptId === null) {
|
|
1137
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1138
1138
|
throw 'Missing the required parameter "promptId" when calling getArchitectPrompt';
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
@@ -1168,11 +1168,11 @@ class ArchitectApi {
|
|
|
1168
1168
|
opts = opts || {};
|
|
1169
1169
|
|
|
1170
1170
|
// verify the required parameter 'promptId' is set
|
|
1171
|
-
if (promptId === undefined || promptId === null) {
|
|
1171
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1172
1172
|
throw 'Missing the required parameter "promptId" when calling getArchitectPromptHistoryHistoryId';
|
|
1173
1173
|
}
|
|
1174
1174
|
// verify the required parameter 'historyId' is set
|
|
1175
|
-
if (historyId === undefined || historyId === null) {
|
|
1175
|
+
if (historyId === undefined || historyId === null || historyId === '') {
|
|
1176
1176
|
throw 'Missing the required parameter "historyId" when calling getArchitectPromptHistoryHistoryId';
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
@@ -1198,11 +1198,11 @@ class ArchitectApi {
|
|
|
1198
1198
|
*/
|
|
1199
1199
|
getArchitectPromptResource(promptId, languageCode) {
|
|
1200
1200
|
// verify the required parameter 'promptId' is set
|
|
1201
|
-
if (promptId === undefined || promptId === null) {
|
|
1201
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1202
1202
|
throw 'Missing the required parameter "promptId" when calling getArchitectPromptResource';
|
|
1203
1203
|
}
|
|
1204
1204
|
// verify the required parameter 'languageCode' is set
|
|
1205
|
-
if (languageCode === undefined || languageCode === null) {
|
|
1205
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
1206
1206
|
throw 'Missing the required parameter "languageCode" when calling getArchitectPromptResource';
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
@@ -1232,7 +1232,7 @@ class ArchitectApi {
|
|
|
1232
1232
|
opts = opts || {};
|
|
1233
1233
|
|
|
1234
1234
|
// verify the required parameter 'promptId' is set
|
|
1235
|
-
if (promptId === undefined || promptId === null) {
|
|
1235
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1236
1236
|
throw 'Missing the required parameter "promptId" when calling getArchitectPromptResources';
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
@@ -1290,7 +1290,7 @@ class ArchitectApi {
|
|
|
1290
1290
|
*/
|
|
1291
1291
|
getArchitectSchedule(scheduleId) {
|
|
1292
1292
|
// verify the required parameter 'scheduleId' is set
|
|
1293
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1293
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1294
1294
|
throw 'Missing the required parameter "scheduleId" when calling getArchitectSchedule';
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
@@ -1315,7 +1315,7 @@ class ArchitectApi {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
getArchitectSchedulegroup(scheduleGroupId) {
|
|
1317
1317
|
// verify the required parameter 'scheduleGroupId' is set
|
|
1318
|
-
if (scheduleGroupId === undefined || scheduleGroupId === null) {
|
|
1318
|
+
if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
|
|
1319
1319
|
throw 'Missing the required parameter "scheduleGroupId" when calling getArchitectSchedulegroup';
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
@@ -1465,7 +1465,7 @@ class ArchitectApi {
|
|
|
1465
1465
|
opts = opts || {};
|
|
1466
1466
|
|
|
1467
1467
|
// verify the required parameter 'promptId' is set
|
|
1468
|
-
if (promptId === undefined || promptId === null) {
|
|
1468
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1469
1469
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystemprompt';
|
|
1470
1470
|
}
|
|
1471
1471
|
|
|
@@ -1499,11 +1499,11 @@ class ArchitectApi {
|
|
|
1499
1499
|
opts = opts || {};
|
|
1500
1500
|
|
|
1501
1501
|
// verify the required parameter 'promptId' is set
|
|
1502
|
-
if (promptId === undefined || promptId === null) {
|
|
1502
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1503
1503
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystempromptHistoryHistoryId';
|
|
1504
1504
|
}
|
|
1505
1505
|
// verify the required parameter 'historyId' is set
|
|
1506
|
-
if (historyId === undefined || historyId === null) {
|
|
1506
|
+
if (historyId === undefined || historyId === null || historyId === '') {
|
|
1507
1507
|
throw 'Missing the required parameter "historyId" when calling getArchitectSystempromptHistoryHistoryId';
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
@@ -1529,11 +1529,11 @@ class ArchitectApi {
|
|
|
1529
1529
|
*/
|
|
1530
1530
|
getArchitectSystempromptResource(promptId, languageCode) {
|
|
1531
1531
|
// verify the required parameter 'promptId' is set
|
|
1532
|
-
if (promptId === undefined || promptId === null) {
|
|
1532
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1533
1533
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystempromptResource';
|
|
1534
1534
|
}
|
|
1535
1535
|
// verify the required parameter 'languageCode' is set
|
|
1536
|
-
if (languageCode === undefined || languageCode === null) {
|
|
1536
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
1537
1537
|
throw 'Missing the required parameter "languageCode" when calling getArchitectSystempromptResource';
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
@@ -1565,7 +1565,7 @@ class ArchitectApi {
|
|
|
1565
1565
|
opts = opts || {};
|
|
1566
1566
|
|
|
1567
1567
|
// verify the required parameter 'promptId' is set
|
|
1568
|
-
if (promptId === undefined || promptId === null) {
|
|
1568
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
1569
1569
|
throw 'Missing the required parameter "promptId" when calling getArchitectSystempromptResources';
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
@@ -1627,7 +1627,7 @@ class ArchitectApi {
|
|
|
1627
1627
|
opts = opts || {};
|
|
1628
1628
|
|
|
1629
1629
|
// verify the required parameter 'flowId' is set
|
|
1630
|
-
if (flowId === undefined || flowId === null) {
|
|
1630
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1631
1631
|
throw 'Missing the required parameter "flowId" when calling getFlow';
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
@@ -1661,11 +1661,11 @@ class ArchitectApi {
|
|
|
1661
1661
|
opts = opts || {};
|
|
1662
1662
|
|
|
1663
1663
|
// verify the required parameter 'flowId' is set
|
|
1664
|
-
if (flowId === undefined || flowId === null) {
|
|
1664
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1665
1665
|
throw 'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';
|
|
1666
1666
|
}
|
|
1667
1667
|
// verify the required parameter 'historyId' is set
|
|
1668
|
-
if (historyId === undefined || historyId === null) {
|
|
1668
|
+
if (historyId === undefined || historyId === null || historyId === '') {
|
|
1669
1669
|
throw 'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
@@ -1694,7 +1694,7 @@ class ArchitectApi {
|
|
|
1694
1694
|
opts = opts || {};
|
|
1695
1695
|
|
|
1696
1696
|
// verify the required parameter 'flowId' is set
|
|
1697
|
-
if (flowId === undefined || flowId === null) {
|
|
1697
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1698
1698
|
throw 'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
@@ -1723,7 +1723,7 @@ class ArchitectApi {
|
|
|
1723
1723
|
opts = opts || {};
|
|
1724
1724
|
|
|
1725
1725
|
// verify the required parameter 'flowId' is set
|
|
1726
|
-
if (flowId === undefined || flowId === null) {
|
|
1726
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1727
1727
|
throw 'Missing the required parameter "flowId" when calling getFlowLatestconfiguration';
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
@@ -1753,11 +1753,11 @@ class ArchitectApi {
|
|
|
1753
1753
|
opts = opts || {};
|
|
1754
1754
|
|
|
1755
1755
|
// verify the required parameter 'flowId' is set
|
|
1756
|
-
if (flowId === undefined || flowId === null) {
|
|
1756
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1757
1757
|
throw 'Missing the required parameter "flowId" when calling getFlowVersion';
|
|
1758
1758
|
}
|
|
1759
1759
|
// verify the required parameter 'versionId' is set
|
|
1760
|
-
if (versionId === undefined || versionId === null) {
|
|
1760
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1761
1761
|
throw 'Missing the required parameter "versionId" when calling getFlowVersion';
|
|
1762
1762
|
}
|
|
1763
1763
|
|
|
@@ -1787,11 +1787,11 @@ class ArchitectApi {
|
|
|
1787
1787
|
opts = opts || {};
|
|
1788
1788
|
|
|
1789
1789
|
// verify the required parameter 'flowId' is set
|
|
1790
|
-
if (flowId === undefined || flowId === null) {
|
|
1790
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1791
1791
|
throw 'Missing the required parameter "flowId" when calling getFlowVersionConfiguration';
|
|
1792
1792
|
}
|
|
1793
1793
|
// verify the required parameter 'versionId' is set
|
|
1794
|
-
if (versionId === undefined || versionId === null) {
|
|
1794
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1795
1795
|
throw 'Missing the required parameter "versionId" when calling getFlowVersionConfiguration';
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
@@ -1821,11 +1821,11 @@ class ArchitectApi {
|
|
|
1821
1821
|
opts = opts || {};
|
|
1822
1822
|
|
|
1823
1823
|
// verify the required parameter 'flowId' is set
|
|
1824
|
-
if (flowId === undefined || flowId === null) {
|
|
1824
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1825
1825
|
throw 'Missing the required parameter "flowId" when calling getFlowVersionHealth';
|
|
1826
1826
|
}
|
|
1827
1827
|
// verify the required parameter 'versionId' is set
|
|
1828
|
-
if (versionId === undefined || versionId === null) {
|
|
1828
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1829
1829
|
throw 'Missing the required parameter "versionId" when calling getFlowVersionHealth';
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
@@ -1853,15 +1853,15 @@ class ArchitectApi {
|
|
|
1853
1853
|
*/
|
|
1854
1854
|
getFlowVersionIntentHealth(flowId, versionId, intentId, language) {
|
|
1855
1855
|
// verify the required parameter 'flowId' is set
|
|
1856
|
-
if (flowId === undefined || flowId === null) {
|
|
1856
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1857
1857
|
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';
|
|
1858
1858
|
}
|
|
1859
1859
|
// verify the required parameter 'versionId' is set
|
|
1860
|
-
if (versionId === undefined || versionId === null) {
|
|
1860
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1861
1861
|
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentHealth';
|
|
1862
1862
|
}
|
|
1863
1863
|
// verify the required parameter 'intentId' is set
|
|
1864
|
-
if (intentId === undefined || intentId === null) {
|
|
1864
|
+
if (intentId === undefined || intentId === null || intentId === '') {
|
|
1865
1865
|
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentHealth';
|
|
1866
1866
|
}
|
|
1867
1867
|
// verify the required parameter 'language' is set
|
|
@@ -1894,19 +1894,19 @@ class ArchitectApi {
|
|
|
1894
1894
|
*/
|
|
1895
1895
|
getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language) {
|
|
1896
1896
|
// verify the required parameter 'flowId' is set
|
|
1897
|
-
if (flowId === undefined || flowId === null) {
|
|
1897
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1898
1898
|
throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';
|
|
1899
1899
|
}
|
|
1900
1900
|
// verify the required parameter 'versionId' is set
|
|
1901
|
-
if (versionId === undefined || versionId === null) {
|
|
1901
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1902
1902
|
throw 'Missing the required parameter "versionId" when calling getFlowVersionIntentUtteranceHealth';
|
|
1903
1903
|
}
|
|
1904
1904
|
// verify the required parameter 'intentId' is set
|
|
1905
|
-
if (intentId === undefined || intentId === null) {
|
|
1905
|
+
if (intentId === undefined || intentId === null || intentId === '') {
|
|
1906
1906
|
throw 'Missing the required parameter "intentId" when calling getFlowVersionIntentUtteranceHealth';
|
|
1907
1907
|
}
|
|
1908
1908
|
// verify the required parameter 'utteranceId' is set
|
|
1909
|
-
if (utteranceId === undefined || utteranceId === null) {
|
|
1909
|
+
if (utteranceId === undefined || utteranceId === null || utteranceId === '') {
|
|
1910
1910
|
throw 'Missing the required parameter "utteranceId" when calling getFlowVersionIntentUtteranceHealth';
|
|
1911
1911
|
}
|
|
1912
1912
|
// verify the required parameter 'language' is set
|
|
@@ -1941,7 +1941,7 @@ class ArchitectApi {
|
|
|
1941
1941
|
opts = opts || {};
|
|
1942
1942
|
|
|
1943
1943
|
// verify the required parameter 'flowId' is set
|
|
1944
|
-
if (flowId === undefined || flowId === null) {
|
|
1944
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
1945
1945
|
throw 'Missing the required parameter "flowId" when calling getFlowVersions';
|
|
1946
1946
|
}
|
|
1947
1947
|
|
|
@@ -2013,7 +2013,7 @@ class ArchitectApi {
|
|
|
2013
2013
|
opts = opts || {};
|
|
2014
2014
|
|
|
2015
2015
|
// verify the required parameter 'datatableId' is set
|
|
2016
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2016
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2017
2017
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatable';
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
@@ -2039,11 +2039,11 @@ class ArchitectApi {
|
|
|
2039
2039
|
*/
|
|
2040
2040
|
getFlowsDatatableExportJob(datatableId, exportJobId) {
|
|
2041
2041
|
// verify the required parameter 'datatableId' is set
|
|
2042
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2042
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2043
2043
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableExportJob';
|
|
2044
2044
|
}
|
|
2045
2045
|
// verify the required parameter 'exportJobId' is set
|
|
2046
|
-
if (exportJobId === undefined || exportJobId === null) {
|
|
2046
|
+
if (exportJobId === undefined || exportJobId === null || exportJobId === '') {
|
|
2047
2047
|
throw 'Missing the required parameter "exportJobId" when calling getFlowsDatatableExportJob';
|
|
2048
2048
|
}
|
|
2049
2049
|
|
|
@@ -2069,11 +2069,11 @@ class ArchitectApi {
|
|
|
2069
2069
|
*/
|
|
2070
2070
|
getFlowsDatatableImportJob(datatableId, importJobId) {
|
|
2071
2071
|
// verify the required parameter 'datatableId' is set
|
|
2072
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2072
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2073
2073
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJob';
|
|
2074
2074
|
}
|
|
2075
2075
|
// verify the required parameter 'importJobId' is set
|
|
2076
|
-
if (importJobId === undefined || importJobId === null) {
|
|
2076
|
+
if (importJobId === undefined || importJobId === null || importJobId === '') {
|
|
2077
2077
|
throw 'Missing the required parameter "importJobId" when calling getFlowsDatatableImportJob';
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
@@ -2103,7 +2103,7 @@ class ArchitectApi {
|
|
|
2103
2103
|
opts = opts || {};
|
|
2104
2104
|
|
|
2105
2105
|
// verify the required parameter 'datatableId' is set
|
|
2106
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2106
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2107
2107
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJobs';
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
@@ -2133,11 +2133,11 @@ class ArchitectApi {
|
|
|
2133
2133
|
opts = opts || {};
|
|
2134
2134
|
|
|
2135
2135
|
// verify the required parameter 'datatableId' is set
|
|
2136
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2136
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2137
2137
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableRow';
|
|
2138
2138
|
}
|
|
2139
2139
|
// verify the required parameter 'rowId' is set
|
|
2140
|
-
if (rowId === undefined || rowId === null) {
|
|
2140
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
2141
2141
|
throw 'Missing the required parameter "rowId" when calling getFlowsDatatableRow';
|
|
2142
2142
|
}
|
|
2143
2143
|
|
|
@@ -2169,7 +2169,7 @@ class ArchitectApi {
|
|
|
2169
2169
|
opts = opts || {};
|
|
2170
2170
|
|
|
2171
2171
|
// verify the required parameter 'datatableId' is set
|
|
2172
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2172
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2173
2173
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableRows';
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
@@ -2228,7 +2228,7 @@ class ArchitectApi {
|
|
|
2228
2228
|
opts = opts || {};
|
|
2229
2229
|
|
|
2230
2230
|
// verify the required parameter 'datatableId' is set
|
|
2231
|
-
if (datatableId === undefined || datatableId === null) {
|
|
2231
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
2232
2232
|
throw 'Missing the required parameter "datatableId" when calling getFlowsDatatablesDivisionview';
|
|
2233
2233
|
}
|
|
2234
2234
|
|
|
@@ -2318,7 +2318,7 @@ class ArchitectApi {
|
|
|
2318
2318
|
*/
|
|
2319
2319
|
getFlowsExecution(flowExecutionId) {
|
|
2320
2320
|
// verify the required parameter 'flowExecutionId' is set
|
|
2321
|
-
if (flowExecutionId === undefined || flowExecutionId === null) {
|
|
2321
|
+
if (flowExecutionId === undefined || flowExecutionId === null || flowExecutionId === '') {
|
|
2322
2322
|
throw 'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
@@ -2347,7 +2347,7 @@ class ArchitectApi {
|
|
|
2347
2347
|
opts = opts || {};
|
|
2348
2348
|
|
|
2349
2349
|
// verify the required parameter 'jobId' is set
|
|
2350
|
-
if (jobId === undefined || jobId === null) {
|
|
2350
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2351
2351
|
throw 'Missing the required parameter "jobId" when calling getFlowsExportJob';
|
|
2352
2352
|
}
|
|
2353
2353
|
|
|
@@ -2376,7 +2376,7 @@ class ArchitectApi {
|
|
|
2376
2376
|
opts = opts || {};
|
|
2377
2377
|
|
|
2378
2378
|
// verify the required parameter 'instanceId' is set
|
|
2379
|
-
if (instanceId === undefined || instanceId === null) {
|
|
2379
|
+
if (instanceId === undefined || instanceId === null || instanceId === '') {
|
|
2380
2380
|
throw 'Missing the required parameter "instanceId" when calling getFlowsInstance';
|
|
2381
2381
|
}
|
|
2382
2382
|
|
|
@@ -2401,7 +2401,7 @@ class ArchitectApi {
|
|
|
2401
2401
|
*/
|
|
2402
2402
|
getFlowsInstancesJob(jobId) {
|
|
2403
2403
|
// verify the required parameter 'jobId' is set
|
|
2404
|
-
if (jobId === undefined || jobId === null) {
|
|
2404
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2405
2405
|
throw 'Missing the required parameter "jobId" when calling getFlowsInstancesJob';
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
@@ -2544,7 +2544,7 @@ class ArchitectApi {
|
|
|
2544
2544
|
opts = opts || {};
|
|
2545
2545
|
|
|
2546
2546
|
// verify the required parameter 'jobId' is set
|
|
2547
|
-
if (jobId === undefined || jobId === null) {
|
|
2547
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2548
2548
|
throw 'Missing the required parameter "jobId" when calling getFlowsJob';
|
|
2549
2549
|
}
|
|
2550
2550
|
|
|
@@ -2569,7 +2569,7 @@ class ArchitectApi {
|
|
|
2569
2569
|
*/
|
|
2570
2570
|
getFlowsMilestone(milestoneId) {
|
|
2571
2571
|
// verify the required parameter 'milestoneId' is set
|
|
2572
|
-
if (milestoneId === undefined || milestoneId === null) {
|
|
2572
|
+
if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
|
|
2573
2573
|
throw 'Missing the required parameter "milestoneId" when calling getFlowsMilestone';
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
@@ -2656,7 +2656,7 @@ class ArchitectApi {
|
|
|
2656
2656
|
*/
|
|
2657
2657
|
getFlowsOutcome(flowOutcomeId) {
|
|
2658
2658
|
// verify the required parameter 'flowOutcomeId' is set
|
|
2659
|
-
if (flowOutcomeId === undefined || flowOutcomeId === null) {
|
|
2659
|
+
if (flowOutcomeId === undefined || flowOutcomeId === null || flowOutcomeId === '') {
|
|
2660
2660
|
throw 'Missing the required parameter "flowOutcomeId" when calling getFlowsOutcome';
|
|
2661
2661
|
}
|
|
2662
2662
|
|
|
@@ -2747,7 +2747,7 @@ class ArchitectApi {
|
|
|
2747
2747
|
opts = opts || {};
|
|
2748
2748
|
|
|
2749
2749
|
// verify the required parameter 'grammarId' is set
|
|
2750
|
-
if (grammarId === undefined || grammarId === null) {
|
|
2750
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
2751
2751
|
throw 'Missing the required parameter "grammarId" when calling patchArchitectGrammar';
|
|
2752
2752
|
}
|
|
2753
2753
|
|
|
@@ -2777,11 +2777,11 @@ class ArchitectApi {
|
|
|
2777
2777
|
opts = opts || {};
|
|
2778
2778
|
|
|
2779
2779
|
// verify the required parameter 'grammarId' is set
|
|
2780
|
-
if (grammarId === undefined || grammarId === null) {
|
|
2780
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
2781
2781
|
throw 'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';
|
|
2782
2782
|
}
|
|
2783
2783
|
// verify the required parameter 'languageCode' is set
|
|
2784
|
-
if (languageCode === undefined || languageCode === null) {
|
|
2784
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
2785
2785
|
throw 'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';
|
|
2786
2786
|
}
|
|
2787
2787
|
|
|
@@ -2878,11 +2878,11 @@ class ArchitectApi {
|
|
|
2878
2878
|
*/
|
|
2879
2879
|
postArchitectGrammarLanguageFilesDtmf(grammarId, languageCode, body) {
|
|
2880
2880
|
// verify the required parameter 'grammarId' is set
|
|
2881
|
-
if (grammarId === undefined || grammarId === null) {
|
|
2881
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
2882
2882
|
throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesDtmf';
|
|
2883
2883
|
}
|
|
2884
2884
|
// verify the required parameter 'languageCode' is set
|
|
2885
|
-
if (languageCode === undefined || languageCode === null) {
|
|
2885
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
2886
2886
|
throw 'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesDtmf';
|
|
2887
2887
|
}
|
|
2888
2888
|
// verify the required parameter 'body' is set
|
|
@@ -2913,11 +2913,11 @@ class ArchitectApi {
|
|
|
2913
2913
|
*/
|
|
2914
2914
|
postArchitectGrammarLanguageFilesVoice(grammarId, languageCode, body) {
|
|
2915
2915
|
// verify the required parameter 'grammarId' is set
|
|
2916
|
-
if (grammarId === undefined || grammarId === null) {
|
|
2916
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
2917
2917
|
throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesVoice';
|
|
2918
2918
|
}
|
|
2919
2919
|
// verify the required parameter 'languageCode' is set
|
|
2920
|
-
if (languageCode === undefined || languageCode === null) {
|
|
2920
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
2921
2921
|
throw 'Missing the required parameter "languageCode" when calling postArchitectGrammarLanguageFilesVoice';
|
|
2922
2922
|
}
|
|
2923
2923
|
// verify the required parameter 'body' is set
|
|
@@ -2947,7 +2947,7 @@ class ArchitectApi {
|
|
|
2947
2947
|
*/
|
|
2948
2948
|
postArchitectGrammarLanguages(grammarId, body) {
|
|
2949
2949
|
// verify the required parameter 'grammarId' is set
|
|
2950
|
-
if (grammarId === undefined || grammarId === null) {
|
|
2950
|
+
if (grammarId === undefined || grammarId === null || grammarId === '') {
|
|
2951
2951
|
throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguages';
|
|
2952
2952
|
}
|
|
2953
2953
|
// verify the required parameter 'body' is set
|
|
@@ -3026,7 +3026,7 @@ class ArchitectApi {
|
|
|
3026
3026
|
*/
|
|
3027
3027
|
postArchitectPromptHistory(promptId) {
|
|
3028
3028
|
// verify the required parameter 'promptId' is set
|
|
3029
|
-
if (promptId === undefined || promptId === null) {
|
|
3029
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3030
3030
|
throw 'Missing the required parameter "promptId" when calling postArchitectPromptHistory';
|
|
3031
3031
|
}
|
|
3032
3032
|
|
|
@@ -3053,11 +3053,11 @@ class ArchitectApi {
|
|
|
3053
3053
|
*/
|
|
3054
3054
|
postArchitectPromptResourceUploads(promptId, languageCode) {
|
|
3055
3055
|
// verify the required parameter 'promptId' is set
|
|
3056
|
-
if (promptId === undefined || promptId === null) {
|
|
3056
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3057
3057
|
throw 'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';
|
|
3058
3058
|
}
|
|
3059
3059
|
// verify the required parameter 'languageCode' is set
|
|
3060
|
-
if (languageCode === undefined || languageCode === null) {
|
|
3060
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
3061
3061
|
throw 'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';
|
|
3062
3062
|
}
|
|
3063
3063
|
|
|
@@ -3083,7 +3083,7 @@ class ArchitectApi {
|
|
|
3083
3083
|
*/
|
|
3084
3084
|
postArchitectPromptResources(promptId, body) {
|
|
3085
3085
|
// verify the required parameter 'promptId' is set
|
|
3086
|
-
if (promptId === undefined || promptId === null) {
|
|
3086
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3087
3087
|
throw 'Missing the required parameter "promptId" when calling postArchitectPromptResources';
|
|
3088
3088
|
}
|
|
3089
3089
|
// verify the required parameter 'body' is set
|
|
@@ -3187,7 +3187,7 @@ class ArchitectApi {
|
|
|
3187
3187
|
*/
|
|
3188
3188
|
postArchitectSystempromptHistory(promptId) {
|
|
3189
3189
|
// verify the required parameter 'promptId' is set
|
|
3190
|
-
if (promptId === undefined || promptId === null) {
|
|
3190
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3191
3191
|
throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';
|
|
3192
3192
|
}
|
|
3193
3193
|
|
|
@@ -3214,11 +3214,11 @@ class ArchitectApi {
|
|
|
3214
3214
|
*/
|
|
3215
3215
|
postArchitectSystempromptResourceUploads(promptId, languageCode) {
|
|
3216
3216
|
// verify the required parameter 'promptId' is set
|
|
3217
|
-
if (promptId === undefined || promptId === null) {
|
|
3217
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3218
3218
|
throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';
|
|
3219
3219
|
}
|
|
3220
3220
|
// verify the required parameter 'languageCode' is set
|
|
3221
|
-
if (languageCode === undefined || languageCode === null) {
|
|
3221
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
3222
3222
|
throw 'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';
|
|
3223
3223
|
}
|
|
3224
3224
|
|
|
@@ -3244,7 +3244,7 @@ class ArchitectApi {
|
|
|
3244
3244
|
*/
|
|
3245
3245
|
postArchitectSystempromptResources(promptId, body) {
|
|
3246
3246
|
// verify the required parameter 'promptId' is set
|
|
3247
|
-
if (promptId === undefined || promptId === null) {
|
|
3247
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3248
3248
|
throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResources';
|
|
3249
3249
|
}
|
|
3250
3250
|
// verify the required parameter 'body' is set
|
|
@@ -3273,7 +3273,7 @@ class ArchitectApi {
|
|
|
3273
3273
|
*/
|
|
3274
3274
|
postFlowHistory(flowId) {
|
|
3275
3275
|
// verify the required parameter 'flowId' is set
|
|
3276
|
-
if (flowId === undefined || flowId === null) {
|
|
3276
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
3277
3277
|
throw 'Missing the required parameter "flowId" when calling postFlowHistory';
|
|
3278
3278
|
}
|
|
3279
3279
|
|
|
@@ -3303,7 +3303,7 @@ class ArchitectApi {
|
|
|
3303
3303
|
opts = opts || {};
|
|
3304
3304
|
|
|
3305
3305
|
// verify the required parameter 'flowId' is set
|
|
3306
|
-
if (flowId === undefined || flowId === null) {
|
|
3306
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
3307
3307
|
throw 'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';
|
|
3308
3308
|
}
|
|
3309
3309
|
// verify the required parameter 'body' is set
|
|
@@ -3333,7 +3333,7 @@ class ArchitectApi {
|
|
|
3333
3333
|
*/
|
|
3334
3334
|
postFlowVersions(flowId, body) {
|
|
3335
3335
|
// verify the required parameter 'flowId' is set
|
|
3336
|
-
if (flowId === undefined || flowId === null) {
|
|
3336
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
3337
3337
|
throw 'Missing the required parameter "flowId" when calling postFlowVersions';
|
|
3338
3338
|
}
|
|
3339
3339
|
// verify the required parameter 'body' is set
|
|
@@ -3545,7 +3545,7 @@ class ArchitectApi {
|
|
|
3545
3545
|
*/
|
|
3546
3546
|
postFlowsDatatableExportJobs(datatableId) {
|
|
3547
3547
|
// verify the required parameter 'datatableId' is set
|
|
3548
|
-
if (datatableId === undefined || datatableId === null) {
|
|
3548
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
3549
3549
|
throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableExportJobs';
|
|
3550
3550
|
}
|
|
3551
3551
|
|
|
@@ -3571,7 +3571,7 @@ class ArchitectApi {
|
|
|
3571
3571
|
*/
|
|
3572
3572
|
postFlowsDatatableImportJobs(datatableId, body) {
|
|
3573
3573
|
// verify the required parameter 'datatableId' is set
|
|
3574
|
-
if (datatableId === undefined || datatableId === null) {
|
|
3574
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
3575
3575
|
throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableImportJobs';
|
|
3576
3576
|
}
|
|
3577
3577
|
// verify the required parameter 'body' is set
|
|
@@ -3601,7 +3601,7 @@ class ArchitectApi {
|
|
|
3601
3601
|
*/
|
|
3602
3602
|
postFlowsDatatableRows(datatableId, dataTableRow) {
|
|
3603
3603
|
// verify the required parameter 'datatableId' is set
|
|
3604
|
-
if (datatableId === undefined || datatableId === null) {
|
|
3604
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
3605
3605
|
throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableRows';
|
|
3606
3606
|
}
|
|
3607
3607
|
// verify the required parameter 'dataTableRow' is set
|
|
@@ -3833,7 +3833,7 @@ class ArchitectApi {
|
|
|
3833
3833
|
*/
|
|
3834
3834
|
putArchitectEmergencygroup(emergencyGroupId, body) {
|
|
3835
3835
|
// verify the required parameter 'emergencyGroupId' is set
|
|
3836
|
-
if (emergencyGroupId === undefined || emergencyGroupId === null) {
|
|
3836
|
+
if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
|
|
3837
3837
|
throw 'Missing the required parameter "emergencyGroupId" when calling putArchitectEmergencygroup';
|
|
3838
3838
|
}
|
|
3839
3839
|
// verify the required parameter 'body' is set
|
|
@@ -3863,7 +3863,7 @@ class ArchitectApi {
|
|
|
3863
3863
|
*/
|
|
3864
3864
|
putArchitectIvr(ivrId, body) {
|
|
3865
3865
|
// verify the required parameter 'ivrId' is set
|
|
3866
|
-
if (ivrId === undefined || ivrId === null) {
|
|
3866
|
+
if (ivrId === undefined || ivrId === null || ivrId === '') {
|
|
3867
3867
|
throw 'Missing the required parameter "ivrId" when calling putArchitectIvr';
|
|
3868
3868
|
}
|
|
3869
3869
|
// verify the required parameter 'body' is set
|
|
@@ -3893,7 +3893,7 @@ class ArchitectApi {
|
|
|
3893
3893
|
*/
|
|
3894
3894
|
putArchitectIvrIdentityresolution(ivrId, body) {
|
|
3895
3895
|
// verify the required parameter 'ivrId' is set
|
|
3896
|
-
if (ivrId === undefined || ivrId === null) {
|
|
3896
|
+
if (ivrId === undefined || ivrId === null || ivrId === '') {
|
|
3897
3897
|
throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
|
|
3898
3898
|
}
|
|
3899
3899
|
// verify the required parameter 'body' is set
|
|
@@ -3923,7 +3923,7 @@ class ArchitectApi {
|
|
|
3923
3923
|
*/
|
|
3924
3924
|
putArchitectPrompt(promptId, body) {
|
|
3925
3925
|
// verify the required parameter 'promptId' is set
|
|
3926
|
-
if (promptId === undefined || promptId === null) {
|
|
3926
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3927
3927
|
throw 'Missing the required parameter "promptId" when calling putArchitectPrompt';
|
|
3928
3928
|
}
|
|
3929
3929
|
// verify the required parameter 'body' is set
|
|
@@ -3954,11 +3954,11 @@ class ArchitectApi {
|
|
|
3954
3954
|
*/
|
|
3955
3955
|
putArchitectPromptResource(promptId, languageCode, body) {
|
|
3956
3956
|
// verify the required parameter 'promptId' is set
|
|
3957
|
-
if (promptId === undefined || promptId === null) {
|
|
3957
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
3958
3958
|
throw 'Missing the required parameter "promptId" when calling putArchitectPromptResource';
|
|
3959
3959
|
}
|
|
3960
3960
|
// verify the required parameter 'languageCode' is set
|
|
3961
|
-
if (languageCode === undefined || languageCode === null) {
|
|
3961
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
3962
3962
|
throw 'Missing the required parameter "languageCode" when calling putArchitectPromptResource';
|
|
3963
3963
|
}
|
|
3964
3964
|
// verify the required parameter 'body' is set
|
|
@@ -3988,7 +3988,7 @@ class ArchitectApi {
|
|
|
3988
3988
|
*/
|
|
3989
3989
|
putArchitectSchedule(scheduleId, body) {
|
|
3990
3990
|
// verify the required parameter 'scheduleId' is set
|
|
3991
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
3991
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
3992
3992
|
throw 'Missing the required parameter "scheduleId" when calling putArchitectSchedule';
|
|
3993
3993
|
}
|
|
3994
3994
|
// verify the required parameter 'body' is set
|
|
@@ -4018,7 +4018,7 @@ class ArchitectApi {
|
|
|
4018
4018
|
*/
|
|
4019
4019
|
putArchitectSchedulegroup(scheduleGroupId, body) {
|
|
4020
4020
|
// verify the required parameter 'scheduleGroupId' is set
|
|
4021
|
-
if (scheduleGroupId === undefined || scheduleGroupId === null) {
|
|
4021
|
+
if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
|
|
4022
4022
|
throw 'Missing the required parameter "scheduleGroupId" when calling putArchitectSchedulegroup';
|
|
4023
4023
|
}
|
|
4024
4024
|
// verify the required parameter 'body' is set
|
|
@@ -4049,11 +4049,11 @@ class ArchitectApi {
|
|
|
4049
4049
|
*/
|
|
4050
4050
|
putArchitectSystempromptResource(promptId, languageCode, body) {
|
|
4051
4051
|
// verify the required parameter 'promptId' is set
|
|
4052
|
-
if (promptId === undefined || promptId === null) {
|
|
4052
|
+
if (promptId === undefined || promptId === null || promptId === '') {
|
|
4053
4053
|
throw 'Missing the required parameter "promptId" when calling putArchitectSystempromptResource';
|
|
4054
4054
|
}
|
|
4055
4055
|
// verify the required parameter 'languageCode' is set
|
|
4056
|
-
if (languageCode === undefined || languageCode === null) {
|
|
4056
|
+
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
4057
4057
|
throw 'Missing the required parameter "languageCode" when calling putArchitectSystempromptResource';
|
|
4058
4058
|
}
|
|
4059
4059
|
// verify the required parameter 'body' is set
|
|
@@ -4083,7 +4083,7 @@ class ArchitectApi {
|
|
|
4083
4083
|
*/
|
|
4084
4084
|
putFlow(flowId, body) {
|
|
4085
4085
|
// verify the required parameter 'flowId' is set
|
|
4086
|
-
if (flowId === undefined || flowId === null) {
|
|
4086
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
4087
4087
|
throw 'Missing the required parameter "flowId" when calling putFlow';
|
|
4088
4088
|
}
|
|
4089
4089
|
// verify the required parameter 'body' is set
|
|
@@ -4117,7 +4117,7 @@ class ArchitectApi {
|
|
|
4117
4117
|
opts = opts || {};
|
|
4118
4118
|
|
|
4119
4119
|
// verify the required parameter 'flowId' is set
|
|
4120
|
-
if (flowId === undefined || flowId === null) {
|
|
4120
|
+
if (flowId === undefined || flowId === null || flowId === '') {
|
|
4121
4121
|
throw 'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';
|
|
4122
4122
|
}
|
|
4123
4123
|
// verify the required parameter 'body' is set
|
|
@@ -4151,7 +4151,7 @@ class ArchitectApi {
|
|
|
4151
4151
|
opts = opts || {};
|
|
4152
4152
|
|
|
4153
4153
|
// verify the required parameter 'datatableId' is set
|
|
4154
|
-
if (datatableId === undefined || datatableId === null) {
|
|
4154
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
4155
4155
|
throw 'Missing the required parameter "datatableId" when calling putFlowsDatatable';
|
|
4156
4156
|
}
|
|
4157
4157
|
// verify the required parameter 'body' is set
|
|
@@ -4185,11 +4185,11 @@ class ArchitectApi {
|
|
|
4185
4185
|
opts = opts || {};
|
|
4186
4186
|
|
|
4187
4187
|
// verify the required parameter 'datatableId' is set
|
|
4188
|
-
if (datatableId === undefined || datatableId === null) {
|
|
4188
|
+
if (datatableId === undefined || datatableId === null || datatableId === '') {
|
|
4189
4189
|
throw 'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';
|
|
4190
4190
|
}
|
|
4191
4191
|
// verify the required parameter 'rowId' is set
|
|
4192
|
-
if (rowId === undefined || rowId === null) {
|
|
4192
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
4193
4193
|
throw 'Missing the required parameter "rowId" when calling putFlowsDatatableRow';
|
|
4194
4194
|
}
|
|
4195
4195
|
|
|
@@ -4247,7 +4247,7 @@ class ArchitectApi {
|
|
|
4247
4247
|
opts = opts || {};
|
|
4248
4248
|
|
|
4249
4249
|
// verify the required parameter 'milestoneId' is set
|
|
4250
|
-
if (milestoneId === undefined || milestoneId === null) {
|
|
4250
|
+
if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
|
|
4251
4251
|
throw 'Missing the required parameter "milestoneId" when calling putFlowsMilestone';
|
|
4252
4252
|
}
|
|
4253
4253
|
|
|
@@ -4276,7 +4276,7 @@ class ArchitectApi {
|
|
|
4276
4276
|
opts = opts || {};
|
|
4277
4277
|
|
|
4278
4278
|
// verify the required parameter 'flowOutcomeId' is set
|
|
4279
|
-
if (flowOutcomeId === undefined || flowOutcomeId === null) {
|
|
4279
|
+
if (flowOutcomeId === undefined || flowOutcomeId === null || flowOutcomeId === '') {
|
|
4280
4280
|
throw 'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';
|
|
4281
4281
|
}
|
|
4282
4282
|
|