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.
Files changed (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +2853 -2693
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2679 -2639
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +227 -162
  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 +16 -16
  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 +45 -45
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
  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 +29 -29
  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 +486 -342
  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 +16 -16
  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 +82 -81
  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 +121 -120
  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 +7 -7
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
  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 +93 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
  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 +317 -359
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class GamificationApi {
27
27
  */
28
28
  deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
29
29
  // verify the required parameter 'metricId' is set
30
- if (metricId === undefined || metricId === null) {
30
+ if (metricId === undefined || metricId === null || metricId === '') {
31
31
  throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class GamificationApi {
52
52
  */
53
53
  deleteGamificationContest(contestId) {
54
54
  // verify the required parameter 'contestId' is set
55
- if (contestId === undefined || contestId === null) {
55
+ if (contestId === undefined || contestId === null || contestId === '') {
56
56
  throw 'Missing the required parameter "contestId" when calling deleteGamificationContest';
57
57
  }
58
58
 
@@ -77,7 +77,7 @@ class GamificationApi {
77
77
  */
78
78
  getEmployeeperformanceExternalmetricsDefinition(metricId) {
79
79
  // verify the required parameter 'metricId' is set
80
- if (metricId === undefined || metricId === null) {
80
+ if (metricId === undefined || metricId === null || metricId === '') {
81
81
  throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
82
82
  }
83
83
 
@@ -127,7 +127,7 @@ class GamificationApi {
127
127
  */
128
128
  getGamificationContest(contestId) {
129
129
  // verify the required parameter 'contestId' is set
130
- if (contestId === undefined || contestId === null) {
130
+ if (contestId === undefined || contestId === null || contestId === '') {
131
131
  throw 'Missing the required parameter "contestId" when calling getGamificationContest';
132
132
  }
133
133
 
@@ -159,7 +159,7 @@ class GamificationApi {
159
159
  opts = opts || {};
160
160
 
161
161
  // verify the required parameter 'contestId' is set
162
- if (contestId === undefined || contestId === null) {
162
+ if (contestId === undefined || contestId === null || contestId === '') {
163
163
  throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';
164
164
  }
165
165
 
@@ -191,7 +191,7 @@ class GamificationApi {
191
191
  opts = opts || {};
192
192
 
193
193
  // verify the required parameter 'contestId' is set
194
- if (contestId === undefined || contestId === null) {
194
+ if (contestId === undefined || contestId === null || contestId === '') {
195
195
  throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';
196
196
  }
197
197
 
@@ -216,7 +216,7 @@ class GamificationApi {
216
216
  */
217
217
  getGamificationContestAgentsScoresTrends(contestId) {
218
218
  // verify the required parameter 'contestId' is set
219
- if (contestId === undefined || contestId === null) {
219
+ if (contestId === undefined || contestId === null || contestId === '') {
220
220
  throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';
221
221
  }
222
222
 
@@ -241,7 +241,7 @@ class GamificationApi {
241
241
  */
242
242
  getGamificationContestAgentsScoresTrendsMe(contestId) {
243
243
  // verify the required parameter 'contestId' is set
244
- if (contestId === undefined || contestId === null) {
244
+ if (contestId === undefined || contestId === null || contestId === '') {
245
245
  throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';
246
246
  }
247
247
 
@@ -267,11 +267,11 @@ class GamificationApi {
267
267
  */
268
268
  getGamificationContestPrizeimage(contestId, prizeImageId) {
269
269
  // verify the required parameter 'contestId' is set
270
- if (contestId === undefined || contestId === null) {
270
+ if (contestId === undefined || contestId === null || contestId === '') {
271
271
  throw 'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';
272
272
  }
273
273
  // verify the required parameter 'prizeImageId' is set
274
- if (prizeImageId === undefined || prizeImageId === null) {
274
+ if (prizeImageId === undefined || prizeImageId === null || prizeImageId === '') {
275
275
  throw 'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';
276
276
  }
277
277
 
@@ -722,7 +722,7 @@ class GamificationApi {
722
722
  */
723
723
  getGamificationInsightsUserDetails(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday) {
724
724
  // verify the required parameter 'userId' is set
725
- if (userId === undefined || userId === null) {
725
+ if (userId === undefined || userId === null || userId === '') {
726
726
  throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserDetails';
727
727
  }
728
728
  // verify the required parameter 'filterType' is set
@@ -774,7 +774,7 @@ class GamificationApi {
774
774
  */
775
775
  getGamificationInsightsUserTrends(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
776
776
  // verify the required parameter 'userId' is set
777
- if (userId === undefined || userId === null) {
777
+ if (userId === undefined || userId === null || userId === '') {
778
778
  throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserTrends';
779
779
  }
780
780
  // verify the required parameter 'filterType' is set
@@ -955,7 +955,7 @@ class GamificationApi {
955
955
  */
956
956
  getGamificationMetricdefinition(metricDefinitionId) {
957
957
  // verify the required parameter 'metricDefinitionId' is set
958
- if (metricDefinitionId === undefined || metricDefinitionId === null) {
958
+ if (metricDefinitionId === undefined || metricDefinitionId === null || metricDefinitionId === '') {
959
959
  throw 'Missing the required parameter "metricDefinitionId" when calling getGamificationMetricdefinition';
960
960
  }
961
961
 
@@ -1000,7 +1000,7 @@ class GamificationApi {
1000
1000
  */
1001
1001
  getGamificationProfile(profileId) {
1002
1002
  // verify the required parameter 'profileId' is set
1003
- if (profileId === undefined || profileId === null) {
1003
+ if (profileId === undefined || profileId === null || profileId === '') {
1004
1004
  throw 'Missing the required parameter "profileId" when calling getGamificationProfile';
1005
1005
  }
1006
1006
 
@@ -1025,7 +1025,7 @@ class GamificationApi {
1025
1025
  */
1026
1026
  getGamificationProfileMembers(profileId) {
1027
1027
  // verify the required parameter 'profileId' is set
1028
- if (profileId === undefined || profileId === null) {
1028
+ if (profileId === undefined || profileId === null || profileId === '') {
1029
1029
  throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
1030
1030
  }
1031
1031
 
@@ -1055,11 +1055,11 @@ class GamificationApi {
1055
1055
  opts = opts || {};
1056
1056
 
1057
1057
  // verify the required parameter 'profileId' is set
1058
- if (profileId === undefined || profileId === null) {
1058
+ if (profileId === undefined || profileId === null || profileId === '') {
1059
1059
  throw 'Missing the required parameter "profileId" when calling getGamificationProfileMetric';
1060
1060
  }
1061
1061
  // verify the required parameter 'metricId' is set
1062
- if (metricId === undefined || metricId === null) {
1062
+ if (metricId === undefined || metricId === null || metricId === '') {
1063
1063
  throw 'Missing the required parameter "metricId" when calling getGamificationProfileMetric';
1064
1064
  }
1065
1065
 
@@ -1090,7 +1090,7 @@ class GamificationApi {
1090
1090
  opts = opts || {};
1091
1091
 
1092
1092
  // verify the required parameter 'profileId' is set
1093
- if (profileId === undefined || profileId === null) {
1093
+ if (profileId === undefined || profileId === null || profileId === '') {
1094
1094
  throw 'Missing the required parameter "profileId" when calling getGamificationProfileMetrics';
1095
1095
  }
1096
1096
 
@@ -1119,7 +1119,7 @@ class GamificationApi {
1119
1119
  opts = opts || {};
1120
1120
 
1121
1121
  // verify the required parameter 'profileId' is set
1122
- if (profileId === undefined || profileId === null) {
1122
+ if (profileId === undefined || profileId === null || profileId === '') {
1123
1123
  throw 'Missing the required parameter "profileId" when calling getGamificationProfileMetricsObjectivedetails';
1124
1124
  }
1125
1125
 
@@ -1168,7 +1168,7 @@ class GamificationApi {
1168
1168
  opts = opts || {};
1169
1169
 
1170
1170
  // verify the required parameter 'userId' is set
1171
- if (userId === undefined || userId === null) {
1171
+ if (userId === undefined || userId === null || userId === '') {
1172
1172
  throw 'Missing the required parameter "userId" when calling getGamificationProfilesUser';
1173
1173
  }
1174
1174
 
@@ -1389,15 +1389,15 @@ class GamificationApi {
1389
1389
  opts = opts || {};
1390
1390
 
1391
1391
  // verify the required parameter 'profileId' is set
1392
- if (profileId === undefined || profileId === null) {
1392
+ if (profileId === undefined || profileId === null || profileId === '') {
1393
1393
  throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
1394
1394
  }
1395
1395
  // verify the required parameter 'metricId' is set
1396
- if (metricId === undefined || metricId === null) {
1396
+ if (metricId === undefined || metricId === null || metricId === '') {
1397
1397
  throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
1398
1398
  }
1399
1399
  // verify the required parameter 'userId' is set
1400
- if (userId === undefined || userId === null) {
1400
+ if (userId === undefined || userId === null || userId === '') {
1401
1401
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
1402
1402
  }
1403
1403
  // verify the required parameter 'startWorkday' is set
@@ -1440,11 +1440,11 @@ class GamificationApi {
1440
1440
  opts = opts || {};
1441
1441
 
1442
1442
  // verify the required parameter 'profileId' is set
1443
- if (profileId === undefined || profileId === null) {
1443
+ if (profileId === undefined || profileId === null || profileId === '') {
1444
1444
  throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
1445
1445
  }
1446
1446
  // verify the required parameter 'metricId' is set
1447
- if (metricId === undefined || metricId === null) {
1447
+ if (metricId === undefined || metricId === null || metricId === '') {
1448
1448
  throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
1449
1449
  }
1450
1450
  // verify the required parameter 'filterType' is set
@@ -1490,11 +1490,11 @@ class GamificationApi {
1490
1490
  opts = opts || {};
1491
1491
 
1492
1492
  // verify the required parameter 'profileId' is set
1493
- if (profileId === undefined || profileId === null) {
1493
+ if (profileId === undefined || profileId === null || profileId === '') {
1494
1494
  throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';
1495
1495
  }
1496
1496
  // verify the required parameter 'metricId' is set
1497
- if (metricId === undefined || metricId === null) {
1497
+ if (metricId === undefined || metricId === null || metricId === '') {
1498
1498
  throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';
1499
1499
  }
1500
1500
  // verify the required parameter 'startWorkday' is set
@@ -1532,7 +1532,7 @@ class GamificationApi {
1532
1532
  opts = opts || {};
1533
1533
 
1534
1534
  // verify the required parameter 'userId' is set
1535
- if (userId === undefined || userId === null) {
1535
+ if (userId === undefined || userId === null || userId === '') {
1536
1536
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUser';
1537
1537
  }
1538
1538
  // verify the required parameter 'workday' is set
@@ -1563,7 +1563,7 @@ class GamificationApi {
1563
1563
  */
1564
1564
  getGamificationScorecardsUserAttendance(userId, startWorkday, endWorkday) {
1565
1565
  // verify the required parameter 'userId' is set
1566
- if (userId === undefined || userId === null) {
1566
+ if (userId === undefined || userId === null || userId === '') {
1567
1567
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUserAttendance';
1568
1568
  }
1569
1569
  // verify the required parameter 'startWorkday' is set
@@ -1596,7 +1596,7 @@ class GamificationApi {
1596
1596
  */
1597
1597
  getGamificationScorecardsUserBestpoints(userId) {
1598
1598
  // verify the required parameter 'userId' is set
1599
- if (userId === undefined || userId === null) {
1599
+ if (userId === undefined || userId === null || userId === '') {
1600
1600
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUserBestpoints';
1601
1601
  }
1602
1602
 
@@ -1622,7 +1622,7 @@ class GamificationApi {
1622
1622
  */
1623
1623
  getGamificationScorecardsUserPointsAlltime(userId, endWorkday) {
1624
1624
  // verify the required parameter 'userId' is set
1625
- if (userId === undefined || userId === null) {
1625
+ if (userId === undefined || userId === null || userId === '') {
1626
1626
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsAlltime';
1627
1627
  }
1628
1628
  // verify the required parameter 'endWorkday' is set
@@ -1657,7 +1657,7 @@ class GamificationApi {
1657
1657
  opts = opts || {};
1658
1658
 
1659
1659
  // verify the required parameter 'userId' is set
1660
- if (userId === undefined || userId === null) {
1660
+ if (userId === undefined || userId === null || userId === '') {
1661
1661
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUserPointsTrends';
1662
1662
  }
1663
1663
  // verify the required parameter 'startWorkday' is set
@@ -1696,7 +1696,7 @@ class GamificationApi {
1696
1696
  opts = opts || {};
1697
1697
 
1698
1698
  // verify the required parameter 'userId' is set
1699
- if (userId === undefined || userId === null) {
1699
+ if (userId === undefined || userId === null || userId === '') {
1700
1700
  throw 'Missing the required parameter "userId" when calling getGamificationScorecardsUserValuesTrends';
1701
1701
  }
1702
1702
  // verify the required parameter 'startWorkday' is set
@@ -1932,7 +1932,7 @@ class GamificationApi {
1932
1932
  */
1933
1933
  getGamificationTemplate(templateId) {
1934
1934
  // verify the required parameter 'templateId' is set
1935
- if (templateId === undefined || templateId === null) {
1935
+ if (templateId === undefined || templateId === null || templateId === '') {
1936
1936
  throw 'Missing the required parameter "templateId" when calling getGamificationTemplate';
1937
1937
  }
1938
1938
 
@@ -1978,7 +1978,7 @@ class GamificationApi {
1978
1978
  */
1979
1979
  patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
1980
1980
  // verify the required parameter 'metricId' is set
1981
- if (metricId === undefined || metricId === null) {
1981
+ if (metricId === undefined || metricId === null || metricId === '') {
1982
1982
  throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
1983
1983
  }
1984
1984
  // verify the required parameter 'body' is set
@@ -2008,7 +2008,7 @@ class GamificationApi {
2008
2008
  */
2009
2009
  patchGamificationContest(contestId, body) {
2010
2010
  // verify the required parameter 'contestId' is set
2011
- if (contestId === undefined || contestId === null) {
2011
+ if (contestId === undefined || contestId === null || contestId === '') {
2012
2012
  throw 'Missing the required parameter "contestId" when calling patchGamificationContest';
2013
2013
  }
2014
2014
  // verify the required parameter 'body' is set
@@ -2135,7 +2135,7 @@ class GamificationApi {
2135
2135
  */
2136
2136
  postGamificationProfileActivate(profileId) {
2137
2137
  // verify the required parameter 'profileId' is set
2138
- if (profileId === undefined || profileId === null) {
2138
+ if (profileId === undefined || profileId === null || profileId === '') {
2139
2139
  throw 'Missing the required parameter "profileId" when calling postGamificationProfileActivate';
2140
2140
  }
2141
2141
 
@@ -2160,7 +2160,7 @@ class GamificationApi {
2160
2160
  */
2161
2161
  postGamificationProfileDeactivate(profileId) {
2162
2162
  // verify the required parameter 'profileId' is set
2163
- if (profileId === undefined || profileId === null) {
2163
+ if (profileId === undefined || profileId === null || profileId === '') {
2164
2164
  throw 'Missing the required parameter "profileId" when calling postGamificationProfileDeactivate';
2165
2165
  }
2166
2166
 
@@ -2186,7 +2186,7 @@ class GamificationApi {
2186
2186
  */
2187
2187
  postGamificationProfileMembers(profileId, body) {
2188
2188
  // verify the required parameter 'profileId' is set
2189
- if (profileId === undefined || profileId === null) {
2189
+ if (profileId === undefined || profileId === null || profileId === '') {
2190
2190
  throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
2191
2191
  }
2192
2192
  // verify the required parameter 'body' is set
@@ -2216,7 +2216,7 @@ class GamificationApi {
2216
2216
  */
2217
2217
  postGamificationProfileMembersValidate(profileId, body) {
2218
2218
  // verify the required parameter 'profileId' is set
2219
- if (profileId === undefined || profileId === null) {
2219
+ if (profileId === undefined || profileId === null || profileId === '') {
2220
2220
  throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
2221
2221
  }
2222
2222
  // verify the required parameter 'body' is set
@@ -2247,11 +2247,11 @@ class GamificationApi {
2247
2247
  */
2248
2248
  postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
2249
2249
  // verify the required parameter 'sourceProfileId' is set
2250
- if (sourceProfileId === undefined || sourceProfileId === null) {
2250
+ if (sourceProfileId === undefined || sourceProfileId === null || sourceProfileId === '') {
2251
2251
  throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
2252
2252
  }
2253
2253
  // verify the required parameter 'sourceMetricId' is set
2254
- if (sourceMetricId === undefined || sourceMetricId === null) {
2254
+ if (sourceMetricId === undefined || sourceMetricId === null || sourceMetricId === '') {
2255
2255
  throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
2256
2256
  }
2257
2257
  // verify the required parameter 'body' is set
@@ -2281,7 +2281,7 @@ class GamificationApi {
2281
2281
  */
2282
2282
  postGamificationProfileMetrics(profileId, body) {
2283
2283
  // verify the required parameter 'profileId' is set
2284
- if (profileId === undefined || profileId === null) {
2284
+ if (profileId === undefined || profileId === null || profileId === '') {
2285
2285
  throw 'Missing the required parameter "profileId" when calling postGamificationProfileMetrics';
2286
2286
  }
2287
2287
  // verify the required parameter 'body' is set
@@ -2340,7 +2340,7 @@ class GamificationApi {
2340
2340
  */
2341
2341
  postGamificationProfilesUserQuery(userId, body) {
2342
2342
  // verify the required parameter 'userId' is set
2343
- if (userId === undefined || userId === null) {
2343
+ if (userId === undefined || userId === null || userId === '') {
2344
2344
  throw 'Missing the required parameter "userId" when calling postGamificationProfilesUserQuery';
2345
2345
  }
2346
2346
  // verify the required parameter 'body' is set
@@ -2395,7 +2395,7 @@ class GamificationApi {
2395
2395
  */
2396
2396
  putGamificationContest(contestId, body) {
2397
2397
  // verify the required parameter 'contestId' is set
2398
- if (contestId === undefined || contestId === null) {
2398
+ if (contestId === undefined || contestId === null || contestId === '') {
2399
2399
  throw 'Missing the required parameter "contestId" when calling putGamificationContest';
2400
2400
  }
2401
2401
  // verify the required parameter 'body' is set
@@ -2428,7 +2428,7 @@ class GamificationApi {
2428
2428
  opts = opts || {};
2429
2429
 
2430
2430
  // verify the required parameter 'profileId' is set
2431
- if (profileId === undefined || profileId === null) {
2431
+ if (profileId === undefined || profileId === null || profileId === '') {
2432
2432
  throw 'Missing the required parameter "profileId" when calling putGamificationProfile';
2433
2433
  }
2434
2434
 
@@ -2455,11 +2455,11 @@ class GamificationApi {
2455
2455
  */
2456
2456
  putGamificationProfileMetric(profileId, metricId, body) {
2457
2457
  // verify the required parameter 'profileId' is set
2458
- if (profileId === undefined || profileId === null) {
2458
+ if (profileId === undefined || profileId === null || profileId === '') {
2459
2459
  throw 'Missing the required parameter "profileId" when calling putGamificationProfileMetric';
2460
2460
  }
2461
2461
  // verify the required parameter 'metricId' is set
2462
- if (metricId === undefined || metricId === null) {
2462
+ if (metricId === undefined || metricId === null || metricId === '') {
2463
2463
  throw 'Missing the required parameter "metricId" when calling putGamificationProfileMetric';
2464
2464
  }
2465
2465
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class GeneralDataProtectionRegulationApi {
27
27
  */
28
28
  getGdprRequest(requestId) {
29
29
  // verify the required parameter 'requestId' is set
30
- if (requestId === undefined || requestId === null) {
30
+ if (requestId === undefined || requestId === null || requestId === '') {
31
31
  throw 'Missing the required parameter "requestId" when calling getGdprRequest';
32
32
  }
33
33
 
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -48,11 +48,11 @@ class GeolocationApi {
48
48
  */
49
49
  getUserGeolocation(userId, clientId) {
50
50
  // verify the required parameter 'userId' is set
51
- if (userId === undefined || userId === null) {
51
+ if (userId === undefined || userId === null || userId === '') {
52
52
  throw 'Missing the required parameter "userId" when calling getUserGeolocation';
53
53
  }
54
54
  // verify the required parameter 'clientId' is set
55
- if (clientId === undefined || clientId === null) {
55
+ if (clientId === undefined || clientId === null || clientId === '') {
56
56
  throw 'Missing the required parameter "clientId" when calling getUserGeolocation';
57
57
  }
58
58
 
@@ -104,11 +104,11 @@ class GeolocationApi {
104
104
  */
105
105
  patchUserGeolocation(userId, clientId, body) {
106
106
  // verify the required parameter 'userId' is set
107
- if (userId === undefined || userId === null) {
107
+ if (userId === undefined || userId === null || userId === '') {
108
108
  throw 'Missing the required parameter "userId" when calling patchUserGeolocation';
109
109
  }
110
110
  // verify the required parameter 'clientId' is set
111
- if (clientId === undefined || clientId === null) {
111
+ if (clientId === undefined || clientId === null || clientId === '') {
112
112
  throw 'Missing the required parameter "clientId" when calling patchUserGeolocation';
113
113
  }
114
114
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class GreetingsApi {
27
27
  */
28
28
  deleteGreeting(greetingId) {
29
29
  // verify the required parameter 'greetingId' is set
30
- if (greetingId === undefined || greetingId === null) {
30
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
31
31
  throw 'Missing the required parameter "greetingId" when calling deleteGreeting';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class GreetingsApi {
52
52
  */
53
53
  getGreeting(greetingId) {
54
54
  // verify the required parameter 'greetingId' is set
55
- if (greetingId === undefined || greetingId === null) {
55
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
56
56
  throw 'Missing the required parameter "greetingId" when calling getGreeting';
57
57
  }
58
58
 
@@ -81,7 +81,7 @@ class GreetingsApi {
81
81
  opts = opts || {};
82
82
 
83
83
  // verify the required parameter 'greetingId' is set
84
- if (greetingId === undefined || greetingId === null) {
84
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
85
85
  throw 'Missing the required parameter "greetingId" when calling getGreetingDownloads';
86
86
  }
87
87
 
@@ -110,7 +110,7 @@ class GreetingsApi {
110
110
  opts = opts || {};
111
111
 
112
112
  // verify the required parameter 'greetingId' is set
113
- if (greetingId === undefined || greetingId === null) {
113
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
114
114
  throw 'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';
115
115
  }
116
116
 
@@ -139,7 +139,7 @@ class GreetingsApi {
139
139
  opts = opts || {};
140
140
 
141
141
  // verify the required parameter 'greetingId' is set
142
- if (greetingId === undefined || greetingId === null) {
142
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
143
143
  throw 'Missing the required parameter "greetingId" when calling getGreetingMedia';
144
144
  }
145
145
 
@@ -168,7 +168,7 @@ class GreetingsApi {
168
168
  opts = opts || {};
169
169
 
170
170
  // verify the required parameter 'greetingId' is set
171
- if (greetingId === undefined || greetingId === null) {
171
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
172
172
  throw 'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';
173
173
  }
174
174
 
@@ -243,7 +243,7 @@ class GreetingsApi {
243
243
  opts = opts || {};
244
244
 
245
245
  // verify the required parameter 'groupId' is set
246
- if (groupId === undefined || groupId === null) {
246
+ if (groupId === undefined || groupId === null || groupId === '') {
247
247
  throw 'Missing the required parameter "groupId" when calling getGroupGreetings';
248
248
  }
249
249
 
@@ -268,7 +268,7 @@ class GreetingsApi {
268
268
  */
269
269
  getGroupGreetingsDefaults(groupId) {
270
270
  // verify the required parameter 'groupId' is set
271
- if (groupId === undefined || groupId === null) {
271
+ if (groupId === undefined || groupId === null || groupId === '') {
272
272
  throw 'Missing the required parameter "groupId" when calling getGroupGreetingsDefaults';
273
273
  }
274
274
 
@@ -298,7 +298,7 @@ class GreetingsApi {
298
298
  opts = opts || {};
299
299
 
300
300
  // verify the required parameter 'userId' is set
301
- if (userId === undefined || userId === null) {
301
+ if (userId === undefined || userId === null || userId === '') {
302
302
  throw 'Missing the required parameter "userId" when calling getUserGreetings';
303
303
  }
304
304
 
@@ -323,7 +323,7 @@ class GreetingsApi {
323
323
  */
324
324
  getUserGreetingsDefaults(userId) {
325
325
  // verify the required parameter 'userId' is set
326
- if (userId === undefined || userId === null) {
326
+ if (userId === undefined || userId === null || userId === '') {
327
327
  throw 'Missing the required parameter "userId" when calling getUserGreetingsDefaults';
328
328
  }
329
329
 
@@ -374,7 +374,7 @@ class GreetingsApi {
374
374
  */
375
375
  postGroupGreetings(groupId, body) {
376
376
  // verify the required parameter 'groupId' is set
377
- if (groupId === undefined || groupId === null) {
377
+ if (groupId === undefined || groupId === null || groupId === '') {
378
378
  throw 'Missing the required parameter "groupId" when calling postGroupGreetings';
379
379
  }
380
380
  // verify the required parameter 'body' is set
@@ -404,7 +404,7 @@ class GreetingsApi {
404
404
  */
405
405
  postUserGreetings(userId, body) {
406
406
  // verify the required parameter 'userId' is set
407
- if (userId === undefined || userId === null) {
407
+ if (userId === undefined || userId === null || userId === '') {
408
408
  throw 'Missing the required parameter "userId" when calling postUserGreetings';
409
409
  }
410
410
  // verify the required parameter 'body' is set
@@ -434,7 +434,7 @@ class GreetingsApi {
434
434
  */
435
435
  putGreeting(greetingId, body) {
436
436
  // verify the required parameter 'greetingId' is set
437
- if (greetingId === undefined || greetingId === null) {
437
+ if (greetingId === undefined || greetingId === null || greetingId === '') {
438
438
  throw 'Missing the required parameter "greetingId" when calling putGreeting';
439
439
  }
440
440
  // verify the required parameter 'body' is set
@@ -489,7 +489,7 @@ class GreetingsApi {
489
489
  */
490
490
  putGroupGreetingsDefaults(groupId, body) {
491
491
  // verify the required parameter 'groupId' is set
492
- if (groupId === undefined || groupId === null) {
492
+ if (groupId === undefined || groupId === null || groupId === '') {
493
493
  throw 'Missing the required parameter "groupId" when calling putGroupGreetingsDefaults';
494
494
  }
495
495
  // verify the required parameter 'body' is set
@@ -519,7 +519,7 @@ class GreetingsApi {
519
519
  */
520
520
  putUserGreetingsDefaults(userId, body) {
521
521
  // verify the required parameter 'userId' is set
522
- if (userId === undefined || userId === null) {
522
+ if (userId === undefined || userId === null || userId === '') {
523
523
  throw 'Missing the required parameter "userId" when calling putUserGreetingsDefaults';
524
524
  }
525
525
  // verify the required parameter 'body' is set