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 LanguageUnderstandingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* LanguageUnderstanding service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class LanguageUnderstandingApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteLanguageunderstandingDomain(domainId) {
|
|
29
29
|
// verify the required parameter 'domainId' is set
|
|
30
|
-
if (domainId === undefined || domainId === null) {
|
|
30
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
31
31
|
throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomain';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -53,11 +53,11 @@ class LanguageUnderstandingApi {
|
|
|
53
53
|
*/
|
|
54
54
|
deleteLanguageunderstandingDomainFeedbackFeedbackId(domainId, feedbackId) {
|
|
55
55
|
// verify the required parameter 'domainId' is set
|
|
56
|
-
if (domainId === undefined || domainId === null) {
|
|
56
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
57
57
|
throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';
|
|
58
58
|
}
|
|
59
59
|
// verify the required parameter 'feedbackId' is set
|
|
60
|
-
if (feedbackId === undefined || feedbackId === null) {
|
|
60
|
+
if (feedbackId === undefined || feedbackId === null || feedbackId === '') {
|
|
61
61
|
throw 'Missing the required parameter "feedbackId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -83,11 +83,11 @@ class LanguageUnderstandingApi {
|
|
|
83
83
|
*/
|
|
84
84
|
deleteLanguageunderstandingDomainVersion(domainId, domainVersionId) {
|
|
85
85
|
// verify the required parameter 'domainId' is set
|
|
86
|
-
if (domainId === undefined || domainId === null) {
|
|
86
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
87
87
|
throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainVersion';
|
|
88
88
|
}
|
|
89
89
|
// verify the required parameter 'domainVersionId' is set
|
|
90
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
90
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
91
91
|
throw 'Missing the required parameter "domainVersionId" when calling deleteLanguageunderstandingDomainVersion';
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -112,7 +112,7 @@ class LanguageUnderstandingApi {
|
|
|
112
112
|
*/
|
|
113
113
|
deleteLanguageunderstandingMiner(minerId) {
|
|
114
114
|
// verify the required parameter 'minerId' is set
|
|
115
|
-
if (minerId === undefined || minerId === null) {
|
|
115
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
116
116
|
throw 'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMiner';
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -138,11 +138,11 @@ class LanguageUnderstandingApi {
|
|
|
138
138
|
*/
|
|
139
139
|
deleteLanguageunderstandingMinerDraft(minerId, draftId) {
|
|
140
140
|
// verify the required parameter 'minerId' is set
|
|
141
|
-
if (minerId === undefined || minerId === null) {
|
|
141
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
142
142
|
throw 'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMinerDraft';
|
|
143
143
|
}
|
|
144
144
|
// verify the required parameter 'draftId' is set
|
|
145
|
-
if (draftId === undefined || draftId === null) {
|
|
145
|
+
if (draftId === undefined || draftId === null || draftId === '') {
|
|
146
146
|
throw 'Missing the required parameter "draftId" when calling deleteLanguageunderstandingMinerDraft';
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -167,7 +167,7 @@ class LanguageUnderstandingApi {
|
|
|
167
167
|
*/
|
|
168
168
|
getLanguageunderstandingDomain(domainId) {
|
|
169
169
|
// verify the required parameter 'domainId' is set
|
|
170
|
-
if (domainId === undefined || domainId === null) {
|
|
170
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
171
171
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomain';
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -207,7 +207,7 @@ class LanguageUnderstandingApi {
|
|
|
207
207
|
opts = opts || {};
|
|
208
208
|
|
|
209
209
|
// verify the required parameter 'domainId' is set
|
|
210
|
-
if (domainId === undefined || domainId === null) {
|
|
210
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
211
211
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedback';
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -237,11 +237,11 @@ class LanguageUnderstandingApi {
|
|
|
237
237
|
opts = opts || {};
|
|
238
238
|
|
|
239
239
|
// verify the required parameter 'domainId' is set
|
|
240
|
-
if (domainId === undefined || domainId === null) {
|
|
240
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
241
241
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';
|
|
242
242
|
}
|
|
243
243
|
// verify the required parameter 'feedbackId' is set
|
|
244
|
-
if (feedbackId === undefined || feedbackId === null) {
|
|
244
|
+
if (feedbackId === undefined || feedbackId === null || feedbackId === '') {
|
|
245
245
|
throw 'Missing the required parameter "feedbackId" when calling getLanguageunderstandingDomainFeedbackFeedbackId';
|
|
246
246
|
}
|
|
247
247
|
|
|
@@ -271,11 +271,11 @@ class LanguageUnderstandingApi {
|
|
|
271
271
|
opts = opts || {};
|
|
272
272
|
|
|
273
273
|
// verify the required parameter 'domainId' is set
|
|
274
|
-
if (domainId === undefined || domainId === null) {
|
|
274
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
275
275
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersion';
|
|
276
276
|
}
|
|
277
277
|
// verify the required parameter 'domainVersionId' is set
|
|
278
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
278
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
279
279
|
throw 'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersion';
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -301,11 +301,11 @@ class LanguageUnderstandingApi {
|
|
|
301
301
|
*/
|
|
302
302
|
getLanguageunderstandingDomainVersionReport(domainId, domainVersionId) {
|
|
303
303
|
// verify the required parameter 'domainId' is set
|
|
304
|
-
if (domainId === undefined || domainId === null) {
|
|
304
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
305
305
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersionReport';
|
|
306
306
|
}
|
|
307
307
|
// verify the required parameter 'domainVersionId' is set
|
|
308
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
308
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
309
309
|
throw 'Missing the required parameter "domainVersionId" when calling getLanguageunderstandingDomainVersionReport';
|
|
310
310
|
}
|
|
311
311
|
|
|
@@ -336,7 +336,7 @@ class LanguageUnderstandingApi {
|
|
|
336
336
|
opts = opts || {};
|
|
337
337
|
|
|
338
338
|
// verify the required parameter 'domainId' is set
|
|
339
|
-
if (domainId === undefined || domainId === null) {
|
|
339
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
340
340
|
throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersions';
|
|
341
341
|
}
|
|
342
342
|
|
|
@@ -386,7 +386,7 @@ class LanguageUnderstandingApi {
|
|
|
386
386
|
*/
|
|
387
387
|
getLanguageunderstandingMiner(minerId) {
|
|
388
388
|
// verify the required parameter 'minerId' is set
|
|
389
|
-
if (minerId === undefined || minerId === null) {
|
|
389
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
390
390
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMiner';
|
|
391
391
|
}
|
|
392
392
|
|
|
@@ -417,11 +417,11 @@ class LanguageUnderstandingApi {
|
|
|
417
417
|
opts = opts || {};
|
|
418
418
|
|
|
419
419
|
// verify the required parameter 'minerId' is set
|
|
420
|
-
if (minerId === undefined || minerId === null) {
|
|
420
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
421
421
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
|
|
422
422
|
}
|
|
423
423
|
// verify the required parameter 'draftId' is set
|
|
424
|
-
if (draftId === undefined || draftId === null) {
|
|
424
|
+
if (draftId === undefined || draftId === null || draftId === '') {
|
|
425
425
|
throw 'Missing the required parameter "draftId" when calling getLanguageunderstandingMinerDraft';
|
|
426
426
|
}
|
|
427
427
|
|
|
@@ -446,7 +446,7 @@ class LanguageUnderstandingApi {
|
|
|
446
446
|
*/
|
|
447
447
|
getLanguageunderstandingMinerDrafts(minerId) {
|
|
448
448
|
// verify the required parameter 'minerId' is set
|
|
449
|
-
if (minerId === undefined || minerId === null) {
|
|
449
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
450
450
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDrafts';
|
|
451
451
|
}
|
|
452
452
|
|
|
@@ -476,11 +476,11 @@ class LanguageUnderstandingApi {
|
|
|
476
476
|
opts = opts || {};
|
|
477
477
|
|
|
478
478
|
// verify the required parameter 'minerId' is set
|
|
479
|
-
if (minerId === undefined || minerId === null) {
|
|
479
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
480
480
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntent';
|
|
481
481
|
}
|
|
482
482
|
// verify the required parameter 'intentId' is set
|
|
483
|
-
if (intentId === undefined || intentId === null) {
|
|
483
|
+
if (intentId === undefined || intentId === null || intentId === '') {
|
|
484
484
|
throw 'Missing the required parameter "intentId" when calling getLanguageunderstandingMinerIntent';
|
|
485
485
|
}
|
|
486
486
|
|
|
@@ -509,7 +509,7 @@ class LanguageUnderstandingApi {
|
|
|
509
509
|
opts = opts || {};
|
|
510
510
|
|
|
511
511
|
// verify the required parameter 'minerId' is set
|
|
512
|
-
if (minerId === undefined || minerId === null) {
|
|
512
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
513
513
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerIntents';
|
|
514
514
|
}
|
|
515
515
|
|
|
@@ -539,11 +539,11 @@ class LanguageUnderstandingApi {
|
|
|
539
539
|
opts = opts || {};
|
|
540
540
|
|
|
541
541
|
// verify the required parameter 'minerId' is set
|
|
542
|
-
if (minerId === undefined || minerId === null) {
|
|
542
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
543
543
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
|
|
544
544
|
}
|
|
545
545
|
// verify the required parameter 'topicId' is set
|
|
546
|
-
if (topicId === undefined || topicId === null) {
|
|
546
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
547
547
|
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
|
|
548
548
|
}
|
|
549
549
|
|
|
@@ -570,15 +570,15 @@ class LanguageUnderstandingApi {
|
|
|
570
570
|
*/
|
|
571
571
|
getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
|
|
572
572
|
// verify the required parameter 'minerId' is set
|
|
573
|
-
if (minerId === undefined || minerId === null) {
|
|
573
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
574
574
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
575
575
|
}
|
|
576
576
|
// verify the required parameter 'topicId' is set
|
|
577
|
-
if (topicId === undefined || topicId === null) {
|
|
577
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
578
578
|
throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
579
579
|
}
|
|
580
580
|
// verify the required parameter 'phraseId' is set
|
|
581
|
-
if (phraseId === undefined || phraseId === null) {
|
|
581
|
+
if (phraseId === undefined || phraseId === null || phraseId === '') {
|
|
582
582
|
throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
|
|
583
583
|
}
|
|
584
584
|
|
|
@@ -603,7 +603,7 @@ class LanguageUnderstandingApi {
|
|
|
603
603
|
*/
|
|
604
604
|
getLanguageunderstandingMinerTopics(minerId) {
|
|
605
605
|
// verify the required parameter 'minerId' is set
|
|
606
|
-
if (minerId === undefined || minerId === null) {
|
|
606
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
607
607
|
throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
|
|
608
608
|
}
|
|
609
609
|
|
|
@@ -673,7 +673,7 @@ class LanguageUnderstandingApi {
|
|
|
673
673
|
*/
|
|
674
674
|
patchLanguageunderstandingDomain(domainId, body) {
|
|
675
675
|
// verify the required parameter 'domainId' is set
|
|
676
|
-
if (domainId === undefined || domainId === null) {
|
|
676
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
677
677
|
throw 'Missing the required parameter "domainId" when calling patchLanguageunderstandingDomain';
|
|
678
678
|
}
|
|
679
679
|
// verify the required parameter 'body' is set
|
|
@@ -707,11 +707,11 @@ class LanguageUnderstandingApi {
|
|
|
707
707
|
opts = opts || {};
|
|
708
708
|
|
|
709
709
|
// verify the required parameter 'minerId' is set
|
|
710
|
-
if (minerId === undefined || minerId === null) {
|
|
710
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
711
711
|
throw 'Missing the required parameter "minerId" when calling patchLanguageunderstandingMinerDraft';
|
|
712
712
|
}
|
|
713
713
|
// verify the required parameter 'draftId' is set
|
|
714
|
-
if (draftId === undefined || draftId === null) {
|
|
714
|
+
if (draftId === undefined || draftId === null || draftId === '') {
|
|
715
715
|
throw 'Missing the required parameter "draftId" when calling patchLanguageunderstandingMinerDraft';
|
|
716
716
|
}
|
|
717
717
|
|
|
@@ -737,7 +737,7 @@ class LanguageUnderstandingApi {
|
|
|
737
737
|
*/
|
|
738
738
|
postLanguageunderstandingDomainFeedback(domainId, body) {
|
|
739
739
|
// verify the required parameter 'domainId' is set
|
|
740
|
-
if (domainId === undefined || domainId === null) {
|
|
740
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
741
741
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainFeedback';
|
|
742
742
|
}
|
|
743
743
|
// verify the required parameter 'body' is set
|
|
@@ -768,11 +768,11 @@ class LanguageUnderstandingApi {
|
|
|
768
768
|
*/
|
|
769
769
|
postLanguageunderstandingDomainVersionDetect(domainId, domainVersionId, body) {
|
|
770
770
|
// verify the required parameter 'domainId' is set
|
|
771
|
-
if (domainId === undefined || domainId === null) {
|
|
771
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
772
772
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionDetect';
|
|
773
773
|
}
|
|
774
774
|
// verify the required parameter 'domainVersionId' is set
|
|
775
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
775
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
776
776
|
throw 'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionDetect';
|
|
777
777
|
}
|
|
778
778
|
// verify the required parameter 'body' is set
|
|
@@ -802,11 +802,11 @@ class LanguageUnderstandingApi {
|
|
|
802
802
|
*/
|
|
803
803
|
postLanguageunderstandingDomainVersionPublish(domainId, domainVersionId) {
|
|
804
804
|
// verify the required parameter 'domainId' is set
|
|
805
|
-
if (domainId === undefined || domainId === null) {
|
|
805
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
806
806
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionPublish';
|
|
807
807
|
}
|
|
808
808
|
// verify the required parameter 'domainVersionId' is set
|
|
809
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
809
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
810
810
|
throw 'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionPublish';
|
|
811
811
|
}
|
|
812
812
|
|
|
@@ -832,11 +832,11 @@ class LanguageUnderstandingApi {
|
|
|
832
832
|
*/
|
|
833
833
|
postLanguageunderstandingDomainVersionTrain(domainId, domainVersionId) {
|
|
834
834
|
// verify the required parameter 'domainId' is set
|
|
835
|
-
if (domainId === undefined || domainId === null) {
|
|
835
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
836
836
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionTrain';
|
|
837
837
|
}
|
|
838
838
|
// verify the required parameter 'domainVersionId' is set
|
|
839
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
839
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
840
840
|
throw 'Missing the required parameter "domainVersionId" when calling postLanguageunderstandingDomainVersionTrain';
|
|
841
841
|
}
|
|
842
842
|
|
|
@@ -866,7 +866,7 @@ class LanguageUnderstandingApi {
|
|
|
866
866
|
opts = opts || {};
|
|
867
867
|
|
|
868
868
|
// verify the required parameter 'domainId' is set
|
|
869
|
-
if (domainId === undefined || domainId === null) {
|
|
869
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
870
870
|
throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
|
|
871
871
|
}
|
|
872
872
|
// verify the required parameter 'body' is set
|
|
@@ -921,7 +921,7 @@ class LanguageUnderstandingApi {
|
|
|
921
921
|
*/
|
|
922
922
|
postLanguageunderstandingMinerDrafts(minerId, body) {
|
|
923
923
|
// verify the required parameter 'minerId' is set
|
|
924
|
-
if (minerId === undefined || minerId === null) {
|
|
924
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
925
925
|
throw 'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerDrafts';
|
|
926
926
|
}
|
|
927
927
|
// verify the required parameter 'body' is set
|
|
@@ -954,7 +954,7 @@ class LanguageUnderstandingApi {
|
|
|
954
954
|
opts = opts || {};
|
|
955
955
|
|
|
956
956
|
// verify the required parameter 'minerId' is set
|
|
957
|
-
if (minerId === undefined || minerId === null) {
|
|
957
|
+
if (minerId === undefined || minerId === null || minerId === '') {
|
|
958
958
|
throw 'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerExecute';
|
|
959
959
|
}
|
|
960
960
|
|
|
@@ -1006,11 +1006,11 @@ class LanguageUnderstandingApi {
|
|
|
1006
1006
|
*/
|
|
1007
1007
|
putLanguageunderstandingDomainVersion(domainId, domainVersionId, body) {
|
|
1008
1008
|
// verify the required parameter 'domainId' is set
|
|
1009
|
-
if (domainId === undefined || domainId === null) {
|
|
1009
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
1010
1010
|
throw 'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';
|
|
1011
1011
|
}
|
|
1012
1012
|
// verify the required parameter 'domainVersionId' is set
|
|
1013
|
-
if (domainVersionId === undefined || domainVersionId === null) {
|
|
1013
|
+
if (domainVersionId === undefined || domainVersionId === null || domainVersionId === '') {
|
|
1014
1014
|
throw 'Missing the required parameter "domainVersionId" when calling putLanguageunderstandingDomainVersion';
|
|
1015
1015
|
}
|
|
1016
1016
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class LanguagesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Languages service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,7 +28,7 @@ class LanguagesApi {
|
|
|
28
28
|
*/
|
|
29
29
|
deleteLanguage(languageId) {
|
|
30
30
|
// verify the required parameter 'languageId' is set
|
|
31
|
-
if (languageId === undefined || languageId === null) {
|
|
31
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
32
32
|
throw 'Missing the required parameter "languageId" when calling deleteLanguage';
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -54,7 +54,7 @@ class LanguagesApi {
|
|
|
54
54
|
*/
|
|
55
55
|
getLanguage(languageId) {
|
|
56
56
|
// verify the required parameter 'languageId' is set
|
|
57
|
-
if (languageId === undefined || languageId === null) {
|
|
57
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
58
58
|
throw 'Missing the required parameter "languageId" when calling getLanguage';
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -177,7 +177,7 @@ class LanguagesApi {
|
|
|
177
177
|
*/
|
|
178
178
|
getLanguagesTranslationsUser(userId) {
|
|
179
179
|
// verify the required parameter 'userId' is set
|
|
180
|
-
if (userId === undefined || userId === null) {
|
|
180
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
181
181
|
throw 'Missing the required parameter "userId" when calling getLanguagesTranslationsUser';
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class LearningApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteLearningAssignment(assignmentId) {
|
|
29
29
|
// verify the required parameter 'assignmentId' is set
|
|
30
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
30
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
31
31
|
throw 'Missing the required parameter "assignmentId" when calling deleteLearningAssignment';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class LearningApi {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteLearningModule(moduleId) {
|
|
54
54
|
// verify the required parameter 'moduleId' is set
|
|
55
|
-
if (moduleId === undefined || moduleId === null) {
|
|
55
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
56
56
|
throw 'Missing the required parameter "moduleId" when calling deleteLearningModule';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -81,7 +81,7 @@ class LearningApi {
|
|
|
81
81
|
opts = opts || {};
|
|
82
82
|
|
|
83
83
|
// verify the required parameter 'assignmentId' is set
|
|
84
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
84
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
85
85
|
throw 'Missing the required parameter "assignmentId" when calling getLearningAssignment';
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -113,11 +113,11 @@ class LearningApi {
|
|
|
113
113
|
opts = opts || {};
|
|
114
114
|
|
|
115
115
|
// verify the required parameter 'assignmentId' is set
|
|
116
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
116
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
117
117
|
throw 'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';
|
|
118
118
|
}
|
|
119
119
|
// verify the required parameter 'stepId' is set
|
|
120
|
-
if (stepId === undefined || stepId === null) {
|
|
120
|
+
if (stepId === undefined || stepId === null || stepId === '') {
|
|
121
121
|
throw 'Missing the required parameter "stepId" when calling getLearningAssignmentStep';
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -221,7 +221,7 @@ class LearningApi {
|
|
|
221
221
|
opts = opts || {};
|
|
222
222
|
|
|
223
223
|
// verify the required parameter 'moduleId' is set
|
|
224
|
-
if (moduleId === undefined || moduleId === null) {
|
|
224
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
225
225
|
throw 'Missing the required parameter "moduleId" when calling getLearningModule';
|
|
226
226
|
}
|
|
227
227
|
|
|
@@ -247,11 +247,11 @@ class LearningApi {
|
|
|
247
247
|
*/
|
|
248
248
|
getLearningModuleJob(moduleId, jobId) {
|
|
249
249
|
// verify the required parameter 'moduleId' is set
|
|
250
|
-
if (moduleId === undefined || moduleId === null) {
|
|
250
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
251
251
|
throw 'Missing the required parameter "moduleId" when calling getLearningModuleJob';
|
|
252
252
|
}
|
|
253
253
|
// verify the required parameter 'jobId' is set
|
|
254
|
-
if (jobId === undefined || jobId === null) {
|
|
254
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
255
255
|
throw 'Missing the required parameter "jobId" when calling getLearningModuleJob';
|
|
256
256
|
}
|
|
257
257
|
|
|
@@ -276,7 +276,7 @@ class LearningApi {
|
|
|
276
276
|
*/
|
|
277
277
|
getLearningModulePreview(moduleId) {
|
|
278
278
|
// verify the required parameter 'moduleId' is set
|
|
279
|
-
if (moduleId === undefined || moduleId === null) {
|
|
279
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
280
280
|
throw 'Missing the required parameter "moduleId" when calling getLearningModulePreview';
|
|
281
281
|
}
|
|
282
282
|
|
|
@@ -301,7 +301,7 @@ class LearningApi {
|
|
|
301
301
|
*/
|
|
302
302
|
getLearningModuleRule(moduleId) {
|
|
303
303
|
// verify the required parameter 'moduleId' is set
|
|
304
|
-
if (moduleId === undefined || moduleId === null) {
|
|
304
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
305
305
|
throw 'Missing the required parameter "moduleId" when calling getLearningModuleRule';
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -331,11 +331,11 @@ class LearningApi {
|
|
|
331
331
|
opts = opts || {};
|
|
332
332
|
|
|
333
333
|
// verify the required parameter 'moduleId' is set
|
|
334
|
-
if (moduleId === undefined || moduleId === null) {
|
|
334
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
335
335
|
throw 'Missing the required parameter "moduleId" when calling getLearningModuleVersion';
|
|
336
336
|
}
|
|
337
337
|
// verify the required parameter 'versionId' is set
|
|
338
|
-
if (versionId === undefined || versionId === null) {
|
|
338
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
339
339
|
throw 'Missing the required parameter "versionId" when calling getLearningModuleVersion';
|
|
340
340
|
}
|
|
341
341
|
|
|
@@ -428,7 +428,7 @@ class LearningApi {
|
|
|
428
428
|
*/
|
|
429
429
|
getLearningModulesCoverartCoverArtId(coverArtId) {
|
|
430
430
|
// verify the required parameter 'coverArtId' is set
|
|
431
|
-
if (coverArtId === undefined || coverArtId === null) {
|
|
431
|
+
if (coverArtId === undefined || coverArtId === null || coverArtId === '') {
|
|
432
432
|
throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
|
|
433
433
|
}
|
|
434
434
|
|
|
@@ -453,7 +453,7 @@ class LearningApi {
|
|
|
453
453
|
*/
|
|
454
454
|
getLearningScormScormId(scormId) {
|
|
455
455
|
// verify the required parameter 'scormId' is set
|
|
456
|
-
if (scormId === undefined || scormId === null) {
|
|
456
|
+
if (scormId === undefined || scormId === null || scormId === '') {
|
|
457
457
|
throw 'Missing the required parameter "scormId" when calling getLearningScormScormId';
|
|
458
458
|
}
|
|
459
459
|
|
|
@@ -482,7 +482,7 @@ class LearningApi {
|
|
|
482
482
|
opts = opts || {};
|
|
483
483
|
|
|
484
484
|
// verify the required parameter 'assignmentId' is set
|
|
485
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
485
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
486
486
|
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignment';
|
|
487
487
|
}
|
|
488
488
|
|
|
@@ -511,7 +511,7 @@ class LearningApi {
|
|
|
511
511
|
opts = opts || {};
|
|
512
512
|
|
|
513
513
|
// verify the required parameter 'assignmentId' is set
|
|
514
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
514
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
515
515
|
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
|
|
516
516
|
}
|
|
517
517
|
|
|
@@ -541,11 +541,11 @@ class LearningApi {
|
|
|
541
541
|
opts = opts || {};
|
|
542
542
|
|
|
543
543
|
// verify the required parameter 'assignmentId' is set
|
|
544
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
544
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
545
545
|
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';
|
|
546
546
|
}
|
|
547
547
|
// verify the required parameter 'stepId' is set
|
|
548
|
-
if (stepId === undefined || stepId === null) {
|
|
548
|
+
if (stepId === undefined || stepId === null || stepId === '') {
|
|
549
549
|
throw 'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';
|
|
550
550
|
}
|
|
551
551
|
|
|
@@ -572,11 +572,11 @@ class LearningApi {
|
|
|
572
572
|
*/
|
|
573
573
|
patchLearningModuleUserAssignments(moduleId, userId, body) {
|
|
574
574
|
// verify the required parameter 'moduleId' is set
|
|
575
|
-
if (moduleId === undefined || moduleId === null) {
|
|
575
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
576
576
|
throw 'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';
|
|
577
577
|
}
|
|
578
578
|
// verify the required parameter 'userId' is set
|
|
579
|
-
if (userId === undefined || userId === null) {
|
|
579
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
580
580
|
throw 'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';
|
|
581
581
|
}
|
|
582
582
|
// verify the required parameter 'body' is set
|
|
@@ -630,7 +630,7 @@ class LearningApi {
|
|
|
630
630
|
*/
|
|
631
631
|
postLearningAssignmentReassign(assignmentId) {
|
|
632
632
|
// verify the required parameter 'assignmentId' is set
|
|
633
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
633
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
634
634
|
throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReassign';
|
|
635
635
|
}
|
|
636
636
|
|
|
@@ -655,7 +655,7 @@ class LearningApi {
|
|
|
655
655
|
*/
|
|
656
656
|
postLearningAssignmentReset(assignmentId) {
|
|
657
657
|
// verify the required parameter 'assignmentId' is set
|
|
658
|
-
if (assignmentId === undefined || assignmentId === null) {
|
|
658
|
+
if (assignmentId === undefined || assignmentId === null || assignmentId === '') {
|
|
659
659
|
throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReset';
|
|
660
660
|
}
|
|
661
661
|
|
|
@@ -778,7 +778,7 @@ class LearningApi {
|
|
|
778
778
|
*/
|
|
779
779
|
postLearningModuleJobs(moduleId, body) {
|
|
780
780
|
// verify the required parameter 'moduleId' is set
|
|
781
|
-
if (moduleId === undefined || moduleId === null) {
|
|
781
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
782
782
|
throw 'Missing the required parameter "moduleId" when calling postLearningModuleJobs';
|
|
783
783
|
}
|
|
784
784
|
// verify the required parameter 'body' is set
|
|
@@ -811,7 +811,7 @@ class LearningApi {
|
|
|
811
811
|
opts = opts || {};
|
|
812
812
|
|
|
813
813
|
// verify the required parameter 'moduleId' is set
|
|
814
|
-
if (moduleId === undefined || moduleId === null) {
|
|
814
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
815
815
|
throw 'Missing the required parameter "moduleId" when calling postLearningModulePublish';
|
|
816
816
|
}
|
|
817
817
|
|
|
@@ -946,7 +946,7 @@ class LearningApi {
|
|
|
946
946
|
*/
|
|
947
947
|
putLearningModule(moduleId, body) {
|
|
948
948
|
// verify the required parameter 'moduleId' is set
|
|
949
|
-
if (moduleId === undefined || moduleId === null) {
|
|
949
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
950
950
|
throw 'Missing the required parameter "moduleId" when calling putLearningModule';
|
|
951
951
|
}
|
|
952
952
|
// verify the required parameter 'body' is set
|
|
@@ -976,7 +976,7 @@ class LearningApi {
|
|
|
976
976
|
*/
|
|
977
977
|
putLearningModulePreview(moduleId, body) {
|
|
978
978
|
// verify the required parameter 'moduleId' is set
|
|
979
|
-
if (moduleId === undefined || moduleId === null) {
|
|
979
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
980
980
|
throw 'Missing the required parameter "moduleId" when calling putLearningModulePreview';
|
|
981
981
|
}
|
|
982
982
|
// verify the required parameter 'body' is set
|
|
@@ -1006,7 +1006,7 @@ class LearningApi {
|
|
|
1006
1006
|
*/
|
|
1007
1007
|
putLearningModuleRule(moduleId, body) {
|
|
1008
1008
|
// verify the required parameter 'moduleId' is set
|
|
1009
|
-
if (moduleId === undefined || moduleId === null) {
|
|
1009
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
1010
1010
|
throw 'Missing the required parameter "moduleId" when calling putLearningModuleRule';
|
|
1011
1011
|
}
|
|
1012
1012
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class LicenseApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* License service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class LicenseApi {
|
|
|
27
27
|
*/
|
|
28
28
|
getLicenseDefinition(licenseId) {
|
|
29
29
|
// verify the required parameter 'licenseId' is set
|
|
30
|
-
if (licenseId === undefined || licenseId === null) {
|
|
30
|
+
if (licenseId === undefined || licenseId === null || licenseId === '') {
|
|
31
31
|
throw 'Missing the required parameter "licenseId" when calling getLicenseDefinition';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -72,7 +72,7 @@ class LicenseApi {
|
|
|
72
72
|
*/
|
|
73
73
|
getLicenseToggle(featureName) {
|
|
74
74
|
// verify the required parameter 'featureName' is set
|
|
75
|
-
if (featureName === undefined || featureName === null) {
|
|
75
|
+
if (featureName === undefined || featureName === null || featureName === '') {
|
|
76
76
|
throw 'Missing the required parameter "featureName" when calling getLicenseToggle';
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -97,7 +97,7 @@ class LicenseApi {
|
|
|
97
97
|
*/
|
|
98
98
|
getLicenseUser(userId) {
|
|
99
99
|
// verify the required parameter 'userId' is set
|
|
100
|
-
if (userId === undefined || userId === null) {
|
|
100
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
101
101
|
throw 'Missing the required parameter "userId" when calling getLicenseUser';
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -195,7 +195,7 @@ class LicenseApi {
|
|
|
195
195
|
*/
|
|
196
196
|
postLicenseToggle(featureName) {
|
|
197
197
|
// verify the required parameter 'featureName' is set
|
|
198
|
-
if (featureName === undefined || featureName === null) {
|
|
198
|
+
if (featureName === undefined || featureName === null || featureName === '') {
|
|
199
199
|
throw 'Missing the required parameter "featureName" when calling postLicenseToggle';
|
|
200
200
|
}
|
|
201
201
|
|