purecloud-platform-client-v2 223.0.0 → 225.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +825 -249
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class GamificationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Gamification service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.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
|
|
8
|
+
* @version 225.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
|
|
8
|
+
* @version 225.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
|
|
8
|
+
* @version 225.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
|
|
|
@@ -71,17 +71,75 @@ class GreetingsApi {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Download a organization greeting recording
|
|
75
75
|
*
|
|
76
76
|
* @param {String} greetingId Greeting ID
|
|
77
77
|
* @param {Object} opts Optional parameters
|
|
78
78
|
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
79
79
|
*/
|
|
80
|
+
getGreetingDownloads(greetingId, opts) {
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
|
|
83
|
+
// verify the required parameter 'greetingId' is set
|
|
84
|
+
if (greetingId === undefined || greetingId === null || greetingId === '') {
|
|
85
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingDownloads';
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return this.apiClient.callApi(
|
|
89
|
+
'/api/v2/greetings/{greetingId}/downloads',
|
|
90
|
+
'GET',
|
|
91
|
+
{ 'greetingId': greetingId },
|
|
92
|
+
{ 'formatId': opts['formatId'] },
|
|
93
|
+
{ },
|
|
94
|
+
{ },
|
|
95
|
+
null,
|
|
96
|
+
['PureCloud OAuth'],
|
|
97
|
+
['application/json'],
|
|
98
|
+
['application/json']
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Download a group greeting recording
|
|
104
|
+
*
|
|
105
|
+
* @param {String} greetingId Greeting ID
|
|
106
|
+
* @param {Object} opts Optional parameters
|
|
107
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
108
|
+
*/
|
|
109
|
+
getGreetingGroupsDownloads(greetingId, opts) {
|
|
110
|
+
opts = opts || {};
|
|
111
|
+
|
|
112
|
+
// verify the required parameter 'greetingId' is set
|
|
113
|
+
if (greetingId === undefined || greetingId === null || greetingId === '') {
|
|
114
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingGroupsDownloads';
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return this.apiClient.callApi(
|
|
118
|
+
'/api/v2/greetings/{greetingId}/groups/downloads',
|
|
119
|
+
'GET',
|
|
120
|
+
{ 'greetingId': greetingId },
|
|
121
|
+
{ 'formatId': opts['formatId'] },
|
|
122
|
+
{ },
|
|
123
|
+
{ },
|
|
124
|
+
null,
|
|
125
|
+
['PureCloud OAuth'],
|
|
126
|
+
['application/json'],
|
|
127
|
+
['application/json']
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Get media playback URI for this greeting
|
|
133
|
+
* API should migrate to use GET api/v2/greetings/{greetingId}/downloads
|
|
134
|
+
* @param {String} greetingId Greeting ID
|
|
135
|
+
* @param {Object} opts Optional parameters
|
|
136
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
137
|
+
*/
|
|
80
138
|
getGreetingMedia(greetingId, opts) {
|
|
81
139
|
opts = opts || {};
|
|
82
140
|
|
|
83
141
|
// verify the required parameter 'greetingId' is set
|
|
84
|
-
if (greetingId === undefined || greetingId === null) {
|
|
142
|
+
if (greetingId === undefined || greetingId === null || greetingId === '') {
|
|
85
143
|
throw 'Missing the required parameter "greetingId" when calling getGreetingMedia';
|
|
86
144
|
}
|
|
87
145
|
|
|
@@ -99,6 +157,35 @@ class GreetingsApi {
|
|
|
99
157
|
);
|
|
100
158
|
}
|
|
101
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Download a user greeting recording
|
|
162
|
+
*
|
|
163
|
+
* @param {String} greetingId Greeting ID
|
|
164
|
+
* @param {Object} opts Optional parameters
|
|
165
|
+
* @param {Object} opts.formatId The desired media format. (default to WAV)
|
|
166
|
+
*/
|
|
167
|
+
getGreetingUsersDownloads(greetingId, opts) {
|
|
168
|
+
opts = opts || {};
|
|
169
|
+
|
|
170
|
+
// verify the required parameter 'greetingId' is set
|
|
171
|
+
if (greetingId === undefined || greetingId === null || greetingId === '') {
|
|
172
|
+
throw 'Missing the required parameter "greetingId" when calling getGreetingUsersDownloads';
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return this.apiClient.callApi(
|
|
176
|
+
'/api/v2/greetings/{greetingId}/users/downloads',
|
|
177
|
+
'GET',
|
|
178
|
+
{ 'greetingId': greetingId },
|
|
179
|
+
{ 'formatId': opts['formatId'] },
|
|
180
|
+
{ },
|
|
181
|
+
{ },
|
|
182
|
+
null,
|
|
183
|
+
['PureCloud OAuth'],
|
|
184
|
+
['application/json'],
|
|
185
|
+
['application/json']
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
102
189
|
/**
|
|
103
190
|
* Gets an Organization's Greetings
|
|
104
191
|
*
|
|
@@ -156,7 +243,7 @@ class GreetingsApi {
|
|
|
156
243
|
opts = opts || {};
|
|
157
244
|
|
|
158
245
|
// verify the required parameter 'groupId' is set
|
|
159
|
-
if (groupId === undefined || groupId === null) {
|
|
246
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
160
247
|
throw 'Missing the required parameter "groupId" when calling getGroupGreetings';
|
|
161
248
|
}
|
|
162
249
|
|
|
@@ -181,7 +268,7 @@ class GreetingsApi {
|
|
|
181
268
|
*/
|
|
182
269
|
getGroupGreetingsDefaults(groupId) {
|
|
183
270
|
// verify the required parameter 'groupId' is set
|
|
184
|
-
if (groupId === undefined || groupId === null) {
|
|
271
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
185
272
|
throw 'Missing the required parameter "groupId" when calling getGroupGreetingsDefaults';
|
|
186
273
|
}
|
|
187
274
|
|
|
@@ -211,7 +298,7 @@ class GreetingsApi {
|
|
|
211
298
|
opts = opts || {};
|
|
212
299
|
|
|
213
300
|
// verify the required parameter 'userId' is set
|
|
214
|
-
if (userId === undefined || userId === null) {
|
|
301
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
215
302
|
throw 'Missing the required parameter "userId" when calling getUserGreetings';
|
|
216
303
|
}
|
|
217
304
|
|
|
@@ -236,7 +323,7 @@ class GreetingsApi {
|
|
|
236
323
|
*/
|
|
237
324
|
getUserGreetingsDefaults(userId) {
|
|
238
325
|
// verify the required parameter 'userId' is set
|
|
239
|
-
if (userId === undefined || userId === null) {
|
|
326
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
240
327
|
throw 'Missing the required parameter "userId" when calling getUserGreetingsDefaults';
|
|
241
328
|
}
|
|
242
329
|
|
|
@@ -287,7 +374,7 @@ class GreetingsApi {
|
|
|
287
374
|
*/
|
|
288
375
|
postGroupGreetings(groupId, body) {
|
|
289
376
|
// verify the required parameter 'groupId' is set
|
|
290
|
-
if (groupId === undefined || groupId === null) {
|
|
377
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
291
378
|
throw 'Missing the required parameter "groupId" when calling postGroupGreetings';
|
|
292
379
|
}
|
|
293
380
|
// verify the required parameter 'body' is set
|
|
@@ -317,7 +404,7 @@ class GreetingsApi {
|
|
|
317
404
|
*/
|
|
318
405
|
postUserGreetings(userId, body) {
|
|
319
406
|
// verify the required parameter 'userId' is set
|
|
320
|
-
if (userId === undefined || userId === null) {
|
|
407
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
321
408
|
throw 'Missing the required parameter "userId" when calling postUserGreetings';
|
|
322
409
|
}
|
|
323
410
|
// verify the required parameter 'body' is set
|
|
@@ -347,7 +434,7 @@ class GreetingsApi {
|
|
|
347
434
|
*/
|
|
348
435
|
putGreeting(greetingId, body) {
|
|
349
436
|
// verify the required parameter 'greetingId' is set
|
|
350
|
-
if (greetingId === undefined || greetingId === null) {
|
|
437
|
+
if (greetingId === undefined || greetingId === null || greetingId === '') {
|
|
351
438
|
throw 'Missing the required parameter "greetingId" when calling putGreeting';
|
|
352
439
|
}
|
|
353
440
|
// verify the required parameter 'body' is set
|
|
@@ -402,7 +489,7 @@ class GreetingsApi {
|
|
|
402
489
|
*/
|
|
403
490
|
putGroupGreetingsDefaults(groupId, body) {
|
|
404
491
|
// verify the required parameter 'groupId' is set
|
|
405
|
-
if (groupId === undefined || groupId === null) {
|
|
492
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
406
493
|
throw 'Missing the required parameter "groupId" when calling putGroupGreetingsDefaults';
|
|
407
494
|
}
|
|
408
495
|
// verify the required parameter 'body' is set
|
|
@@ -432,7 +519,7 @@ class GreetingsApi {
|
|
|
432
519
|
*/
|
|
433
520
|
putUserGreetingsDefaults(userId, body) {
|
|
434
521
|
// verify the required parameter 'userId' is set
|
|
435
|
-
if (userId === undefined || userId === null) {
|
|
522
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
436
523
|
throw 'Missing the required parameter "userId" when calling putUserGreetingsDefaults';
|
|
437
524
|
}
|
|
438
525
|
// verify the required parameter 'body' is set
|