purecloud-platform-client-v2 224.0.0 → 226.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class VoicemailApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Voicemail service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class VoicemailApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteVoicemailMessage(messageId) {
|
|
29
29
|
// verify the required parameter 'messageId' is set
|
|
30
|
-
if (messageId === undefined || messageId === null) {
|
|
30
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
31
31
|
throw 'Missing the required parameter "messageId" when calling deleteVoicemailMessage';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -72,7 +72,7 @@ class VoicemailApi {
|
|
|
72
72
|
*/
|
|
73
73
|
getVoicemailGroupMailbox(groupId) {
|
|
74
74
|
// verify the required parameter 'groupId' is set
|
|
75
|
-
if (groupId === undefined || groupId === null) {
|
|
75
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
76
76
|
throw 'Missing the required parameter "groupId" when calling getVoicemailGroupMailbox';
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -102,7 +102,7 @@ class VoicemailApi {
|
|
|
102
102
|
opts = opts || {};
|
|
103
103
|
|
|
104
104
|
// verify the required parameter 'groupId' is set
|
|
105
|
-
if (groupId === undefined || groupId === null) {
|
|
105
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
106
106
|
throw 'Missing the required parameter "groupId" when calling getVoicemailGroupMessages';
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -127,7 +127,7 @@ class VoicemailApi {
|
|
|
127
127
|
*/
|
|
128
128
|
getVoicemailGroupPolicy(groupId) {
|
|
129
129
|
// verify the required parameter 'groupId' is set
|
|
130
|
-
if (groupId === undefined || groupId === null) {
|
|
130
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
131
131
|
throw 'Missing the required parameter "groupId" when calling getVoicemailGroupPolicy';
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -241,7 +241,7 @@ class VoicemailApi {
|
|
|
241
241
|
opts = opts || {};
|
|
242
242
|
|
|
243
243
|
// verify the required parameter 'messageId' is set
|
|
244
|
-
if (messageId === undefined || messageId === null) {
|
|
244
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
245
245
|
throw 'Missing the required parameter "messageId" when calling getVoicemailMessage';
|
|
246
246
|
}
|
|
247
247
|
|
|
@@ -270,7 +270,7 @@ class VoicemailApi {
|
|
|
270
270
|
opts = opts || {};
|
|
271
271
|
|
|
272
272
|
// verify the required parameter 'messageId' is set
|
|
273
|
-
if (messageId === undefined || messageId === null) {
|
|
273
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
274
274
|
throw 'Missing the required parameter "messageId" when calling getVoicemailMessageMedia';
|
|
275
275
|
}
|
|
276
276
|
|
|
@@ -345,7 +345,7 @@ class VoicemailApi {
|
|
|
345
345
|
opts = opts || {};
|
|
346
346
|
|
|
347
347
|
// verify the required parameter 'queueId' is set
|
|
348
|
-
if (queueId === undefined || queueId === null) {
|
|
348
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
349
349
|
throw 'Missing the required parameter "queueId" when calling getVoicemailQueueMessages';
|
|
350
350
|
}
|
|
351
351
|
|
|
@@ -399,7 +399,7 @@ class VoicemailApi {
|
|
|
399
399
|
*/
|
|
400
400
|
getVoicemailUserMailbox(userId) {
|
|
401
401
|
// verify the required parameter 'userId' is set
|
|
402
|
-
if (userId === undefined || userId === null) {
|
|
402
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
403
403
|
throw 'Missing the required parameter "userId" when calling getVoicemailUserMailbox';
|
|
404
404
|
}
|
|
405
405
|
|
|
@@ -429,7 +429,7 @@ class VoicemailApi {
|
|
|
429
429
|
opts = opts || {};
|
|
430
430
|
|
|
431
431
|
// verify the required parameter 'userId' is set
|
|
432
|
-
if (userId === undefined || userId === null) {
|
|
432
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
433
433
|
throw 'Missing the required parameter "userId" when calling getVoicemailUserMessages';
|
|
434
434
|
}
|
|
435
435
|
|
|
@@ -454,7 +454,7 @@ class VoicemailApi {
|
|
|
454
454
|
*/
|
|
455
455
|
getVoicemailUserpolicy(userId) {
|
|
456
456
|
// verify the required parameter 'userId' is set
|
|
457
|
-
if (userId === undefined || userId === null) {
|
|
457
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
458
458
|
throw 'Missing the required parameter "userId" when calling getVoicemailUserpolicy';
|
|
459
459
|
}
|
|
460
460
|
|
|
@@ -480,7 +480,7 @@ class VoicemailApi {
|
|
|
480
480
|
*/
|
|
481
481
|
patchVoicemailGroupPolicy(groupId, body) {
|
|
482
482
|
// verify the required parameter 'groupId' is set
|
|
483
|
-
if (groupId === undefined || groupId === null) {
|
|
483
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
484
484
|
throw 'Missing the required parameter "groupId" when calling patchVoicemailGroupPolicy';
|
|
485
485
|
}
|
|
486
486
|
// verify the required parameter 'body' is set
|
|
@@ -535,7 +535,7 @@ class VoicemailApi {
|
|
|
535
535
|
*/
|
|
536
536
|
patchVoicemailMessage(messageId, body) {
|
|
537
537
|
// verify the required parameter 'messageId' is set
|
|
538
|
-
if (messageId === undefined || messageId === null) {
|
|
538
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
539
539
|
throw 'Missing the required parameter "messageId" when calling patchVoicemailMessage';
|
|
540
540
|
}
|
|
541
541
|
// verify the required parameter 'body' is set
|
|
@@ -565,7 +565,7 @@ class VoicemailApi {
|
|
|
565
565
|
*/
|
|
566
566
|
patchVoicemailUserpolicy(userId, body) {
|
|
567
567
|
// verify the required parameter 'userId' is set
|
|
568
|
-
if (userId === undefined || userId === null) {
|
|
568
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
569
569
|
throw 'Missing the required parameter "userId" when calling patchVoicemailUserpolicy';
|
|
570
570
|
}
|
|
571
571
|
// verify the required parameter 'body' is set
|
|
@@ -644,7 +644,7 @@ class VoicemailApi {
|
|
|
644
644
|
*/
|
|
645
645
|
putVoicemailMessage(messageId, body) {
|
|
646
646
|
// verify the required parameter 'messageId' is set
|
|
647
|
-
if (messageId === undefined || messageId === null) {
|
|
647
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
648
648
|
throw 'Missing the required parameter "messageId" when calling putVoicemailMessage';
|
|
649
649
|
}
|
|
650
650
|
// verify the required parameter 'body' is set
|
|
@@ -699,7 +699,7 @@ class VoicemailApi {
|
|
|
699
699
|
*/
|
|
700
700
|
putVoicemailUserpolicy(userId, body) {
|
|
701
701
|
// verify the required parameter 'userId' is set
|
|
702
|
-
if (userId === undefined || userId === null) {
|
|
702
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
703
703
|
throw 'Missing the required parameter "userId" when calling putVoicemailUserpolicy';
|
|
704
704
|
}
|
|
705
705
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class WebChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebChat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,7 +28,7 @@ class WebChatApi {
|
|
|
28
28
|
*/
|
|
29
29
|
deleteWebchatDeployment(deploymentId) {
|
|
30
30
|
// verify the required parameter 'deploymentId' is set
|
|
31
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
31
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
32
32
|
throw 'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -55,11 +55,11 @@ class WebChatApi {
|
|
|
55
55
|
*/
|
|
56
56
|
deleteWebchatGuestConversationMember(conversationId, memberId) {
|
|
57
57
|
// verify the required parameter 'conversationId' is set
|
|
58
|
-
if (conversationId === undefined || conversationId === null) {
|
|
58
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
59
59
|
throw 'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';
|
|
60
60
|
}
|
|
61
61
|
// verify the required parameter 'memberId' is set
|
|
62
|
-
if (memberId === undefined || memberId === null) {
|
|
62
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
63
63
|
throw 'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -105,7 +105,7 @@ class WebChatApi {
|
|
|
105
105
|
*/
|
|
106
106
|
getWebchatDeployment(deploymentId) {
|
|
107
107
|
// verify the required parameter 'deploymentId' is set
|
|
108
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
108
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
109
109
|
throw 'Missing the required parameter "deploymentId" when calling getWebchatDeployment';
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -153,11 +153,11 @@ class WebChatApi {
|
|
|
153
153
|
*/
|
|
154
154
|
getWebchatGuestConversationMediarequest(conversationId, mediaRequestId) {
|
|
155
155
|
// verify the required parameter 'conversationId' is set
|
|
156
|
-
if (conversationId === undefined || conversationId === null) {
|
|
156
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
157
157
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequest';
|
|
158
158
|
}
|
|
159
159
|
// verify the required parameter 'mediaRequestId' is set
|
|
160
|
-
if (mediaRequestId === undefined || mediaRequestId === null) {
|
|
160
|
+
if (mediaRequestId === undefined || mediaRequestId === null || mediaRequestId === '') {
|
|
161
161
|
throw 'Missing the required parameter "mediaRequestId" when calling getWebchatGuestConversationMediarequest';
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -183,7 +183,7 @@ class WebChatApi {
|
|
|
183
183
|
*/
|
|
184
184
|
getWebchatGuestConversationMediarequests(conversationId) {
|
|
185
185
|
// verify the required parameter 'conversationId' is set
|
|
186
|
-
if (conversationId === undefined || conversationId === null) {
|
|
186
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
187
187
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMediarequests';
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -210,11 +210,11 @@ class WebChatApi {
|
|
|
210
210
|
*/
|
|
211
211
|
getWebchatGuestConversationMember(conversationId, memberId) {
|
|
212
212
|
// verify the required parameter 'conversationId' is set
|
|
213
|
-
if (conversationId === undefined || conversationId === null) {
|
|
213
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
214
214
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMember';
|
|
215
215
|
}
|
|
216
216
|
// verify the required parameter 'memberId' is set
|
|
217
|
-
if (memberId === undefined || memberId === null) {
|
|
217
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
218
218
|
throw 'Missing the required parameter "memberId" when calling getWebchatGuestConversationMember';
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -246,7 +246,7 @@ class WebChatApi {
|
|
|
246
246
|
opts = opts || {};
|
|
247
247
|
|
|
248
248
|
// verify the required parameter 'conversationId' is set
|
|
249
|
-
if (conversationId === undefined || conversationId === null) {
|
|
249
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
250
250
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMembers';
|
|
251
251
|
}
|
|
252
252
|
|
|
@@ -273,11 +273,11 @@ class WebChatApi {
|
|
|
273
273
|
*/
|
|
274
274
|
getWebchatGuestConversationMessage(conversationId, messageId) {
|
|
275
275
|
// verify the required parameter 'conversationId' is set
|
|
276
|
-
if (conversationId === undefined || conversationId === null) {
|
|
276
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
277
277
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessage';
|
|
278
278
|
}
|
|
279
279
|
// verify the required parameter 'messageId' is set
|
|
280
|
-
if (messageId === undefined || messageId === null) {
|
|
280
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
281
281
|
throw 'Missing the required parameter "messageId" when calling getWebchatGuestConversationMessage';
|
|
282
282
|
}
|
|
283
283
|
|
|
@@ -310,7 +310,7 @@ class WebChatApi {
|
|
|
310
310
|
opts = opts || {};
|
|
311
311
|
|
|
312
312
|
// verify the required parameter 'conversationId' is set
|
|
313
|
-
if (conversationId === undefined || conversationId === null) {
|
|
313
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
314
314
|
throw 'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';
|
|
315
315
|
}
|
|
316
316
|
|
|
@@ -358,11 +358,11 @@ class WebChatApi {
|
|
|
358
358
|
*/
|
|
359
359
|
patchWebchatGuestConversationMediarequest(conversationId, mediaRequestId, body) {
|
|
360
360
|
// verify the required parameter 'conversationId' is set
|
|
361
|
-
if (conversationId === undefined || conversationId === null) {
|
|
361
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
362
362
|
throw 'Missing the required parameter "conversationId" when calling patchWebchatGuestConversationMediarequest';
|
|
363
363
|
}
|
|
364
364
|
// verify the required parameter 'mediaRequestId' is set
|
|
365
|
-
if (mediaRequestId === undefined || mediaRequestId === null) {
|
|
365
|
+
if (mediaRequestId === undefined || mediaRequestId === null || mediaRequestId === '') {
|
|
366
366
|
throw 'Missing the required parameter "mediaRequestId" when calling patchWebchatGuestConversationMediarequest';
|
|
367
367
|
}
|
|
368
368
|
// verify the required parameter 'body' is set
|
|
@@ -420,11 +420,11 @@ class WebChatApi {
|
|
|
420
420
|
*/
|
|
421
421
|
postWebchatGuestConversationMemberMessages(conversationId, memberId, body) {
|
|
422
422
|
// verify the required parameter 'conversationId' is set
|
|
423
|
-
if (conversationId === undefined || conversationId === null) {
|
|
423
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
424
424
|
throw 'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberMessages';
|
|
425
425
|
}
|
|
426
426
|
// verify the required parameter 'memberId' is set
|
|
427
|
-
if (memberId === undefined || memberId === null) {
|
|
427
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
428
428
|
throw 'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberMessages';
|
|
429
429
|
}
|
|
430
430
|
// verify the required parameter 'body' is set
|
|
@@ -455,11 +455,11 @@ class WebChatApi {
|
|
|
455
455
|
*/
|
|
456
456
|
postWebchatGuestConversationMemberTyping(conversationId, memberId) {
|
|
457
457
|
// verify the required parameter 'conversationId' is set
|
|
458
|
-
if (conversationId === undefined || conversationId === null) {
|
|
458
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
459
459
|
throw 'Missing the required parameter "conversationId" when calling postWebchatGuestConversationMemberTyping';
|
|
460
460
|
}
|
|
461
461
|
// verify the required parameter 'memberId' is set
|
|
462
|
-
if (memberId === undefined || memberId === null) {
|
|
462
|
+
if (memberId === undefined || memberId === null || memberId === '') {
|
|
463
463
|
throw 'Missing the required parameter "memberId" when calling postWebchatGuestConversationMemberTyping';
|
|
464
464
|
}
|
|
465
465
|
|
|
@@ -512,7 +512,7 @@ class WebChatApi {
|
|
|
512
512
|
*/
|
|
513
513
|
putWebchatDeployment(deploymentId, body) {
|
|
514
514
|
// verify the required parameter 'deploymentId' is set
|
|
515
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
515
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
516
516
|
throw 'Missing the required parameter "deploymentId" when calling putWebchatDeployment';
|
|
517
517
|
}
|
|
518
518
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebDeployments service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class WebDeploymentsApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteWebdeploymentsConfiguration(configurationId) {
|
|
29
29
|
// verify the required parameter 'configurationId' is set
|
|
30
|
-
if (configurationId === undefined || configurationId === null) {
|
|
30
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
31
31
|
throw 'Missing the required parameter "configurationId" when calling deleteWebdeploymentsConfiguration';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class WebDeploymentsApi {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteWebdeploymentsDeployment(deploymentId) {
|
|
54
54
|
// verify the required parameter 'deploymentId' is set
|
|
55
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
55
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
56
56
|
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeployment';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -78,11 +78,11 @@ class WebDeploymentsApi {
|
|
|
78
78
|
*/
|
|
79
79
|
deleteWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
80
80
|
// verify the required parameter 'deploymentId' is set
|
|
81
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
81
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
82
82
|
throw 'Missing the required parameter "deploymentId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
83
83
|
}
|
|
84
84
|
// verify the required parameter 'sessionId' is set
|
|
85
|
-
if (sessionId === undefined || sessionId === null) {
|
|
85
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
86
86
|
throw 'Missing the required parameter "sessionId" when calling deleteWebdeploymentsDeploymentCobrowseSessionId';
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -133,11 +133,11 @@ class WebDeploymentsApi {
|
|
|
133
133
|
*/
|
|
134
134
|
getWebdeploymentsConfigurationVersion(configurationId, versionId) {
|
|
135
135
|
// verify the required parameter 'configurationId' is set
|
|
136
|
-
if (configurationId === undefined || configurationId === null) {
|
|
136
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
137
137
|
throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersion';
|
|
138
138
|
}
|
|
139
139
|
// verify the required parameter 'versionId' is set
|
|
140
|
-
if (versionId === undefined || versionId === null) {
|
|
140
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
141
141
|
throw 'Missing the required parameter "versionId" when calling getWebdeploymentsConfigurationVersion';
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -162,7 +162,7 @@ class WebDeploymentsApi {
|
|
|
162
162
|
*/
|
|
163
163
|
getWebdeploymentsConfigurationVersions(configurationId) {
|
|
164
164
|
// verify the required parameter 'configurationId' is set
|
|
165
|
-
if (configurationId === undefined || configurationId === null) {
|
|
165
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
166
166
|
throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -187,7 +187,7 @@ class WebDeploymentsApi {
|
|
|
187
187
|
*/
|
|
188
188
|
getWebdeploymentsConfigurationVersionsDraft(configurationId) {
|
|
189
189
|
// verify the required parameter 'configurationId' is set
|
|
190
|
-
if (configurationId === undefined || configurationId === null) {
|
|
190
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
191
191
|
throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersionsDraft';
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -240,7 +240,7 @@ class WebDeploymentsApi {
|
|
|
240
240
|
opts = opts || {};
|
|
241
241
|
|
|
242
242
|
// verify the required parameter 'deploymentId' is set
|
|
243
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
243
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
244
244
|
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeployment';
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -266,11 +266,11 @@ class WebDeploymentsApi {
|
|
|
266
266
|
*/
|
|
267
267
|
getWebdeploymentsDeploymentCobrowseSessionId(deploymentId, sessionId) {
|
|
268
268
|
// verify the required parameter 'deploymentId' is set
|
|
269
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
269
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
270
270
|
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
271
271
|
}
|
|
272
272
|
// verify the required parameter 'sessionId' is set
|
|
273
|
-
if (sessionId === undefined || sessionId === null) {
|
|
273
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
274
274
|
throw 'Missing the required parameter "sessionId" when calling getWebdeploymentsDeploymentCobrowseSessionId';
|
|
275
275
|
}
|
|
276
276
|
|
|
@@ -300,7 +300,7 @@ class WebDeploymentsApi {
|
|
|
300
300
|
opts = opts || {};
|
|
301
301
|
|
|
302
302
|
// verify the required parameter 'deploymentId' is set
|
|
303
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
303
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
304
304
|
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
|
|
305
305
|
}
|
|
306
306
|
|
|
@@ -325,7 +325,7 @@ class WebDeploymentsApi {
|
|
|
325
325
|
*/
|
|
326
326
|
getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
|
|
327
327
|
// verify the required parameter 'deploymentId' is set
|
|
328
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
328
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
329
329
|
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -374,7 +374,7 @@ class WebDeploymentsApi {
|
|
|
374
374
|
*/
|
|
375
375
|
postWebdeploymentsConfigurationVersionsDraftPublish(configurationId) {
|
|
376
376
|
// verify the required parameter 'configurationId' is set
|
|
377
|
-
if (configurationId === undefined || configurationId === null) {
|
|
377
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
378
378
|
throw 'Missing the required parameter "configurationId" when calling postWebdeploymentsConfigurationVersionsDraftPublish';
|
|
379
379
|
}
|
|
380
380
|
|
|
@@ -499,7 +499,7 @@ class WebDeploymentsApi {
|
|
|
499
499
|
*/
|
|
500
500
|
putWebdeploymentsConfigurationVersionsDraft(configurationId, configurationVersion) {
|
|
501
501
|
// verify the required parameter 'configurationId' is set
|
|
502
|
-
if (configurationId === undefined || configurationId === null) {
|
|
502
|
+
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
503
503
|
throw 'Missing the required parameter "configurationId" when calling putWebdeploymentsConfigurationVersionsDraft';
|
|
504
504
|
}
|
|
505
505
|
// verify the required parameter 'configurationVersion' is set
|
|
@@ -529,7 +529,7 @@ class WebDeploymentsApi {
|
|
|
529
529
|
*/
|
|
530
530
|
putWebdeploymentsDeployment(deploymentId, deployment) {
|
|
531
531
|
// verify the required parameter 'deploymentId' is set
|
|
532
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
532
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
533
533
|
throw 'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';
|
|
534
534
|
}
|
|
535
535
|
// verify the required parameter 'deployment' is set
|
|
@@ -559,7 +559,7 @@ class WebDeploymentsApi {
|
|
|
559
559
|
*/
|
|
560
560
|
putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
|
|
561
561
|
// verify the required parameter 'deploymentId' is set
|
|
562
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
562
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
563
563
|
throw 'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';
|
|
564
564
|
}
|
|
565
565
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class WidgetsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Widgets service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,7 +28,7 @@ class WidgetsApi {
|
|
|
28
28
|
*/
|
|
29
29
|
deleteWidgetsDeployment(deploymentId) {
|
|
30
30
|
// verify the required parameter 'deploymentId' is set
|
|
31
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
31
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
32
32
|
throw 'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -54,7 +54,7 @@ class WidgetsApi {
|
|
|
54
54
|
*/
|
|
55
55
|
getWidgetsDeployment(deploymentId) {
|
|
56
56
|
// verify the required parameter 'deploymentId' is set
|
|
57
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
57
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
58
58
|
throw 'Missing the required parameter "deploymentId" when calling getWidgetsDeployment';
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -128,7 +128,7 @@ class WidgetsApi {
|
|
|
128
128
|
*/
|
|
129
129
|
putWidgetsDeployment(deploymentId, body) {
|
|
130
130
|
// verify the required parameter 'deploymentId' is set
|
|
131
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
131
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
132
132
|
throw 'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';
|
|
133
133
|
}
|
|
134
134
|
// verify the required parameter 'body' is set
|