purecloud-platform-client-v2 224.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 +2705 -2649
- package/dist/web-amd/purecloud-platform-client-v2.js +2705 -2649
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2636 -2630
- package/dist/web-cjs/purecloud-platform-client-v2.js +2636 -2630
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +95 -0
- 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 +342 -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 +80 -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 +119 -119
- 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 -317
- 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 RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -29,15 +29,15 @@ class RecordingApi {
|
|
|
29
29
|
*/
|
|
30
30
|
deleteConversationRecordingAnnotation(conversationId, recordingId, annotationId) {
|
|
31
31
|
// verify the required parameter 'conversationId' is set
|
|
32
|
-
if (conversationId === undefined || conversationId === null) {
|
|
32
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
33
33
|
throw 'Missing the required parameter "conversationId" when calling deleteConversationRecordingAnnotation';
|
|
34
34
|
}
|
|
35
35
|
// verify the required parameter 'recordingId' is set
|
|
36
|
-
if (recordingId === undefined || recordingId === null) {
|
|
36
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
37
37
|
throw 'Missing the required parameter "recordingId" when calling deleteConversationRecordingAnnotation';
|
|
38
38
|
}
|
|
39
39
|
// verify the required parameter 'annotationId' is set
|
|
40
|
-
if (annotationId === undefined || annotationId === null) {
|
|
40
|
+
if (annotationId === undefined || annotationId === null || annotationId === '') {
|
|
41
41
|
throw 'Missing the required parameter "annotationId" when calling deleteConversationRecordingAnnotation';
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -62,7 +62,7 @@ class RecordingApi {
|
|
|
62
62
|
*/
|
|
63
63
|
deleteOrphanrecording(orphanId) {
|
|
64
64
|
// verify the required parameter 'orphanId' is set
|
|
65
|
-
if (orphanId === undefined || orphanId === null) {
|
|
65
|
+
if (orphanId === undefined || orphanId === null || orphanId === '') {
|
|
66
66
|
throw 'Missing the required parameter "orphanId" when calling deleteOrphanrecording';
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -112,7 +112,7 @@ class RecordingApi {
|
|
|
112
112
|
*/
|
|
113
113
|
deleteRecordingCrossplatformMediaretentionpolicy(policyId) {
|
|
114
114
|
// verify the required parameter 'policyId' is set
|
|
115
|
-
if (policyId === undefined || policyId === null) {
|
|
115
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
116
116
|
throw 'Missing the required parameter "policyId" when calling deleteRecordingCrossplatformMediaretentionpolicy';
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -137,7 +137,7 @@ class RecordingApi {
|
|
|
137
137
|
*/
|
|
138
138
|
deleteRecordingJob(jobId) {
|
|
139
139
|
// verify the required parameter 'jobId' is set
|
|
140
|
-
if (jobId === undefined || jobId === null) {
|
|
140
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
141
141
|
throw 'Missing the required parameter "jobId" when calling deleteRecordingJob';
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -187,7 +187,7 @@ class RecordingApi {
|
|
|
187
187
|
*/
|
|
188
188
|
deleteRecordingMediaretentionpolicy(policyId) {
|
|
189
189
|
// verify the required parameter 'policyId' is set
|
|
190
|
-
if (policyId === undefined || policyId === null) {
|
|
190
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
191
191
|
throw 'Missing the required parameter "policyId" when calling deleteRecordingMediaretentionpolicy';
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -224,11 +224,11 @@ class RecordingApi {
|
|
|
224
224
|
opts = opts || {};
|
|
225
225
|
|
|
226
226
|
// verify the required parameter 'conversationId' is set
|
|
227
|
-
if (conversationId === undefined || conversationId === null) {
|
|
227
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
228
228
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecording';
|
|
229
229
|
}
|
|
230
230
|
// verify the required parameter 'recordingId' is set
|
|
231
|
-
if (recordingId === undefined || recordingId === null) {
|
|
231
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
232
232
|
throw 'Missing the required parameter "recordingId" when calling getConversationRecording';
|
|
233
233
|
}
|
|
234
234
|
|
|
@@ -255,15 +255,15 @@ class RecordingApi {
|
|
|
255
255
|
*/
|
|
256
256
|
getConversationRecordingAnnotation(conversationId, recordingId, annotationId) {
|
|
257
257
|
// verify the required parameter 'conversationId' is set
|
|
258
|
-
if (conversationId === undefined || conversationId === null) {
|
|
258
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
259
259
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotation';
|
|
260
260
|
}
|
|
261
261
|
// verify the required parameter 'recordingId' is set
|
|
262
|
-
if (recordingId === undefined || recordingId === null) {
|
|
262
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
263
263
|
throw 'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotation';
|
|
264
264
|
}
|
|
265
265
|
// verify the required parameter 'annotationId' is set
|
|
266
|
-
if (annotationId === undefined || annotationId === null) {
|
|
266
|
+
if (annotationId === undefined || annotationId === null || annotationId === '') {
|
|
267
267
|
throw 'Missing the required parameter "annotationId" when calling getConversationRecordingAnnotation';
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -289,11 +289,11 @@ class RecordingApi {
|
|
|
289
289
|
*/
|
|
290
290
|
getConversationRecordingAnnotations(conversationId, recordingId) {
|
|
291
291
|
// verify the required parameter 'conversationId' is set
|
|
292
|
-
if (conversationId === undefined || conversationId === null) {
|
|
292
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
293
293
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';
|
|
294
294
|
}
|
|
295
295
|
// verify the required parameter 'recordingId' is set
|
|
296
|
-
if (recordingId === undefined || recordingId === null) {
|
|
296
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
297
297
|
throw 'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -318,7 +318,7 @@ class RecordingApi {
|
|
|
318
318
|
*/
|
|
319
319
|
getConversationRecordingmetadata(conversationId) {
|
|
320
320
|
// verify the required parameter 'conversationId' is set
|
|
321
|
-
if (conversationId === undefined || conversationId === null) {
|
|
321
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
322
322
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecordingmetadata';
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -344,11 +344,11 @@ class RecordingApi {
|
|
|
344
344
|
*/
|
|
345
345
|
getConversationRecordingmetadataRecordingId(conversationId, recordingId) {
|
|
346
346
|
// verify the required parameter 'conversationId' is set
|
|
347
|
-
if (conversationId === undefined || conversationId === null) {
|
|
347
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
348
348
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecordingmetadataRecordingId';
|
|
349
349
|
}
|
|
350
350
|
// verify the required parameter 'recordingId' is set
|
|
351
|
-
if (recordingId === undefined || recordingId === null) {
|
|
351
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
352
352
|
throw 'Missing the required parameter "recordingId" when calling getConversationRecordingmetadataRecordingId';
|
|
353
353
|
}
|
|
354
354
|
|
|
@@ -381,7 +381,7 @@ class RecordingApi {
|
|
|
381
381
|
opts = opts || {};
|
|
382
382
|
|
|
383
383
|
// verify the required parameter 'conversationId' is set
|
|
384
|
-
if (conversationId === undefined || conversationId === null) {
|
|
384
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
385
385
|
throw 'Missing the required parameter "conversationId" when calling getConversationRecordings';
|
|
386
386
|
}
|
|
387
387
|
|
|
@@ -406,7 +406,7 @@ class RecordingApi {
|
|
|
406
406
|
*/
|
|
407
407
|
getOrphanrecording(orphanId) {
|
|
408
408
|
// verify the required parameter 'orphanId' is set
|
|
409
|
-
if (orphanId === undefined || orphanId === null) {
|
|
409
|
+
if (orphanId === undefined || orphanId === null || orphanId === '') {
|
|
410
410
|
throw 'Missing the required parameter "orphanId" when calling getOrphanrecording';
|
|
411
411
|
}
|
|
412
412
|
|
|
@@ -442,7 +442,7 @@ class RecordingApi {
|
|
|
442
442
|
opts = opts || {};
|
|
443
443
|
|
|
444
444
|
// verify the required parameter 'orphanId' is set
|
|
445
|
-
if (orphanId === undefined || orphanId === null) {
|
|
445
|
+
if (orphanId === undefined || orphanId === null || orphanId === '') {
|
|
446
446
|
throw 'Missing the required parameter "orphanId" when calling getOrphanrecordingMedia';
|
|
447
447
|
}
|
|
448
448
|
|
|
@@ -498,7 +498,7 @@ class RecordingApi {
|
|
|
498
498
|
*/
|
|
499
499
|
getRecordingBatchrequest(jobId) {
|
|
500
500
|
// verify the required parameter 'jobId' is set
|
|
501
|
-
if (jobId === undefined || jobId === null) {
|
|
501
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
502
502
|
throw 'Missing the required parameter "jobId" when calling getRecordingBatchrequest';
|
|
503
503
|
}
|
|
504
504
|
|
|
@@ -557,7 +557,7 @@ class RecordingApi {
|
|
|
557
557
|
*/
|
|
558
558
|
getRecordingCrossplatformMediaretentionpolicy(policyId) {
|
|
559
559
|
// verify the required parameter 'policyId' is set
|
|
560
|
-
if (policyId === undefined || policyId === null) {
|
|
560
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
561
561
|
throw 'Missing the required parameter "policyId" when calling getRecordingCrossplatformMediaretentionpolicy';
|
|
562
562
|
}
|
|
563
563
|
|
|
@@ -582,7 +582,7 @@ class RecordingApi {
|
|
|
582
582
|
*/
|
|
583
583
|
getRecordingJob(jobId) {
|
|
584
584
|
// verify the required parameter 'jobId' is set
|
|
585
|
-
if (jobId === undefined || jobId === null) {
|
|
585
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
586
586
|
throw 'Missing the required parameter "jobId" when calling getRecordingJob';
|
|
587
587
|
}
|
|
588
588
|
|
|
@@ -614,7 +614,7 @@ class RecordingApi {
|
|
|
614
614
|
opts = opts || {};
|
|
615
615
|
|
|
616
616
|
// verify the required parameter 'jobId' is set
|
|
617
|
-
if (jobId === undefined || jobId === null) {
|
|
617
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
618
618
|
throw 'Missing the required parameter "jobId" when calling getRecordingJobFailedrecordings';
|
|
619
619
|
}
|
|
620
620
|
|
|
@@ -670,7 +670,7 @@ class RecordingApi {
|
|
|
670
670
|
*/
|
|
671
671
|
getRecordingKeyconfiguration(keyConfigurationId) {
|
|
672
672
|
// verify the required parameter 'keyConfigurationId' is set
|
|
673
|
-
if (keyConfigurationId === undefined || keyConfigurationId === null) {
|
|
673
|
+
if (keyConfigurationId === undefined || keyConfigurationId === null || keyConfigurationId === '') {
|
|
674
674
|
throw 'Missing the required parameter "keyConfigurationId" when calling getRecordingKeyconfiguration';
|
|
675
675
|
}
|
|
676
676
|
|
|
@@ -749,7 +749,7 @@ class RecordingApi {
|
|
|
749
749
|
*/
|
|
750
750
|
getRecordingMediaretentionpolicy(policyId) {
|
|
751
751
|
// verify the required parameter 'policyId' is set
|
|
752
|
-
if (policyId === undefined || policyId === null) {
|
|
752
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
753
753
|
throw 'Missing the required parameter "policyId" when calling getRecordingMediaretentionpolicy';
|
|
754
754
|
}
|
|
755
755
|
|
|
@@ -843,7 +843,7 @@ class RecordingApi {
|
|
|
843
843
|
*/
|
|
844
844
|
getRecordingUploadsReport(reportId) {
|
|
845
845
|
// verify the required parameter 'reportId' is set
|
|
846
|
-
if (reportId === undefined || reportId === null) {
|
|
846
|
+
if (reportId === undefined || reportId === null || reportId === '') {
|
|
847
847
|
throw 'Missing the required parameter "reportId" when calling getRecordingUploadsReport';
|
|
848
848
|
}
|
|
849
849
|
|
|
@@ -919,7 +919,7 @@ class RecordingApi {
|
|
|
919
919
|
*/
|
|
920
920
|
patchRecordingCrossplatformMediaretentionpolicy(policyId, body) {
|
|
921
921
|
// verify the required parameter 'policyId' is set
|
|
922
|
-
if (policyId === undefined || policyId === null) {
|
|
922
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
923
923
|
throw 'Missing the required parameter "policyId" when calling patchRecordingCrossplatformMediaretentionpolicy';
|
|
924
924
|
}
|
|
925
925
|
// verify the required parameter 'body' is set
|
|
@@ -949,7 +949,7 @@ class RecordingApi {
|
|
|
949
949
|
*/
|
|
950
950
|
patchRecordingMediaretentionpolicy(policyId, body) {
|
|
951
951
|
// verify the required parameter 'policyId' is set
|
|
952
|
-
if (policyId === undefined || policyId === null) {
|
|
952
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
953
953
|
throw 'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';
|
|
954
954
|
}
|
|
955
955
|
// verify the required parameter 'body' is set
|
|
@@ -980,11 +980,11 @@ class RecordingApi {
|
|
|
980
980
|
*/
|
|
981
981
|
postConversationRecordingAnnotations(conversationId, recordingId, body) {
|
|
982
982
|
// verify the required parameter 'conversationId' is set
|
|
983
|
-
if (conversationId === undefined || conversationId === null) {
|
|
983
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
984
984
|
throw 'Missing the required parameter "conversationId" when calling postConversationRecordingAnnotations';
|
|
985
985
|
}
|
|
986
986
|
// verify the required parameter 'recordingId' is set
|
|
987
|
-
if (recordingId === undefined || recordingId === null) {
|
|
987
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
988
988
|
throw 'Missing the required parameter "recordingId" when calling postConversationRecordingAnnotations';
|
|
989
989
|
}
|
|
990
990
|
// verify the required parameter 'body' is set
|
|
@@ -1314,11 +1314,11 @@ class RecordingApi {
|
|
|
1314
1314
|
opts = opts || {};
|
|
1315
1315
|
|
|
1316
1316
|
// verify the required parameter 'conversationId' is set
|
|
1317
|
-
if (conversationId === undefined || conversationId === null) {
|
|
1317
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
1318
1318
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecording';
|
|
1319
1319
|
}
|
|
1320
1320
|
// verify the required parameter 'recordingId' is set
|
|
1321
|
-
if (recordingId === undefined || recordingId === null) {
|
|
1321
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
1322
1322
|
throw 'Missing the required parameter "recordingId" when calling putConversationRecording';
|
|
1323
1323
|
}
|
|
1324
1324
|
// verify the required parameter 'body' is set
|
|
@@ -1350,15 +1350,15 @@ class RecordingApi {
|
|
|
1350
1350
|
*/
|
|
1351
1351
|
putConversationRecordingAnnotation(conversationId, recordingId, annotationId, body) {
|
|
1352
1352
|
// verify the required parameter 'conversationId' is set
|
|
1353
|
-
if (conversationId === undefined || conversationId === null) {
|
|
1353
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
1354
1354
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecordingAnnotation';
|
|
1355
1355
|
}
|
|
1356
1356
|
// verify the required parameter 'recordingId' is set
|
|
1357
|
-
if (recordingId === undefined || recordingId === null) {
|
|
1357
|
+
if (recordingId === undefined || recordingId === null || recordingId === '') {
|
|
1358
1358
|
throw 'Missing the required parameter "recordingId" when calling putConversationRecordingAnnotation';
|
|
1359
1359
|
}
|
|
1360
1360
|
// verify the required parameter 'annotationId' is set
|
|
1361
|
-
if (annotationId === undefined || annotationId === null) {
|
|
1361
|
+
if (annotationId === undefined || annotationId === null || annotationId === '') {
|
|
1362
1362
|
throw 'Missing the required parameter "annotationId" when calling putConversationRecordingAnnotation';
|
|
1363
1363
|
}
|
|
1364
1364
|
// verify the required parameter 'body' is set
|
|
@@ -1391,7 +1391,7 @@ class RecordingApi {
|
|
|
1391
1391
|
opts = opts || {};
|
|
1392
1392
|
|
|
1393
1393
|
// verify the required parameter 'orphanId' is set
|
|
1394
|
-
if (orphanId === undefined || orphanId === null) {
|
|
1394
|
+
if (orphanId === undefined || orphanId === null || orphanId === '') {
|
|
1395
1395
|
throw 'Missing the required parameter "orphanId" when calling putOrphanrecording';
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
@@ -1417,7 +1417,7 @@ class RecordingApi {
|
|
|
1417
1417
|
*/
|
|
1418
1418
|
putRecordingCrossplatformMediaretentionpolicy(policyId, body) {
|
|
1419
1419
|
// verify the required parameter 'policyId' is set
|
|
1420
|
-
if (policyId === undefined || policyId === null) {
|
|
1420
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
1421
1421
|
throw 'Missing the required parameter "policyId" when calling putRecordingCrossplatformMediaretentionpolicy';
|
|
1422
1422
|
}
|
|
1423
1423
|
// verify the required parameter 'body' is set
|
|
@@ -1447,7 +1447,7 @@ class RecordingApi {
|
|
|
1447
1447
|
*/
|
|
1448
1448
|
putRecordingJob(jobId, body) {
|
|
1449
1449
|
// verify the required parameter 'jobId' is set
|
|
1450
|
-
if (jobId === undefined || jobId === null) {
|
|
1450
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1451
1451
|
throw 'Missing the required parameter "jobId" when calling putRecordingJob';
|
|
1452
1452
|
}
|
|
1453
1453
|
// verify the required parameter 'body' is set
|
|
@@ -1477,7 +1477,7 @@ class RecordingApi {
|
|
|
1477
1477
|
*/
|
|
1478
1478
|
putRecordingKeyconfiguration(keyConfigurationId, body) {
|
|
1479
1479
|
// verify the required parameter 'keyConfigurationId' is set
|
|
1480
|
-
if (keyConfigurationId === undefined || keyConfigurationId === null) {
|
|
1480
|
+
if (keyConfigurationId === undefined || keyConfigurationId === null || keyConfigurationId === '') {
|
|
1481
1481
|
throw 'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';
|
|
1482
1482
|
}
|
|
1483
1483
|
// verify the required parameter 'body' is set
|
|
@@ -1507,7 +1507,7 @@ class RecordingApi {
|
|
|
1507
1507
|
*/
|
|
1508
1508
|
putRecordingMediaretentionpolicy(policyId, body) {
|
|
1509
1509
|
// verify the required parameter 'policyId' is set
|
|
1510
|
-
if (policyId === undefined || policyId === null) {
|
|
1510
|
+
if (policyId === undefined || policyId === null || policyId === '') {
|
|
1511
1511
|
throw 'Missing the required parameter "policyId" when calling putRecordingMediaretentionpolicy';
|
|
1512
1512
|
}
|
|
1513
1513
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class ResponseManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ResponseManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class ResponseManagementApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteResponsemanagementLibrary(libraryId) {
|
|
29
29
|
// verify the required parameter 'libraryId' is set
|
|
30
|
-
if (libraryId === undefined || libraryId === null) {
|
|
30
|
+
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
31
31
|
throw 'Missing the required parameter "libraryId" when calling deleteResponsemanagementLibrary';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class ResponseManagementApi {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteResponsemanagementResponse(responseId) {
|
|
54
54
|
// verify the required parameter 'responseId' is set
|
|
55
|
-
if (responseId === undefined || responseId === null) {
|
|
55
|
+
if (responseId === undefined || responseId === null || responseId === '') {
|
|
56
56
|
throw 'Missing the required parameter "responseId" when calling deleteResponsemanagementResponse';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -77,7 +77,7 @@ class ResponseManagementApi {
|
|
|
77
77
|
*/
|
|
78
78
|
deleteResponsemanagementResponseasset(responseAssetId) {
|
|
79
79
|
// verify the required parameter 'responseAssetId' is set
|
|
80
|
-
if (responseAssetId === undefined || responseAssetId === null) {
|
|
80
|
+
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
81
81
|
throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -129,7 +129,7 @@ class ResponseManagementApi {
|
|
|
129
129
|
*/
|
|
130
130
|
getResponsemanagementLibrary(libraryId) {
|
|
131
131
|
// verify the required parameter 'libraryId' is set
|
|
132
|
-
if (libraryId === undefined || libraryId === null) {
|
|
132
|
+
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
133
133
|
throw 'Missing the required parameter "libraryId" when calling getResponsemanagementLibrary';
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -158,7 +158,7 @@ class ResponseManagementApi {
|
|
|
158
158
|
opts = opts || {};
|
|
159
159
|
|
|
160
160
|
// verify the required parameter 'responseId' is set
|
|
161
|
-
if (responseId === undefined || responseId === null) {
|
|
161
|
+
if (responseId === undefined || responseId === null || responseId === '') {
|
|
162
162
|
throw 'Missing the required parameter "responseId" when calling getResponsemanagementResponse';
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -183,7 +183,7 @@ class ResponseManagementApi {
|
|
|
183
183
|
*/
|
|
184
184
|
getResponsemanagementResponseasset(responseAssetId) {
|
|
185
185
|
// verify the required parameter 'responseAssetId' is set
|
|
186
|
-
if (responseAssetId === undefined || responseAssetId === null) {
|
|
186
|
+
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
187
187
|
throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -208,7 +208,7 @@ class ResponseManagementApi {
|
|
|
208
208
|
*/
|
|
209
209
|
getResponsemanagementResponseassetsStatusStatusId(statusId) {
|
|
210
210
|
// verify the required parameter 'statusId' is set
|
|
211
|
-
if (statusId === undefined || statusId === null) {
|
|
211
|
+
if (statusId === undefined || statusId === null || statusId === '') {
|
|
212
212
|
throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -423,7 +423,7 @@ class ResponseManagementApi {
|
|
|
423
423
|
*/
|
|
424
424
|
putResponsemanagementLibrary(libraryId, body) {
|
|
425
425
|
// verify the required parameter 'libraryId' is set
|
|
426
|
-
if (libraryId === undefined || libraryId === null) {
|
|
426
|
+
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
427
427
|
throw 'Missing the required parameter "libraryId" when calling putResponsemanagementLibrary';
|
|
428
428
|
}
|
|
429
429
|
// verify the required parameter 'body' is set
|
|
@@ -457,7 +457,7 @@ class ResponseManagementApi {
|
|
|
457
457
|
opts = opts || {};
|
|
458
458
|
|
|
459
459
|
// verify the required parameter 'responseId' is set
|
|
460
|
-
if (responseId === undefined || responseId === null) {
|
|
460
|
+
if (responseId === undefined || responseId === null || responseId === '') {
|
|
461
461
|
throw 'Missing the required parameter "responseId" when calling putResponsemanagementResponse';
|
|
462
462
|
}
|
|
463
463
|
// verify the required parameter 'body' is set
|
|
@@ -487,7 +487,7 @@ class ResponseManagementApi {
|
|
|
487
487
|
*/
|
|
488
488
|
putResponsemanagementResponseasset(responseAssetId, body) {
|
|
489
489
|
// verify the required parameter 'responseAssetId' is set
|
|
490
|
-
if (responseAssetId === undefined || responseAssetId === null) {
|
|
490
|
+
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
491
491
|
throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
|
|
492
492
|
}
|
|
493
493
|
// verify the required parameter 'body' is set
|