purecloud-platform-client-v2 223.0.0 → 225.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +825 -249
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class ExternalContactsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ExternalContacts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class ExternalContactsApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteExternalcontactsContact(contactId) {
|
|
29
29
|
// verify the required parameter 'contactId' is set
|
|
30
|
-
if (contactId === undefined || contactId === null) {
|
|
30
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
31
31
|
throw 'Missing the required parameter "contactId" when calling deleteExternalcontactsContact';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -53,11 +53,11 @@ class ExternalContactsApi {
|
|
|
53
53
|
*/
|
|
54
54
|
deleteExternalcontactsContactNote(contactId, noteId) {
|
|
55
55
|
// verify the required parameter 'contactId' is set
|
|
56
|
-
if (contactId === undefined || contactId === null) {
|
|
56
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
57
57
|
throw 'Missing the required parameter "contactId" when calling deleteExternalcontactsContactNote';
|
|
58
58
|
}
|
|
59
59
|
// verify the required parameter 'noteId' is set
|
|
60
|
-
if (noteId === undefined || noteId === null) {
|
|
60
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
61
61
|
throw 'Missing the required parameter "noteId" when calling deleteExternalcontactsContactNote';
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -82,7 +82,7 @@ class ExternalContactsApi {
|
|
|
82
82
|
*/
|
|
83
83
|
deleteExternalcontactsContactsSchema(schemaId) {
|
|
84
84
|
// verify the required parameter 'schemaId' is set
|
|
85
|
-
if (schemaId === undefined || schemaId === null) {
|
|
85
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
86
86
|
throw 'Missing the required parameter "schemaId" when calling deleteExternalcontactsContactsSchema';
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -107,7 +107,7 @@ class ExternalContactsApi {
|
|
|
107
107
|
*/
|
|
108
108
|
deleteExternalcontactsExternalsource(externalSourceId) {
|
|
109
109
|
// verify the required parameter 'externalSourceId' is set
|
|
110
|
-
if (externalSourceId === undefined || externalSourceId === null) {
|
|
110
|
+
if (externalSourceId === undefined || externalSourceId === null || externalSourceId === '') {
|
|
111
111
|
throw 'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -132,7 +132,7 @@ class ExternalContactsApi {
|
|
|
132
132
|
*/
|
|
133
133
|
deleteExternalcontactsImportCsvSetting(settingsId) {
|
|
134
134
|
// verify the required parameter 'settingsId' is set
|
|
135
|
-
if (settingsId === undefined || settingsId === null) {
|
|
135
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
136
136
|
throw 'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';
|
|
137
137
|
}
|
|
138
138
|
|
|
@@ -157,7 +157,7 @@ class ExternalContactsApi {
|
|
|
157
157
|
*/
|
|
158
158
|
deleteExternalcontactsImportSetting(settingsId) {
|
|
159
159
|
// verify the required parameter 'settingsId' is set
|
|
160
|
-
if (settingsId === undefined || settingsId === null) {
|
|
160
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
161
161
|
throw 'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -182,7 +182,7 @@ class ExternalContactsApi {
|
|
|
182
182
|
*/
|
|
183
183
|
deleteExternalcontactsOrganization(externalOrganizationId) {
|
|
184
184
|
// verify the required parameter 'externalOrganizationId' is set
|
|
185
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
185
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
186
186
|
throw 'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganization';
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -208,11 +208,11 @@ class ExternalContactsApi {
|
|
|
208
208
|
*/
|
|
209
209
|
deleteExternalcontactsOrganizationNote(externalOrganizationId, noteId) {
|
|
210
210
|
// verify the required parameter 'externalOrganizationId' is set
|
|
211
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
211
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
212
212
|
throw 'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationNote';
|
|
213
213
|
}
|
|
214
214
|
// verify the required parameter 'noteId' is set
|
|
215
|
-
if (noteId === undefined || noteId === null) {
|
|
215
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
216
216
|
throw 'Missing the required parameter "noteId" when calling deleteExternalcontactsOrganizationNote';
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -237,7 +237,7 @@ class ExternalContactsApi {
|
|
|
237
237
|
*/
|
|
238
238
|
deleteExternalcontactsOrganizationTrustor(externalOrganizationId) {
|
|
239
239
|
// verify the required parameter 'externalOrganizationId' is set
|
|
240
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
240
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
241
241
|
throw 'Missing the required parameter "externalOrganizationId" when calling deleteExternalcontactsOrganizationTrustor';
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -262,7 +262,7 @@ class ExternalContactsApi {
|
|
|
262
262
|
*/
|
|
263
263
|
deleteExternalcontactsRelationship(relationshipId) {
|
|
264
264
|
// verify the required parameter 'relationshipId' is set
|
|
265
|
-
if (relationshipId === undefined || relationshipId === null) {
|
|
265
|
+
if (relationshipId === undefined || relationshipId === null || relationshipId === '') {
|
|
266
266
|
throw 'Missing the required parameter "relationshipId" when calling deleteExternalcontactsRelationship';
|
|
267
267
|
}
|
|
268
268
|
|
|
@@ -291,7 +291,7 @@ class ExternalContactsApi {
|
|
|
291
291
|
opts = opts || {};
|
|
292
292
|
|
|
293
293
|
// verify the required parameter 'contactId' is set
|
|
294
|
-
if (contactId === undefined || contactId === null) {
|
|
294
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
295
295
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContact';
|
|
296
296
|
}
|
|
297
297
|
|
|
@@ -316,7 +316,7 @@ class ExternalContactsApi {
|
|
|
316
316
|
*/
|
|
317
317
|
getExternalcontactsContactIdentifiers(contactId) {
|
|
318
318
|
// verify the required parameter 'contactId' is set
|
|
319
|
-
if (contactId === undefined || contactId === null) {
|
|
319
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
320
320
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';
|
|
321
321
|
}
|
|
322
322
|
|
|
@@ -347,7 +347,7 @@ class ExternalContactsApi {
|
|
|
347
347
|
opts = opts || {};
|
|
348
348
|
|
|
349
349
|
// verify the required parameter 'contactId' is set
|
|
350
|
-
if (contactId === undefined || contactId === null) {
|
|
350
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
351
351
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';
|
|
352
352
|
}
|
|
353
353
|
|
|
@@ -377,11 +377,11 @@ class ExternalContactsApi {
|
|
|
377
377
|
opts = opts || {};
|
|
378
378
|
|
|
379
379
|
// verify the required parameter 'contactId' is set
|
|
380
|
-
if (contactId === undefined || contactId === null) {
|
|
380
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
381
381
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactNote';
|
|
382
382
|
}
|
|
383
383
|
// verify the required parameter 'noteId' is set
|
|
384
|
-
if (noteId === undefined || noteId === null) {
|
|
384
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
385
385
|
throw 'Missing the required parameter "noteId" when calling getExternalcontactsContactNote';
|
|
386
386
|
}
|
|
387
387
|
|
|
@@ -413,7 +413,7 @@ class ExternalContactsApi {
|
|
|
413
413
|
opts = opts || {};
|
|
414
414
|
|
|
415
415
|
// verify the required parameter 'contactId' is set
|
|
416
|
-
if (contactId === undefined || contactId === null) {
|
|
416
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
417
417
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactNotes';
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -442,7 +442,7 @@ class ExternalContactsApi {
|
|
|
442
442
|
opts = opts || {};
|
|
443
443
|
|
|
444
444
|
// verify the required parameter 'contactId' is set
|
|
445
|
-
if (contactId === undefined || contactId === null) {
|
|
445
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
446
446
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';
|
|
447
447
|
}
|
|
448
448
|
|
|
@@ -496,7 +496,7 @@ class ExternalContactsApi {
|
|
|
496
496
|
*/
|
|
497
497
|
getExternalcontactsContactsExport(exportId) {
|
|
498
498
|
// verify the required parameter 'exportId' is set
|
|
499
|
-
if (exportId === undefined || exportId === null) {
|
|
499
|
+
if (exportId === undefined || exportId === null || exportId === '') {
|
|
500
500
|
throw 'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';
|
|
501
501
|
}
|
|
502
502
|
|
|
@@ -547,7 +547,7 @@ class ExternalContactsApi {
|
|
|
547
547
|
*/
|
|
548
548
|
getExternalcontactsContactsSchema(schemaId) {
|
|
549
549
|
// verify the required parameter 'schemaId' is set
|
|
550
|
-
if (schemaId === undefined || schemaId === null) {
|
|
550
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
551
551
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchema';
|
|
552
552
|
}
|
|
553
553
|
|
|
@@ -573,11 +573,11 @@ class ExternalContactsApi {
|
|
|
573
573
|
*/
|
|
574
574
|
getExternalcontactsContactsSchemaVersion(schemaId, versionId) {
|
|
575
575
|
// verify the required parameter 'schemaId' is set
|
|
576
|
-
if (schemaId === undefined || schemaId === null) {
|
|
576
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
577
577
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersion';
|
|
578
578
|
}
|
|
579
579
|
// verify the required parameter 'versionId' is set
|
|
580
|
-
if (versionId === undefined || versionId === null) {
|
|
580
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
581
581
|
throw 'Missing the required parameter "versionId" when calling getExternalcontactsContactsSchemaVersion';
|
|
582
582
|
}
|
|
583
583
|
|
|
@@ -602,7 +602,7 @@ class ExternalContactsApi {
|
|
|
602
602
|
*/
|
|
603
603
|
getExternalcontactsContactsSchemaVersions(schemaId) {
|
|
604
604
|
// verify the required parameter 'schemaId' is set
|
|
605
|
-
if (schemaId === undefined || schemaId === null) {
|
|
605
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
606
606
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsContactsSchemaVersions';
|
|
607
607
|
}
|
|
608
608
|
|
|
@@ -647,7 +647,7 @@ class ExternalContactsApi {
|
|
|
647
647
|
*/
|
|
648
648
|
getExternalcontactsContactsSchemasCoretype(coreTypeName) {
|
|
649
649
|
// verify the required parameter 'coreTypeName' is set
|
|
650
|
-
if (coreTypeName === undefined || coreTypeName === null) {
|
|
650
|
+
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
651
651
|
throw 'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';
|
|
652
652
|
}
|
|
653
653
|
|
|
@@ -712,7 +712,7 @@ class ExternalContactsApi {
|
|
|
712
712
|
*/
|
|
713
713
|
getExternalcontactsExternalsource(externalSourceId) {
|
|
714
714
|
// verify the required parameter 'externalSourceId' is set
|
|
715
|
-
if (externalSourceId === undefined || externalSourceId === null) {
|
|
715
|
+
if (externalSourceId === undefined || externalSourceId === null || externalSourceId === '') {
|
|
716
716
|
throw 'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';
|
|
717
717
|
}
|
|
718
718
|
|
|
@@ -764,7 +764,7 @@ class ExternalContactsApi {
|
|
|
764
764
|
*/
|
|
765
765
|
getExternalcontactsImportCsvSetting(settingsId) {
|
|
766
766
|
// verify the required parameter 'settingsId' is set
|
|
767
|
-
if (settingsId === undefined || settingsId === null) {
|
|
767
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
768
768
|
throw 'Missing the required parameter "settingsId" when calling getExternalcontactsImportCsvSetting';
|
|
769
769
|
}
|
|
770
770
|
|
|
@@ -815,7 +815,7 @@ class ExternalContactsApi {
|
|
|
815
815
|
*/
|
|
816
816
|
getExternalcontactsImportCsvUploadDetails(uploadId) {
|
|
817
817
|
// verify the required parameter 'uploadId' is set
|
|
818
|
-
if (uploadId === undefined || uploadId === null) {
|
|
818
|
+
if (uploadId === undefined || uploadId === null || uploadId === '') {
|
|
819
819
|
throw 'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadDetails';
|
|
820
820
|
}
|
|
821
821
|
|
|
@@ -840,7 +840,7 @@ class ExternalContactsApi {
|
|
|
840
840
|
*/
|
|
841
841
|
getExternalcontactsImportCsvUploadPreview(uploadId) {
|
|
842
842
|
// verify the required parameter 'uploadId' is set
|
|
843
|
-
if (uploadId === undefined || uploadId === null) {
|
|
843
|
+
if (uploadId === undefined || uploadId === null || uploadId === '') {
|
|
844
844
|
throw 'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';
|
|
845
845
|
}
|
|
846
846
|
|
|
@@ -869,7 +869,7 @@ class ExternalContactsApi {
|
|
|
869
869
|
opts = opts || {};
|
|
870
870
|
|
|
871
871
|
// verify the required parameter 'jobId' is set
|
|
872
|
-
if (jobId === undefined || jobId === null) {
|
|
872
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
873
873
|
throw 'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';
|
|
874
874
|
}
|
|
875
875
|
|
|
@@ -922,7 +922,7 @@ class ExternalContactsApi {
|
|
|
922
922
|
*/
|
|
923
923
|
getExternalcontactsImportSetting(settingsId) {
|
|
924
924
|
// verify the required parameter 'settingsId' is set
|
|
925
|
-
if (settingsId === undefined || settingsId === null) {
|
|
925
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
926
926
|
throw 'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';
|
|
927
927
|
}
|
|
928
928
|
|
|
@@ -979,7 +979,7 @@ class ExternalContactsApi {
|
|
|
979
979
|
opts = opts || {};
|
|
980
980
|
|
|
981
981
|
// verify the required parameter 'externalOrganizationId' is set
|
|
982
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
982
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
983
983
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';
|
|
984
984
|
}
|
|
985
985
|
|
|
@@ -1012,7 +1012,7 @@ class ExternalContactsApi {
|
|
|
1012
1012
|
opts = opts || {};
|
|
1013
1013
|
|
|
1014
1014
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1015
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1015
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1016
1016
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
@@ -1037,7 +1037,7 @@ class ExternalContactsApi {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
getExternalcontactsOrganizationIdentifiers(externalOrganizationId) {
|
|
1039
1039
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1040
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1040
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1041
1041
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
@@ -1067,11 +1067,11 @@ class ExternalContactsApi {
|
|
|
1067
1067
|
opts = opts || {};
|
|
1068
1068
|
|
|
1069
1069
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1070
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1070
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1071
1071
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNote';
|
|
1072
1072
|
}
|
|
1073
1073
|
// verify the required parameter 'noteId' is set
|
|
1074
|
-
if (noteId === undefined || noteId === null) {
|
|
1074
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
1075
1075
|
throw 'Missing the required parameter "noteId" when calling getExternalcontactsOrganizationNote';
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
@@ -1103,7 +1103,7 @@ class ExternalContactsApi {
|
|
|
1103
1103
|
opts = opts || {};
|
|
1104
1104
|
|
|
1105
1105
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1106
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1106
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1107
1107
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNotes';
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
@@ -1135,7 +1135,7 @@ class ExternalContactsApi {
|
|
|
1135
1135
|
opts = opts || {};
|
|
1136
1136
|
|
|
1137
1137
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1138
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1138
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1139
1139
|
throw 'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
@@ -1191,7 +1191,7 @@ class ExternalContactsApi {
|
|
|
1191
1191
|
*/
|
|
1192
1192
|
getExternalcontactsOrganizationsSchema(schemaId) {
|
|
1193
1193
|
// verify the required parameter 'schemaId' is set
|
|
1194
|
-
if (schemaId === undefined || schemaId === null) {
|
|
1194
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
1195
1195
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchema';
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
@@ -1217,11 +1217,11 @@ class ExternalContactsApi {
|
|
|
1217
1217
|
*/
|
|
1218
1218
|
getExternalcontactsOrganizationsSchemaVersion(schemaId, versionId) {
|
|
1219
1219
|
// verify the required parameter 'schemaId' is set
|
|
1220
|
-
if (schemaId === undefined || schemaId === null) {
|
|
1220
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
1221
1221
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersion';
|
|
1222
1222
|
}
|
|
1223
1223
|
// verify the required parameter 'versionId' is set
|
|
1224
|
-
if (versionId === undefined || versionId === null) {
|
|
1224
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1225
1225
|
throw 'Missing the required parameter "versionId" when calling getExternalcontactsOrganizationsSchemaVersion';
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
@@ -1246,7 +1246,7 @@ class ExternalContactsApi {
|
|
|
1246
1246
|
*/
|
|
1247
1247
|
getExternalcontactsOrganizationsSchemaVersions(schemaId) {
|
|
1248
1248
|
// verify the required parameter 'schemaId' is set
|
|
1249
|
-
if (schemaId === undefined || schemaId === null) {
|
|
1249
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
1250
1250
|
throw 'Missing the required parameter "schemaId" when calling getExternalcontactsOrganizationsSchemaVersions';
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
@@ -1291,7 +1291,7 @@ class ExternalContactsApi {
|
|
|
1291
1291
|
*/
|
|
1292
1292
|
getExternalcontactsOrganizationsSchemasCoretype(coreTypeName) {
|
|
1293
1293
|
// verify the required parameter 'coreTypeName' is set
|
|
1294
|
-
if (coreTypeName === undefined || coreTypeName === null) {
|
|
1294
|
+
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
1295
1295
|
throw 'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
@@ -1360,7 +1360,7 @@ class ExternalContactsApi {
|
|
|
1360
1360
|
opts = opts || {};
|
|
1361
1361
|
|
|
1362
1362
|
// verify the required parameter 'relationshipId' is set
|
|
1363
|
-
if (relationshipId === undefined || relationshipId === null) {
|
|
1363
|
+
if (relationshipId === undefined || relationshipId === null || relationshipId === '') {
|
|
1364
1364
|
throw 'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
@@ -1620,7 +1620,7 @@ class ExternalContactsApi {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
patchExternalcontactsContactIdentifiers(contactId, body) {
|
|
1622
1622
|
// verify the required parameter 'contactId' is set
|
|
1623
|
-
if (contactId === undefined || contactId === null) {
|
|
1623
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
1624
1624
|
throw 'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';
|
|
1625
1625
|
}
|
|
1626
1626
|
// verify the required parameter 'body' is set
|
|
@@ -1650,7 +1650,7 @@ class ExternalContactsApi {
|
|
|
1650
1650
|
*/
|
|
1651
1651
|
patchExternalcontactsOrganizationIdentifiers(externalOrganizationId, body) {
|
|
1652
1652
|
// verify the required parameter 'externalOrganizationId' is set
|
|
1653
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
1653
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
1654
1654
|
throw 'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';
|
|
1655
1655
|
}
|
|
1656
1656
|
// verify the required parameter 'body' is set
|
|
@@ -2213,7 +2213,7 @@ class ExternalContactsApi {
|
|
|
2213
2213
|
*/
|
|
2214
2214
|
postExternalcontactsContactNotes(contactId, body) {
|
|
2215
2215
|
// verify the required parameter 'contactId' is set
|
|
2216
|
-
if (contactId === undefined || contactId === null) {
|
|
2216
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
2217
2217
|
throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactNotes';
|
|
2218
2218
|
}
|
|
2219
2219
|
// verify the required parameter 'body' is set
|
|
@@ -2242,7 +2242,7 @@ class ExternalContactsApi {
|
|
|
2242
2242
|
*/
|
|
2243
2243
|
postExternalcontactsContactPromotion(contactId) {
|
|
2244
2244
|
// verify the required parameter 'contactId' is set
|
|
2245
|
-
if (contactId === undefined || contactId === null) {
|
|
2245
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
2246
2246
|
throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';
|
|
2247
2247
|
}
|
|
2248
2248
|
|
|
@@ -2661,7 +2661,7 @@ class ExternalContactsApi {
|
|
|
2661
2661
|
*/
|
|
2662
2662
|
postExternalcontactsOrganizationNotes(externalOrganizationId, body) {
|
|
2663
2663
|
// verify the required parameter 'externalOrganizationId' is set
|
|
2664
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
2664
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
2665
2665
|
throw 'Missing the required parameter "externalOrganizationId" when calling postExternalcontactsOrganizationNotes';
|
|
2666
2666
|
}
|
|
2667
2667
|
// verify the required parameter 'body' is set
|
|
@@ -2795,7 +2795,7 @@ class ExternalContactsApi {
|
|
|
2795
2795
|
*/
|
|
2796
2796
|
putExternalcontactsContact(contactId, body) {
|
|
2797
2797
|
// verify the required parameter 'contactId' is set
|
|
2798
|
-
if (contactId === undefined || contactId === null) {
|
|
2798
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
2799
2799
|
throw 'Missing the required parameter "contactId" when calling putExternalcontactsContact';
|
|
2800
2800
|
}
|
|
2801
2801
|
// verify the required parameter 'body' is set
|
|
@@ -2826,11 +2826,11 @@ class ExternalContactsApi {
|
|
|
2826
2826
|
*/
|
|
2827
2827
|
putExternalcontactsContactNote(contactId, noteId, body) {
|
|
2828
2828
|
// verify the required parameter 'contactId' is set
|
|
2829
|
-
if (contactId === undefined || contactId === null) {
|
|
2829
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
2830
2830
|
throw 'Missing the required parameter "contactId" when calling putExternalcontactsContactNote';
|
|
2831
2831
|
}
|
|
2832
2832
|
// verify the required parameter 'noteId' is set
|
|
2833
|
-
if (noteId === undefined || noteId === null) {
|
|
2833
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
2834
2834
|
throw 'Missing the required parameter "noteId" when calling putExternalcontactsContactNote';
|
|
2835
2835
|
}
|
|
2836
2836
|
// verify the required parameter 'body' is set
|
|
@@ -2860,7 +2860,7 @@ class ExternalContactsApi {
|
|
|
2860
2860
|
*/
|
|
2861
2861
|
putExternalcontactsContactsSchema(schemaId, body) {
|
|
2862
2862
|
// verify the required parameter 'schemaId' is set
|
|
2863
|
-
if (schemaId === undefined || schemaId === null) {
|
|
2863
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
2864
2864
|
throw 'Missing the required parameter "schemaId" when calling putExternalcontactsContactsSchema';
|
|
2865
2865
|
}
|
|
2866
2866
|
// verify the required parameter 'body' is set
|
|
@@ -2890,7 +2890,7 @@ class ExternalContactsApi {
|
|
|
2890
2890
|
*/
|
|
2891
2891
|
putExternalcontactsConversation(conversationId, body) {
|
|
2892
2892
|
// verify the required parameter 'conversationId' is set
|
|
2893
|
-
if (conversationId === undefined || conversationId === null) {
|
|
2893
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
2894
2894
|
throw 'Missing the required parameter "conversationId" when calling putExternalcontactsConversation';
|
|
2895
2895
|
}
|
|
2896
2896
|
// verify the required parameter 'body' is set
|
|
@@ -2920,7 +2920,7 @@ class ExternalContactsApi {
|
|
|
2920
2920
|
*/
|
|
2921
2921
|
putExternalcontactsExternalsource(externalSourceId, body) {
|
|
2922
2922
|
// verify the required parameter 'externalSourceId' is set
|
|
2923
|
-
if (externalSourceId === undefined || externalSourceId === null) {
|
|
2923
|
+
if (externalSourceId === undefined || externalSourceId === null || externalSourceId === '') {
|
|
2924
2924
|
throw 'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';
|
|
2925
2925
|
}
|
|
2926
2926
|
// verify the required parameter 'body' is set
|
|
@@ -2950,7 +2950,7 @@ class ExternalContactsApi {
|
|
|
2950
2950
|
*/
|
|
2951
2951
|
putExternalcontactsImportCsvSetting(settingsId, body) {
|
|
2952
2952
|
// verify the required parameter 'settingsId' is set
|
|
2953
|
-
if (settingsId === undefined || settingsId === null) {
|
|
2953
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
2954
2954
|
throw 'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';
|
|
2955
2955
|
}
|
|
2956
2956
|
// verify the required parameter 'body' is set
|
|
@@ -2980,7 +2980,7 @@ class ExternalContactsApi {
|
|
|
2980
2980
|
*/
|
|
2981
2981
|
putExternalcontactsImportJob(jobId, body) {
|
|
2982
2982
|
// verify the required parameter 'jobId' is set
|
|
2983
|
-
if (jobId === undefined || jobId === null) {
|
|
2983
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2984
2984
|
throw 'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';
|
|
2985
2985
|
}
|
|
2986
2986
|
// verify the required parameter 'body' is set
|
|
@@ -3010,7 +3010,7 @@ class ExternalContactsApi {
|
|
|
3010
3010
|
*/
|
|
3011
3011
|
putExternalcontactsImportSetting(settingsId, body) {
|
|
3012
3012
|
// verify the required parameter 'settingsId' is set
|
|
3013
|
-
if (settingsId === undefined || settingsId === null) {
|
|
3013
|
+
if (settingsId === undefined || settingsId === null || settingsId === '') {
|
|
3014
3014
|
throw 'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';
|
|
3015
3015
|
}
|
|
3016
3016
|
// verify the required parameter 'body' is set
|
|
@@ -3040,7 +3040,7 @@ class ExternalContactsApi {
|
|
|
3040
3040
|
*/
|
|
3041
3041
|
putExternalcontactsOrganization(externalOrganizationId, body) {
|
|
3042
3042
|
// verify the required parameter 'externalOrganizationId' is set
|
|
3043
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
3043
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
3044
3044
|
throw 'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganization';
|
|
3045
3045
|
}
|
|
3046
3046
|
// verify the required parameter 'body' is set
|
|
@@ -3071,11 +3071,11 @@ class ExternalContactsApi {
|
|
|
3071
3071
|
*/
|
|
3072
3072
|
putExternalcontactsOrganizationNote(externalOrganizationId, noteId, body) {
|
|
3073
3073
|
// verify the required parameter 'externalOrganizationId' is set
|
|
3074
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
3074
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
3075
3075
|
throw 'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationNote';
|
|
3076
3076
|
}
|
|
3077
3077
|
// verify the required parameter 'noteId' is set
|
|
3078
|
-
if (noteId === undefined || noteId === null) {
|
|
3078
|
+
if (noteId === undefined || noteId === null || noteId === '') {
|
|
3079
3079
|
throw 'Missing the required parameter "noteId" when calling putExternalcontactsOrganizationNote';
|
|
3080
3080
|
}
|
|
3081
3081
|
// verify the required parameter 'body' is set
|
|
@@ -3105,11 +3105,11 @@ class ExternalContactsApi {
|
|
|
3105
3105
|
*/
|
|
3106
3106
|
putExternalcontactsOrganizationTrustorTrustorId(externalOrganizationId, trustorId) {
|
|
3107
3107
|
// verify the required parameter 'externalOrganizationId' is set
|
|
3108
|
-
if (externalOrganizationId === undefined || externalOrganizationId === null) {
|
|
3108
|
+
if (externalOrganizationId === undefined || externalOrganizationId === null || externalOrganizationId === '') {
|
|
3109
3109
|
throw 'Missing the required parameter "externalOrganizationId" when calling putExternalcontactsOrganizationTrustorTrustorId';
|
|
3110
3110
|
}
|
|
3111
3111
|
// verify the required parameter 'trustorId' is set
|
|
3112
|
-
if (trustorId === undefined || trustorId === null) {
|
|
3112
|
+
if (trustorId === undefined || trustorId === null || trustorId === '') {
|
|
3113
3113
|
throw 'Missing the required parameter "trustorId" when calling putExternalcontactsOrganizationTrustorTrustorId';
|
|
3114
3114
|
}
|
|
3115
3115
|
|
|
@@ -3135,7 +3135,7 @@ class ExternalContactsApi {
|
|
|
3135
3135
|
*/
|
|
3136
3136
|
putExternalcontactsOrganizationsSchema(schemaId, body) {
|
|
3137
3137
|
// verify the required parameter 'schemaId' is set
|
|
3138
|
-
if (schemaId === undefined || schemaId === null) {
|
|
3138
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
3139
3139
|
throw 'Missing the required parameter "schemaId" when calling putExternalcontactsOrganizationsSchema';
|
|
3140
3140
|
}
|
|
3141
3141
|
// verify the required parameter 'body' is set
|
|
@@ -3165,7 +3165,7 @@ class ExternalContactsApi {
|
|
|
3165
3165
|
*/
|
|
3166
3166
|
putExternalcontactsRelationship(relationshipId, body) {
|
|
3167
3167
|
// verify the required parameter 'relationshipId' is set
|
|
3168
|
-
if (relationshipId === undefined || relationshipId === null) {
|
|
3168
|
+
if (relationshipId === undefined || relationshipId === null || relationshipId === '') {
|
|
3169
3169
|
throw 'Missing the required parameter "relationshipId" when calling putExternalcontactsRelationship';
|
|
3170
3170
|
}
|
|
3171
3171
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class FaxApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Fax service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class FaxApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteFaxDocument(documentId) {
|
|
29
29
|
// verify the required parameter 'documentId' is set
|
|
30
|
-
if (documentId === undefined || documentId === null) {
|
|
30
|
+
if (documentId === undefined || documentId === null || documentId === '') {
|
|
31
31
|
throw 'Missing the required parameter "documentId" when calling deleteFaxDocument';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class FaxApi {
|
|
|
52
52
|
*/
|
|
53
53
|
getFaxDocument(documentId) {
|
|
54
54
|
// verify the required parameter 'documentId' is set
|
|
55
|
-
if (documentId === undefined || documentId === null) {
|
|
55
|
+
if (documentId === undefined || documentId === null || documentId === '') {
|
|
56
56
|
throw 'Missing the required parameter "documentId" when calling getFaxDocument';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -77,7 +77,7 @@ class FaxApi {
|
|
|
77
77
|
*/
|
|
78
78
|
getFaxDocumentContent(documentId) {
|
|
79
79
|
// verify the required parameter 'documentId' is set
|
|
80
|
-
if (documentId === undefined || documentId === null) {
|
|
80
|
+
if (documentId === undefined || documentId === null || documentId === '') {
|
|
81
81
|
throw 'Missing the required parameter "documentId" when calling getFaxDocumentContent';
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -168,7 +168,7 @@ class FaxApi {
|
|
|
168
168
|
*/
|
|
169
169
|
putFaxDocument(documentId, body) {
|
|
170
170
|
// verify the required parameter 'documentId' is set
|
|
171
|
-
if (documentId === undefined || documentId === null) {
|
|
171
|
+
if (documentId === undefined || documentId === null || documentId === '') {
|
|
172
172
|
throw 'Missing the required parameter "documentId" when calling putFaxDocument';
|
|
173
173
|
}
|
|
174
174
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class FlowsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Flows service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,7 +28,7 @@ class FlowsApi {
|
|
|
28
28
|
*/
|
|
29
29
|
getAnalyticsFlowsAggregatesJob(jobId) {
|
|
30
30
|
// verify the required parameter 'jobId' is set
|
|
31
|
-
if (jobId === undefined || jobId === null) {
|
|
31
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
32
32
|
throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -58,7 +58,7 @@ class FlowsApi {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
|
|
60
60
|
// verify the required parameter 'jobId' is set
|
|
61
|
-
if (jobId === undefined || jobId === null) {
|
|
61
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
62
62
|
throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';
|
|
63
63
|
}
|
|
64
64
|
|