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 OrganizationAuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* OrganizationAuthorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class OrganizationAuthorizationApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteOrgauthorizationTrustee(trusteeOrgId) {
|
|
29
29
|
// verify the required parameter 'trusteeOrgId' is set
|
|
30
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
30
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
31
31
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrustee';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -53,11 +53,11 @@ class OrganizationAuthorizationApi {
|
|
|
53
53
|
*/
|
|
54
54
|
deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId) {
|
|
55
55
|
// verify the required parameter 'trusteeOrgId' is set
|
|
56
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
56
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
57
57
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';
|
|
58
58
|
}
|
|
59
59
|
// verify the required parameter 'trusteeUserId' is set
|
|
60
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
60
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
61
61
|
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -83,11 +83,11 @@ class OrganizationAuthorizationApi {
|
|
|
83
83
|
*/
|
|
84
84
|
deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
85
85
|
// verify the required parameter 'trusteeOrgId' is set
|
|
86
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
86
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
87
87
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
88
88
|
}
|
|
89
89
|
// verify the required parameter 'trusteeGroupId' is set
|
|
90
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
90
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
91
91
|
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -113,11 +113,11 @@ class OrganizationAuthorizationApi {
|
|
|
113
113
|
*/
|
|
114
114
|
deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
115
115
|
// verify the required parameter 'trusteeOrgId' is set
|
|
116
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
116
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
117
117
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
118
118
|
}
|
|
119
119
|
// verify the required parameter 'trusteeGroupId' is set
|
|
120
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
120
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
121
121
|
throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -143,11 +143,11 @@ class OrganizationAuthorizationApi {
|
|
|
143
143
|
*/
|
|
144
144
|
deleteOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId) {
|
|
145
145
|
// verify the required parameter 'trusteeOrgId' is set
|
|
146
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
146
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
147
147
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUser';
|
|
148
148
|
}
|
|
149
149
|
// verify the required parameter 'trusteeUserId' is set
|
|
150
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
150
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
151
151
|
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUser';
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -173,11 +173,11 @@ class OrganizationAuthorizationApi {
|
|
|
173
173
|
*/
|
|
174
174
|
deleteOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId) {
|
|
175
175
|
// verify the required parameter 'trusteeOrgId' is set
|
|
176
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
176
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
177
177
|
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUserRoles';
|
|
178
178
|
}
|
|
179
179
|
// verify the required parameter 'trusteeUserId' is set
|
|
180
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
180
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
181
181
|
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeUserRoles';
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -228,7 +228,7 @@ class OrganizationAuthorizationApi {
|
|
|
228
228
|
*/
|
|
229
229
|
deleteOrgauthorizationTrustor(trustorOrgId) {
|
|
230
230
|
// verify the required parameter 'trustorOrgId' is set
|
|
231
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
231
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
232
232
|
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustor';
|
|
233
233
|
}
|
|
234
234
|
|
|
@@ -254,11 +254,11 @@ class OrganizationAuthorizationApi {
|
|
|
254
254
|
*/
|
|
255
255
|
deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
256
256
|
// verify the required parameter 'trustorOrgId' is set
|
|
257
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
257
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
258
258
|
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';
|
|
259
259
|
}
|
|
260
260
|
// verify the required parameter 'trusteeUserId' is set
|
|
261
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
261
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
262
262
|
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -284,11 +284,11 @@ class OrganizationAuthorizationApi {
|
|
|
284
284
|
*/
|
|
285
285
|
deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
286
286
|
// verify the required parameter 'trustorOrgId' is set
|
|
287
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
287
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
288
288
|
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
|
|
289
289
|
}
|
|
290
290
|
// verify the required parameter 'trustorGroupId' is set
|
|
291
|
-
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
291
|
+
if (trustorGroupId === undefined || trustorGroupId === null || trustorGroupId === '') {
|
|
292
292
|
throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -314,11 +314,11 @@ class OrganizationAuthorizationApi {
|
|
|
314
314
|
*/
|
|
315
315
|
deleteOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
|
|
316
316
|
// verify the required parameter 'trustorOrgId' is set
|
|
317
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
317
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
318
318
|
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorUser';
|
|
319
319
|
}
|
|
320
320
|
// verify the required parameter 'trusteeUserId' is set
|
|
321
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
321
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
322
322
|
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorUser';
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -369,7 +369,7 @@ class OrganizationAuthorizationApi {
|
|
|
369
369
|
*/
|
|
370
370
|
getOrgauthorizationPairing(pairingId) {
|
|
371
371
|
// verify the required parameter 'pairingId' is set
|
|
372
|
-
if (pairingId === undefined || pairingId === null) {
|
|
372
|
+
if (pairingId === undefined || pairingId === null || pairingId === '') {
|
|
373
373
|
throw 'Missing the required parameter "pairingId" when calling getOrgauthorizationPairing';
|
|
374
374
|
}
|
|
375
375
|
|
|
@@ -394,7 +394,7 @@ class OrganizationAuthorizationApi {
|
|
|
394
394
|
*/
|
|
395
395
|
getOrgauthorizationTrustee(trusteeOrgId) {
|
|
396
396
|
// verify the required parameter 'trusteeOrgId' is set
|
|
397
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
397
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
398
398
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrustee';
|
|
399
399
|
}
|
|
400
400
|
|
|
@@ -419,7 +419,7 @@ class OrganizationAuthorizationApi {
|
|
|
419
419
|
*/
|
|
420
420
|
getOrgauthorizationTrusteeClonedusers(trusteeOrgId) {
|
|
421
421
|
// verify the required parameter 'trusteeOrgId' is set
|
|
422
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
422
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
423
423
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';
|
|
424
424
|
}
|
|
425
425
|
|
|
@@ -445,11 +445,11 @@ class OrganizationAuthorizationApi {
|
|
|
445
445
|
*/
|
|
446
446
|
getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
|
|
447
447
|
// verify the required parameter 'trusteeOrgId' is set
|
|
448
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
448
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
449
449
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
|
|
450
450
|
}
|
|
451
451
|
// verify the required parameter 'trusteeGroupId' is set
|
|
452
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
452
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
453
453
|
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -475,11 +475,11 @@ class OrganizationAuthorizationApi {
|
|
|
475
475
|
*/
|
|
476
476
|
getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
|
|
477
477
|
// verify the required parameter 'trusteeOrgId' is set
|
|
478
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
478
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
479
479
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
480
480
|
}
|
|
481
481
|
// verify the required parameter 'trusteeGroupId' is set
|
|
482
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
482
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
483
483
|
throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
|
|
484
484
|
}
|
|
485
485
|
|
|
@@ -509,7 +509,7 @@ class OrganizationAuthorizationApi {
|
|
|
509
509
|
opts = opts || {};
|
|
510
510
|
|
|
511
511
|
// verify the required parameter 'trusteeOrgId' is set
|
|
512
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
512
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
513
513
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
|
|
514
514
|
}
|
|
515
515
|
|
|
@@ -535,11 +535,11 @@ class OrganizationAuthorizationApi {
|
|
|
535
535
|
*/
|
|
536
536
|
getOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId) {
|
|
537
537
|
// verify the required parameter 'trusteeOrgId' is set
|
|
538
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
538
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
539
539
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUser';
|
|
540
540
|
}
|
|
541
541
|
// verify the required parameter 'trusteeUserId' is set
|
|
542
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
542
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
543
543
|
throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUser';
|
|
544
544
|
}
|
|
545
545
|
|
|
@@ -565,11 +565,11 @@ class OrganizationAuthorizationApi {
|
|
|
565
565
|
*/
|
|
566
566
|
getOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId) {
|
|
567
567
|
// verify the required parameter 'trusteeOrgId' is set
|
|
568
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
568
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
569
569
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUserRoles';
|
|
570
570
|
}
|
|
571
571
|
// verify the required parameter 'trusteeUserId' is set
|
|
572
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
572
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
573
573
|
throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrusteeUserRoles';
|
|
574
574
|
}
|
|
575
575
|
|
|
@@ -599,7 +599,7 @@ class OrganizationAuthorizationApi {
|
|
|
599
599
|
opts = opts || {};
|
|
600
600
|
|
|
601
601
|
// verify the required parameter 'trusteeOrgId' is set
|
|
602
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
602
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
603
603
|
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUsers';
|
|
604
604
|
}
|
|
605
605
|
|
|
@@ -689,7 +689,7 @@ class OrganizationAuthorizationApi {
|
|
|
689
689
|
*/
|
|
690
690
|
getOrgauthorizationTrustor(trustorOrgId) {
|
|
691
691
|
// verify the required parameter 'trustorOrgId' is set
|
|
692
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
692
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
693
693
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustor';
|
|
694
694
|
}
|
|
695
695
|
|
|
@@ -715,11 +715,11 @@ class OrganizationAuthorizationApi {
|
|
|
715
715
|
*/
|
|
716
716
|
getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
717
717
|
// verify the required parameter 'trustorOrgId' is set
|
|
718
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
718
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
719
719
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';
|
|
720
720
|
}
|
|
721
721
|
// verify the required parameter 'trusteeUserId' is set
|
|
722
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
722
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
723
723
|
throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';
|
|
724
724
|
}
|
|
725
725
|
|
|
@@ -744,7 +744,7 @@ class OrganizationAuthorizationApi {
|
|
|
744
744
|
*/
|
|
745
745
|
getOrgauthorizationTrustorClonedusers(trustorOrgId) {
|
|
746
746
|
// verify the required parameter 'trustorOrgId' is set
|
|
747
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
747
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
748
748
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';
|
|
749
749
|
}
|
|
750
750
|
|
|
@@ -770,11 +770,11 @@ class OrganizationAuthorizationApi {
|
|
|
770
770
|
*/
|
|
771
771
|
getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
772
772
|
// verify the required parameter 'trustorOrgId' is set
|
|
773
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
773
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
774
774
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
|
|
775
775
|
}
|
|
776
776
|
// verify the required parameter 'trustorGroupId' is set
|
|
777
|
-
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
777
|
+
if (trustorGroupId === undefined || trustorGroupId === null || trustorGroupId === '') {
|
|
778
778
|
throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
|
|
779
779
|
}
|
|
780
780
|
|
|
@@ -804,7 +804,7 @@ class OrganizationAuthorizationApi {
|
|
|
804
804
|
opts = opts || {};
|
|
805
805
|
|
|
806
806
|
// verify the required parameter 'trustorOrgId' is set
|
|
807
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
807
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
808
808
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
|
|
809
809
|
}
|
|
810
810
|
|
|
@@ -830,11 +830,11 @@ class OrganizationAuthorizationApi {
|
|
|
830
830
|
*/
|
|
831
831
|
getOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
|
|
832
832
|
// verify the required parameter 'trustorOrgId' is set
|
|
833
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
833
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
834
834
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUser';
|
|
835
835
|
}
|
|
836
836
|
// verify the required parameter 'trusteeUserId' is set
|
|
837
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
837
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
838
838
|
throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorUser';
|
|
839
839
|
}
|
|
840
840
|
|
|
@@ -864,7 +864,7 @@ class OrganizationAuthorizationApi {
|
|
|
864
864
|
opts = opts || {};
|
|
865
865
|
|
|
866
866
|
// verify the required parameter 'trustorOrgId' is set
|
|
867
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
867
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
868
868
|
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUsers';
|
|
869
869
|
}
|
|
870
870
|
|
|
@@ -940,7 +940,7 @@ class OrganizationAuthorizationApi {
|
|
|
940
940
|
*/
|
|
941
941
|
postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
|
|
942
942
|
// verify the required parameter 'trusteeOrgId' is set
|
|
943
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
943
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
944
944
|
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
|
|
945
945
|
}
|
|
946
946
|
// verify the required parameter 'body' is set
|
|
@@ -970,7 +970,7 @@ class OrganizationAuthorizationApi {
|
|
|
970
970
|
*/
|
|
971
971
|
postOrgauthorizationTrusteeUsers(trusteeOrgId, body) {
|
|
972
972
|
// verify the required parameter 'trusteeOrgId' is set
|
|
973
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
973
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
974
974
|
throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeUsers';
|
|
975
975
|
}
|
|
976
976
|
// verify the required parameter 'body' is set
|
|
@@ -1141,7 +1141,7 @@ class OrganizationAuthorizationApi {
|
|
|
1141
1141
|
*/
|
|
1142
1142
|
putOrgauthorizationTrustee(trusteeOrgId, body) {
|
|
1143
1143
|
// verify the required parameter 'trusteeOrgId' is set
|
|
1144
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
1144
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
1145
1145
|
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrustee';
|
|
1146
1146
|
}
|
|
1147
1147
|
// verify the required parameter 'body' is set
|
|
@@ -1172,11 +1172,11 @@ class OrganizationAuthorizationApi {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
|
|
1174
1174
|
// verify the required parameter 'trusteeOrgId' is set
|
|
1175
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
1175
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
1176
1176
|
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
1177
1177
|
}
|
|
1178
1178
|
// verify the required parameter 'trusteeGroupId' is set
|
|
1179
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
1179
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
1180
1180
|
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
|
|
1181
1181
|
}
|
|
1182
1182
|
// verify the required parameter 'body' is set
|
|
@@ -1207,11 +1207,11 @@ class OrganizationAuthorizationApi {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
|
|
1209
1209
|
// verify the required parameter 'trusteeOrgId' is set
|
|
1210
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
1210
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
1211
1211
|
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
1212
1212
|
}
|
|
1213
1213
|
// verify the required parameter 'trusteeGroupId' is set
|
|
1214
|
-
if (trusteeGroupId === undefined || trusteeGroupId === null) {
|
|
1214
|
+
if (trusteeGroupId === undefined || trusteeGroupId === null || trusteeGroupId === '') {
|
|
1215
1215
|
throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
|
|
1216
1216
|
}
|
|
1217
1217
|
// verify the required parameter 'body' is set
|
|
@@ -1242,11 +1242,11 @@ class OrganizationAuthorizationApi {
|
|
|
1242
1242
|
*/
|
|
1243
1243
|
putOrgauthorizationTrusteeUserRoledivisions(trusteeOrgId, trusteeUserId, body) {
|
|
1244
1244
|
// verify the required parameter 'trusteeOrgId' is set
|
|
1245
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
1245
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
1246
1246
|
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoledivisions';
|
|
1247
1247
|
}
|
|
1248
1248
|
// verify the required parameter 'trusteeUserId' is set
|
|
1249
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
1249
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
1250
1250
|
throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoledivisions';
|
|
1251
1251
|
}
|
|
1252
1252
|
// verify the required parameter 'body' is set
|
|
@@ -1277,11 +1277,11 @@ class OrganizationAuthorizationApi {
|
|
|
1277
1277
|
*/
|
|
1278
1278
|
putOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId, body) {
|
|
1279
1279
|
// verify the required parameter 'trusteeOrgId' is set
|
|
1280
|
-
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
1280
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
|
|
1281
1281
|
throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoles';
|
|
1282
1282
|
}
|
|
1283
1283
|
// verify the required parameter 'trusteeUserId' is set
|
|
1284
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
1284
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
1285
1285
|
throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrusteeUserRoles';
|
|
1286
1286
|
}
|
|
1287
1287
|
// verify the required parameter 'body' is set
|
|
@@ -1311,11 +1311,11 @@ class OrganizationAuthorizationApi {
|
|
|
1311
1311
|
*/
|
|
1312
1312
|
putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
1313
1313
|
// verify the required parameter 'trustorOrgId' is set
|
|
1314
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
1314
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
1315
1315
|
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';
|
|
1316
1316
|
}
|
|
1317
1317
|
// verify the required parameter 'trusteeUserId' is set
|
|
1318
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
1318
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
1319
1319
|
throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
@@ -1341,11 +1341,11 @@ class OrganizationAuthorizationApi {
|
|
|
1341
1341
|
*/
|
|
1342
1342
|
putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
|
|
1343
1343
|
// verify the required parameter 'trustorOrgId' is set
|
|
1344
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
1344
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
1345
1345
|
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
|
|
1346
1346
|
}
|
|
1347
1347
|
// verify the required parameter 'trustorGroupId' is set
|
|
1348
|
-
if (trustorGroupId === undefined || trustorGroupId === null) {
|
|
1348
|
+
if (trustorGroupId === undefined || trustorGroupId === null || trustorGroupId === '') {
|
|
1349
1349
|
throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
@@ -1371,11 +1371,11 @@ class OrganizationAuthorizationApi {
|
|
|
1371
1371
|
*/
|
|
1372
1372
|
putOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
|
|
1373
1373
|
// verify the required parameter 'trustorOrgId' is set
|
|
1374
|
-
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
1374
|
+
if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
|
|
1375
1375
|
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';
|
|
1376
1376
|
}
|
|
1377
1377
|
// verify the required parameter 'trusteeUserId' is set
|
|
1378
|
-
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
1378
|
+
if (trusteeUserId === undefined || trusteeUserId === null || trusteeUserId === '') {
|
|
1379
1379
|
throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';
|
|
1380
1380
|
}
|
|
1381
1381
|
|