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 AuditApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Audit service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -67,7 +67,7 @@ class AuditApi {
|
|
|
67
67
|
*/
|
|
68
68
|
getAuditsQueryTransactionId(transactionId) {
|
|
69
69
|
// verify the required parameter 'transactionId' is set
|
|
70
|
-
if (transactionId === undefined || transactionId === null) {
|
|
70
|
+
if (transactionId === undefined || transactionId === null || transactionId === '') {
|
|
71
71
|
throw 'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionId';
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -99,7 +99,7 @@ class AuditApi {
|
|
|
99
99
|
opts = opts || {};
|
|
100
100
|
|
|
101
101
|
// verify the required parameter 'transactionId' is set
|
|
102
|
-
if (transactionId === undefined || transactionId === null) {
|
|
102
|
+
if (transactionId === undefined || transactionId === null || transactionId === '') {
|
|
103
103
|
throw 'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -5,7 +5,7 @@ class AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -31,7 +31,7 @@ class AuthorizationApi {
|
|
|
31
31
|
opts = opts || {};
|
|
32
32
|
|
|
33
33
|
// verify the required parameter 'divisionId' is set
|
|
34
|
-
if (divisionId === undefined || divisionId === null) {
|
|
34
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
35
35
|
throw 'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -58,11 +58,11 @@ class AuthorizationApi {
|
|
|
58
58
|
*/
|
|
59
59
|
deleteAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
60
60
|
// verify the required parameter 'targetName' is set
|
|
61
|
-
if (targetName === undefined || targetName === null) {
|
|
61
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
62
62
|
throw 'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
63
63
|
}
|
|
64
64
|
// verify the required parameter 'subjectId' is set
|
|
65
|
-
if (subjectId === undefined || subjectId === null) {
|
|
65
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
66
66
|
throw 'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -87,7 +87,7 @@ class AuthorizationApi {
|
|
|
87
87
|
*/
|
|
88
88
|
deleteAuthorizationRole(roleId) {
|
|
89
89
|
// verify the required parameter 'roleId' is set
|
|
90
|
-
if (roleId === undefined || roleId === null) {
|
|
90
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
91
91
|
throw 'Missing the required parameter "roleId" when calling deleteAuthorizationRole';
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -114,15 +114,15 @@ class AuthorizationApi {
|
|
|
114
114
|
*/
|
|
115
115
|
deleteAuthorizationSubjectDivisionRole(subjectId, divisionId, roleId) {
|
|
116
116
|
// verify the required parameter 'subjectId' is set
|
|
117
|
-
if (subjectId === undefined || subjectId === null) {
|
|
117
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
118
118
|
throw 'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';
|
|
119
119
|
}
|
|
120
120
|
// verify the required parameter 'divisionId' is set
|
|
121
|
-
if (divisionId === undefined || divisionId === null) {
|
|
121
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
122
122
|
throw 'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';
|
|
123
123
|
}
|
|
124
124
|
// verify the required parameter 'roleId' is set
|
|
125
|
-
if (roleId === undefined || roleId === null) {
|
|
125
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
126
126
|
throw 'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -151,7 +151,7 @@ class AuthorizationApi {
|
|
|
151
151
|
opts = opts || {};
|
|
152
152
|
|
|
153
153
|
// verify the required parameter 'divisionId' is set
|
|
154
|
-
if (divisionId === undefined || divisionId === null) {
|
|
154
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
155
155
|
throw 'Missing the required parameter "divisionId" when calling getAuthorizationDivision';
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -181,7 +181,7 @@ class AuthorizationApi {
|
|
|
181
181
|
opts = opts || {};
|
|
182
182
|
|
|
183
183
|
// verify the required parameter 'divisionId' is set
|
|
184
|
-
if (divisionId === undefined || divisionId === null) {
|
|
184
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
185
185
|
throw 'Missing the required parameter "divisionId" when calling getAuthorizationDivisionGrants';
|
|
186
186
|
}
|
|
187
187
|
|
|
@@ -398,7 +398,7 @@ class AuthorizationApi {
|
|
|
398
398
|
opts = opts || {};
|
|
399
399
|
|
|
400
400
|
// verify the required parameter 'subjectId' is set
|
|
401
|
-
if (subjectId === undefined || subjectId === null) {
|
|
401
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
402
402
|
throw 'Missing the required parameter "subjectId" when calling getAuthorizationDivisionspermittedPagedSubjectId';
|
|
403
403
|
}
|
|
404
404
|
// verify the required parameter 'permission' is set
|
|
@@ -486,7 +486,7 @@ class AuthorizationApi {
|
|
|
486
486
|
opts = opts || {};
|
|
487
487
|
|
|
488
488
|
// verify the required parameter 'subjectId' is set
|
|
489
|
-
if (subjectId === undefined || subjectId === null) {
|
|
489
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
490
490
|
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';
|
|
491
491
|
}
|
|
492
492
|
|
|
@@ -517,7 +517,7 @@ class AuthorizationApi {
|
|
|
517
517
|
opts = opts || {};
|
|
518
518
|
|
|
519
519
|
// verify the required parameter 'targetName' is set
|
|
520
|
-
if (targetName === undefined || targetName === null) {
|
|
520
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
521
521
|
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';
|
|
522
522
|
}
|
|
523
523
|
|
|
@@ -544,11 +544,11 @@ class AuthorizationApi {
|
|
|
544
544
|
*/
|
|
545
545
|
getAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
|
|
546
546
|
// verify the required parameter 'targetName' is set
|
|
547
|
-
if (targetName === undefined || targetName === null) {
|
|
547
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
548
548
|
throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
549
549
|
}
|
|
550
550
|
// verify the required parameter 'subjectId' is set
|
|
551
|
-
if (subjectId === undefined || subjectId === null) {
|
|
551
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
552
552
|
throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
|
|
553
553
|
}
|
|
554
554
|
|
|
@@ -595,7 +595,7 @@ class AuthorizationApi {
|
|
|
595
595
|
*/
|
|
596
596
|
getAuthorizationPolicy(policyId) {
|
|
597
597
|
// verify the required parameter 'policyId' is set
|
|
598
|
-
if (policyId === undefined || policyId === null) {
|
|
598
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
599
599
|
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicy';
|
|
600
600
|
}
|
|
601
601
|
|
|
@@ -621,7 +621,7 @@ class AuthorizationApi {
|
|
|
621
621
|
*/
|
|
622
622
|
getAuthorizationPolicyAttributes(policyId) {
|
|
623
623
|
// verify the required parameter 'policyId' is set
|
|
624
|
-
if (policyId === undefined || policyId === null) {
|
|
624
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
625
625
|
throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';
|
|
626
626
|
}
|
|
627
627
|
|
|
@@ -671,7 +671,7 @@ class AuthorizationApi {
|
|
|
671
671
|
opts = opts || {};
|
|
672
672
|
|
|
673
673
|
// verify the required parameter 'roleId' is set
|
|
674
|
-
if (roleId === undefined || roleId === null) {
|
|
674
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
675
675
|
throw 'Missing the required parameter "roleId" when calling getAuthorizationRole';
|
|
676
676
|
}
|
|
677
677
|
|
|
@@ -697,11 +697,11 @@ class AuthorizationApi {
|
|
|
697
697
|
*/
|
|
698
698
|
getAuthorizationRoleComparedefaultRightRoleId(leftRoleId, rightRoleId) {
|
|
699
699
|
// verify the required parameter 'leftRoleId' is set
|
|
700
|
-
if (leftRoleId === undefined || leftRoleId === null) {
|
|
700
|
+
if (leftRoleId === undefined || leftRoleId === null || leftRoleId === '') {
|
|
701
701
|
throw 'Missing the required parameter "leftRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';
|
|
702
702
|
}
|
|
703
703
|
// verify the required parameter 'rightRoleId' is set
|
|
704
|
-
if (rightRoleId === undefined || rightRoleId === null) {
|
|
704
|
+
if (rightRoleId === undefined || rightRoleId === null || rightRoleId === '') {
|
|
705
705
|
throw 'Missing the required parameter "rightRoleId" when calling getAuthorizationRoleComparedefaultRightRoleId';
|
|
706
706
|
}
|
|
707
707
|
|
|
@@ -735,7 +735,7 @@ class AuthorizationApi {
|
|
|
735
735
|
opts = opts || {};
|
|
736
736
|
|
|
737
737
|
// verify the required parameter 'roleId' is set
|
|
738
|
-
if (roleId === undefined || roleId === null) {
|
|
738
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
739
739
|
throw 'Missing the required parameter "roleId" when calling getAuthorizationRoleSubjectgrants';
|
|
740
740
|
}
|
|
741
741
|
|
|
@@ -765,7 +765,7 @@ class AuthorizationApi {
|
|
|
765
765
|
opts = opts || {};
|
|
766
766
|
|
|
767
767
|
// verify the required parameter 'roleId' is set
|
|
768
|
-
if (roleId === undefined || roleId === null) {
|
|
768
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
769
769
|
throw 'Missing the required parameter "roleId" when calling getAuthorizationRoleUsers';
|
|
770
770
|
}
|
|
771
771
|
|
|
@@ -868,7 +868,7 @@ class AuthorizationApi {
|
|
|
868
868
|
opts = opts || {};
|
|
869
869
|
|
|
870
870
|
// verify the required parameter 'subjectId' is set
|
|
871
|
-
if (subjectId === undefined || subjectId === null) {
|
|
871
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
872
872
|
throw 'Missing the required parameter "subjectId" when calling getAuthorizationSubject';
|
|
873
873
|
}
|
|
874
874
|
|
|
@@ -941,7 +941,7 @@ class AuthorizationApi {
|
|
|
941
941
|
*/
|
|
942
942
|
getUserRoles(subjectId) {
|
|
943
943
|
// verify the required parameter 'subjectId' is set
|
|
944
|
-
if (subjectId === undefined || subjectId === null) {
|
|
944
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
945
945
|
throw 'Missing the required parameter "subjectId" when calling getUserRoles';
|
|
946
946
|
}
|
|
947
947
|
|
|
@@ -967,7 +967,7 @@ class AuthorizationApi {
|
|
|
967
967
|
*/
|
|
968
968
|
patchAuthorizationRole(roleId, body) {
|
|
969
969
|
// verify the required parameter 'roleId' is set
|
|
970
|
-
if (roleId === undefined || roleId === null) {
|
|
970
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
971
971
|
throw 'Missing the required parameter "roleId" when calling patchAuthorizationRole';
|
|
972
972
|
}
|
|
973
973
|
// verify the required parameter 'body' is set
|
|
@@ -1023,11 +1023,11 @@ class AuthorizationApi {
|
|
|
1023
1023
|
*/
|
|
1024
1024
|
postAuthorizationDivisionObject(divisionId, objectType, body) {
|
|
1025
1025
|
// verify the required parameter 'divisionId' is set
|
|
1026
|
-
if (divisionId === undefined || divisionId === null) {
|
|
1026
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
1027
1027
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';
|
|
1028
1028
|
}
|
|
1029
1029
|
// verify the required parameter 'objectType' is set
|
|
1030
|
-
if (objectType === undefined || objectType === null) {
|
|
1030
|
+
if (objectType === undefined || objectType === null || objectType === '') {
|
|
1031
1031
|
throw 'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';
|
|
1032
1032
|
}
|
|
1033
1033
|
// verify the required parameter 'body' is set
|
|
@@ -1057,7 +1057,7 @@ class AuthorizationApi {
|
|
|
1057
1057
|
*/
|
|
1058
1058
|
postAuthorizationDivisionRestore(divisionId, body) {
|
|
1059
1059
|
// verify the required parameter 'divisionId' is set
|
|
1060
|
-
if (divisionId === undefined || divisionId === null) {
|
|
1060
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
1061
1061
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
|
|
1062
1062
|
}
|
|
1063
1063
|
// verify the required parameter 'body' is set
|
|
@@ -1113,7 +1113,7 @@ class AuthorizationApi {
|
|
|
1113
1113
|
*/
|
|
1114
1114
|
postAuthorizationPoliciesTarget(targetName, body) {
|
|
1115
1115
|
// verify the required parameter 'targetName' is set
|
|
1116
|
-
if (targetName === undefined || targetName === null) {
|
|
1116
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
1117
1117
|
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';
|
|
1118
1118
|
}
|
|
1119
1119
|
// verify the required parameter 'body' is set
|
|
@@ -1144,7 +1144,7 @@ class AuthorizationApi {
|
|
|
1144
1144
|
*/
|
|
1145
1145
|
postAuthorizationPoliciesTargetValidate(targetName, body) {
|
|
1146
1146
|
// verify the required parameter 'targetName' is set
|
|
1147
|
-
if (targetName === undefined || targetName === null) {
|
|
1147
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
1148
1148
|
throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';
|
|
1149
1149
|
}
|
|
1150
1150
|
// verify the required parameter 'body' is set
|
|
@@ -1175,7 +1175,7 @@ class AuthorizationApi {
|
|
|
1175
1175
|
*/
|
|
1176
1176
|
postAuthorizationPolicySimulate(policyId, body) {
|
|
1177
1177
|
// verify the required parameter 'policyId' is set
|
|
1178
|
-
if (policyId === undefined || policyId === null) {
|
|
1178
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
1179
1179
|
throw 'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';
|
|
1180
1180
|
}
|
|
1181
1181
|
// verify the required parameter 'body' is set
|
|
@@ -1209,7 +1209,7 @@ class AuthorizationApi {
|
|
|
1209
1209
|
opts = opts || {};
|
|
1210
1210
|
|
|
1211
1211
|
// verify the required parameter 'roleId' is set
|
|
1212
|
-
if (roleId === undefined || roleId === null) {
|
|
1212
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
1213
1213
|
throw 'Missing the required parameter "roleId" when calling postAuthorizationRole';
|
|
1214
1214
|
}
|
|
1215
1215
|
// verify the required parameter 'body' is set
|
|
@@ -1240,11 +1240,11 @@ class AuthorizationApi {
|
|
|
1240
1240
|
*/
|
|
1241
1241
|
postAuthorizationRoleComparedefaultRightRoleId(leftRoleId, rightRoleId, body) {
|
|
1242
1242
|
// verify the required parameter 'leftRoleId' is set
|
|
1243
|
-
if (leftRoleId === undefined || leftRoleId === null) {
|
|
1243
|
+
if (leftRoleId === undefined || leftRoleId === null || leftRoleId === '') {
|
|
1244
1244
|
throw 'Missing the required parameter "leftRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';
|
|
1245
1245
|
}
|
|
1246
1246
|
// verify the required parameter 'rightRoleId' is set
|
|
1247
|
-
if (rightRoleId === undefined || rightRoleId === null) {
|
|
1247
|
+
if (rightRoleId === undefined || rightRoleId === null || rightRoleId === '') {
|
|
1248
1248
|
throw 'Missing the required parameter "rightRoleId" when calling postAuthorizationRoleComparedefaultRightRoleId';
|
|
1249
1249
|
}
|
|
1250
1250
|
// verify the required parameter 'body' is set
|
|
@@ -1327,7 +1327,7 @@ class AuthorizationApi {
|
|
|
1327
1327
|
opts = opts || {};
|
|
1328
1328
|
|
|
1329
1329
|
// verify the required parameter 'subjectId' is set
|
|
1330
|
-
if (subjectId === undefined || subjectId === null) {
|
|
1330
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
1331
1331
|
throw 'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkadd';
|
|
1332
1332
|
}
|
|
1333
1333
|
// verify the required parameter 'body' is set
|
|
@@ -1357,7 +1357,7 @@ class AuthorizationApi {
|
|
|
1357
1357
|
*/
|
|
1358
1358
|
postAuthorizationSubjectBulkremove(subjectId, body) {
|
|
1359
1359
|
// verify the required parameter 'subjectId' is set
|
|
1360
|
-
if (subjectId === undefined || subjectId === null) {
|
|
1360
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
1361
1361
|
throw 'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkremove';
|
|
1362
1362
|
}
|
|
1363
1363
|
// verify the required parameter 'body' is set
|
|
@@ -1391,7 +1391,7 @@ class AuthorizationApi {
|
|
|
1391
1391
|
opts = opts || {};
|
|
1392
1392
|
|
|
1393
1393
|
// verify the required parameter 'subjectId' is set
|
|
1394
|
-
if (subjectId === undefined || subjectId === null) {
|
|
1394
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
1395
1395
|
throw 'Missing the required parameter "subjectId" when calling postAuthorizationSubjectBulkreplace';
|
|
1396
1396
|
}
|
|
1397
1397
|
// verify the required parameter 'body' is set
|
|
@@ -1426,15 +1426,15 @@ class AuthorizationApi {
|
|
|
1426
1426
|
opts = opts || {};
|
|
1427
1427
|
|
|
1428
1428
|
// verify the required parameter 'subjectId' is set
|
|
1429
|
-
if (subjectId === undefined || subjectId === null) {
|
|
1429
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
1430
1430
|
throw 'Missing the required parameter "subjectId" when calling postAuthorizationSubjectDivisionRole';
|
|
1431
1431
|
}
|
|
1432
1432
|
// verify the required parameter 'divisionId' is set
|
|
1433
|
-
if (divisionId === undefined || divisionId === null) {
|
|
1433
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
1434
1434
|
throw 'Missing the required parameter "divisionId" when calling postAuthorizationSubjectDivisionRole';
|
|
1435
1435
|
}
|
|
1436
1436
|
// verify the required parameter 'roleId' is set
|
|
1437
|
-
if (roleId === undefined || roleId === null) {
|
|
1437
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
1438
1438
|
throw 'Missing the required parameter "roleId" when calling postAuthorizationSubjectDivisionRole';
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
@@ -1460,7 +1460,7 @@ class AuthorizationApi {
|
|
|
1460
1460
|
*/
|
|
1461
1461
|
putAuthorizationDivision(divisionId, body) {
|
|
1462
1462
|
// verify the required parameter 'divisionId' is set
|
|
1463
|
-
if (divisionId === undefined || divisionId === null) {
|
|
1463
|
+
if (divisionId === undefined || divisionId === null || divisionId === '') {
|
|
1464
1464
|
throw 'Missing the required parameter "divisionId" when calling putAuthorizationDivision';
|
|
1465
1465
|
}
|
|
1466
1466
|
// verify the required parameter 'body' is set
|
|
@@ -1491,7 +1491,7 @@ class AuthorizationApi {
|
|
|
1491
1491
|
*/
|
|
1492
1492
|
putAuthorizationPoliciesTarget(targetName, body) {
|
|
1493
1493
|
// verify the required parameter 'targetName' is set
|
|
1494
|
-
if (targetName === undefined || targetName === null) {
|
|
1494
|
+
if (targetName === undefined || targetName === null || targetName === '') {
|
|
1495
1495
|
throw 'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';
|
|
1496
1496
|
}
|
|
1497
1497
|
// verify the required parameter 'body' is set
|
|
@@ -1522,7 +1522,7 @@ class AuthorizationApi {
|
|
|
1522
1522
|
*/
|
|
1523
1523
|
putAuthorizationPolicy(policyId, body) {
|
|
1524
1524
|
// verify the required parameter 'policyId' is set
|
|
1525
|
-
if (policyId === undefined || policyId === null) {
|
|
1525
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
1526
1526
|
throw 'Missing the required parameter "policyId" when calling putAuthorizationPolicy';
|
|
1527
1527
|
}
|
|
1528
1528
|
// verify the required parameter 'body' is set
|
|
@@ -1552,7 +1552,7 @@ class AuthorizationApi {
|
|
|
1552
1552
|
*/
|
|
1553
1553
|
putAuthorizationRole(roleId, body) {
|
|
1554
1554
|
// verify the required parameter 'roleId' is set
|
|
1555
|
-
if (roleId === undefined || roleId === null) {
|
|
1555
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
1556
1556
|
throw 'Missing the required parameter "roleId" when calling putAuthorizationRole';
|
|
1557
1557
|
}
|
|
1558
1558
|
// verify the required parameter 'body' is set
|
|
@@ -1582,7 +1582,7 @@ class AuthorizationApi {
|
|
|
1582
1582
|
*/
|
|
1583
1583
|
putAuthorizationRoleUsersAdd(roleId, body) {
|
|
1584
1584
|
// verify the required parameter 'roleId' is set
|
|
1585
|
-
if (roleId === undefined || roleId === null) {
|
|
1585
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
1586
1586
|
throw 'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersAdd';
|
|
1587
1587
|
}
|
|
1588
1588
|
// verify the required parameter 'body' is set
|
|
@@ -1612,7 +1612,7 @@ class AuthorizationApi {
|
|
|
1612
1612
|
*/
|
|
1613
1613
|
putAuthorizationRoleUsersRemove(roleId, body) {
|
|
1614
1614
|
// verify the required parameter 'roleId' is set
|
|
1615
|
-
if (roleId === undefined || roleId === null) {
|
|
1615
|
+
if (roleId === undefined || roleId === null || roleId === '') {
|
|
1616
1616
|
throw 'Missing the required parameter "roleId" when calling putAuthorizationRoleUsersRemove';
|
|
1617
1617
|
}
|
|
1618
1618
|
// verify the required parameter 'body' is set
|
|
@@ -1692,7 +1692,7 @@ class AuthorizationApi {
|
|
|
1692
1692
|
*/
|
|
1693
1693
|
putUserRoles(subjectId, body) {
|
|
1694
1694
|
// verify the required parameter 'subjectId' is set
|
|
1695
|
-
if (subjectId === undefined || subjectId === null) {
|
|
1695
|
+
if (subjectId === undefined || subjectId === null || subjectId === '') {
|
|
1696
1696
|
throw 'Missing the required parameter "subjectId" when calling putUserRoles';
|
|
1697
1697
|
}
|
|
1698
1698
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class BillingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Billing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,7 +28,7 @@ class BillingApi {
|
|
|
28
28
|
*/
|
|
29
29
|
getBillingContract(contractId) {
|
|
30
30
|
// verify the required parameter 'contractId' is set
|
|
31
|
-
if (contractId === undefined || contractId === null) {
|
|
31
|
+
if (contractId === undefined || contractId === null || contractId === '') {
|
|
32
32
|
throw 'Missing the required parameter "contractId" when calling getBillingContract';
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -55,11 +55,11 @@ class BillingApi {
|
|
|
55
55
|
*/
|
|
56
56
|
getBillingContractBillingperiod(contractId, billingPeriodId) {
|
|
57
57
|
// verify the required parameter 'contractId' is set
|
|
58
|
-
if (contractId === undefined || contractId === null) {
|
|
58
|
+
if (contractId === undefined || contractId === null || contractId === '') {
|
|
59
59
|
throw 'Missing the required parameter "contractId" when calling getBillingContractBillingperiod';
|
|
60
60
|
}
|
|
61
61
|
// verify the required parameter 'billingPeriodId' is set
|
|
62
|
-
if (billingPeriodId === undefined || billingPeriodId === null) {
|
|
62
|
+
if (billingPeriodId === undefined || billingPeriodId === null || billingPeriodId === '') {
|
|
63
63
|
throw 'Missing the required parameter "billingPeriodId" when calling getBillingContractBillingperiod';
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -116,7 +116,7 @@ class BillingApi {
|
|
|
116
116
|
*/
|
|
117
117
|
getBillingContractsInvoiceDocument(invoiceId) {
|
|
118
118
|
// verify the required parameter 'invoiceId' is set
|
|
119
|
-
if (invoiceId === undefined || invoiceId === null) {
|
|
119
|
+
if (invoiceId === undefined || invoiceId === null || invoiceId === '') {
|
|
120
120
|
throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceDocument';
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -148,7 +148,7 @@ class BillingApi {
|
|
|
148
148
|
opts = opts || {};
|
|
149
149
|
|
|
150
150
|
// verify the required parameter 'invoiceId' is set
|
|
151
|
-
if (invoiceId === undefined || invoiceId === null) {
|
|
151
|
+
if (invoiceId === undefined || invoiceId === null || invoiceId === '') {
|
|
152
152
|
throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceLines';
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -237,7 +237,7 @@ class BillingApi {
|
|
|
237
237
|
opts = opts || {};
|
|
238
238
|
|
|
239
239
|
// verify the required parameter 'trustorOrgId' is set
|
|
240
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
240
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
241
241
|
throw 'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';
|
|
242
242
|
}
|
|
243
243
|
|