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.
Files changed (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +3630 -2644
  3. package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2891 -2627
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +825 -249
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 223.0.0
8
+ * @version 225.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
 
@@ -1591,7 +1591,7 @@ class RoutingApi {
1591
1591
  opts = opts || {};
1592
1592
 
1593
1593
  // verify the required parameter 'queueId' is set
1594
- if (queueId === undefined || queueId === null) {
1594
+ if (queueId === undefined || queueId === null || queueId === '') {
1595
1595
  throw 'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';
1596
1596
  }
1597
1597
 
@@ -1792,7 +1792,7 @@ class RoutingApi {
1792
1792
  */
1793
1793
  getRoutingSkill(skillId) {
1794
1794
  // verify the required parameter 'skillId' is set
1795
- if (skillId === undefined || skillId === null) {
1795
+ if (skillId === undefined || skillId === null || skillId === '') {
1796
1796
  throw 'Missing the required parameter "skillId" when calling getRoutingSkill';
1797
1797
  }
1798
1798
 
@@ -1817,7 +1817,7 @@ class RoutingApi {
1817
1817
  */
1818
1818
  getRoutingSkillgroup(skillGroupId) {
1819
1819
  // verify the required parameter 'skillGroupId' is set
1820
- if (skillGroupId === undefined || skillGroupId === null) {
1820
+ if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
1821
1821
  throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
1822
1822
  }
1823
1823
 
@@ -1849,7 +1849,7 @@ class RoutingApi {
1849
1849
  opts = opts || {};
1850
1850
 
1851
1851
  // verify the required parameter 'skillGroupId' is set
1852
- if (skillGroupId === undefined || skillGroupId === null) {
1852
+ if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
1853
1853
  throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
1854
1854
  }
1855
1855
 
@@ -1878,7 +1878,7 @@ class RoutingApi {
1878
1878
  opts = opts || {};
1879
1879
 
1880
1880
  // verify the required parameter 'skillGroupId' is set
1881
- if (skillGroupId === undefined || skillGroupId === null) {
1881
+ if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
1882
1882
  throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
1883
1883
  }
1884
1884
 
@@ -1957,7 +1957,7 @@ class RoutingApi {
1957
1957
  */
1958
1958
  getRoutingSmsAddress(addressId) {
1959
1959
  // verify the required parameter 'addressId' is set
1960
- if (addressId === undefined || addressId === null) {
1960
+ if (addressId === undefined || addressId === null || addressId === '') {
1961
1961
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsAddress';
1962
1962
  }
1963
1963
 
@@ -2045,7 +2045,7 @@ class RoutingApi {
2045
2045
  */
2046
2046
  getRoutingSmsIdentityresolutionPhonenumber(addressId) {
2047
2047
  // verify the required parameter 'addressId' is set
2048
- if (addressId === undefined || addressId === null) {
2048
+ if (addressId === undefined || addressId === null || addressId === '') {
2049
2049
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
2050
2050
  }
2051
2051
 
@@ -2074,7 +2074,7 @@ class RoutingApi {
2074
2074
  opts = opts || {};
2075
2075
 
2076
2076
  // verify the required parameter 'phoneNumberId' is set
2077
- if (phoneNumberId === undefined || phoneNumberId === null) {
2077
+ if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
2078
2078
  throw 'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';
2079
2079
  }
2080
2080
 
@@ -2134,7 +2134,7 @@ class RoutingApi {
2134
2134
  */
2135
2135
  getRoutingUserDirectroutingbackupSettings(userId) {
2136
2136
  // verify the required parameter 'userId' is set
2137
- if (userId === undefined || userId === null) {
2137
+ if (userId === undefined || userId === null || userId === '') {
2138
2138
  throw 'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';
2139
2139
  }
2140
2140
 
@@ -2159,7 +2159,7 @@ class RoutingApi {
2159
2159
  */
2160
2160
  getRoutingUserUtilization(userId) {
2161
2161
  // verify the required parameter 'userId' is set
2162
- if (userId === undefined || userId === null) {
2162
+ if (userId === undefined || userId === null || userId === '') {
2163
2163
  throw 'Missing the required parameter "userId" when calling getRoutingUserUtilization';
2164
2164
  }
2165
2165
 
@@ -2204,7 +2204,7 @@ class RoutingApi {
2204
2204
  */
2205
2205
  getRoutingUtilizationLabel(labelId) {
2206
2206
  // verify the required parameter 'labelId' is set
2207
- if (labelId === undefined || labelId === null) {
2207
+ if (labelId === undefined || labelId === null || labelId === '') {
2208
2208
  throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';
2209
2209
  }
2210
2210
 
@@ -2229,7 +2229,7 @@ class RoutingApi {
2229
2229
  */
2230
2230
  getRoutingUtilizationLabelAgents(labelId) {
2231
2231
  // verify the required parameter 'labelId' is set
2232
- if (labelId === undefined || labelId === null) {
2232
+ if (labelId === undefined || labelId === null || labelId === '') {
2233
2233
  throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';
2234
2234
  }
2235
2235
 
@@ -2282,7 +2282,7 @@ class RoutingApi {
2282
2282
  */
2283
2283
  getRoutingUtilizationTag(tagId) {
2284
2284
  // verify the required parameter 'tagId' is set
2285
- if (tagId === undefined || tagId === null) {
2285
+ if (tagId === undefined || tagId === null || tagId === '') {
2286
2286
  throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';
2287
2287
  }
2288
2288
 
@@ -2308,7 +2308,7 @@ class RoutingApi {
2308
2308
  */
2309
2309
  getRoutingUtilizationTagAgents(tagId) {
2310
2310
  // verify the required parameter 'tagId' is set
2311
- if (tagId === undefined || tagId === null) {
2311
+ if (tagId === undefined || tagId === null || tagId === '') {
2312
2312
  throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';
2313
2313
  }
2314
2314
 
@@ -2361,7 +2361,7 @@ class RoutingApi {
2361
2361
  */
2362
2362
  getRoutingWrapupcode(codeId) {
2363
2363
  // verify the required parameter 'codeId' is set
2364
- if (codeId === undefined || codeId === null) {
2364
+ if (codeId === undefined || codeId === null || codeId === '') {
2365
2365
  throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcode';
2366
2366
  }
2367
2367
 
@@ -2416,7 +2416,7 @@ class RoutingApi {
2416
2416
  */
2417
2417
  getRoutingWrapupcodesDivisionview(codeId) {
2418
2418
  // verify the required parameter 'codeId' is set
2419
- if (codeId === undefined || codeId === null) {
2419
+ if (codeId === undefined || codeId === null || codeId === '') {
2420
2420
  throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
2421
2421
  }
2422
2422
 
@@ -2477,7 +2477,7 @@ class RoutingApi {
2477
2477
  opts = opts || {};
2478
2478
 
2479
2479
  // verify the required parameter 'userId' is set
2480
- if (userId === undefined || userId === null) {
2480
+ if (userId === undefined || userId === null || userId === '') {
2481
2481
  throw 'Missing the required parameter "userId" when calling getUserQueues';
2482
2482
  }
2483
2483
 
@@ -2508,7 +2508,7 @@ class RoutingApi {
2508
2508
  opts = opts || {};
2509
2509
 
2510
2510
  // verify the required parameter 'userId' is set
2511
- if (userId === undefined || userId === null) {
2511
+ if (userId === undefined || userId === null || userId === '') {
2512
2512
  throw 'Missing the required parameter "userId" when calling getUserRoutinglanguages';
2513
2513
  }
2514
2514
 
@@ -2539,7 +2539,7 @@ class RoutingApi {
2539
2539
  opts = opts || {};
2540
2540
 
2541
2541
  // verify the required parameter 'userId' is set
2542
- if (userId === undefined || userId === null) {
2542
+ if (userId === undefined || userId === null || userId === '') {
2543
2543
  throw 'Missing the required parameter "userId" when calling getUserRoutingskills';
2544
2544
  }
2545
2545
 
@@ -2570,7 +2570,7 @@ class RoutingApi {
2570
2570
  opts = opts || {};
2571
2571
 
2572
2572
  // verify the required parameter 'userId' is set
2573
- if (userId === undefined || userId === null) {
2573
+ if (userId === undefined || userId === null || userId === '') {
2574
2574
  throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
2575
2575
  }
2576
2576
 
@@ -2596,7 +2596,7 @@ class RoutingApi {
2596
2596
  */
2597
2597
  patchRoutingConversation(conversationId, body) {
2598
2598
  // verify the required parameter 'conversationId' is set
2599
- if (conversationId === undefined || conversationId === null) {
2599
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2600
2600
  throw 'Missing the required parameter "conversationId" when calling patchRoutingConversation';
2601
2601
  }
2602
2602
  // verify the required parameter 'body' is set
@@ -2626,7 +2626,7 @@ class RoutingApi {
2626
2626
  */
2627
2627
  patchRoutingEmailDomain(domainId, body) {
2628
2628
  // verify the required parameter 'domainId' is set
2629
- if (domainId === undefined || domainId === null) {
2629
+ if (domainId === undefined || domainId === null || domainId === '') {
2630
2630
  throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomain';
2631
2631
  }
2632
2632
  // verify the required parameter 'body' is set
@@ -2656,7 +2656,7 @@ class RoutingApi {
2656
2656
  */
2657
2657
  patchRoutingEmailDomainValidate(domainId, body) {
2658
2658
  // verify the required parameter 'domainId' is set
2659
- if (domainId === undefined || domainId === null) {
2659
+ if (domainId === undefined || domainId === null || domainId === '') {
2660
2660
  throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomainValidate';
2661
2661
  }
2662
2662
  // verify the required parameter 'body' is set
@@ -2689,7 +2689,7 @@ class RoutingApi {
2689
2689
  opts = opts || {};
2690
2690
 
2691
2691
  // verify the required parameter 'predictorId' is set
2692
- if (predictorId === undefined || predictorId === null) {
2692
+ if (predictorId === undefined || predictorId === null || predictorId === '') {
2693
2693
  throw 'Missing the required parameter "predictorId" when calling patchRoutingPredictor';
2694
2694
  }
2695
2695
 
@@ -2716,11 +2716,11 @@ class RoutingApi {
2716
2716
  */
2717
2717
  patchRoutingQueueMember(queueId, memberId, body) {
2718
2718
  // verify the required parameter 'queueId' is set
2719
- if (queueId === undefined || queueId === null) {
2719
+ if (queueId === undefined || queueId === null || queueId === '') {
2720
2720
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMember';
2721
2721
  }
2722
2722
  // verify the required parameter 'memberId' is set
2723
- if (memberId === undefined || memberId === null) {
2723
+ if (memberId === undefined || memberId === null || memberId === '') {
2724
2724
  throw 'Missing the required parameter "memberId" when calling patchRoutingQueueMember';
2725
2725
  }
2726
2726
  // verify the required parameter 'body' is set
@@ -2750,7 +2750,7 @@ class RoutingApi {
2750
2750
  */
2751
2751
  patchRoutingQueueMembers(queueId, body) {
2752
2752
  // verify the required parameter 'queueId' is set
2753
- if (queueId === undefined || queueId === null) {
2753
+ if (queueId === undefined || queueId === null || queueId === '') {
2754
2754
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMembers';
2755
2755
  }
2756
2756
  // verify the required parameter 'body' is set
@@ -2782,11 +2782,11 @@ class RoutingApi {
2782
2782
  */
2783
2783
  patchRoutingQueueUser(queueId, memberId, body) {
2784
2784
  // verify the required parameter 'queueId' is set
2785
- if (queueId === undefined || queueId === null) {
2785
+ if (queueId === undefined || queueId === null || queueId === '') {
2786
2786
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUser';
2787
2787
  }
2788
2788
  // verify the required parameter 'memberId' is set
2789
- if (memberId === undefined || memberId === null) {
2789
+ if (memberId === undefined || memberId === null || memberId === '') {
2790
2790
  throw 'Missing the required parameter "memberId" when calling patchRoutingQueueUser';
2791
2791
  }
2792
2792
  // verify the required parameter 'body' is set
@@ -2817,7 +2817,7 @@ class RoutingApi {
2817
2817
  */
2818
2818
  patchRoutingQueueUsers(queueId, body) {
2819
2819
  // verify the required parameter 'queueId' is set
2820
- if (queueId === undefined || queueId === null) {
2820
+ if (queueId === undefined || queueId === null || queueId === '') {
2821
2821
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUsers';
2822
2822
  }
2823
2823
  // verify the required parameter 'body' is set
@@ -2897,7 +2897,7 @@ class RoutingApi {
2897
2897
  */
2898
2898
  patchRoutingSkillgroup(skillGroupId, body) {
2899
2899
  // verify the required parameter 'skillGroupId' is set
2900
- if (skillGroupId === undefined || skillGroupId === null) {
2900
+ if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
2901
2901
  throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
2902
2902
  }
2903
2903
  // verify the required parameter 'body' is set
@@ -2919,6 +2919,36 @@ class RoutingApi {
2919
2919
  );
2920
2920
  }
2921
2921
 
2922
+ /**
2923
+ * Update a phone number provisioned for SMS.
2924
+ *
2925
+ * @param {String} phoneNumberId phone number
2926
+ * @param {Object} body SmsPhoneNumberPatchRequest
2927
+ */
2928
+ patchRoutingSmsPhonenumber(phoneNumberId, body) {
2929
+ // verify the required parameter 'phoneNumberId' is set
2930
+ if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
2931
+ throw 'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';
2932
+ }
2933
+ // verify the required parameter 'body' is set
2934
+ if (body === undefined || body === null) {
2935
+ throw 'Missing the required parameter "body" when calling patchRoutingSmsPhonenumber';
2936
+ }
2937
+
2938
+ return this.apiClient.callApi(
2939
+ '/api/v2/routing/sms/phonenumbers/{phoneNumberId}',
2940
+ 'PATCH',
2941
+ { 'phoneNumberId': phoneNumberId },
2942
+ { },
2943
+ { },
2944
+ { },
2945
+ body,
2946
+ ['PureCloud OAuth'],
2947
+ ['application/json'],
2948
+ ['application/json']
2949
+ );
2950
+ }
2951
+
2922
2952
  /**
2923
2953
  * Join or unjoin a queue for a user
2924
2954
  *
@@ -2928,11 +2958,11 @@ class RoutingApi {
2928
2958
  */
2929
2959
  patchUserQueue(queueId, userId, body) {
2930
2960
  // verify the required parameter 'queueId' is set
2931
- if (queueId === undefined || queueId === null) {
2961
+ if (queueId === undefined || queueId === null || queueId === '') {
2932
2962
  throw 'Missing the required parameter "queueId" when calling patchUserQueue';
2933
2963
  }
2934
2964
  // verify the required parameter 'userId' is set
2935
- if (userId === undefined || userId === null) {
2965
+ if (userId === undefined || userId === null || userId === '') {
2936
2966
  throw 'Missing the required parameter "userId" when calling patchUserQueue';
2937
2967
  }
2938
2968
  // verify the required parameter 'body' is set
@@ -2966,7 +2996,7 @@ class RoutingApi {
2966
2996
  opts = opts || {};
2967
2997
 
2968
2998
  // verify the required parameter 'userId' is set
2969
- if (userId === undefined || userId === null) {
2999
+ if (userId === undefined || userId === null || userId === '') {
2970
3000
  throw 'Missing the required parameter "userId" when calling patchUserQueues';
2971
3001
  }
2972
3002
  // verify the required parameter 'body' is set
@@ -2997,11 +3027,11 @@ class RoutingApi {
2997
3027
  */
2998
3028
  patchUserRoutinglanguage(userId, languageId, body) {
2999
3029
  // verify the required parameter 'userId' is set
3000
- if (userId === undefined || userId === null) {
3030
+ if (userId === undefined || userId === null || userId === '') {
3001
3031
  throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguage';
3002
3032
  }
3003
3033
  // verify the required parameter 'languageId' is set
3004
- if (languageId === undefined || languageId === null) {
3034
+ if (languageId === undefined || languageId === null || languageId === '') {
3005
3035
  throw 'Missing the required parameter "languageId" when calling patchUserRoutinglanguage';
3006
3036
  }
3007
3037
  // verify the required parameter 'body' is set
@@ -3031,7 +3061,7 @@ class RoutingApi {
3031
3061
  */
3032
3062
  patchUserRoutinglanguagesBulk(userId, body) {
3033
3063
  // verify the required parameter 'userId' is set
3034
- if (userId === undefined || userId === null) {
3064
+ if (userId === undefined || userId === null || userId === '') {
3035
3065
  throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';
3036
3066
  }
3037
3067
  // verify the required parameter 'body' is set
@@ -3061,7 +3091,7 @@ class RoutingApi {
3061
3091
  */
3062
3092
  patchUserRoutingskillsBulk(userId, body) {
3063
3093
  // verify the required parameter 'userId' is set
3064
- if (userId === undefined || userId === null) {
3094
+ if (userId === undefined || userId === null || userId === '') {
3065
3095
  throw 'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';
3066
3096
  }
3067
3097
  // verify the required parameter 'body' is set
@@ -3194,7 +3224,7 @@ class RoutingApi {
3194
3224
  */
3195
3225
  postRoutingEmailDomainRoutes(domainName, body) {
3196
3226
  // verify the required parameter 'domainName' is set
3197
- if (domainName === undefined || domainName === null) {
3227
+ if (domainName === undefined || domainName === null || domainName === '') {
3198
3228
  throw 'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';
3199
3229
  }
3200
3230
  // verify the required parameter 'body' is set
@@ -3227,7 +3257,7 @@ class RoutingApi {
3227
3257
  opts = opts || {};
3228
3258
 
3229
3259
  // verify the required parameter 'domainId' is set
3230
- if (domainId === undefined || domainId === null) {
3260
+ if (domainId === undefined || domainId === null || domainId === '') {
3231
3261
  throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';
3232
3262
  }
3233
3263
 
@@ -3381,7 +3411,7 @@ class RoutingApi {
3381
3411
  opts = opts || {};
3382
3412
 
3383
3413
  // verify the required parameter 'queueId' is set
3384
- if (queueId === undefined || queueId === null) {
3414
+ if (queueId === undefined || queueId === null || queueId === '') {
3385
3415
  throw 'Missing the required parameter "queueId" when calling postRoutingQueueMembers';
3386
3416
  }
3387
3417
  // verify the required parameter 'body' is set
@@ -3416,7 +3446,7 @@ class RoutingApi {
3416
3446
  opts = opts || {};
3417
3447
 
3418
3448
  // verify the required parameter 'queueId' is set
3419
- if (queueId === undefined || queueId === null) {
3449
+ if (queueId === undefined || queueId === null || queueId === '') {
3420
3450
  throw 'Missing the required parameter "queueId" when calling postRoutingQueueUsers';
3421
3451
  }
3422
3452
  // verify the required parameter 'body' is set
@@ -3446,7 +3476,7 @@ class RoutingApi {
3446
3476
  */
3447
3477
  postRoutingQueueWrapupcodes(queueId, body) {
3448
3478
  // verify the required parameter 'queueId' is set
3449
- if (queueId === undefined || queueId === null) {
3479
+ if (queueId === undefined || queueId === null || queueId === '') {
3450
3480
  throw 'Missing the required parameter "queueId" when calling postRoutingQueueWrapupcodes';
3451
3481
  }
3452
3482
  // verify the required parameter 'body' is set
@@ -3504,7 +3534,7 @@ class RoutingApi {
3504
3534
  opts = opts || {};
3505
3535
 
3506
3536
  // verify the required parameter 'skillGroupId' is set
3507
- if (skillGroupId === undefined || skillGroupId === null) {
3537
+ if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
3508
3538
  throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
3509
3539
  }
3510
3540
 
@@ -3757,7 +3787,7 @@ class RoutingApi {
3757
3787
  */
3758
3788
  postUserRoutinglanguages(userId, body) {
3759
3789
  // verify the required parameter 'userId' is set
3760
- if (userId === undefined || userId === null) {
3790
+ if (userId === undefined || userId === null || userId === '') {
3761
3791
  throw 'Missing the required parameter "userId" when calling postUserRoutinglanguages';
3762
3792
  }
3763
3793
  // verify the required parameter 'body' is set
@@ -3787,7 +3817,7 @@ class RoutingApi {
3787
3817
  */
3788
3818
  postUserRoutingskills(userId, body) {
3789
3819
  // verify the required parameter 'userId' is set
3790
- if (userId === undefined || userId === null) {
3820
+ if (userId === undefined || userId === null || userId === '') {
3791
3821
  throw 'Missing the required parameter "userId" when calling postUserRoutingskills';
3792
3822
  }
3793
3823
  // verify the required parameter 'body' is set
@@ -3843,11 +3873,11 @@ class RoutingApi {
3843
3873
  */
3844
3874
  putRoutingEmailDomainRoute(domainName, routeId, body) {
3845
3875
  // verify the required parameter 'domainName' is set
3846
- if (domainName === undefined || domainName === null) {
3876
+ if (domainName === undefined || domainName === null || domainName === '') {
3847
3877
  throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';
3848
3878
  }
3849
3879
  // verify the required parameter 'routeId' is set
3850
- if (routeId === undefined || routeId === null) {
3880
+ if (routeId === undefined || routeId === null || routeId === '') {
3851
3881
  throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';
3852
3882
  }
3853
3883
  // verify the required parameter 'body' is set
@@ -3878,11 +3908,11 @@ class RoutingApi {
3878
3908
  */
3879
3909
  putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
3880
3910
  // verify the required parameter 'domainName' is set
3881
- if (domainName === undefined || domainName === null) {
3911
+ if (domainName === undefined || domainName === null || domainName === '') {
3882
3912
  throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
3883
3913
  }
3884
3914
  // verify the required parameter 'routeId' is set
3885
- if (routeId === undefined || routeId === null) {
3915
+ if (routeId === undefined || routeId === null || routeId === '') {
3886
3916
  throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
3887
3917
  }
3888
3918
  // verify the required parameter 'body' is set
@@ -3911,7 +3941,7 @@ class RoutingApi {
3911
3941
  */
3912
3942
  putRoutingEmailOutboundDomainActivation(domainId) {
3913
3943
  // verify the required parameter 'domainId' is set
3914
- if (domainId === undefined || domainId === null) {
3944
+ if (domainId === undefined || domainId === null || domainId === '') {
3915
3945
  throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
3916
3946
  }
3917
3947
 
@@ -3937,7 +3967,7 @@ class RoutingApi {
3937
3967
  */
3938
3968
  putRoutingMessageRecipient(recipientId, body) {
3939
3969
  // verify the required parameter 'recipientId' is set
3940
- if (recipientId === undefined || recipientId === null) {
3970
+ if (recipientId === undefined || recipientId === null || recipientId === '') {
3941
3971
  throw 'Missing the required parameter "recipientId" when calling putRoutingMessageRecipient';
3942
3972
  }
3943
3973
  // verify the required parameter 'body' is set
@@ -3967,7 +3997,7 @@ class RoutingApi {
3967
3997
  */
3968
3998
  putRoutingQueue(queueId, body) {
3969
3999
  // verify the required parameter 'queueId' is set
3970
- if (queueId === undefined || queueId === null) {
4000
+ if (queueId === undefined || queueId === null || queueId === '') {
3971
4001
  throw 'Missing the required parameter "queueId" when calling putRoutingQueue';
3972
4002
  }
3973
4003
  // verify the required parameter 'body' is set
@@ -3997,7 +4027,7 @@ class RoutingApi {
3997
4027
  */
3998
4028
  putRoutingQueueIdentityresolution(queueId, body) {
3999
4029
  // verify the required parameter 'queueId' is set
4000
- if (queueId === undefined || queueId === null) {
4030
+ if (queueId === undefined || queueId === null || queueId === '') {
4001
4031
  throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
4002
4032
  }
4003
4033
  // verify the required parameter 'body' is set
@@ -4077,7 +4107,7 @@ class RoutingApi {
4077
4107
  */
4078
4108
  putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
4079
4109
  // verify the required parameter 'addressId' is set
4080
- if (addressId === undefined || addressId === null) {
4110
+ if (addressId === undefined || addressId === null || addressId === '') {
4081
4111
  throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
4082
4112
  }
4083
4113
  // verify the required parameter 'body' is set
@@ -4107,7 +4137,7 @@ class RoutingApi {
4107
4137
  */
4108
4138
  putRoutingUserDirectroutingbackupSettings(userId, body) {
4109
4139
  // verify the required parameter 'userId' is set
4110
- if (userId === undefined || userId === null) {
4140
+ if (userId === undefined || userId === null || userId === '') {
4111
4141
  throw 'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';
4112
4142
  }
4113
4143
  // verify the required parameter 'body' is set
@@ -4137,7 +4167,7 @@ class RoutingApi {
4137
4167
  */
4138
4168
  putRoutingUserUtilization(userId, body) {
4139
4169
  // verify the required parameter 'userId' is set
4140
- if (userId === undefined || userId === null) {
4170
+ if (userId === undefined || userId === null || userId === '') {
4141
4171
  throw 'Missing the required parameter "userId" when calling putRoutingUserUtilization';
4142
4172
  }
4143
4173
  // verify the required parameter 'body' is set
@@ -4192,7 +4222,7 @@ class RoutingApi {
4192
4222
  */
4193
4223
  putRoutingUtilizationLabel(labelId, body) {
4194
4224
  // verify the required parameter 'labelId' is set
4195
- if (labelId === undefined || labelId === null) {
4225
+ if (labelId === undefined || labelId === null || labelId === '') {
4196
4226
  throw 'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';
4197
4227
  }
4198
4228
  // verify the required parameter 'body' is set
@@ -4222,7 +4252,7 @@ class RoutingApi {
4222
4252
  */
4223
4253
  putRoutingWrapupcode(codeId, body) {
4224
4254
  // verify the required parameter 'codeId' is set
4225
- if (codeId === undefined || codeId === null) {
4255
+ if (codeId === undefined || codeId === null || codeId === '') {
4226
4256
  throw 'Missing the required parameter "codeId" when calling putRoutingWrapupcode';
4227
4257
  }
4228
4258
  // verify the required parameter 'body' is set
@@ -4253,11 +4283,11 @@ class RoutingApi {
4253
4283
  */
4254
4284
  putUserRoutingskill(userId, skillId, body) {
4255
4285
  // verify the required parameter 'userId' is set
4256
- if (userId === undefined || userId === null) {
4286
+ if (userId === undefined || userId === null || userId === '') {
4257
4287
  throw 'Missing the required parameter "userId" when calling putUserRoutingskill';
4258
4288
  }
4259
4289
  // verify the required parameter 'skillId' is set
4260
- if (skillId === undefined || skillId === null) {
4290
+ if (skillId === undefined || skillId === null || skillId === '') {
4261
4291
  throw 'Missing the required parameter "skillId" when calling putUserRoutingskill';
4262
4292
  }
4263
4293
  // verify the required parameter 'body' is set
@@ -4287,7 +4317,7 @@ class RoutingApi {
4287
4317
  */
4288
4318
  putUserRoutingskillsBulk(userId, body) {
4289
4319
  // verify the required parameter 'userId' is set
4290
- if (userId === undefined || userId === null) {
4320
+ if (userId === undefined || userId === null || userId === '') {
4291
4321
  throw 'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';
4292
4322
  }
4293
4323
  // verify the required parameter 'body' is set