purecloud-platform-client-v2 224.0.0 → 226.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class BusinessRulesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* BusinessRules service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -32,7 +32,7 @@ class BusinessRulesApi {
|
|
|
32
32
|
opts = opts || {};
|
|
33
33
|
|
|
34
34
|
// verify the required parameter 'tableId' is set
|
|
35
|
-
if (tableId === undefined || tableId === null) {
|
|
35
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
36
36
|
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -59,7 +59,7 @@ class BusinessRulesApi {
|
|
|
59
59
|
*/
|
|
60
60
|
deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
61
61
|
// verify the required parameter 'tableId' is set
|
|
62
|
-
if (tableId === undefined || tableId === null) {
|
|
62
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
63
63
|
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';
|
|
64
64
|
}
|
|
65
65
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -91,7 +91,7 @@ class BusinessRulesApi {
|
|
|
91
91
|
*/
|
|
92
92
|
deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
93
93
|
// verify the required parameter 'tableId' is set
|
|
94
|
-
if (tableId === undefined || tableId === null) {
|
|
94
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
95
95
|
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
96
96
|
}
|
|
97
97
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -99,7 +99,7 @@ class BusinessRulesApi {
|
|
|
99
99
|
throw 'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
100
100
|
}
|
|
101
101
|
// verify the required parameter 'rowId' is set
|
|
102
|
-
if (rowId === undefined || rowId === null) {
|
|
102
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
103
103
|
throw 'Missing the required parameter "rowId" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -125,7 +125,7 @@ class BusinessRulesApi {
|
|
|
125
125
|
*/
|
|
126
126
|
deleteBusinessrulesSchema(schemaId) {
|
|
127
127
|
// verify the required parameter 'schemaId' is set
|
|
128
|
-
if (schemaId === undefined || schemaId === null) {
|
|
128
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
129
129
|
throw 'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -151,7 +151,7 @@ class BusinessRulesApi {
|
|
|
151
151
|
*/
|
|
152
152
|
getBusinessrulesDecisiontable(tableId) {
|
|
153
153
|
// verify the required parameter 'tableId' is set
|
|
154
|
-
if (tableId === undefined || tableId === null) {
|
|
154
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
155
155
|
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -178,7 +178,7 @@ class BusinessRulesApi {
|
|
|
178
178
|
*/
|
|
179
179
|
getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
180
180
|
// verify the required parameter 'tableId' is set
|
|
181
|
-
if (tableId === undefined || tableId === null) {
|
|
181
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
182
182
|
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';
|
|
183
183
|
}
|
|
184
184
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -210,7 +210,7 @@ class BusinessRulesApi {
|
|
|
210
210
|
*/
|
|
211
211
|
getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
212
212
|
// verify the required parameter 'tableId' is set
|
|
213
|
-
if (tableId === undefined || tableId === null) {
|
|
213
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
214
214
|
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';
|
|
215
215
|
}
|
|
216
216
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -218,7 +218,7 @@ class BusinessRulesApi {
|
|
|
218
218
|
throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';
|
|
219
219
|
}
|
|
220
220
|
// verify the required parameter 'rowId' is set
|
|
221
|
-
if (rowId === undefined || rowId === null) {
|
|
221
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
222
222
|
throw 'Missing the required parameter "rowId" when calling getBusinessrulesDecisiontableVersionRow';
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -250,7 +250,7 @@ class BusinessRulesApi {
|
|
|
250
250
|
opts = opts || {};
|
|
251
251
|
|
|
252
252
|
// verify the required parameter 'tableId' is set
|
|
253
|
-
if (tableId === undefined || tableId === null) {
|
|
253
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
254
254
|
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';
|
|
255
255
|
}
|
|
256
256
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -286,7 +286,7 @@ class BusinessRulesApi {
|
|
|
286
286
|
opts = opts || {};
|
|
287
287
|
|
|
288
288
|
// verify the required parameter 'tableId' is set
|
|
289
|
-
if (tableId === undefined || tableId === null) {
|
|
289
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
290
290
|
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';
|
|
291
291
|
}
|
|
292
292
|
|
|
@@ -370,7 +370,7 @@ class BusinessRulesApi {
|
|
|
370
370
|
*/
|
|
371
371
|
getBusinessrulesSchema(schemaId) {
|
|
372
372
|
// verify the required parameter 'schemaId' is set
|
|
373
|
-
if (schemaId === undefined || schemaId === null) {
|
|
373
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
374
374
|
throw 'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';
|
|
375
375
|
}
|
|
376
376
|
|
|
@@ -417,7 +417,7 @@ class BusinessRulesApi {
|
|
|
417
417
|
*/
|
|
418
418
|
getBusinessrulesSchemasCoretype(coreTypeName) {
|
|
419
419
|
// verify the required parameter 'coreTypeName' is set
|
|
420
|
-
if (coreTypeName === undefined || coreTypeName === null) {
|
|
420
|
+
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
421
421
|
throw 'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';
|
|
422
422
|
}
|
|
423
423
|
|
|
@@ -465,7 +465,7 @@ class BusinessRulesApi {
|
|
|
465
465
|
*/
|
|
466
466
|
patchBusinessrulesDecisiontable(tableId, body) {
|
|
467
467
|
// verify the required parameter 'tableId' is set
|
|
468
|
-
if (tableId === undefined || tableId === null) {
|
|
468
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
469
469
|
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';
|
|
470
470
|
}
|
|
471
471
|
// verify the required parameter 'body' is set
|
|
@@ -497,7 +497,7 @@ class BusinessRulesApi {
|
|
|
497
497
|
*/
|
|
498
498
|
patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
|
|
499
499
|
// verify the required parameter 'tableId' is set
|
|
500
|
-
if (tableId === undefined || tableId === null) {
|
|
500
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
501
501
|
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';
|
|
502
502
|
}
|
|
503
503
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -535,7 +535,7 @@ class BusinessRulesApi {
|
|
|
535
535
|
*/
|
|
536
536
|
patchBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
537
537
|
// verify the required parameter 'tableId' is set
|
|
538
|
-
if (tableId === undefined || tableId === null) {
|
|
538
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
539
539
|
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
540
540
|
}
|
|
541
541
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -543,7 +543,7 @@ class BusinessRulesApi {
|
|
|
543
543
|
throw 'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
544
544
|
}
|
|
545
545
|
// verify the required parameter 'rowId' is set
|
|
546
|
-
if (rowId === undefined || rowId === null) {
|
|
546
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
547
547
|
throw 'Missing the required parameter "rowId" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
548
548
|
}
|
|
549
549
|
// verify the required parameter 'body' is set
|
|
@@ -574,7 +574,7 @@ class BusinessRulesApi {
|
|
|
574
574
|
*/
|
|
575
575
|
postBusinessrulesDecisiontableExecute(tableId, body) {
|
|
576
576
|
// verify the required parameter 'tableId' is set
|
|
577
|
-
if (tableId === undefined || tableId === null) {
|
|
577
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
578
578
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';
|
|
579
579
|
}
|
|
580
580
|
// verify the required parameter 'body' is set
|
|
@@ -606,7 +606,7 @@ class BusinessRulesApi {
|
|
|
606
606
|
*/
|
|
607
607
|
postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
|
|
608
608
|
// verify the required parameter 'tableId' is set
|
|
609
|
-
if (tableId === undefined || tableId === null) {
|
|
609
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
610
610
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';
|
|
611
611
|
}
|
|
612
612
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -642,7 +642,7 @@ class BusinessRulesApi {
|
|
|
642
642
|
*/
|
|
643
643
|
postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
|
|
644
644
|
// verify the required parameter 'tableId' is set
|
|
645
|
-
if (tableId === undefined || tableId === null) {
|
|
645
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
646
646
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';
|
|
647
647
|
}
|
|
648
648
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -678,7 +678,7 @@ class BusinessRulesApi {
|
|
|
678
678
|
*/
|
|
679
679
|
postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
|
|
680
680
|
// verify the required parameter 'tableId' is set
|
|
681
|
-
if (tableId === undefined || tableId === null) {
|
|
681
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
682
682
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';
|
|
683
683
|
}
|
|
684
684
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -719,7 +719,7 @@ class BusinessRulesApi {
|
|
|
719
719
|
opts = opts || {};
|
|
720
720
|
|
|
721
721
|
// verify the required parameter 'tableId' is set
|
|
722
|
-
if (tableId === undefined || tableId === null) {
|
|
722
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
723
723
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';
|
|
724
724
|
}
|
|
725
725
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -754,7 +754,7 @@ class BusinessRulesApi {
|
|
|
754
754
|
*/
|
|
755
755
|
postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
|
|
756
756
|
// verify the required parameter 'tableId' is set
|
|
757
|
-
if (tableId === undefined || tableId === null) {
|
|
757
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
758
758
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';
|
|
759
759
|
}
|
|
760
760
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -784,7 +784,7 @@ class BusinessRulesApi {
|
|
|
784
784
|
*/
|
|
785
785
|
postBusinessrulesDecisiontableVersions(tableId) {
|
|
786
786
|
// verify the required parameter 'tableId' is set
|
|
787
|
-
if (tableId === undefined || tableId === null) {
|
|
787
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
788
788
|
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';
|
|
789
789
|
}
|
|
790
790
|
|
|
@@ -863,7 +863,7 @@ class BusinessRulesApi {
|
|
|
863
863
|
*/
|
|
864
864
|
putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
|
|
865
865
|
// verify the required parameter 'tableId' is set
|
|
866
|
-
if (tableId === undefined || tableId === null) {
|
|
866
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
867
867
|
throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';
|
|
868
868
|
}
|
|
869
869
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -896,7 +896,7 @@ class BusinessRulesApi {
|
|
|
896
896
|
*/
|
|
897
897
|
putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
898
898
|
// verify the required parameter 'tableId' is set
|
|
899
|
-
if (tableId === undefined || tableId === null) {
|
|
899
|
+
if (tableId === undefined || tableId === null || tableId === '') {
|
|
900
900
|
throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';
|
|
901
901
|
}
|
|
902
902
|
// verify the required parameter 'tableVersion' is set
|
|
@@ -904,7 +904,7 @@ class BusinessRulesApi {
|
|
|
904
904
|
throw 'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';
|
|
905
905
|
}
|
|
906
906
|
// verify the required parameter 'rowId' is set
|
|
907
|
-
if (rowId === undefined || rowId === null) {
|
|
907
|
+
if (rowId === undefined || rowId === null || rowId === '') {
|
|
908
908
|
throw 'Missing the required parameter "rowId" when calling putBusinessrulesDecisiontableVersionRow';
|
|
909
909
|
}
|
|
910
910
|
// verify the required parameter 'body' is set
|
|
@@ -935,7 +935,7 @@ class BusinessRulesApi {
|
|
|
935
935
|
*/
|
|
936
936
|
putBusinessrulesSchema(schemaId, body) {
|
|
937
937
|
// verify the required parameter 'schemaId' is set
|
|
938
|
-
if (schemaId === undefined || schemaId === null) {
|
|
938
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
939
939
|
throw 'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';
|
|
940
940
|
}
|
|
941
941
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class ChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Chat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,11 +28,11 @@ class ChatApi {
|
|
|
28
28
|
*/
|
|
29
29
|
deleteChatsRoomMessage(roomJid, messageId) {
|
|
30
30
|
// verify the required parameter 'roomJid' is set
|
|
31
|
-
if (roomJid === undefined || roomJid === null) {
|
|
31
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
32
32
|
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
|
|
33
33
|
}
|
|
34
34
|
// verify the required parameter 'messageId' is set
|
|
35
|
-
if (messageId === undefined || messageId === null) {
|
|
35
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
36
36
|
throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -58,11 +58,11 @@ class ChatApi {
|
|
|
58
58
|
*/
|
|
59
59
|
deleteChatsRoomMessagesPin(roomJid, pinnedMessageId) {
|
|
60
60
|
// verify the required parameter 'roomJid' is set
|
|
61
|
-
if (roomJid === undefined || roomJid === null) {
|
|
61
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
62
62
|
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessagesPin';
|
|
63
63
|
}
|
|
64
64
|
// verify the required parameter 'pinnedMessageId' is set
|
|
65
|
-
if (pinnedMessageId === undefined || pinnedMessageId === null) {
|
|
65
|
+
if (pinnedMessageId === undefined || pinnedMessageId === null || pinnedMessageId === '') {
|
|
66
66
|
throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomMessagesPin';
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -88,11 +88,11 @@ class ChatApi {
|
|
|
88
88
|
*/
|
|
89
89
|
deleteChatsRoomParticipant(roomJid, userId) {
|
|
90
90
|
// verify the required parameter 'roomJid' is set
|
|
91
|
-
if (roomJid === undefined || roomJid === null) {
|
|
91
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
92
92
|
throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
|
|
93
93
|
}
|
|
94
94
|
// verify the required parameter 'userId' is set
|
|
95
|
-
if (userId === undefined || userId === null) {
|
|
95
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
96
96
|
throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -118,11 +118,11 @@ class ChatApi {
|
|
|
118
118
|
*/
|
|
119
119
|
deleteChatsUserMessage(userId, messageId) {
|
|
120
120
|
// verify the required parameter 'userId' is set
|
|
121
|
-
if (userId === undefined || userId === null) {
|
|
121
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
122
122
|
throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
|
|
123
123
|
}
|
|
124
124
|
// verify the required parameter 'messageId' is set
|
|
125
|
-
if (messageId === undefined || messageId === null) {
|
|
125
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
126
126
|
throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -148,11 +148,11 @@ class ChatApi {
|
|
|
148
148
|
*/
|
|
149
149
|
deleteChatsUserMessagesPin(userId, pinnedMessageId) {
|
|
150
150
|
// verify the required parameter 'userId' is set
|
|
151
|
-
if (userId === undefined || userId === null) {
|
|
151
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
152
152
|
throw 'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';
|
|
153
153
|
}
|
|
154
154
|
// verify the required parameter 'pinnedMessageId' is set
|
|
155
|
-
if (pinnedMessageId === undefined || pinnedMessageId === null) {
|
|
155
|
+
if (pinnedMessageId === undefined || pinnedMessageId === null || pinnedMessageId === '') {
|
|
156
156
|
throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -177,7 +177,7 @@ class ChatApi {
|
|
|
177
177
|
*/
|
|
178
178
|
getChatsMessage(messageId) {
|
|
179
179
|
// verify the required parameter 'messageId' is set
|
|
180
|
-
if (messageId === undefined || messageId === null) {
|
|
180
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
181
181
|
throw 'Missing the required parameter "messageId" when calling getChatsMessage';
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -202,7 +202,7 @@ class ChatApi {
|
|
|
202
202
|
*/
|
|
203
203
|
getChatsRoom(roomJid) {
|
|
204
204
|
// verify the required parameter 'roomJid' is set
|
|
205
|
-
if (roomJid === undefined || roomJid === null) {
|
|
205
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
206
206
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -228,11 +228,11 @@ class ChatApi {
|
|
|
228
228
|
*/
|
|
229
229
|
getChatsRoomMessage(roomJid, messageIds) {
|
|
230
230
|
// verify the required parameter 'roomJid' is set
|
|
231
|
-
if (roomJid === undefined || roomJid === null) {
|
|
231
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
232
232
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
|
|
233
233
|
}
|
|
234
234
|
// verify the required parameter 'messageIds' is set
|
|
235
|
-
if (messageIds === undefined || messageIds === null) {
|
|
235
|
+
if (messageIds === undefined || messageIds === null || messageIds === '') {
|
|
236
236
|
throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
|
|
237
237
|
}
|
|
238
238
|
|
|
@@ -263,7 +263,7 @@ class ChatApi {
|
|
|
263
263
|
opts = opts || {};
|
|
264
264
|
|
|
265
265
|
// verify the required parameter 'roomJid' is set
|
|
266
|
-
if (roomJid === undefined || roomJid === null) {
|
|
266
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
267
267
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -289,11 +289,11 @@ class ChatApi {
|
|
|
289
289
|
*/
|
|
290
290
|
getChatsRoomParticipant(roomJid, participantJid) {
|
|
291
291
|
// verify the required parameter 'roomJid' is set
|
|
292
|
-
if (roomJid === undefined || roomJid === null) {
|
|
292
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
293
293
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoomParticipant';
|
|
294
294
|
}
|
|
295
295
|
// verify the required parameter 'participantJid' is set
|
|
296
|
-
if (participantJid === undefined || participantJid === null) {
|
|
296
|
+
if (participantJid === undefined || participantJid === null || participantJid === '') {
|
|
297
297
|
throw 'Missing the required parameter "participantJid" when calling getChatsRoomParticipant';
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -322,7 +322,7 @@ class ChatApi {
|
|
|
322
322
|
opts = opts || {};
|
|
323
323
|
|
|
324
324
|
// verify the required parameter 'roomJid' is set
|
|
325
|
-
if (roomJid === undefined || roomJid === null) {
|
|
325
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
326
326
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';
|
|
327
327
|
}
|
|
328
328
|
|
|
@@ -373,7 +373,7 @@ class ChatApi {
|
|
|
373
373
|
opts = opts || {};
|
|
374
374
|
|
|
375
375
|
// verify the required parameter 'threadId' is set
|
|
376
|
-
if (threadId === undefined || threadId === null) {
|
|
376
|
+
if (threadId === undefined || threadId === null || threadId === '') {
|
|
377
377
|
throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
|
|
378
378
|
}
|
|
379
379
|
|
|
@@ -398,7 +398,7 @@ class ChatApi {
|
|
|
398
398
|
*/
|
|
399
399
|
getChatsUser(userId) {
|
|
400
400
|
// verify the required parameter 'userId' is set
|
|
401
|
-
if (userId === undefined || userId === null) {
|
|
401
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
402
402
|
throw 'Missing the required parameter "userId" when calling getChatsUser';
|
|
403
403
|
}
|
|
404
404
|
|
|
@@ -424,11 +424,11 @@ class ChatApi {
|
|
|
424
424
|
*/
|
|
425
425
|
getChatsUserMessage(userId, messageIds) {
|
|
426
426
|
// verify the required parameter 'userId' is set
|
|
427
|
-
if (userId === undefined || userId === null) {
|
|
427
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
428
428
|
throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
|
|
429
429
|
}
|
|
430
430
|
// verify the required parameter 'messageIds' is set
|
|
431
|
-
if (messageIds === undefined || messageIds === null) {
|
|
431
|
+
if (messageIds === undefined || messageIds === null || messageIds === '') {
|
|
432
432
|
throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
|
|
433
433
|
}
|
|
434
434
|
|
|
@@ -459,7 +459,7 @@ class ChatApi {
|
|
|
459
459
|
opts = opts || {};
|
|
460
460
|
|
|
461
461
|
// verify the required parameter 'userId' is set
|
|
462
|
-
if (userId === undefined || userId === null) {
|
|
462
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
463
463
|
throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
|
|
464
464
|
}
|
|
465
465
|
|
|
@@ -484,7 +484,7 @@ class ChatApi {
|
|
|
484
484
|
*/
|
|
485
485
|
getChatsUserSettings(userId) {
|
|
486
486
|
// verify the required parameter 'userId' is set
|
|
487
|
-
if (userId === undefined || userId === null) {
|
|
487
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
488
488
|
throw 'Missing the required parameter "userId" when calling getChatsUserSettings';
|
|
489
489
|
}
|
|
490
490
|
|
|
@@ -530,7 +530,7 @@ class ChatApi {
|
|
|
530
530
|
*/
|
|
531
531
|
patchChatsRoom(roomJid, body) {
|
|
532
532
|
// verify the required parameter 'roomJid' is set
|
|
533
|
-
if (roomJid === undefined || roomJid === null) {
|
|
533
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
534
534
|
throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
|
|
535
535
|
}
|
|
536
536
|
// verify the required parameter 'body' is set
|
|
@@ -561,11 +561,11 @@ class ChatApi {
|
|
|
561
561
|
*/
|
|
562
562
|
patchChatsRoomMessage(roomJid, messageId, body) {
|
|
563
563
|
// verify the required parameter 'roomJid' is set
|
|
564
|
-
if (roomJid === undefined || roomJid === null) {
|
|
564
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
565
565
|
throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
|
|
566
566
|
}
|
|
567
567
|
// verify the required parameter 'messageId' is set
|
|
568
|
-
if (messageId === undefined || messageId === null) {
|
|
568
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
569
569
|
throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
|
|
570
570
|
}
|
|
571
571
|
// verify the required parameter 'body' is set
|
|
@@ -621,11 +621,11 @@ class ChatApi {
|
|
|
621
621
|
*/
|
|
622
622
|
patchChatsUserMessage(userId, messageId, body) {
|
|
623
623
|
// verify the required parameter 'userId' is set
|
|
624
|
-
if (userId === undefined || userId === null) {
|
|
624
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
625
625
|
throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
|
|
626
626
|
}
|
|
627
627
|
// verify the required parameter 'messageId' is set
|
|
628
|
-
if (messageId === undefined || messageId === null) {
|
|
628
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
629
629
|
throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
|
|
630
630
|
}
|
|
631
631
|
// verify the required parameter 'body' is set
|
|
@@ -655,7 +655,7 @@ class ChatApi {
|
|
|
655
655
|
*/
|
|
656
656
|
patchChatsUserSettings(userId, body) {
|
|
657
657
|
// verify the required parameter 'userId' is set
|
|
658
|
-
if (userId === undefined || userId === null) {
|
|
658
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
659
659
|
throw 'Missing the required parameter "userId" when calling patchChatsUserSettings';
|
|
660
660
|
}
|
|
661
661
|
// verify the required parameter 'body' is set
|
|
@@ -710,7 +710,7 @@ class ChatApi {
|
|
|
710
710
|
*/
|
|
711
711
|
postChatsRoomMessages(roomJid, body) {
|
|
712
712
|
// verify the required parameter 'roomJid' is set
|
|
713
|
-
if (roomJid === undefined || roomJid === null) {
|
|
713
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
714
714
|
throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
|
|
715
715
|
}
|
|
716
716
|
// verify the required parameter 'body' is set
|
|
@@ -740,7 +740,7 @@ class ChatApi {
|
|
|
740
740
|
*/
|
|
741
741
|
postChatsRoomMessagesPins(roomJid, body) {
|
|
742
742
|
// verify the required parameter 'roomJid' is set
|
|
743
|
-
if (roomJid === undefined || roomJid === null) {
|
|
743
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
744
744
|
throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessagesPins';
|
|
745
745
|
}
|
|
746
746
|
// verify the required parameter 'body' is set
|
|
@@ -770,11 +770,11 @@ class ChatApi {
|
|
|
770
770
|
*/
|
|
771
771
|
postChatsRoomParticipant(roomJid, userId) {
|
|
772
772
|
// verify the required parameter 'roomJid' is set
|
|
773
|
-
if (roomJid === undefined || roomJid === null) {
|
|
773
|
+
if (roomJid === undefined || roomJid === null || roomJid === '') {
|
|
774
774
|
throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
|
|
775
775
|
}
|
|
776
776
|
// verify the required parameter 'userId' is set
|
|
777
|
-
if (userId === undefined || userId === null) {
|
|
777
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
778
778
|
throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
|
|
779
779
|
}
|
|
780
780
|
|
|
@@ -825,7 +825,7 @@ class ChatApi {
|
|
|
825
825
|
*/
|
|
826
826
|
postChatsUserMessages(userId, body) {
|
|
827
827
|
// verify the required parameter 'userId' is set
|
|
828
|
-
if (userId === undefined || userId === null) {
|
|
828
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
829
829
|
throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
|
|
830
830
|
}
|
|
831
831
|
// verify the required parameter 'body' is set
|
|
@@ -855,7 +855,7 @@ class ChatApi {
|
|
|
855
855
|
*/
|
|
856
856
|
postChatsUserMessagesPins(userId, body) {
|
|
857
857
|
// verify the required parameter 'userId' is set
|
|
858
|
-
if (userId === undefined || userId === null) {
|
|
858
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
859
859
|
throw 'Missing the required parameter "userId" when calling postChatsUserMessagesPins';
|
|
860
860
|
}
|
|
861
861
|
// verify the required parameter 'body' is set
|
|
@@ -885,7 +885,7 @@ class ChatApi {
|
|
|
885
885
|
*/
|
|
886
886
|
putChatsMessageReactions(messageId, body) {
|
|
887
887
|
// verify the required parameter 'messageId' is set
|
|
888
|
-
if (messageId === undefined || messageId === null) {
|
|
888
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
889
889
|
throw 'Missing the required parameter "messageId" when calling putChatsMessageReactions';
|
|
890
890
|
}
|
|
891
891
|
// verify the required parameter 'body' is set
|