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 RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class RoutingApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteRoutingAssessment(assessmentId) {
|
|
29
29
|
// verify the required parameter 'assessmentId' is set
|
|
30
|
-
if (assessmentId === undefined || assessmentId === null) {
|
|
30
|
+
if (assessmentId === undefined || assessmentId === null || assessmentId === '') {
|
|
31
31
|
throw 'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -72,7 +72,7 @@ class RoutingApi {
|
|
|
72
72
|
*/
|
|
73
73
|
deleteRoutingEmailDomain(domainId) {
|
|
74
74
|
// verify the required parameter 'domainId' is set
|
|
75
|
-
if (domainId === undefined || domainId === null) {
|
|
75
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
76
76
|
throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailDomain';
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -98,11 +98,11 @@ class RoutingApi {
|
|
|
98
98
|
*/
|
|
99
99
|
deleteRoutingEmailDomainRoute(domainName, routeId) {
|
|
100
100
|
// verify the required parameter 'domainName' is set
|
|
101
|
-
if (domainName === undefined || domainName === null) {
|
|
101
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
102
102
|
throw 'Missing the required parameter "domainName" when calling deleteRoutingEmailDomainRoute';
|
|
103
103
|
}
|
|
104
104
|
// verify the required parameter 'routeId' is set
|
|
105
|
-
if (routeId === undefined || routeId === null) {
|
|
105
|
+
if (routeId === undefined || routeId === null || routeId === '') {
|
|
106
106
|
throw 'Missing the required parameter "routeId" when calling deleteRoutingEmailDomainRoute';
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -127,7 +127,7 @@ class RoutingApi {
|
|
|
127
127
|
*/
|
|
128
128
|
deleteRoutingEmailOutboundDomain(domainId) {
|
|
129
129
|
// verify the required parameter 'domainId' is set
|
|
130
|
-
if (domainId === undefined || domainId === null) {
|
|
130
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
131
131
|
throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -152,7 +152,7 @@ class RoutingApi {
|
|
|
152
152
|
*/
|
|
153
153
|
deleteRoutingLanguage(languageId) {
|
|
154
154
|
// verify the required parameter 'languageId' is set
|
|
155
|
-
if (languageId === undefined || languageId === null) {
|
|
155
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
156
156
|
throw 'Missing the required parameter "languageId" when calling deleteRoutingLanguage';
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -177,7 +177,7 @@ class RoutingApi {
|
|
|
177
177
|
*/
|
|
178
178
|
deleteRoutingPredictor(predictorId) {
|
|
179
179
|
// verify the required parameter 'predictorId' is set
|
|
180
|
-
if (predictorId === undefined || predictorId === null) {
|
|
180
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
181
181
|
throw 'Missing the required parameter "predictorId" when calling deleteRoutingPredictor';
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -206,7 +206,7 @@ class RoutingApi {
|
|
|
206
206
|
opts = opts || {};
|
|
207
207
|
|
|
208
208
|
// verify the required parameter 'queueId' is set
|
|
209
|
-
if (queueId === undefined || queueId === null) {
|
|
209
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
210
210
|
throw 'Missing the required parameter "queueId" when calling deleteRoutingQueue';
|
|
211
211
|
}
|
|
212
212
|
|
|
@@ -232,11 +232,11 @@ class RoutingApi {
|
|
|
232
232
|
*/
|
|
233
233
|
deleteRoutingQueueMember(queueId, memberId) {
|
|
234
234
|
// verify the required parameter 'queueId' is set
|
|
235
|
-
if (queueId === undefined || queueId === null) {
|
|
235
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
236
236
|
throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueMember';
|
|
237
237
|
}
|
|
238
238
|
// verify the required parameter 'memberId' is set
|
|
239
|
-
if (memberId === undefined || memberId === null) {
|
|
239
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
240
240
|
throw 'Missing the required parameter "memberId" when calling deleteRoutingQueueMember';
|
|
241
241
|
}
|
|
242
242
|
|
|
@@ -263,11 +263,11 @@ class RoutingApi {
|
|
|
263
263
|
*/
|
|
264
264
|
deleteRoutingQueueUser(queueId, memberId) {
|
|
265
265
|
// verify the required parameter 'queueId' is set
|
|
266
|
-
if (queueId === undefined || queueId === null) {
|
|
266
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
267
267
|
throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueUser';
|
|
268
268
|
}
|
|
269
269
|
// verify the required parameter 'memberId' is set
|
|
270
|
-
if (memberId === undefined || memberId === null) {
|
|
270
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
271
271
|
throw 'Missing the required parameter "memberId" when calling deleteRoutingQueueUser';
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -293,11 +293,11 @@ class RoutingApi {
|
|
|
293
293
|
*/
|
|
294
294
|
deleteRoutingQueueWrapupcode(queueId, codeId) {
|
|
295
295
|
// verify the required parameter 'queueId' is set
|
|
296
|
-
if (queueId === undefined || queueId === null) {
|
|
296
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
297
297
|
throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueWrapupcode';
|
|
298
298
|
}
|
|
299
299
|
// verify the required parameter 'codeId' is set
|
|
300
|
-
if (codeId === undefined || codeId === null) {
|
|
300
|
+
if (codeId === undefined || codeId === null || codeId === '') {
|
|
301
301
|
throw 'Missing the required parameter "codeId" when calling deleteRoutingQueueWrapupcode';
|
|
302
302
|
}
|
|
303
303
|
|
|
@@ -342,7 +342,7 @@ class RoutingApi {
|
|
|
342
342
|
*/
|
|
343
343
|
deleteRoutingSkill(skillId) {
|
|
344
344
|
// verify the required parameter 'skillId' is set
|
|
345
|
-
if (skillId === undefined || skillId === null) {
|
|
345
|
+
if (skillId === undefined || skillId === null || skillId === '') {
|
|
346
346
|
throw 'Missing the required parameter "skillId" when calling deleteRoutingSkill';
|
|
347
347
|
}
|
|
348
348
|
|
|
@@ -367,7 +367,7 @@ class RoutingApi {
|
|
|
367
367
|
*/
|
|
368
368
|
deleteRoutingSkillgroup(skillGroupId) {
|
|
369
369
|
// verify the required parameter 'skillGroupId' is set
|
|
370
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
370
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
371
371
|
throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
|
|
372
372
|
}
|
|
373
373
|
|
|
@@ -392,7 +392,7 @@ class RoutingApi {
|
|
|
392
392
|
*/
|
|
393
393
|
deleteRoutingSmsAddress(addressId) {
|
|
394
394
|
// verify the required parameter 'addressId' is set
|
|
395
|
-
if (addressId === undefined || addressId === null) {
|
|
395
|
+
if (addressId === undefined || addressId === null || addressId === '') {
|
|
396
396
|
throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';
|
|
397
397
|
}
|
|
398
398
|
|
|
@@ -417,7 +417,7 @@ class RoutingApi {
|
|
|
417
417
|
*/
|
|
418
418
|
deleteRoutingSmsPhonenumber(phoneNumberId) {
|
|
419
419
|
// verify the required parameter 'phoneNumberId' is set
|
|
420
|
-
if (phoneNumberId === undefined || phoneNumberId === null) {
|
|
420
|
+
if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
|
|
421
421
|
throw 'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';
|
|
422
422
|
}
|
|
423
423
|
|
|
@@ -442,7 +442,7 @@ class RoutingApi {
|
|
|
442
442
|
*/
|
|
443
443
|
deleteRoutingUserDirectroutingbackupSettings(userId) {
|
|
444
444
|
// verify the required parameter 'userId' is set
|
|
445
|
-
if (userId === undefined || userId === null) {
|
|
445
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
446
446
|
throw 'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';
|
|
447
447
|
}
|
|
448
448
|
|
|
@@ -467,7 +467,7 @@ class RoutingApi {
|
|
|
467
467
|
*/
|
|
468
468
|
deleteRoutingUserUtilization(userId) {
|
|
469
469
|
// verify the required parameter 'userId' is set
|
|
470
|
-
if (userId === undefined || userId === null) {
|
|
470
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
471
471
|
throw 'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';
|
|
472
472
|
}
|
|
473
473
|
|
|
@@ -516,7 +516,7 @@ class RoutingApi {
|
|
|
516
516
|
opts = opts || {};
|
|
517
517
|
|
|
518
518
|
// verify the required parameter 'labelId' is set
|
|
519
|
-
if (labelId === undefined || labelId === null) {
|
|
519
|
+
if (labelId === undefined || labelId === null || labelId === '') {
|
|
520
520
|
throw 'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';
|
|
521
521
|
}
|
|
522
522
|
|
|
@@ -546,7 +546,7 @@ class RoutingApi {
|
|
|
546
546
|
opts = opts || {};
|
|
547
547
|
|
|
548
548
|
// verify the required parameter 'tagId' is set
|
|
549
|
-
if (tagId === undefined || tagId === null) {
|
|
549
|
+
if (tagId === undefined || tagId === null || tagId === '') {
|
|
550
550
|
throw 'Missing the required parameter "tagId" when calling deleteRoutingUtilizationTag';
|
|
551
551
|
}
|
|
552
552
|
|
|
@@ -571,7 +571,7 @@ class RoutingApi {
|
|
|
571
571
|
*/
|
|
572
572
|
deleteRoutingWrapupcode(codeId) {
|
|
573
573
|
// verify the required parameter 'codeId' is set
|
|
574
|
-
if (codeId === undefined || codeId === null) {
|
|
574
|
+
if (codeId === undefined || codeId === null || codeId === '') {
|
|
575
575
|
throw 'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';
|
|
576
576
|
}
|
|
577
577
|
|
|
@@ -597,11 +597,11 @@ class RoutingApi {
|
|
|
597
597
|
*/
|
|
598
598
|
deleteUserRoutinglanguage(userId, languageId) {
|
|
599
599
|
// verify the required parameter 'userId' is set
|
|
600
|
-
if (userId === undefined || userId === null) {
|
|
600
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
601
601
|
throw 'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';
|
|
602
602
|
}
|
|
603
603
|
// verify the required parameter 'languageId' is set
|
|
604
|
-
if (languageId === undefined || languageId === null) {
|
|
604
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
605
605
|
throw 'Missing the required parameter "languageId" when calling deleteUserRoutinglanguage';
|
|
606
606
|
}
|
|
607
607
|
|
|
@@ -627,11 +627,11 @@ class RoutingApi {
|
|
|
627
627
|
*/
|
|
628
628
|
deleteUserRoutingskill(userId, skillId) {
|
|
629
629
|
// verify the required parameter 'userId' is set
|
|
630
|
-
if (userId === undefined || userId === null) {
|
|
630
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
631
631
|
throw 'Missing the required parameter "userId" when calling deleteUserRoutingskill';
|
|
632
632
|
}
|
|
633
633
|
// verify the required parameter 'skillId' is set
|
|
634
|
-
if (skillId === undefined || skillId === null) {
|
|
634
|
+
if (skillId === undefined || skillId === null || skillId === '') {
|
|
635
635
|
throw 'Missing the required parameter "skillId" when calling deleteUserRoutingskill';
|
|
636
636
|
}
|
|
637
637
|
|
|
@@ -656,7 +656,7 @@ class RoutingApi {
|
|
|
656
656
|
*/
|
|
657
657
|
getRoutingAssessment(assessmentId) {
|
|
658
658
|
// verify the required parameter 'assessmentId' is set
|
|
659
|
-
if (assessmentId === undefined || assessmentId === null) {
|
|
659
|
+
if (assessmentId === undefined || assessmentId === null || assessmentId === '') {
|
|
660
660
|
throw 'Missing the required parameter "assessmentId" when calling getRoutingAssessment';
|
|
661
661
|
}
|
|
662
662
|
|
|
@@ -709,7 +709,7 @@ class RoutingApi {
|
|
|
709
709
|
*/
|
|
710
710
|
getRoutingAssessmentsJob(jobId) {
|
|
711
711
|
// verify the required parameter 'jobId' is set
|
|
712
|
-
if (jobId === undefined || jobId === null) {
|
|
712
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
713
713
|
throw 'Missing the required parameter "jobId" when calling getRoutingAssessmentsJob';
|
|
714
714
|
}
|
|
715
715
|
|
|
@@ -798,7 +798,7 @@ class RoutingApi {
|
|
|
798
798
|
*/
|
|
799
799
|
getRoutingEmailDomain(domainId) {
|
|
800
800
|
// verify the required parameter 'domainId' is set
|
|
801
|
-
if (domainId === undefined || domainId === null) {
|
|
801
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
802
802
|
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomain';
|
|
803
803
|
}
|
|
804
804
|
|
|
@@ -828,11 +828,11 @@ class RoutingApi {
|
|
|
828
828
|
opts = opts || {};
|
|
829
829
|
|
|
830
830
|
// verify the required parameter 'domainName' is set
|
|
831
|
-
if (domainName === undefined || domainName === null) {
|
|
831
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
832
832
|
throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';
|
|
833
833
|
}
|
|
834
834
|
// verify the required parameter 'routeId' is set
|
|
835
|
-
if (routeId === undefined || routeId === null) {
|
|
835
|
+
if (routeId === undefined || routeId === null || routeId === '') {
|
|
836
836
|
throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRoute';
|
|
837
837
|
}
|
|
838
838
|
|
|
@@ -858,11 +858,11 @@ class RoutingApi {
|
|
|
858
858
|
*/
|
|
859
859
|
getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
|
|
860
860
|
// verify the required parameter 'domainName' is set
|
|
861
|
-
if (domainName === undefined || domainName === null) {
|
|
861
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
862
862
|
throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
|
|
863
863
|
}
|
|
864
864
|
// verify the required parameter 'routeId' is set
|
|
865
|
-
if (routeId === undefined || routeId === null) {
|
|
865
|
+
if (routeId === undefined || routeId === null || routeId === '') {
|
|
866
866
|
throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';
|
|
867
867
|
}
|
|
868
868
|
|
|
@@ -894,7 +894,7 @@ class RoutingApi {
|
|
|
894
894
|
opts = opts || {};
|
|
895
895
|
|
|
896
896
|
// verify the required parameter 'domainName' is set
|
|
897
|
-
if (domainName === undefined || domainName === null) {
|
|
897
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
898
898
|
throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';
|
|
899
899
|
}
|
|
900
900
|
|
|
@@ -946,7 +946,7 @@ class RoutingApi {
|
|
|
946
946
|
*/
|
|
947
947
|
getRoutingEmailOutboundDomain(domainId) {
|
|
948
948
|
// verify the required parameter 'domainId' is set
|
|
949
|
-
if (domainId === undefined || domainId === null) {
|
|
949
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
950
950
|
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
|
|
951
951
|
}
|
|
952
952
|
|
|
@@ -971,7 +971,7 @@ class RoutingApi {
|
|
|
971
971
|
*/
|
|
972
972
|
getRoutingEmailOutboundDomainActivation(domainId) {
|
|
973
973
|
// verify the required parameter 'domainId' is set
|
|
974
|
-
if (domainId === undefined || domainId === null) {
|
|
974
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
975
975
|
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
|
|
976
976
|
}
|
|
977
977
|
|
|
@@ -996,7 +996,7 @@ class RoutingApi {
|
|
|
996
996
|
*/
|
|
997
997
|
getRoutingEmailOutboundDomainSearch(domainId) {
|
|
998
998
|
// verify the required parameter 'domainId' is set
|
|
999
|
-
if (domainId === undefined || domainId === null) {
|
|
999
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
1000
1000
|
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
@@ -1067,7 +1067,7 @@ class RoutingApi {
|
|
|
1067
1067
|
*/
|
|
1068
1068
|
getRoutingLanguage(languageId) {
|
|
1069
1069
|
// verify the required parameter 'languageId' is set
|
|
1070
|
-
if (languageId === undefined || languageId === null) {
|
|
1070
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
1071
1071
|
throw 'Missing the required parameter "languageId" when calling getRoutingLanguage';
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
@@ -1120,7 +1120,7 @@ class RoutingApi {
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
getRoutingMessageRecipient(recipientId) {
|
|
1122
1122
|
// verify the required parameter 'recipientId' is set
|
|
1123
|
-
if (recipientId === undefined || recipientId === null) {
|
|
1123
|
+
if (recipientId === undefined || recipientId === null || recipientId === '') {
|
|
1124
1124
|
throw 'Missing the required parameter "recipientId" when calling getRoutingMessageRecipient';
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
@@ -1172,7 +1172,7 @@ class RoutingApi {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
getRoutingPredictor(predictorId) {
|
|
1174
1174
|
// verify the required parameter 'predictorId' is set
|
|
1175
|
-
if (predictorId === undefined || predictorId === null) {
|
|
1175
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
1176
1176
|
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictor';
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
@@ -1198,11 +1198,11 @@ class RoutingApi {
|
|
|
1198
1198
|
*/
|
|
1199
1199
|
getRoutingPredictorModelFeatures(predictorId, modelId) {
|
|
1200
1200
|
// verify the required parameter 'predictorId' is set
|
|
1201
|
-
if (predictorId === undefined || predictorId === null) {
|
|
1201
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
1202
1202
|
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
|
|
1203
1203
|
}
|
|
1204
1204
|
// verify the required parameter 'modelId' is set
|
|
1205
|
-
if (modelId === undefined || modelId === null) {
|
|
1205
|
+
if (modelId === undefined || modelId === null || modelId === '') {
|
|
1206
1206
|
throw 'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
@@ -1227,7 +1227,7 @@ class RoutingApi {
|
|
|
1227
1227
|
*/
|
|
1228
1228
|
getRoutingPredictorModels(predictorId) {
|
|
1229
1229
|
// verify the required parameter 'predictorId' is set
|
|
1230
|
-
if (predictorId === undefined || predictorId === null) {
|
|
1230
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
1231
1231
|
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
@@ -1309,7 +1309,7 @@ class RoutingApi {
|
|
|
1309
1309
|
opts = opts || {};
|
|
1310
1310
|
|
|
1311
1311
|
// verify the required parameter 'queueId' is set
|
|
1312
|
-
if (queueId === undefined || queueId === null) {
|
|
1312
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1313
1313
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueue';
|
|
1314
1314
|
}
|
|
1315
1315
|
|
|
@@ -1338,7 +1338,7 @@ class RoutingApi {
|
|
|
1338
1338
|
opts = opts || {};
|
|
1339
1339
|
|
|
1340
1340
|
// verify the required parameter 'queueId' is set
|
|
1341
|
-
if (queueId === undefined || queueId === null) {
|
|
1341
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1342
1342
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
@@ -1364,11 +1364,11 @@ class RoutingApi {
|
|
|
1364
1364
|
*/
|
|
1365
1365
|
getRoutingQueueComparisonperiod(queueId, comparisonPeriodId) {
|
|
1366
1366
|
// verify the required parameter 'queueId' is set
|
|
1367
|
-
if (queueId === undefined || queueId === null) {
|
|
1367
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1368
1368
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiod';
|
|
1369
1369
|
}
|
|
1370
1370
|
// verify the required parameter 'comparisonPeriodId' is set
|
|
1371
|
-
if (comparisonPeriodId === undefined || comparisonPeriodId === null) {
|
|
1371
|
+
if (comparisonPeriodId === undefined || comparisonPeriodId === null || comparisonPeriodId === '') {
|
|
1372
1372
|
throw 'Missing the required parameter "comparisonPeriodId" when calling getRoutingQueueComparisonperiod';
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
@@ -1393,7 +1393,7 @@ class RoutingApi {
|
|
|
1393
1393
|
*/
|
|
1394
1394
|
getRoutingQueueComparisonperiods(queueId) {
|
|
1395
1395
|
// verify the required parameter 'queueId' is set
|
|
1396
|
-
if (queueId === undefined || queueId === null) {
|
|
1396
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1397
1397
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiods';
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
@@ -1422,7 +1422,7 @@ class RoutingApi {
|
|
|
1422
1422
|
opts = opts || {};
|
|
1423
1423
|
|
|
1424
1424
|
// verify the required parameter 'queueId' is set
|
|
1425
|
-
if (queueId === undefined || queueId === null) {
|
|
1425
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1426
1426
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueEstimatedwaittime';
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
@@ -1447,7 +1447,7 @@ class RoutingApi {
|
|
|
1447
1447
|
*/
|
|
1448
1448
|
getRoutingQueueIdentityresolution(queueId) {
|
|
1449
1449
|
// verify the required parameter 'queueId' is set
|
|
1450
|
-
if (queueId === undefined || queueId === null) {
|
|
1450
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1451
1451
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
@@ -1477,11 +1477,11 @@ class RoutingApi {
|
|
|
1477
1477
|
opts = opts || {};
|
|
1478
1478
|
|
|
1479
1479
|
// verify the required parameter 'queueId' is set
|
|
1480
|
-
if (queueId === undefined || queueId === null) {
|
|
1480
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1481
1481
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';
|
|
1482
1482
|
}
|
|
1483
1483
|
// verify the required parameter 'mediaType' is set
|
|
1484
|
-
if (mediaType === undefined || mediaType === null) {
|
|
1484
|
+
if (mediaType === undefined || mediaType === null || mediaType === '') {
|
|
1485
1485
|
throw 'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';
|
|
1486
1486
|
}
|
|
1487
1487
|
|
|
@@ -1521,7 +1521,7 @@ class RoutingApi {
|
|
|
1521
1521
|
opts = opts || {};
|
|
1522
1522
|
|
|
1523
1523
|
// verify the required parameter 'queueId' is set
|
|
1524
|
-
if (queueId === undefined || queueId === null) {
|
|
1524
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1525
1525
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueMembers';
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
@@ -1561,7 +1561,7 @@ class RoutingApi {
|
|
|
1561
1561
|
opts = opts || {};
|
|
1562
1562
|
|
|
1563
1563
|
// verify the required parameter 'queueId' is set
|
|
1564
|
-
if (queueId === undefined || queueId === null) {
|
|
1564
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1565
1565
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueUsers';
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
@@ -1586,12 +1586,13 @@ class RoutingApi {
|
|
|
1586
1586
|
* @param {Object} opts Optional parameters
|
|
1587
1587
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1588
1588
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1589
|
+
* @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
|
|
1589
1590
|
*/
|
|
1590
1591
|
getRoutingQueueWrapupcodes(queueId, opts) {
|
|
1591
1592
|
opts = opts || {};
|
|
1592
1593
|
|
|
1593
1594
|
// verify the required parameter 'queueId' is set
|
|
1594
|
-
if (queueId === undefined || queueId === null) {
|
|
1595
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
1595
1596
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';
|
|
1596
1597
|
}
|
|
1597
1598
|
|
|
@@ -1599,7 +1600,7 @@ class RoutingApi {
|
|
|
1599
1600
|
'/api/v2/routing/queues/{queueId}/wrapupcodes',
|
|
1600
1601
|
'GET',
|
|
1601
1602
|
{ 'queueId': queueId },
|
|
1602
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1603
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
|
|
1603
1604
|
{ },
|
|
1604
1605
|
{ },
|
|
1605
1606
|
null,
|
|
@@ -1792,7 +1793,7 @@ class RoutingApi {
|
|
|
1792
1793
|
*/
|
|
1793
1794
|
getRoutingSkill(skillId) {
|
|
1794
1795
|
// verify the required parameter 'skillId' is set
|
|
1795
|
-
if (skillId === undefined || skillId === null) {
|
|
1796
|
+
if (skillId === undefined || skillId === null || skillId === '') {
|
|
1796
1797
|
throw 'Missing the required parameter "skillId" when calling getRoutingSkill';
|
|
1797
1798
|
}
|
|
1798
1799
|
|
|
@@ -1817,7 +1818,7 @@ class RoutingApi {
|
|
|
1817
1818
|
*/
|
|
1818
1819
|
getRoutingSkillgroup(skillGroupId) {
|
|
1819
1820
|
// verify the required parameter 'skillGroupId' is set
|
|
1820
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
1821
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
1821
1822
|
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
|
|
1822
1823
|
}
|
|
1823
1824
|
|
|
@@ -1849,7 +1850,7 @@ class RoutingApi {
|
|
|
1849
1850
|
opts = opts || {};
|
|
1850
1851
|
|
|
1851
1852
|
// verify the required parameter 'skillGroupId' is set
|
|
1852
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
1853
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
1853
1854
|
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
|
|
1854
1855
|
}
|
|
1855
1856
|
|
|
@@ -1878,7 +1879,7 @@ class RoutingApi {
|
|
|
1878
1879
|
opts = opts || {};
|
|
1879
1880
|
|
|
1880
1881
|
// verify the required parameter 'skillGroupId' is set
|
|
1881
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
1882
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
1882
1883
|
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
|
|
1883
1884
|
}
|
|
1884
1885
|
|
|
@@ -1957,7 +1958,7 @@ class RoutingApi {
|
|
|
1957
1958
|
*/
|
|
1958
1959
|
getRoutingSmsAddress(addressId) {
|
|
1959
1960
|
// verify the required parameter 'addressId' is set
|
|
1960
|
-
if (addressId === undefined || addressId === null) {
|
|
1961
|
+
if (addressId === undefined || addressId === null || addressId === '') {
|
|
1961
1962
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsAddress';
|
|
1962
1963
|
}
|
|
1963
1964
|
|
|
@@ -2045,7 +2046,7 @@ class RoutingApi {
|
|
|
2045
2046
|
*/
|
|
2046
2047
|
getRoutingSmsIdentityresolutionPhonenumber(addressId) {
|
|
2047
2048
|
// verify the required parameter 'addressId' is set
|
|
2048
|
-
if (addressId === undefined || addressId === null) {
|
|
2049
|
+
if (addressId === undefined || addressId === null || addressId === '') {
|
|
2049
2050
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
|
|
2050
2051
|
}
|
|
2051
2052
|
|
|
@@ -2074,7 +2075,7 @@ class RoutingApi {
|
|
|
2074
2075
|
opts = opts || {};
|
|
2075
2076
|
|
|
2076
2077
|
// verify the required parameter 'phoneNumberId' is set
|
|
2077
|
-
if (phoneNumberId === undefined || phoneNumberId === null) {
|
|
2078
|
+
if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
|
|
2078
2079
|
throw 'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';
|
|
2079
2080
|
}
|
|
2080
2081
|
|
|
@@ -2134,7 +2135,7 @@ class RoutingApi {
|
|
|
2134
2135
|
*/
|
|
2135
2136
|
getRoutingUserDirectroutingbackupSettings(userId) {
|
|
2136
2137
|
// verify the required parameter 'userId' is set
|
|
2137
|
-
if (userId === undefined || userId === null) {
|
|
2138
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2138
2139
|
throw 'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';
|
|
2139
2140
|
}
|
|
2140
2141
|
|
|
@@ -2159,7 +2160,7 @@ class RoutingApi {
|
|
|
2159
2160
|
*/
|
|
2160
2161
|
getRoutingUserUtilization(userId) {
|
|
2161
2162
|
// verify the required parameter 'userId' is set
|
|
2162
|
-
if (userId === undefined || userId === null) {
|
|
2163
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2163
2164
|
throw 'Missing the required parameter "userId" when calling getRoutingUserUtilization';
|
|
2164
2165
|
}
|
|
2165
2166
|
|
|
@@ -2204,7 +2205,7 @@ class RoutingApi {
|
|
|
2204
2205
|
*/
|
|
2205
2206
|
getRoutingUtilizationLabel(labelId) {
|
|
2206
2207
|
// verify the required parameter 'labelId' is set
|
|
2207
|
-
if (labelId === undefined || labelId === null) {
|
|
2208
|
+
if (labelId === undefined || labelId === null || labelId === '') {
|
|
2208
2209
|
throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';
|
|
2209
2210
|
}
|
|
2210
2211
|
|
|
@@ -2229,7 +2230,7 @@ class RoutingApi {
|
|
|
2229
2230
|
*/
|
|
2230
2231
|
getRoutingUtilizationLabelAgents(labelId) {
|
|
2231
2232
|
// verify the required parameter 'labelId' is set
|
|
2232
|
-
if (labelId === undefined || labelId === null) {
|
|
2233
|
+
if (labelId === undefined || labelId === null || labelId === '') {
|
|
2233
2234
|
throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';
|
|
2234
2235
|
}
|
|
2235
2236
|
|
|
@@ -2282,7 +2283,7 @@ class RoutingApi {
|
|
|
2282
2283
|
*/
|
|
2283
2284
|
getRoutingUtilizationTag(tagId) {
|
|
2284
2285
|
// verify the required parameter 'tagId' is set
|
|
2285
|
-
if (tagId === undefined || tagId === null) {
|
|
2286
|
+
if (tagId === undefined || tagId === null || tagId === '') {
|
|
2286
2287
|
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';
|
|
2287
2288
|
}
|
|
2288
2289
|
|
|
@@ -2308,7 +2309,7 @@ class RoutingApi {
|
|
|
2308
2309
|
*/
|
|
2309
2310
|
getRoutingUtilizationTagAgents(tagId) {
|
|
2310
2311
|
// verify the required parameter 'tagId' is set
|
|
2311
|
-
if (tagId === undefined || tagId === null) {
|
|
2312
|
+
if (tagId === undefined || tagId === null || tagId === '') {
|
|
2312
2313
|
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';
|
|
2313
2314
|
}
|
|
2314
2315
|
|
|
@@ -2361,7 +2362,7 @@ class RoutingApi {
|
|
|
2361
2362
|
*/
|
|
2362
2363
|
getRoutingWrapupcode(codeId) {
|
|
2363
2364
|
// verify the required parameter 'codeId' is set
|
|
2364
|
-
if (codeId === undefined || codeId === null) {
|
|
2365
|
+
if (codeId === undefined || codeId === null || codeId === '') {
|
|
2365
2366
|
throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcode';
|
|
2366
2367
|
}
|
|
2367
2368
|
|
|
@@ -2416,7 +2417,7 @@ class RoutingApi {
|
|
|
2416
2417
|
*/
|
|
2417
2418
|
getRoutingWrapupcodesDivisionview(codeId) {
|
|
2418
2419
|
// verify the required parameter 'codeId' is set
|
|
2419
|
-
if (codeId === undefined || codeId === null) {
|
|
2420
|
+
if (codeId === undefined || codeId === null || codeId === '') {
|
|
2420
2421
|
throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
|
|
2421
2422
|
}
|
|
2422
2423
|
|
|
@@ -2477,7 +2478,7 @@ class RoutingApi {
|
|
|
2477
2478
|
opts = opts || {};
|
|
2478
2479
|
|
|
2479
2480
|
// verify the required parameter 'userId' is set
|
|
2480
|
-
if (userId === undefined || userId === null) {
|
|
2481
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2481
2482
|
throw 'Missing the required parameter "userId" when calling getUserQueues';
|
|
2482
2483
|
}
|
|
2483
2484
|
|
|
@@ -2508,7 +2509,7 @@ class RoutingApi {
|
|
|
2508
2509
|
opts = opts || {};
|
|
2509
2510
|
|
|
2510
2511
|
// verify the required parameter 'userId' is set
|
|
2511
|
-
if (userId === undefined || userId === null) {
|
|
2512
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2512
2513
|
throw 'Missing the required parameter "userId" when calling getUserRoutinglanguages';
|
|
2513
2514
|
}
|
|
2514
2515
|
|
|
@@ -2539,7 +2540,7 @@ class RoutingApi {
|
|
|
2539
2540
|
opts = opts || {};
|
|
2540
2541
|
|
|
2541
2542
|
// verify the required parameter 'userId' is set
|
|
2542
|
-
if (userId === undefined || userId === null) {
|
|
2543
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2543
2544
|
throw 'Missing the required parameter "userId" when calling getUserRoutingskills';
|
|
2544
2545
|
}
|
|
2545
2546
|
|
|
@@ -2570,7 +2571,7 @@ class RoutingApi {
|
|
|
2570
2571
|
opts = opts || {};
|
|
2571
2572
|
|
|
2572
2573
|
// verify the required parameter 'userId' is set
|
|
2573
|
-
if (userId === undefined || userId === null) {
|
|
2574
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2574
2575
|
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
2575
2576
|
}
|
|
2576
2577
|
|
|
@@ -2596,7 +2597,7 @@ class RoutingApi {
|
|
|
2596
2597
|
*/
|
|
2597
2598
|
patchRoutingConversation(conversationId, body) {
|
|
2598
2599
|
// verify the required parameter 'conversationId' is set
|
|
2599
|
-
if (conversationId === undefined || conversationId === null) {
|
|
2600
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
2600
2601
|
throw 'Missing the required parameter "conversationId" when calling patchRoutingConversation';
|
|
2601
2602
|
}
|
|
2602
2603
|
// verify the required parameter 'body' is set
|
|
@@ -2626,7 +2627,7 @@ class RoutingApi {
|
|
|
2626
2627
|
*/
|
|
2627
2628
|
patchRoutingEmailDomain(domainId, body) {
|
|
2628
2629
|
// verify the required parameter 'domainId' is set
|
|
2629
|
-
if (domainId === undefined || domainId === null) {
|
|
2630
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
2630
2631
|
throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomain';
|
|
2631
2632
|
}
|
|
2632
2633
|
// verify the required parameter 'body' is set
|
|
@@ -2656,7 +2657,7 @@ class RoutingApi {
|
|
|
2656
2657
|
*/
|
|
2657
2658
|
patchRoutingEmailDomainValidate(domainId, body) {
|
|
2658
2659
|
// verify the required parameter 'domainId' is set
|
|
2659
|
-
if (domainId === undefined || domainId === null) {
|
|
2660
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
2660
2661
|
throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomainValidate';
|
|
2661
2662
|
}
|
|
2662
2663
|
// verify the required parameter 'body' is set
|
|
@@ -2689,7 +2690,7 @@ class RoutingApi {
|
|
|
2689
2690
|
opts = opts || {};
|
|
2690
2691
|
|
|
2691
2692
|
// verify the required parameter 'predictorId' is set
|
|
2692
|
-
if (predictorId === undefined || predictorId === null) {
|
|
2693
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
2693
2694
|
throw 'Missing the required parameter "predictorId" when calling patchRoutingPredictor';
|
|
2694
2695
|
}
|
|
2695
2696
|
|
|
@@ -2716,11 +2717,11 @@ class RoutingApi {
|
|
|
2716
2717
|
*/
|
|
2717
2718
|
patchRoutingQueueMember(queueId, memberId, body) {
|
|
2718
2719
|
// verify the required parameter 'queueId' is set
|
|
2719
|
-
if (queueId === undefined || queueId === null) {
|
|
2720
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2720
2721
|
throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMember';
|
|
2721
2722
|
}
|
|
2722
2723
|
// verify the required parameter 'memberId' is set
|
|
2723
|
-
if (memberId === undefined || memberId === null) {
|
|
2724
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
2724
2725
|
throw 'Missing the required parameter "memberId" when calling patchRoutingQueueMember';
|
|
2725
2726
|
}
|
|
2726
2727
|
// verify the required parameter 'body' is set
|
|
@@ -2750,7 +2751,7 @@ class RoutingApi {
|
|
|
2750
2751
|
*/
|
|
2751
2752
|
patchRoutingQueueMembers(queueId, body) {
|
|
2752
2753
|
// verify the required parameter 'queueId' is set
|
|
2753
|
-
if (queueId === undefined || queueId === null) {
|
|
2754
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2754
2755
|
throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMembers';
|
|
2755
2756
|
}
|
|
2756
2757
|
// verify the required parameter 'body' is set
|
|
@@ -2782,11 +2783,11 @@ class RoutingApi {
|
|
|
2782
2783
|
*/
|
|
2783
2784
|
patchRoutingQueueUser(queueId, memberId, body) {
|
|
2784
2785
|
// verify the required parameter 'queueId' is set
|
|
2785
|
-
if (queueId === undefined || queueId === null) {
|
|
2786
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2786
2787
|
throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUser';
|
|
2787
2788
|
}
|
|
2788
2789
|
// verify the required parameter 'memberId' is set
|
|
2789
|
-
if (memberId === undefined || memberId === null) {
|
|
2790
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
2790
2791
|
throw 'Missing the required parameter "memberId" when calling patchRoutingQueueUser';
|
|
2791
2792
|
}
|
|
2792
2793
|
// verify the required parameter 'body' is set
|
|
@@ -2817,7 +2818,7 @@ class RoutingApi {
|
|
|
2817
2818
|
*/
|
|
2818
2819
|
patchRoutingQueueUsers(queueId, body) {
|
|
2819
2820
|
// verify the required parameter 'queueId' is set
|
|
2820
|
-
if (queueId === undefined || queueId === null) {
|
|
2821
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2821
2822
|
throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUsers';
|
|
2822
2823
|
}
|
|
2823
2824
|
// verify the required parameter 'body' is set
|
|
@@ -2897,7 +2898,7 @@ class RoutingApi {
|
|
|
2897
2898
|
*/
|
|
2898
2899
|
patchRoutingSkillgroup(skillGroupId, body) {
|
|
2899
2900
|
// verify the required parameter 'skillGroupId' is set
|
|
2900
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
2901
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
2901
2902
|
throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
|
|
2902
2903
|
}
|
|
2903
2904
|
// verify the required parameter 'body' is set
|
|
@@ -2927,7 +2928,7 @@ class RoutingApi {
|
|
|
2927
2928
|
*/
|
|
2928
2929
|
patchRoutingSmsPhonenumber(phoneNumberId, body) {
|
|
2929
2930
|
// verify the required parameter 'phoneNumberId' is set
|
|
2930
|
-
if (phoneNumberId === undefined || phoneNumberId === null) {
|
|
2931
|
+
if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
|
|
2931
2932
|
throw 'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';
|
|
2932
2933
|
}
|
|
2933
2934
|
// verify the required parameter 'body' is set
|
|
@@ -2958,11 +2959,11 @@ class RoutingApi {
|
|
|
2958
2959
|
*/
|
|
2959
2960
|
patchUserQueue(queueId, userId, body) {
|
|
2960
2961
|
// verify the required parameter 'queueId' is set
|
|
2961
|
-
if (queueId === undefined || queueId === null) {
|
|
2962
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2962
2963
|
throw 'Missing the required parameter "queueId" when calling patchUserQueue';
|
|
2963
2964
|
}
|
|
2964
2965
|
// verify the required parameter 'userId' is set
|
|
2965
|
-
if (userId === undefined || userId === null) {
|
|
2966
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
2966
2967
|
throw 'Missing the required parameter "userId" when calling patchUserQueue';
|
|
2967
2968
|
}
|
|
2968
2969
|
// verify the required parameter 'body' is set
|
|
@@ -2996,7 +2997,7 @@ class RoutingApi {
|
|
|
2996
2997
|
opts = opts || {};
|
|
2997
2998
|
|
|
2998
2999
|
// verify the required parameter 'userId' is set
|
|
2999
|
-
if (userId === undefined || userId === null) {
|
|
3000
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3000
3001
|
throw 'Missing the required parameter "userId" when calling patchUserQueues';
|
|
3001
3002
|
}
|
|
3002
3003
|
// verify the required parameter 'body' is set
|
|
@@ -3027,11 +3028,11 @@ class RoutingApi {
|
|
|
3027
3028
|
*/
|
|
3028
3029
|
patchUserRoutinglanguage(userId, languageId, body) {
|
|
3029
3030
|
// verify the required parameter 'userId' is set
|
|
3030
|
-
if (userId === undefined || userId === null) {
|
|
3031
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3031
3032
|
throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguage';
|
|
3032
3033
|
}
|
|
3033
3034
|
// verify the required parameter 'languageId' is set
|
|
3034
|
-
if (languageId === undefined || languageId === null) {
|
|
3035
|
+
if (languageId === undefined || languageId === null || languageId === '') {
|
|
3035
3036
|
throw 'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';
|
|
3036
3037
|
}
|
|
3037
3038
|
// verify the required parameter 'body' is set
|
|
@@ -3061,7 +3062,7 @@ class RoutingApi {
|
|
|
3061
3062
|
*/
|
|
3062
3063
|
patchUserRoutinglanguagesBulk(userId, body) {
|
|
3063
3064
|
// verify the required parameter 'userId' is set
|
|
3064
|
-
if (userId === undefined || userId === null) {
|
|
3065
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3065
3066
|
throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';
|
|
3066
3067
|
}
|
|
3067
3068
|
// verify the required parameter 'body' is set
|
|
@@ -3091,7 +3092,7 @@ class RoutingApi {
|
|
|
3091
3092
|
*/
|
|
3092
3093
|
patchUserRoutingskillsBulk(userId, body) {
|
|
3093
3094
|
// verify the required parameter 'userId' is set
|
|
3094
|
-
if (userId === undefined || userId === null) {
|
|
3095
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3095
3096
|
throw 'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';
|
|
3096
3097
|
}
|
|
3097
3098
|
// verify the required parameter 'body' is set
|
|
@@ -3224,7 +3225,7 @@ class RoutingApi {
|
|
|
3224
3225
|
*/
|
|
3225
3226
|
postRoutingEmailDomainRoutes(domainName, body) {
|
|
3226
3227
|
// verify the required parameter 'domainName' is set
|
|
3227
|
-
if (domainName === undefined || domainName === null) {
|
|
3228
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
3228
3229
|
throw 'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';
|
|
3229
3230
|
}
|
|
3230
3231
|
// verify the required parameter 'body' is set
|
|
@@ -3257,7 +3258,7 @@ class RoutingApi {
|
|
|
3257
3258
|
opts = opts || {};
|
|
3258
3259
|
|
|
3259
3260
|
// verify the required parameter 'domainId' is set
|
|
3260
|
-
if (domainId === undefined || domainId === null) {
|
|
3261
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
3261
3262
|
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';
|
|
3262
3263
|
}
|
|
3263
3264
|
|
|
@@ -3411,7 +3412,7 @@ class RoutingApi {
|
|
|
3411
3412
|
opts = opts || {};
|
|
3412
3413
|
|
|
3413
3414
|
// verify the required parameter 'queueId' is set
|
|
3414
|
-
if (queueId === undefined || queueId === null) {
|
|
3415
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
3415
3416
|
throw 'Missing the required parameter "queueId" when calling postRoutingQueueMembers';
|
|
3416
3417
|
}
|
|
3417
3418
|
// verify the required parameter 'body' is set
|
|
@@ -3446,7 +3447,7 @@ class RoutingApi {
|
|
|
3446
3447
|
opts = opts || {};
|
|
3447
3448
|
|
|
3448
3449
|
// verify the required parameter 'queueId' is set
|
|
3449
|
-
if (queueId === undefined || queueId === null) {
|
|
3450
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
3450
3451
|
throw 'Missing the required parameter "queueId" when calling postRoutingQueueUsers';
|
|
3451
3452
|
}
|
|
3452
3453
|
// verify the required parameter 'body' is set
|
|
@@ -3476,7 +3477,7 @@ class RoutingApi {
|
|
|
3476
3477
|
*/
|
|
3477
3478
|
postRoutingQueueWrapupcodes(queueId, body) {
|
|
3478
3479
|
// verify the required parameter 'queueId' is set
|
|
3479
|
-
if (queueId === undefined || queueId === null) {
|
|
3480
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
3480
3481
|
throw 'Missing the required parameter "queueId" when calling postRoutingQueueWrapupcodes';
|
|
3481
3482
|
}
|
|
3482
3483
|
// verify the required parameter 'body' is set
|
|
@@ -3534,7 +3535,7 @@ class RoutingApi {
|
|
|
3534
3535
|
opts = opts || {};
|
|
3535
3536
|
|
|
3536
3537
|
// verify the required parameter 'skillGroupId' is set
|
|
3537
|
-
if (skillGroupId === undefined || skillGroupId === null) {
|
|
3538
|
+
if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
|
|
3538
3539
|
throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
|
|
3539
3540
|
}
|
|
3540
3541
|
|
|
@@ -3787,7 +3788,7 @@ class RoutingApi {
|
|
|
3787
3788
|
*/
|
|
3788
3789
|
postUserRoutinglanguages(userId, body) {
|
|
3789
3790
|
// verify the required parameter 'userId' is set
|
|
3790
|
-
if (userId === undefined || userId === null) {
|
|
3791
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3791
3792
|
throw 'Missing the required parameter "userId" when calling postUserRoutinglanguages';
|
|
3792
3793
|
}
|
|
3793
3794
|
// verify the required parameter 'body' is set
|
|
@@ -3817,7 +3818,7 @@ class RoutingApi {
|
|
|
3817
3818
|
*/
|
|
3818
3819
|
postUserRoutingskills(userId, body) {
|
|
3819
3820
|
// verify the required parameter 'userId' is set
|
|
3820
|
-
if (userId === undefined || userId === null) {
|
|
3821
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3821
3822
|
throw 'Missing the required parameter "userId" when calling postUserRoutingskills';
|
|
3822
3823
|
}
|
|
3823
3824
|
// verify the required parameter 'body' is set
|
|
@@ -3873,11 +3874,11 @@ class RoutingApi {
|
|
|
3873
3874
|
*/
|
|
3874
3875
|
putRoutingEmailDomainRoute(domainName, routeId, body) {
|
|
3875
3876
|
// verify the required parameter 'domainName' is set
|
|
3876
|
-
if (domainName === undefined || domainName === null) {
|
|
3877
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
3877
3878
|
throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';
|
|
3878
3879
|
}
|
|
3879
3880
|
// verify the required parameter 'routeId' is set
|
|
3880
|
-
if (routeId === undefined || routeId === null) {
|
|
3881
|
+
if (routeId === undefined || routeId === null || routeId === '') {
|
|
3881
3882
|
throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';
|
|
3882
3883
|
}
|
|
3883
3884
|
// verify the required parameter 'body' is set
|
|
@@ -3908,11 +3909,11 @@ class RoutingApi {
|
|
|
3908
3909
|
*/
|
|
3909
3910
|
putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
|
|
3910
3911
|
// verify the required parameter 'domainName' is set
|
|
3911
|
-
if (domainName === undefined || domainName === null) {
|
|
3912
|
+
if (domainName === undefined || domainName === null || domainName === '') {
|
|
3912
3913
|
throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
|
|
3913
3914
|
}
|
|
3914
3915
|
// verify the required parameter 'routeId' is set
|
|
3915
|
-
if (routeId === undefined || routeId === null) {
|
|
3916
|
+
if (routeId === undefined || routeId === null || routeId === '') {
|
|
3916
3917
|
throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
|
|
3917
3918
|
}
|
|
3918
3919
|
// verify the required parameter 'body' is set
|
|
@@ -3941,7 +3942,7 @@ class RoutingApi {
|
|
|
3941
3942
|
*/
|
|
3942
3943
|
putRoutingEmailOutboundDomainActivation(domainId) {
|
|
3943
3944
|
// verify the required parameter 'domainId' is set
|
|
3944
|
-
if (domainId === undefined || domainId === null) {
|
|
3945
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
3945
3946
|
throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
|
|
3946
3947
|
}
|
|
3947
3948
|
|
|
@@ -3967,7 +3968,7 @@ class RoutingApi {
|
|
|
3967
3968
|
*/
|
|
3968
3969
|
putRoutingMessageRecipient(recipientId, body) {
|
|
3969
3970
|
// verify the required parameter 'recipientId' is set
|
|
3970
|
-
if (recipientId === undefined || recipientId === null) {
|
|
3971
|
+
if (recipientId === undefined || recipientId === null || recipientId === '') {
|
|
3971
3972
|
throw 'Missing the required parameter "recipientId" when calling putRoutingMessageRecipient';
|
|
3972
3973
|
}
|
|
3973
3974
|
// verify the required parameter 'body' is set
|
|
@@ -3997,7 +3998,7 @@ class RoutingApi {
|
|
|
3997
3998
|
*/
|
|
3998
3999
|
putRoutingQueue(queueId, body) {
|
|
3999
4000
|
// verify the required parameter 'queueId' is set
|
|
4000
|
-
if (queueId === undefined || queueId === null) {
|
|
4001
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
4001
4002
|
throw 'Missing the required parameter "queueId" when calling putRoutingQueue';
|
|
4002
4003
|
}
|
|
4003
4004
|
// verify the required parameter 'body' is set
|
|
@@ -4027,7 +4028,7 @@ class RoutingApi {
|
|
|
4027
4028
|
*/
|
|
4028
4029
|
putRoutingQueueIdentityresolution(queueId, body) {
|
|
4029
4030
|
// verify the required parameter 'queueId' is set
|
|
4030
|
-
if (queueId === undefined || queueId === null) {
|
|
4031
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
4031
4032
|
throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
|
|
4032
4033
|
}
|
|
4033
4034
|
// verify the required parameter 'body' is set
|
|
@@ -4107,7 +4108,7 @@ class RoutingApi {
|
|
|
4107
4108
|
*/
|
|
4108
4109
|
putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
|
|
4109
4110
|
// verify the required parameter 'addressId' is set
|
|
4110
|
-
if (addressId === undefined || addressId === null) {
|
|
4111
|
+
if (addressId === undefined || addressId === null || addressId === '') {
|
|
4111
4112
|
throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
|
|
4112
4113
|
}
|
|
4113
4114
|
// verify the required parameter 'body' is set
|
|
@@ -4137,7 +4138,7 @@ class RoutingApi {
|
|
|
4137
4138
|
*/
|
|
4138
4139
|
putRoutingUserDirectroutingbackupSettings(userId, body) {
|
|
4139
4140
|
// verify the required parameter 'userId' is set
|
|
4140
|
-
if (userId === undefined || userId === null) {
|
|
4141
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4141
4142
|
throw 'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';
|
|
4142
4143
|
}
|
|
4143
4144
|
// verify the required parameter 'body' is set
|
|
@@ -4167,7 +4168,7 @@ class RoutingApi {
|
|
|
4167
4168
|
*/
|
|
4168
4169
|
putRoutingUserUtilization(userId, body) {
|
|
4169
4170
|
// verify the required parameter 'userId' is set
|
|
4170
|
-
if (userId === undefined || userId === null) {
|
|
4171
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4171
4172
|
throw 'Missing the required parameter "userId" when calling putRoutingUserUtilization';
|
|
4172
4173
|
}
|
|
4173
4174
|
// verify the required parameter 'body' is set
|
|
@@ -4222,7 +4223,7 @@ class RoutingApi {
|
|
|
4222
4223
|
*/
|
|
4223
4224
|
putRoutingUtilizationLabel(labelId, body) {
|
|
4224
4225
|
// verify the required parameter 'labelId' is set
|
|
4225
|
-
if (labelId === undefined || labelId === null) {
|
|
4226
|
+
if (labelId === undefined || labelId === null || labelId === '') {
|
|
4226
4227
|
throw 'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';
|
|
4227
4228
|
}
|
|
4228
4229
|
// verify the required parameter 'body' is set
|
|
@@ -4252,7 +4253,7 @@ class RoutingApi {
|
|
|
4252
4253
|
*/
|
|
4253
4254
|
putRoutingWrapupcode(codeId, body) {
|
|
4254
4255
|
// verify the required parameter 'codeId' is set
|
|
4255
|
-
if (codeId === undefined || codeId === null) {
|
|
4256
|
+
if (codeId === undefined || codeId === null || codeId === '') {
|
|
4256
4257
|
throw 'Missing the required parameter "codeId" when calling putRoutingWrapupcode';
|
|
4257
4258
|
}
|
|
4258
4259
|
// verify the required parameter 'body' is set
|
|
@@ -4283,11 +4284,11 @@ class RoutingApi {
|
|
|
4283
4284
|
*/
|
|
4284
4285
|
putUserRoutingskill(userId, skillId, body) {
|
|
4285
4286
|
// verify the required parameter 'userId' is set
|
|
4286
|
-
if (userId === undefined || userId === null) {
|
|
4287
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4287
4288
|
throw 'Missing the required parameter "userId" when calling putUserRoutingskill';
|
|
4288
4289
|
}
|
|
4289
4290
|
// verify the required parameter 'skillId' is set
|
|
4290
|
-
if (skillId === undefined || skillId === null) {
|
|
4291
|
+
if (skillId === undefined || skillId === null || skillId === '') {
|
|
4291
4292
|
throw 'Missing the required parameter "skillId" when calling putUserRoutingskill';
|
|
4292
4293
|
}
|
|
4293
4294
|
// verify the required parameter 'body' is set
|
|
@@ -4317,7 +4318,7 @@ class RoutingApi {
|
|
|
4317
4318
|
*/
|
|
4318
4319
|
putUserRoutingskillsBulk(userId, body) {
|
|
4319
4320
|
// verify the required parameter 'userId' is set
|
|
4320
|
-
if (userId === undefined || userId === null) {
|
|
4321
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4321
4322
|
throw 'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';
|
|
4322
4323
|
}
|
|
4323
4324
|
// verify the required parameter 'body' is set
|