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.
Files changed (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +3630 -2644
  3. package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2891 -2627
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +825 -249
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 223.0.0
8
+ * @version 225.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
 
@@ -891,7 +891,7 @@ class ArchitectApi {
891
891
 
892
892
  /**
893
893
  * Get a pageable list of basic emergency group objects filterable by query parameters.
894
- * This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
894
+ * This returns emergency groups consisting of name and division. If one or more IDs are specified, the search will fetch emergency groups that match the given ID(s) and not use any additional supplied query parameters in the search.
895
895
  * @param {Object} opts Optional parameters
896
896
  * @param {Number} opts.pageNumber Page number (default to 1)
897
897
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -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
 
@@ -3049,14 +3049,15 @@ class ArchitectApi {
3049
3049
  *
3050
3050
  * @param {String} promptId Prompt ID
3051
3051
  * @param {String} languageCode Language
3052
+ * postArchitectPromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3052
3053
  */
3053
3054
  postArchitectPromptResourceUploads(promptId, languageCode) {
3054
3055
  // verify the required parameter 'promptId' is set
3055
- if (promptId === undefined || promptId === null) {
3056
+ if (promptId === undefined || promptId === null || promptId === '') {
3056
3057
  throw 'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';
3057
3058
  }
3058
3059
  // verify the required parameter 'languageCode' is set
3059
- if (languageCode === undefined || languageCode === null) {
3060
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
3060
3061
  throw 'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';
3061
3062
  }
3062
3063
 
@@ -3082,7 +3083,7 @@ class ArchitectApi {
3082
3083
  */
3083
3084
  postArchitectPromptResources(promptId, body) {
3084
3085
  // verify the required parameter 'promptId' is set
3085
- if (promptId === undefined || promptId === null) {
3086
+ if (promptId === undefined || promptId === null || promptId === '') {
3086
3087
  throw 'Missing the required parameter "promptId" when calling postArchitectPromptResources';
3087
3088
  }
3088
3089
  // verify the required parameter 'body' is set
@@ -3186,7 +3187,7 @@ class ArchitectApi {
3186
3187
  */
3187
3188
  postArchitectSystempromptHistory(promptId) {
3188
3189
  // verify the required parameter 'promptId' is set
3189
- if (promptId === undefined || promptId === null) {
3190
+ if (promptId === undefined || promptId === null || promptId === '') {
3190
3191
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';
3191
3192
  }
3192
3193
 
@@ -3209,14 +3210,15 @@ class ArchitectApi {
3209
3210
  *
3210
3211
  * @param {String} promptId Prompt ID
3211
3212
  * @param {String} languageCode Language
3213
+ * postArchitectSystempromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3212
3214
  */
3213
3215
  postArchitectSystempromptResourceUploads(promptId, languageCode) {
3214
3216
  // verify the required parameter 'promptId' is set
3215
- if (promptId === undefined || promptId === null) {
3217
+ if (promptId === undefined || promptId === null || promptId === '') {
3216
3218
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';
3217
3219
  }
3218
3220
  // verify the required parameter 'languageCode' is set
3219
- if (languageCode === undefined || languageCode === null) {
3221
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
3220
3222
  throw 'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';
3221
3223
  }
3222
3224
 
@@ -3242,7 +3244,7 @@ class ArchitectApi {
3242
3244
  */
3243
3245
  postArchitectSystempromptResources(promptId, body) {
3244
3246
  // verify the required parameter 'promptId' is set
3245
- if (promptId === undefined || promptId === null) {
3247
+ if (promptId === undefined || promptId === null || promptId === '') {
3246
3248
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResources';
3247
3249
  }
3248
3250
  // verify the required parameter 'body' is set
@@ -3271,7 +3273,7 @@ class ArchitectApi {
3271
3273
  */
3272
3274
  postFlowHistory(flowId) {
3273
3275
  // verify the required parameter 'flowId' is set
3274
- if (flowId === undefined || flowId === null) {
3276
+ if (flowId === undefined || flowId === null || flowId === '') {
3275
3277
  throw 'Missing the required parameter "flowId" when calling postFlowHistory';
3276
3278
  }
3277
3279
 
@@ -3301,7 +3303,7 @@ class ArchitectApi {
3301
3303
  opts = opts || {};
3302
3304
 
3303
3305
  // verify the required parameter 'flowId' is set
3304
- if (flowId === undefined || flowId === null) {
3306
+ if (flowId === undefined || flowId === null || flowId === '') {
3305
3307
  throw 'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';
3306
3308
  }
3307
3309
  // verify the required parameter 'body' is set
@@ -3331,7 +3333,7 @@ class ArchitectApi {
3331
3333
  */
3332
3334
  postFlowVersions(flowId, body) {
3333
3335
  // verify the required parameter 'flowId' is set
3334
- if (flowId === undefined || flowId === null) {
3336
+ if (flowId === undefined || flowId === null || flowId === '') {
3335
3337
  throw 'Missing the required parameter "flowId" when calling postFlowVersions';
3336
3338
  }
3337
3339
  // verify the required parameter 'body' is set
@@ -3543,7 +3545,7 @@ class ArchitectApi {
3543
3545
  */
3544
3546
  postFlowsDatatableExportJobs(datatableId) {
3545
3547
  // verify the required parameter 'datatableId' is set
3546
- if (datatableId === undefined || datatableId === null) {
3548
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
3547
3549
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableExportJobs';
3548
3550
  }
3549
3551
 
@@ -3569,7 +3571,7 @@ class ArchitectApi {
3569
3571
  */
3570
3572
  postFlowsDatatableImportJobs(datatableId, body) {
3571
3573
  // verify the required parameter 'datatableId' is set
3572
- if (datatableId === undefined || datatableId === null) {
3574
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
3573
3575
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableImportJobs';
3574
3576
  }
3575
3577
  // verify the required parameter 'body' is set
@@ -3599,7 +3601,7 @@ class ArchitectApi {
3599
3601
  */
3600
3602
  postFlowsDatatableRows(datatableId, dataTableRow) {
3601
3603
  // verify the required parameter 'datatableId' is set
3602
- if (datatableId === undefined || datatableId === null) {
3604
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
3603
3605
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableRows';
3604
3606
  }
3605
3607
  // verify the required parameter 'dataTableRow' is set
@@ -3831,7 +3833,7 @@ class ArchitectApi {
3831
3833
  */
3832
3834
  putArchitectEmergencygroup(emergencyGroupId, body) {
3833
3835
  // verify the required parameter 'emergencyGroupId' is set
3834
- if (emergencyGroupId === undefined || emergencyGroupId === null) {
3836
+ if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
3835
3837
  throw 'Missing the required parameter "emergencyGroupId" when calling putArchitectEmergencygroup';
3836
3838
  }
3837
3839
  // verify the required parameter 'body' is set
@@ -3861,7 +3863,7 @@ class ArchitectApi {
3861
3863
  */
3862
3864
  putArchitectIvr(ivrId, body) {
3863
3865
  // verify the required parameter 'ivrId' is set
3864
- if (ivrId === undefined || ivrId === null) {
3866
+ if (ivrId === undefined || ivrId === null || ivrId === '') {
3865
3867
  throw 'Missing the required parameter "ivrId" when calling putArchitectIvr';
3866
3868
  }
3867
3869
  // verify the required parameter 'body' is set
@@ -3891,7 +3893,7 @@ class ArchitectApi {
3891
3893
  */
3892
3894
  putArchitectIvrIdentityresolution(ivrId, body) {
3893
3895
  // verify the required parameter 'ivrId' is set
3894
- if (ivrId === undefined || ivrId === null) {
3896
+ if (ivrId === undefined || ivrId === null || ivrId === '') {
3895
3897
  throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
3896
3898
  }
3897
3899
  // verify the required parameter 'body' is set
@@ -3921,7 +3923,7 @@ class ArchitectApi {
3921
3923
  */
3922
3924
  putArchitectPrompt(promptId, body) {
3923
3925
  // verify the required parameter 'promptId' is set
3924
- if (promptId === undefined || promptId === null) {
3926
+ if (promptId === undefined || promptId === null || promptId === '') {
3925
3927
  throw 'Missing the required parameter "promptId" when calling putArchitectPrompt';
3926
3928
  }
3927
3929
  // verify the required parameter 'body' is set
@@ -3952,11 +3954,11 @@ class ArchitectApi {
3952
3954
  */
3953
3955
  putArchitectPromptResource(promptId, languageCode, body) {
3954
3956
  // verify the required parameter 'promptId' is set
3955
- if (promptId === undefined || promptId === null) {
3957
+ if (promptId === undefined || promptId === null || promptId === '') {
3956
3958
  throw 'Missing the required parameter "promptId" when calling putArchitectPromptResource';
3957
3959
  }
3958
3960
  // verify the required parameter 'languageCode' is set
3959
- if (languageCode === undefined || languageCode === null) {
3961
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
3960
3962
  throw 'Missing the required parameter "languageCode" when calling putArchitectPromptResource';
3961
3963
  }
3962
3964
  // verify the required parameter 'body' is set
@@ -3986,7 +3988,7 @@ class ArchitectApi {
3986
3988
  */
3987
3989
  putArchitectSchedule(scheduleId, body) {
3988
3990
  // verify the required parameter 'scheduleId' is set
3989
- if (scheduleId === undefined || scheduleId === null) {
3991
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
3990
3992
  throw 'Missing the required parameter "scheduleId" when calling putArchitectSchedule';
3991
3993
  }
3992
3994
  // verify the required parameter 'body' is set
@@ -4016,7 +4018,7 @@ class ArchitectApi {
4016
4018
  */
4017
4019
  putArchitectSchedulegroup(scheduleGroupId, body) {
4018
4020
  // verify the required parameter 'scheduleGroupId' is set
4019
- if (scheduleGroupId === undefined || scheduleGroupId === null) {
4021
+ if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
4020
4022
  throw 'Missing the required parameter "scheduleGroupId" when calling putArchitectSchedulegroup';
4021
4023
  }
4022
4024
  // verify the required parameter 'body' is set
@@ -4047,11 +4049,11 @@ class ArchitectApi {
4047
4049
  */
4048
4050
  putArchitectSystempromptResource(promptId, languageCode, body) {
4049
4051
  // verify the required parameter 'promptId' is set
4050
- if (promptId === undefined || promptId === null) {
4052
+ if (promptId === undefined || promptId === null || promptId === '') {
4051
4053
  throw 'Missing the required parameter "promptId" when calling putArchitectSystempromptResource';
4052
4054
  }
4053
4055
  // verify the required parameter 'languageCode' is set
4054
- if (languageCode === undefined || languageCode === null) {
4056
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
4055
4057
  throw 'Missing the required parameter "languageCode" when calling putArchitectSystempromptResource';
4056
4058
  }
4057
4059
  // verify the required parameter 'body' is set
@@ -4081,7 +4083,7 @@ class ArchitectApi {
4081
4083
  */
4082
4084
  putFlow(flowId, body) {
4083
4085
  // verify the required parameter 'flowId' is set
4084
- if (flowId === undefined || flowId === null) {
4086
+ if (flowId === undefined || flowId === null || flowId === '') {
4085
4087
  throw 'Missing the required parameter "flowId" when calling putFlow';
4086
4088
  }
4087
4089
  // verify the required parameter 'body' is set
@@ -4115,7 +4117,7 @@ class ArchitectApi {
4115
4117
  opts = opts || {};
4116
4118
 
4117
4119
  // verify the required parameter 'flowId' is set
4118
- if (flowId === undefined || flowId === null) {
4120
+ if (flowId === undefined || flowId === null || flowId === '') {
4119
4121
  throw 'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';
4120
4122
  }
4121
4123
  // verify the required parameter 'body' is set
@@ -4149,7 +4151,7 @@ class ArchitectApi {
4149
4151
  opts = opts || {};
4150
4152
 
4151
4153
  // verify the required parameter 'datatableId' is set
4152
- if (datatableId === undefined || datatableId === null) {
4154
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
4153
4155
  throw 'Missing the required parameter "datatableId" when calling putFlowsDatatable';
4154
4156
  }
4155
4157
  // verify the required parameter 'body' is set
@@ -4183,11 +4185,11 @@ class ArchitectApi {
4183
4185
  opts = opts || {};
4184
4186
 
4185
4187
  // verify the required parameter 'datatableId' is set
4186
- if (datatableId === undefined || datatableId === null) {
4188
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
4187
4189
  throw 'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';
4188
4190
  }
4189
4191
  // verify the required parameter 'rowId' is set
4190
- if (rowId === undefined || rowId === null) {
4192
+ if (rowId === undefined || rowId === null || rowId === '') {
4191
4193
  throw 'Missing the required parameter "rowId" when calling putFlowsDatatableRow';
4192
4194
  }
4193
4195
 
@@ -4245,7 +4247,7 @@ class ArchitectApi {
4245
4247
  opts = opts || {};
4246
4248
 
4247
4249
  // verify the required parameter 'milestoneId' is set
4248
- if (milestoneId === undefined || milestoneId === null) {
4250
+ if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
4249
4251
  throw 'Missing the required parameter "milestoneId" when calling putFlowsMilestone';
4250
4252
  }
4251
4253
 
@@ -4274,7 +4276,7 @@ class ArchitectApi {
4274
4276
  opts = opts || {};
4275
4277
 
4276
4278
  // verify the required parameter 'flowOutcomeId' is set
4277
- if (flowOutcomeId === undefined || flowOutcomeId === null) {
4279
+ if (flowOutcomeId === undefined || flowOutcomeId === null || flowOutcomeId === '') {
4278
4280
  throw 'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';
4279
4281
  }
4280
4282