purecloud-platform-client-v2 135.0.0 → 137.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 +32 -29
- package/dist/node/purecloud-platform-client-v2.js +9882 -9496
- package/dist/web-amd/purecloud-platform-client-v2.js +9882 -9496
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9882 -9496
- package/dist/web-cjs/purecloud-platform-client-v2.js +9892 -9507
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +5771 -301
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +573 -524
- package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +810 -810
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
- package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +270 -270
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +317 -315
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
- package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +768 -568
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
- package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +404 -279
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +541 -537
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
- package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
- package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
- package/src/purecloud-platform-client-v2/index.js +145 -149
|
@@ -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 137.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -44,13 +44,13 @@ class RecordingApi {
|
|
|
44
44
|
return this.apiClient.callApi(
|
|
45
45
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}',
|
|
46
46
|
'DELETE',
|
|
47
|
-
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
48
|
-
{ },
|
|
49
|
-
{ },
|
|
50
|
-
{ },
|
|
47
|
+
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
48
|
+
{ },
|
|
49
|
+
{ },
|
|
50
|
+
{ },
|
|
51
51
|
null,
|
|
52
52
|
['PureCloud OAuth'],
|
|
53
|
-
['application/json'],
|
|
53
|
+
['application/json'],
|
|
54
54
|
['application/json']
|
|
55
55
|
);
|
|
56
56
|
}
|
|
@@ -69,13 +69,13 @@ class RecordingApi {
|
|
|
69
69
|
return this.apiClient.callApi(
|
|
70
70
|
'/api/v2/orphanrecordings/{orphanId}',
|
|
71
71
|
'DELETE',
|
|
72
|
-
{ 'orphanId': orphanId },
|
|
73
|
-
{ },
|
|
74
|
-
{ },
|
|
75
|
-
{ },
|
|
72
|
+
{ 'orphanId': orphanId },
|
|
73
|
+
{ },
|
|
74
|
+
{ },
|
|
75
|
+
{ },
|
|
76
76
|
null,
|
|
77
77
|
['PureCloud OAuth'],
|
|
78
|
-
['application/json'],
|
|
78
|
+
['application/json'],
|
|
79
79
|
['application/json']
|
|
80
80
|
);
|
|
81
81
|
}
|
|
@@ -94,13 +94,13 @@ class RecordingApi {
|
|
|
94
94
|
return this.apiClient.callApi(
|
|
95
95
|
'/api/v2/recording/crossplatform/mediaretentionpolicies',
|
|
96
96
|
'DELETE',
|
|
97
|
-
{ },
|
|
98
|
-
{ 'ids': ids },
|
|
99
|
-
{ },
|
|
100
|
-
{ },
|
|
97
|
+
{ },
|
|
98
|
+
{ 'ids': ids },
|
|
99
|
+
{ },
|
|
100
|
+
{ },
|
|
101
101
|
null,
|
|
102
102
|
['PureCloud OAuth'],
|
|
103
|
-
['application/json'],
|
|
103
|
+
['application/json'],
|
|
104
104
|
['application/json']
|
|
105
105
|
);
|
|
106
106
|
}
|
|
@@ -119,13 +119,13 @@ class RecordingApi {
|
|
|
119
119
|
return this.apiClient.callApi(
|
|
120
120
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
121
121
|
'DELETE',
|
|
122
|
-
{ 'policyId': policyId },
|
|
123
|
-
{ },
|
|
124
|
-
{ },
|
|
125
|
-
{ },
|
|
122
|
+
{ 'policyId': policyId },
|
|
123
|
+
{ },
|
|
124
|
+
{ },
|
|
125
|
+
{ },
|
|
126
126
|
null,
|
|
127
127
|
['PureCloud OAuth'],
|
|
128
|
-
['application/json'],
|
|
128
|
+
['application/json'],
|
|
129
129
|
['application/json']
|
|
130
130
|
);
|
|
131
131
|
}
|
|
@@ -144,13 +144,13 @@ class RecordingApi {
|
|
|
144
144
|
return this.apiClient.callApi(
|
|
145
145
|
'/api/v2/recording/jobs/{jobId}',
|
|
146
146
|
'DELETE',
|
|
147
|
-
{ 'jobId': jobId },
|
|
148
|
-
{ },
|
|
149
|
-
{ },
|
|
150
|
-
{ },
|
|
147
|
+
{ 'jobId': jobId },
|
|
148
|
+
{ },
|
|
149
|
+
{ },
|
|
150
|
+
{ },
|
|
151
151
|
null,
|
|
152
152
|
['PureCloud OAuth'],
|
|
153
|
-
['application/json'],
|
|
153
|
+
['application/json'],
|
|
154
154
|
['application/json']
|
|
155
155
|
);
|
|
156
156
|
}
|
|
@@ -169,13 +169,13 @@ class RecordingApi {
|
|
|
169
169
|
return this.apiClient.callApi(
|
|
170
170
|
'/api/v2/recording/mediaretentionpolicies',
|
|
171
171
|
'DELETE',
|
|
172
|
-
{ },
|
|
173
|
-
{ 'ids': ids },
|
|
174
|
-
{ },
|
|
175
|
-
{ },
|
|
172
|
+
{ },
|
|
173
|
+
{ 'ids': ids },
|
|
174
|
+
{ },
|
|
175
|
+
{ },
|
|
176
176
|
null,
|
|
177
177
|
['PureCloud OAuth'],
|
|
178
|
-
['application/json'],
|
|
178
|
+
['application/json'],
|
|
179
179
|
['application/json']
|
|
180
180
|
);
|
|
181
181
|
}
|
|
@@ -194,13 +194,13 @@ class RecordingApi {
|
|
|
194
194
|
return this.apiClient.callApi(
|
|
195
195
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
196
196
|
'DELETE',
|
|
197
|
-
{ 'policyId': policyId },
|
|
198
|
-
{ },
|
|
199
|
-
{ },
|
|
200
|
-
{ },
|
|
197
|
+
{ 'policyId': policyId },
|
|
198
|
+
{ },
|
|
199
|
+
{ },
|
|
200
|
+
{ },
|
|
201
201
|
null,
|
|
202
202
|
['PureCloud OAuth'],
|
|
203
|
-
['application/json'],
|
|
203
|
+
['application/json'],
|
|
204
204
|
['application/json']
|
|
205
205
|
);
|
|
206
206
|
}
|
|
@@ -215,7 +215,7 @@ class RecordingApi {
|
|
|
215
215
|
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
216
216
|
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
217
217
|
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
218
|
-
* @param {
|
|
218
|
+
* @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
219
219
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
220
220
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
221
221
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
@@ -235,13 +235,13 @@ class RecordingApi {
|
|
|
235
235
|
return this.apiClient.callApi(
|
|
236
236
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
237
237
|
'GET',
|
|
238
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
239
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
240
|
-
{ },
|
|
241
|
-
{ },
|
|
238
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
239
|
+
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
240
|
+
{ },
|
|
241
|
+
{ },
|
|
242
242
|
null,
|
|
243
243
|
['PureCloud OAuth'],
|
|
244
|
-
['application/json'],
|
|
244
|
+
['application/json'],
|
|
245
245
|
['application/json']
|
|
246
246
|
);
|
|
247
247
|
}
|
|
@@ -270,13 +270,13 @@ class RecordingApi {
|
|
|
270
270
|
return this.apiClient.callApi(
|
|
271
271
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}',
|
|
272
272
|
'GET',
|
|
273
|
-
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
274
|
-
{ },
|
|
275
|
-
{ },
|
|
276
|
-
{ },
|
|
273
|
+
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
274
|
+
{ },
|
|
275
|
+
{ },
|
|
276
|
+
{ },
|
|
277
277
|
null,
|
|
278
278
|
['PureCloud OAuth'],
|
|
279
|
-
['application/json'],
|
|
279
|
+
['application/json'],
|
|
280
280
|
['application/json']
|
|
281
281
|
);
|
|
282
282
|
}
|
|
@@ -300,19 +300,19 @@ class RecordingApi {
|
|
|
300
300
|
return this.apiClient.callApi(
|
|
301
301
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations',
|
|
302
302
|
'GET',
|
|
303
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
304
|
-
{ },
|
|
305
|
-
{ },
|
|
306
|
-
{ },
|
|
303
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
304
|
+
{ },
|
|
305
|
+
{ },
|
|
306
|
+
{ },
|
|
307
307
|
null,
|
|
308
308
|
['PureCloud OAuth'],
|
|
309
|
-
['application/json'],
|
|
309
|
+
['application/json'],
|
|
310
310
|
['application/json']
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* Get recording metadata for a conversation. Does not return playable media. Annotations won
|
|
315
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
316
316
|
*
|
|
317
317
|
* @param {String} conversationId Conversation ID
|
|
318
318
|
*/
|
|
@@ -325,13 +325,13 @@ class RecordingApi {
|
|
|
325
325
|
return this.apiClient.callApi(
|
|
326
326
|
'/api/v2/conversations/{conversationId}/recordingmetadata',
|
|
327
327
|
'GET',
|
|
328
|
-
{ 'conversationId': conversationId },
|
|
329
|
-
{ },
|
|
330
|
-
{ },
|
|
331
|
-
{ },
|
|
328
|
+
{ 'conversationId': conversationId },
|
|
329
|
+
{ },
|
|
330
|
+
{ },
|
|
331
|
+
{ },
|
|
332
332
|
null,
|
|
333
333
|
['PureCloud OAuth'],
|
|
334
|
-
['application/json'],
|
|
334
|
+
['application/json'],
|
|
335
335
|
['application/json']
|
|
336
336
|
);
|
|
337
337
|
}
|
|
@@ -355,19 +355,19 @@ class RecordingApi {
|
|
|
355
355
|
return this.apiClient.callApi(
|
|
356
356
|
'/api/v2/conversations/{conversationId}/recordingmetadata/{recordingId}',
|
|
357
357
|
'GET',
|
|
358
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
359
|
-
{ },
|
|
360
|
-
{ },
|
|
361
|
-
{ },
|
|
358
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
359
|
+
{ },
|
|
360
|
+
{ },
|
|
361
|
+
{ },
|
|
362
362
|
null,
|
|
363
363
|
['PureCloud OAuth'],
|
|
364
|
-
['application/json'],
|
|
364
|
+
['application/json'],
|
|
365
365
|
['application/json']
|
|
366
366
|
);
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
|
-
* Get all of a Conversation
|
|
370
|
+
* Get all of a Conversation's Recordings.
|
|
371
371
|
*
|
|
372
372
|
* @param {String} conversationId Conversation ID
|
|
373
373
|
* @param {Object} opts Optional parameters
|
|
@@ -386,13 +386,13 @@ class RecordingApi {
|
|
|
386
386
|
return this.apiClient.callApi(
|
|
387
387
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
388
388
|
'GET',
|
|
389
|
-
{ 'conversationId': conversationId },
|
|
390
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
391
|
-
{ },
|
|
392
|
-
{ },
|
|
389
|
+
{ 'conversationId': conversationId },
|
|
390
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
391
|
+
{ },
|
|
392
|
+
{ },
|
|
393
393
|
null,
|
|
394
394
|
['PureCloud OAuth'],
|
|
395
|
-
['application/json'],
|
|
395
|
+
['application/json'],
|
|
396
396
|
['application/json']
|
|
397
397
|
);
|
|
398
398
|
}
|
|
@@ -411,13 +411,13 @@ class RecordingApi {
|
|
|
411
411
|
return this.apiClient.callApi(
|
|
412
412
|
'/api/v2/orphanrecordings/{orphanId}',
|
|
413
413
|
'GET',
|
|
414
|
-
{ 'orphanId': orphanId },
|
|
415
|
-
{ },
|
|
416
|
-
{ },
|
|
417
|
-
{ },
|
|
414
|
+
{ 'orphanId': orphanId },
|
|
415
|
+
{ },
|
|
416
|
+
{ },
|
|
417
|
+
{ },
|
|
418
418
|
null,
|
|
419
419
|
['PureCloud OAuth'],
|
|
420
|
-
['application/json'],
|
|
420
|
+
['application/json'],
|
|
421
421
|
['application/json']
|
|
422
422
|
);
|
|
423
423
|
}
|
|
@@ -431,7 +431,7 @@ class RecordingApi {
|
|
|
431
431
|
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
432
432
|
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
433
433
|
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
434
|
-
* @param {
|
|
434
|
+
* @param {Object} opts.download requesting a download format of the recording (default to false)
|
|
435
435
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
436
436
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
437
437
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
@@ -447,13 +447,13 @@ class RecordingApi {
|
|
|
447
447
|
return this.apiClient.callApi(
|
|
448
448
|
'/api/v2/orphanrecordings/{orphanId}/media',
|
|
449
449
|
'GET',
|
|
450
|
-
{ 'orphanId': orphanId },
|
|
451
|
-
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
452
|
-
{ },
|
|
453
|
-
{ },
|
|
450
|
+
{ 'orphanId': orphanId },
|
|
451
|
+
{ 'formatId': opts['formatId'],'emailFormatId': opts['emailFormatId'],'chatFormatId': opts['chatFormatId'],'messageFormatId': opts['messageFormatId'],'download': opts['download'],'fileName': opts['fileName'],'locale': opts['locale'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
|
|
452
|
+
{ },
|
|
453
|
+
{ },
|
|
454
454
|
null,
|
|
455
455
|
['PureCloud OAuth'],
|
|
456
|
-
['application/json'],
|
|
456
|
+
['application/json'],
|
|
457
457
|
['application/json']
|
|
458
458
|
);
|
|
459
459
|
}
|
|
@@ -478,13 +478,13 @@ class RecordingApi {
|
|
|
478
478
|
return this.apiClient.callApi(
|
|
479
479
|
'/api/v2/orphanrecordings',
|
|
480
480
|
'GET',
|
|
481
|
-
{ },
|
|
482
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'hasConversation': opts['hasConversation'],'media': opts['media'] },
|
|
483
|
-
{ },
|
|
484
|
-
{ },
|
|
481
|
+
{ },
|
|
482
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'hasConversation': opts['hasConversation'],'media': opts['media'] },
|
|
483
|
+
{ },
|
|
484
|
+
{ },
|
|
485
485
|
null,
|
|
486
486
|
['PureCloud OAuth'],
|
|
487
|
-
['application/json'],
|
|
487
|
+
['application/json'],
|
|
488
488
|
['application/json']
|
|
489
489
|
);
|
|
490
490
|
}
|
|
@@ -503,13 +503,13 @@ class RecordingApi {
|
|
|
503
503
|
return this.apiClient.callApi(
|
|
504
504
|
'/api/v2/recording/batchrequests/{jobId}',
|
|
505
505
|
'GET',
|
|
506
|
-
{ 'jobId': jobId },
|
|
507
|
-
{ },
|
|
508
|
-
{ },
|
|
509
|
-
{ },
|
|
506
|
+
{ 'jobId': jobId },
|
|
507
|
+
{ },
|
|
508
|
+
{ },
|
|
509
|
+
{ },
|
|
510
510
|
null,
|
|
511
511
|
['PureCloud OAuth'],
|
|
512
|
-
['application/json'],
|
|
512
|
+
['application/json'],
|
|
513
513
|
['application/json']
|
|
514
514
|
);
|
|
515
515
|
}
|
|
@@ -537,13 +537,13 @@ class RecordingApi {
|
|
|
537
537
|
return this.apiClient.callApi(
|
|
538
538
|
'/api/v2/recording/crossplatform/mediaretentionpolicies',
|
|
539
539
|
'GET',
|
|
540
|
-
{ },
|
|
541
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
542
|
-
{ },
|
|
543
|
-
{ },
|
|
540
|
+
{ },
|
|
541
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
542
|
+
{ },
|
|
543
|
+
{ },
|
|
544
544
|
null,
|
|
545
545
|
['PureCloud OAuth'],
|
|
546
|
-
['application/json'],
|
|
546
|
+
['application/json'],
|
|
547
547
|
['application/json']
|
|
548
548
|
);
|
|
549
549
|
}
|
|
@@ -562,13 +562,13 @@ class RecordingApi {
|
|
|
562
562
|
return this.apiClient.callApi(
|
|
563
563
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
564
564
|
'GET',
|
|
565
|
-
{ 'policyId': policyId },
|
|
566
|
-
{ },
|
|
567
|
-
{ },
|
|
568
|
-
{ },
|
|
565
|
+
{ 'policyId': policyId },
|
|
566
|
+
{ },
|
|
567
|
+
{ },
|
|
568
|
+
{ },
|
|
569
569
|
null,
|
|
570
570
|
['PureCloud OAuth'],
|
|
571
|
-
['application/json'],
|
|
571
|
+
['application/json'],
|
|
572
572
|
['application/json']
|
|
573
573
|
);
|
|
574
574
|
}
|
|
@@ -587,13 +587,13 @@ class RecordingApi {
|
|
|
587
587
|
return this.apiClient.callApi(
|
|
588
588
|
'/api/v2/recording/jobs/{jobId}',
|
|
589
589
|
'GET',
|
|
590
|
-
{ 'jobId': jobId },
|
|
591
|
-
{ },
|
|
592
|
-
{ },
|
|
593
|
-
{ },
|
|
590
|
+
{ 'jobId': jobId },
|
|
591
|
+
{ },
|
|
592
|
+
{ },
|
|
593
|
+
{ },
|
|
594
594
|
null,
|
|
595
595
|
['PureCloud OAuth'],
|
|
596
|
-
['application/json'],
|
|
596
|
+
['application/json'],
|
|
597
597
|
['application/json']
|
|
598
598
|
);
|
|
599
599
|
}
|
|
@@ -619,19 +619,19 @@ class RecordingApi {
|
|
|
619
619
|
return this.apiClient.callApi(
|
|
620
620
|
'/api/v2/recording/jobs/{jobId}/failedrecordings',
|
|
621
621
|
'GET',
|
|
622
|
-
{ 'jobId': jobId },
|
|
623
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
624
|
-
{ },
|
|
625
|
-
{ },
|
|
622
|
+
{ 'jobId': jobId },
|
|
623
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
624
|
+
{ },
|
|
625
|
+
{ },
|
|
626
626
|
null,
|
|
627
627
|
['PureCloud OAuth'],
|
|
628
|
-
['application/json'],
|
|
628
|
+
['application/json'],
|
|
629
629
|
['application/json']
|
|
630
630
|
);
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
|
-
* Get the status of all jobs within the user
|
|
634
|
+
* Get the status of all jobs within the user's organization
|
|
635
635
|
*
|
|
636
636
|
* @param {Object} opts Optional parameters
|
|
637
637
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -650,13 +650,58 @@ class RecordingApi {
|
|
|
650
650
|
return this.apiClient.callApi(
|
|
651
651
|
'/api/v2/recording/jobs',
|
|
652
652
|
'GET',
|
|
653
|
-
{ },
|
|
654
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
655
|
-
{ },
|
|
656
|
-
{ },
|
|
653
|
+
{ },
|
|
654
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
655
|
+
{ },
|
|
656
|
+
{ },
|
|
657
657
|
null,
|
|
658
658
|
['PureCloud OAuth'],
|
|
659
|
-
['application/json'],
|
|
659
|
+
['application/json'],
|
|
660
|
+
['application/json']
|
|
661
|
+
);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Get the encryption key configurations
|
|
666
|
+
*
|
|
667
|
+
* @param {String} keyConfigurationId Key Configurations Id
|
|
668
|
+
*/
|
|
669
|
+
getRecordingKeyconfiguration(keyConfigurationId) {
|
|
670
|
+
// verify the required parameter 'keyConfigurationId' is set
|
|
671
|
+
if (keyConfigurationId === undefined || keyConfigurationId === null) {
|
|
672
|
+
throw 'Missing the required parameter "keyConfigurationId" when calling getRecordingKeyconfiguration';
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
return this.apiClient.callApi(
|
|
676
|
+
'/api/v2/recording/keyconfigurations/{keyConfigurationId}',
|
|
677
|
+
'GET',
|
|
678
|
+
{ 'keyConfigurationId': keyConfigurationId },
|
|
679
|
+
{ },
|
|
680
|
+
{ },
|
|
681
|
+
{ },
|
|
682
|
+
null,
|
|
683
|
+
['PureCloud OAuth'],
|
|
684
|
+
['application/json'],
|
|
685
|
+
['application/json']
|
|
686
|
+
);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Get a list of key configurations data
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
getRecordingKeyconfigurations() {
|
|
694
|
+
|
|
695
|
+
return this.apiClient.callApi(
|
|
696
|
+
'/api/v2/recording/keyconfigurations',
|
|
697
|
+
'GET',
|
|
698
|
+
{ },
|
|
699
|
+
{ },
|
|
700
|
+
{ },
|
|
701
|
+
{ },
|
|
702
|
+
null,
|
|
703
|
+
['PureCloud OAuth'],
|
|
704
|
+
['application/json'],
|
|
660
705
|
['application/json']
|
|
661
706
|
);
|
|
662
707
|
}
|
|
@@ -675,13 +720,13 @@ class RecordingApi {
|
|
|
675
720
|
return this.apiClient.callApi(
|
|
676
721
|
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
677
722
|
'GET',
|
|
678
|
-
{ 'settingsId': settingsId },
|
|
679
|
-
{ },
|
|
680
|
-
{ },
|
|
681
|
-
{ },
|
|
723
|
+
{ 'settingsId': settingsId },
|
|
724
|
+
{ },
|
|
725
|
+
{ },
|
|
726
|
+
{ },
|
|
682
727
|
null,
|
|
683
728
|
['PureCloud OAuth'],
|
|
684
|
-
['application/json'],
|
|
729
|
+
['application/json'],
|
|
685
730
|
['application/json']
|
|
686
731
|
);
|
|
687
732
|
}
|
|
@@ -695,13 +740,13 @@ class RecordingApi {
|
|
|
695
740
|
return this.apiClient.callApi(
|
|
696
741
|
'/api/v2/recording/localkeys/settings',
|
|
697
742
|
'GET',
|
|
698
|
-
{ },
|
|
699
|
-
{ },
|
|
700
|
-
{ },
|
|
701
|
-
{ },
|
|
743
|
+
{ },
|
|
744
|
+
{ },
|
|
745
|
+
{ },
|
|
746
|
+
{ },
|
|
702
747
|
null,
|
|
703
748
|
['PureCloud OAuth'],
|
|
704
|
-
['application/json'],
|
|
749
|
+
['application/json'],
|
|
705
750
|
['application/json']
|
|
706
751
|
);
|
|
707
752
|
}
|
|
@@ -729,13 +774,13 @@ class RecordingApi {
|
|
|
729
774
|
return this.apiClient.callApi(
|
|
730
775
|
'/api/v2/recording/mediaretentionpolicies',
|
|
731
776
|
'GET',
|
|
732
|
-
{ },
|
|
733
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
734
|
-
{ },
|
|
735
|
-
{ },
|
|
777
|
+
{ },
|
|
778
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
779
|
+
{ },
|
|
780
|
+
{ },
|
|
736
781
|
null,
|
|
737
782
|
['PureCloud OAuth'],
|
|
738
|
-
['application/json'],
|
|
783
|
+
['application/json'],
|
|
739
784
|
['application/json']
|
|
740
785
|
);
|
|
741
786
|
}
|
|
@@ -754,13 +799,13 @@ class RecordingApi {
|
|
|
754
799
|
return this.apiClient.callApi(
|
|
755
800
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
756
801
|
'GET',
|
|
757
|
-
{ 'policyId': policyId },
|
|
758
|
-
{ },
|
|
759
|
-
{ },
|
|
760
|
-
{ },
|
|
802
|
+
{ 'policyId': policyId },
|
|
803
|
+
{ },
|
|
804
|
+
{ },
|
|
805
|
+
{ },
|
|
761
806
|
null,
|
|
762
807
|
['PureCloud OAuth'],
|
|
763
|
-
['application/json'],
|
|
808
|
+
['application/json'],
|
|
764
809
|
['application/json']
|
|
765
810
|
);
|
|
766
811
|
}
|
|
@@ -779,13 +824,13 @@ class RecordingApi {
|
|
|
779
824
|
return this.apiClient.callApi(
|
|
780
825
|
'/api/v2/recording/recordingkeys',
|
|
781
826
|
'GET',
|
|
782
|
-
{ },
|
|
783
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
784
|
-
{ },
|
|
785
|
-
{ },
|
|
827
|
+
{ },
|
|
828
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
829
|
+
{ },
|
|
830
|
+
{ },
|
|
786
831
|
null,
|
|
787
832
|
['PureCloud OAuth'],
|
|
788
|
-
['application/json'],
|
|
833
|
+
['application/json'],
|
|
789
834
|
['application/json']
|
|
790
835
|
);
|
|
791
836
|
}
|
|
@@ -799,13 +844,13 @@ class RecordingApi {
|
|
|
799
844
|
return this.apiClient.callApi(
|
|
800
845
|
'/api/v2/recording/recordingkeys/rotationschedule',
|
|
801
846
|
'GET',
|
|
802
|
-
{ },
|
|
803
|
-
{ },
|
|
804
|
-
{ },
|
|
805
|
-
{ },
|
|
847
|
+
{ },
|
|
848
|
+
{ },
|
|
849
|
+
{ },
|
|
850
|
+
{ },
|
|
806
851
|
null,
|
|
807
852
|
['PureCloud OAuth'],
|
|
808
|
-
['application/json'],
|
|
853
|
+
['application/json'],
|
|
809
854
|
['application/json']
|
|
810
855
|
);
|
|
811
856
|
}
|
|
@@ -823,13 +868,13 @@ class RecordingApi {
|
|
|
823
868
|
return this.apiClient.callApi(
|
|
824
869
|
'/api/v2/recording/settings',
|
|
825
870
|
'GET',
|
|
826
|
-
{ },
|
|
827
|
-
{ 'createDefault': opts['createDefault'] },
|
|
828
|
-
{ },
|
|
829
|
-
{ },
|
|
871
|
+
{ },
|
|
872
|
+
{ 'createDefault': opts['createDefault'] },
|
|
873
|
+
{ },
|
|
874
|
+
{ },
|
|
830
875
|
null,
|
|
831
876
|
['PureCloud OAuth'],
|
|
832
|
-
['application/json'],
|
|
877
|
+
['application/json'],
|
|
833
878
|
['application/json']
|
|
834
879
|
);
|
|
835
880
|
}
|
|
@@ -848,13 +893,13 @@ class RecordingApi {
|
|
|
848
893
|
return this.apiClient.callApi(
|
|
849
894
|
'/api/v2/recordings/screensessions',
|
|
850
895
|
'GET',
|
|
851
|
-
{ },
|
|
852
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
853
|
-
{ },
|
|
854
|
-
{ },
|
|
896
|
+
{ },
|
|
897
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
898
|
+
{ },
|
|
899
|
+
{ },
|
|
855
900
|
null,
|
|
856
901
|
['PureCloud OAuth'],
|
|
857
|
-
['application/json'],
|
|
902
|
+
['application/json'],
|
|
858
903
|
['application/json']
|
|
859
904
|
);
|
|
860
905
|
}
|
|
@@ -878,13 +923,13 @@ class RecordingApi {
|
|
|
878
923
|
return this.apiClient.callApi(
|
|
879
924
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
880
925
|
'PATCH',
|
|
881
|
-
{ 'policyId': policyId },
|
|
882
|
-
{ },
|
|
883
|
-
{ },
|
|
884
|
-
{ },
|
|
926
|
+
{ 'policyId': policyId },
|
|
927
|
+
{ },
|
|
928
|
+
{ },
|
|
929
|
+
{ },
|
|
885
930
|
body,
|
|
886
931
|
['PureCloud OAuth'],
|
|
887
|
-
['application/json'],
|
|
932
|
+
['application/json'],
|
|
888
933
|
['application/json']
|
|
889
934
|
);
|
|
890
935
|
}
|
|
@@ -908,13 +953,13 @@ class RecordingApi {
|
|
|
908
953
|
return this.apiClient.callApi(
|
|
909
954
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
910
955
|
'PATCH',
|
|
911
|
-
{ 'policyId': policyId },
|
|
912
|
-
{ },
|
|
913
|
-
{ },
|
|
914
|
-
{ },
|
|
956
|
+
{ 'policyId': policyId },
|
|
957
|
+
{ },
|
|
958
|
+
{ },
|
|
959
|
+
{ },
|
|
915
960
|
body,
|
|
916
961
|
['PureCloud OAuth'],
|
|
917
|
-
['application/json'],
|
|
962
|
+
['application/json'],
|
|
918
963
|
['application/json']
|
|
919
964
|
);
|
|
920
965
|
}
|
|
@@ -937,13 +982,13 @@ class RecordingApi {
|
|
|
937
982
|
return this.apiClient.callApi(
|
|
938
983
|
'/api/v2/recordings/screensessions/{recordingSessionId}',
|
|
939
984
|
'PATCH',
|
|
940
|
-
{ 'recordingSessionId': recordingSessionId },
|
|
941
|
-
{ },
|
|
942
|
-
{ },
|
|
943
|
-
{ },
|
|
985
|
+
{ 'recordingSessionId': recordingSessionId },
|
|
986
|
+
{ },
|
|
987
|
+
{ },
|
|
988
|
+
{ },
|
|
944
989
|
opts['body'],
|
|
945
990
|
['PureCloud OAuth'],
|
|
946
|
-
['application/json'],
|
|
991
|
+
['application/json'],
|
|
947
992
|
['application/json']
|
|
948
993
|
);
|
|
949
994
|
}
|
|
@@ -972,13 +1017,13 @@ class RecordingApi {
|
|
|
972
1017
|
return this.apiClient.callApi(
|
|
973
1018
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations',
|
|
974
1019
|
'POST',
|
|
975
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
976
|
-
{ },
|
|
977
|
-
{ },
|
|
978
|
-
{ },
|
|
1020
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1021
|
+
{ },
|
|
1022
|
+
{ },
|
|
1023
|
+
{ },
|
|
979
1024
|
body,
|
|
980
1025
|
['PureCloud OAuth'],
|
|
981
|
-
['application/json'],
|
|
1026
|
+
['application/json'],
|
|
982
1027
|
['application/json']
|
|
983
1028
|
);
|
|
984
1029
|
}
|
|
@@ -997,13 +1042,13 @@ class RecordingApi {
|
|
|
997
1042
|
return this.apiClient.callApi(
|
|
998
1043
|
'/api/v2/recording/batchrequests',
|
|
999
1044
|
'POST',
|
|
1000
|
-
{ },
|
|
1001
|
-
{ },
|
|
1002
|
-
{ },
|
|
1003
|
-
{ },
|
|
1045
|
+
{ },
|
|
1046
|
+
{ },
|
|
1047
|
+
{ },
|
|
1048
|
+
{ },
|
|
1004
1049
|
body,
|
|
1005
1050
|
['PureCloud OAuth'],
|
|
1006
|
-
['application/json'],
|
|
1051
|
+
['application/json'],
|
|
1007
1052
|
['application/json']
|
|
1008
1053
|
);
|
|
1009
1054
|
}
|
|
@@ -1022,20 +1067,20 @@ class RecordingApi {
|
|
|
1022
1067
|
return this.apiClient.callApi(
|
|
1023
1068
|
'/api/v2/recording/crossplatform/mediaretentionpolicies',
|
|
1024
1069
|
'POST',
|
|
1025
|
-
{ },
|
|
1026
|
-
{ },
|
|
1027
|
-
{ },
|
|
1028
|
-
{ },
|
|
1070
|
+
{ },
|
|
1071
|
+
{ },
|
|
1072
|
+
{ },
|
|
1073
|
+
{ },
|
|
1029
1074
|
body,
|
|
1030
1075
|
['PureCloud OAuth'],
|
|
1031
|
-
['application/json'],
|
|
1076
|
+
['application/json'],
|
|
1032
1077
|
['application/json']
|
|
1033
1078
|
);
|
|
1034
1079
|
}
|
|
1035
1080
|
|
|
1036
1081
|
/**
|
|
1037
|
-
* Create a recording bulk job
|
|
1038
|
-
*
|
|
1082
|
+
* Create a recording bulk job.
|
|
1083
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
|
|
1039
1084
|
* @param {Object} body query
|
|
1040
1085
|
*/
|
|
1041
1086
|
postRecordingJobs(body) {
|
|
@@ -1047,13 +1092,63 @@ class RecordingApi {
|
|
|
1047
1092
|
return this.apiClient.callApi(
|
|
1048
1093
|
'/api/v2/recording/jobs',
|
|
1049
1094
|
'POST',
|
|
1050
|
-
{ },
|
|
1051
|
-
{ },
|
|
1052
|
-
{ },
|
|
1053
|
-
{ },
|
|
1095
|
+
{ },
|
|
1096
|
+
{ },
|
|
1097
|
+
{ },
|
|
1098
|
+
{ },
|
|
1099
|
+
body,
|
|
1100
|
+
['PureCloud OAuth'],
|
|
1101
|
+
['application/json'],
|
|
1102
|
+
['application/json']
|
|
1103
|
+
);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Setup configurations for encryption key creation
|
|
1108
|
+
*
|
|
1109
|
+
* @param {Object} body Encryption Configuration
|
|
1110
|
+
*/
|
|
1111
|
+
postRecordingKeyconfigurations(body) {
|
|
1112
|
+
// verify the required parameter 'body' is set
|
|
1113
|
+
if (body === undefined || body === null) {
|
|
1114
|
+
throw 'Missing the required parameter "body" when calling postRecordingKeyconfigurations';
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
return this.apiClient.callApi(
|
|
1118
|
+
'/api/v2/recording/keyconfigurations',
|
|
1119
|
+
'POST',
|
|
1120
|
+
{ },
|
|
1121
|
+
{ },
|
|
1122
|
+
{ },
|
|
1123
|
+
{ },
|
|
1124
|
+
body,
|
|
1125
|
+
['PureCloud OAuth'],
|
|
1126
|
+
['application/json'],
|
|
1127
|
+
['application/json']
|
|
1128
|
+
);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Validate encryption key configurations without saving it
|
|
1133
|
+
*
|
|
1134
|
+
* @param {Object} body Encryption Configuration
|
|
1135
|
+
*/
|
|
1136
|
+
postRecordingKeyconfigurationsValidate(body) {
|
|
1137
|
+
// verify the required parameter 'body' is set
|
|
1138
|
+
if (body === undefined || body === null) {
|
|
1139
|
+
throw 'Missing the required parameter "body" when calling postRecordingKeyconfigurationsValidate';
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
return this.apiClient.callApi(
|
|
1143
|
+
'/api/v2/recording/keyconfigurations/validate',
|
|
1144
|
+
'POST',
|
|
1145
|
+
{ },
|
|
1146
|
+
{ },
|
|
1147
|
+
{ },
|
|
1148
|
+
{ },
|
|
1054
1149
|
body,
|
|
1055
1150
|
['PureCloud OAuth'],
|
|
1056
|
-
['application/json'],
|
|
1151
|
+
['application/json'],
|
|
1057
1152
|
['application/json']
|
|
1058
1153
|
);
|
|
1059
1154
|
}
|
|
@@ -1072,13 +1167,13 @@ class RecordingApi {
|
|
|
1072
1167
|
return this.apiClient.callApi(
|
|
1073
1168
|
'/api/v2/recording/localkeys',
|
|
1074
1169
|
'POST',
|
|
1075
|
-
{ },
|
|
1076
|
-
{ },
|
|
1077
|
-
{ },
|
|
1078
|
-
{ },
|
|
1170
|
+
{ },
|
|
1171
|
+
{ },
|
|
1172
|
+
{ },
|
|
1173
|
+
{ },
|
|
1079
1174
|
body,
|
|
1080
1175
|
['PureCloud OAuth'],
|
|
1081
|
-
['application/json'],
|
|
1176
|
+
['application/json'],
|
|
1082
1177
|
['application/json']
|
|
1083
1178
|
);
|
|
1084
1179
|
}
|
|
@@ -1097,13 +1192,13 @@ class RecordingApi {
|
|
|
1097
1192
|
return this.apiClient.callApi(
|
|
1098
1193
|
'/api/v2/recording/localkeys/settings',
|
|
1099
1194
|
'POST',
|
|
1100
|
-
{ },
|
|
1101
|
-
{ },
|
|
1102
|
-
{ },
|
|
1103
|
-
{ },
|
|
1195
|
+
{ },
|
|
1196
|
+
{ },
|
|
1197
|
+
{ },
|
|
1198
|
+
{ },
|
|
1104
1199
|
body,
|
|
1105
1200
|
['PureCloud OAuth'],
|
|
1106
|
-
['application/json'],
|
|
1201
|
+
['application/json'],
|
|
1107
1202
|
['application/json']
|
|
1108
1203
|
);
|
|
1109
1204
|
}
|
|
@@ -1122,13 +1217,13 @@ class RecordingApi {
|
|
|
1122
1217
|
return this.apiClient.callApi(
|
|
1123
1218
|
'/api/v2/recording/mediaretentionpolicies',
|
|
1124
1219
|
'POST',
|
|
1125
|
-
{ },
|
|
1126
|
-
{ },
|
|
1127
|
-
{ },
|
|
1128
|
-
{ },
|
|
1220
|
+
{ },
|
|
1221
|
+
{ },
|
|
1222
|
+
{ },
|
|
1223
|
+
{ },
|
|
1129
1224
|
body,
|
|
1130
1225
|
['PureCloud OAuth'],
|
|
1131
|
-
['application/json'],
|
|
1226
|
+
['application/json'],
|
|
1132
1227
|
['application/json']
|
|
1133
1228
|
);
|
|
1134
1229
|
}
|
|
@@ -1142,13 +1237,13 @@ class RecordingApi {
|
|
|
1142
1237
|
return this.apiClient.callApi(
|
|
1143
1238
|
'/api/v2/recording/recordingkeys',
|
|
1144
1239
|
'POST',
|
|
1145
|
-
{ },
|
|
1146
|
-
{ },
|
|
1147
|
-
{ },
|
|
1148
|
-
{ },
|
|
1240
|
+
{ },
|
|
1241
|
+
{ },
|
|
1242
|
+
{ },
|
|
1243
|
+
{ },
|
|
1149
1244
|
null,
|
|
1150
1245
|
['PureCloud OAuth'],
|
|
1151
|
-
['application/json'],
|
|
1246
|
+
['application/json'],
|
|
1152
1247
|
['application/json']
|
|
1153
1248
|
);
|
|
1154
1249
|
}
|
|
@@ -1167,13 +1262,13 @@ class RecordingApi {
|
|
|
1167
1262
|
return this.apiClient.callApi(
|
|
1168
1263
|
'/api/v2/recordings/deletionprotection',
|
|
1169
1264
|
'POST',
|
|
1170
|
-
{ },
|
|
1171
|
-
{ },
|
|
1172
|
-
{ },
|
|
1173
|
-
{ },
|
|
1265
|
+
{ },
|
|
1266
|
+
{ },
|
|
1267
|
+
{ },
|
|
1268
|
+
{ },
|
|
1174
1269
|
body,
|
|
1175
1270
|
['PureCloud OAuth'],
|
|
1176
|
-
['application/json'],
|
|
1271
|
+
['application/json'],
|
|
1177
1272
|
['application/json']
|
|
1178
1273
|
);
|
|
1179
1274
|
}
|
|
@@ -1192,13 +1287,13 @@ class RecordingApi {
|
|
|
1192
1287
|
return this.apiClient.callApi(
|
|
1193
1288
|
'/api/v2/recordings/screensessions/acknowledge',
|
|
1194
1289
|
'POST',
|
|
1195
|
-
{ },
|
|
1196
|
-
{ },
|
|
1197
|
-
{ },
|
|
1198
|
-
{ },
|
|
1290
|
+
{ },
|
|
1291
|
+
{ },
|
|
1292
|
+
{ },
|
|
1293
|
+
{ },
|
|
1199
1294
|
body,
|
|
1200
1295
|
['PureCloud OAuth'],
|
|
1201
|
-
['application/json'],
|
|
1296
|
+
['application/json'],
|
|
1202
1297
|
['application/json']
|
|
1203
1298
|
);
|
|
1204
1299
|
}
|
|
@@ -1217,13 +1312,13 @@ class RecordingApi {
|
|
|
1217
1312
|
return this.apiClient.callApi(
|
|
1218
1313
|
'/api/v2/recordings/screensessions/metadata',
|
|
1219
1314
|
'POST',
|
|
1220
|
-
{ },
|
|
1221
|
-
{ },
|
|
1222
|
-
{ },
|
|
1223
|
-
{ },
|
|
1315
|
+
{ },
|
|
1316
|
+
{ },
|
|
1317
|
+
{ },
|
|
1318
|
+
{ },
|
|
1224
1319
|
body,
|
|
1225
1320
|
['PureCloud OAuth'],
|
|
1226
|
-
['application/json'],
|
|
1321
|
+
['application/json'],
|
|
1227
1322
|
['application/json']
|
|
1228
1323
|
);
|
|
1229
1324
|
}
|
|
@@ -1252,13 +1347,13 @@ class RecordingApi {
|
|
|
1252
1347
|
return this.apiClient.callApi(
|
|
1253
1348
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
1254
1349
|
'PUT',
|
|
1255
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1256
|
-
{ },
|
|
1257
|
-
{ },
|
|
1258
|
-
{ },
|
|
1350
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1351
|
+
{ },
|
|
1352
|
+
{ },
|
|
1353
|
+
{ },
|
|
1259
1354
|
body,
|
|
1260
1355
|
['PureCloud OAuth'],
|
|
1261
|
-
['application/json'],
|
|
1356
|
+
['application/json'],
|
|
1262
1357
|
['application/json']
|
|
1263
1358
|
);
|
|
1264
1359
|
}
|
|
@@ -1292,13 +1387,13 @@ class RecordingApi {
|
|
|
1292
1387
|
return this.apiClient.callApi(
|
|
1293
1388
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}',
|
|
1294
1389
|
'PUT',
|
|
1295
|
-
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
1296
|
-
{ },
|
|
1297
|
-
{ },
|
|
1298
|
-
{ },
|
|
1390
|
+
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
1391
|
+
{ },
|
|
1392
|
+
{ },
|
|
1393
|
+
{ },
|
|
1299
1394
|
body,
|
|
1300
1395
|
['PureCloud OAuth'],
|
|
1301
|
-
['application/json'],
|
|
1396
|
+
['application/json'],
|
|
1302
1397
|
['application/json']
|
|
1303
1398
|
);
|
|
1304
1399
|
}
|
|
@@ -1321,13 +1416,13 @@ class RecordingApi {
|
|
|
1321
1416
|
return this.apiClient.callApi(
|
|
1322
1417
|
'/api/v2/orphanrecordings/{orphanId}',
|
|
1323
1418
|
'PUT',
|
|
1324
|
-
{ 'orphanId': orphanId },
|
|
1325
|
-
{ },
|
|
1326
|
-
{ },
|
|
1327
|
-
{ },
|
|
1419
|
+
{ 'orphanId': orphanId },
|
|
1420
|
+
{ },
|
|
1421
|
+
{ },
|
|
1422
|
+
{ },
|
|
1328
1423
|
opts['body'],
|
|
1329
1424
|
['PureCloud OAuth'],
|
|
1330
|
-
['application/json'],
|
|
1425
|
+
['application/json'],
|
|
1331
1426
|
['application/json']
|
|
1332
1427
|
);
|
|
1333
1428
|
}
|
|
@@ -1351,20 +1446,20 @@ class RecordingApi {
|
|
|
1351
1446
|
return this.apiClient.callApi(
|
|
1352
1447
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
1353
1448
|
'PUT',
|
|
1354
|
-
{ 'policyId': policyId },
|
|
1355
|
-
{ },
|
|
1356
|
-
{ },
|
|
1357
|
-
{ },
|
|
1449
|
+
{ 'policyId': policyId },
|
|
1450
|
+
{ },
|
|
1451
|
+
{ },
|
|
1452
|
+
{ },
|
|
1358
1453
|
body,
|
|
1359
1454
|
['PureCloud OAuth'],
|
|
1360
|
-
['application/json'],
|
|
1455
|
+
['application/json'],
|
|
1361
1456
|
['application/json']
|
|
1362
1457
|
);
|
|
1363
1458
|
}
|
|
1364
1459
|
|
|
1365
1460
|
/**
|
|
1366
1461
|
* Execute the recording bulk job.
|
|
1367
|
-
* A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the
|
|
1462
|
+
* A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
|
|
1368
1463
|
* @param {String} jobId jobId
|
|
1369
1464
|
* @param {Object} body query
|
|
1370
1465
|
*/
|
|
@@ -1381,13 +1476,43 @@ class RecordingApi {
|
|
|
1381
1476
|
return this.apiClient.callApi(
|
|
1382
1477
|
'/api/v2/recording/jobs/{jobId}',
|
|
1383
1478
|
'PUT',
|
|
1384
|
-
{ 'jobId': jobId },
|
|
1385
|
-
{ },
|
|
1386
|
-
{ },
|
|
1387
|
-
{ },
|
|
1479
|
+
{ 'jobId': jobId },
|
|
1480
|
+
{ },
|
|
1481
|
+
{ },
|
|
1482
|
+
{ },
|
|
1483
|
+
body,
|
|
1484
|
+
['PureCloud OAuth'],
|
|
1485
|
+
['application/json'],
|
|
1486
|
+
['application/json']
|
|
1487
|
+
);
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* Update the encryption key configurations
|
|
1492
|
+
*
|
|
1493
|
+
* @param {String} keyConfigurationId Key Configurations Id
|
|
1494
|
+
* @param {Object} body Encryption key configuration metadata
|
|
1495
|
+
*/
|
|
1496
|
+
putRecordingKeyconfiguration(keyConfigurationId, body) {
|
|
1497
|
+
// verify the required parameter 'keyConfigurationId' is set
|
|
1498
|
+
if (keyConfigurationId === undefined || keyConfigurationId === null) {
|
|
1499
|
+
throw 'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';
|
|
1500
|
+
}
|
|
1501
|
+
// verify the required parameter 'body' is set
|
|
1502
|
+
if (body === undefined || body === null) {
|
|
1503
|
+
throw 'Missing the required parameter "body" when calling putRecordingKeyconfiguration';
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
return this.apiClient.callApi(
|
|
1507
|
+
'/api/v2/recording/keyconfigurations/{keyConfigurationId}',
|
|
1508
|
+
'PUT',
|
|
1509
|
+
{ 'keyConfigurationId': keyConfigurationId },
|
|
1510
|
+
{ },
|
|
1511
|
+
{ },
|
|
1512
|
+
{ },
|
|
1388
1513
|
body,
|
|
1389
1514
|
['PureCloud OAuth'],
|
|
1390
|
-
['application/json'],
|
|
1515
|
+
['application/json'],
|
|
1391
1516
|
['application/json']
|
|
1392
1517
|
);
|
|
1393
1518
|
}
|
|
@@ -1411,13 +1536,13 @@ class RecordingApi {
|
|
|
1411
1536
|
return this.apiClient.callApi(
|
|
1412
1537
|
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
1413
1538
|
'PUT',
|
|
1414
|
-
{ 'settingsId': settingsId },
|
|
1415
|
-
{ },
|
|
1416
|
-
{ },
|
|
1417
|
-
{ },
|
|
1539
|
+
{ 'settingsId': settingsId },
|
|
1540
|
+
{ },
|
|
1541
|
+
{ },
|
|
1542
|
+
{ },
|
|
1418
1543
|
body,
|
|
1419
1544
|
['PureCloud OAuth'],
|
|
1420
|
-
['application/json'],
|
|
1545
|
+
['application/json'],
|
|
1421
1546
|
['application/json']
|
|
1422
1547
|
);
|
|
1423
1548
|
}
|
|
@@ -1441,13 +1566,13 @@ class RecordingApi {
|
|
|
1441
1566
|
return this.apiClient.callApi(
|
|
1442
1567
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
1443
1568
|
'PUT',
|
|
1444
|
-
{ 'policyId': policyId },
|
|
1445
|
-
{ },
|
|
1446
|
-
{ },
|
|
1447
|
-
{ },
|
|
1569
|
+
{ 'policyId': policyId },
|
|
1570
|
+
{ },
|
|
1571
|
+
{ },
|
|
1572
|
+
{ },
|
|
1448
1573
|
body,
|
|
1449
1574
|
['PureCloud OAuth'],
|
|
1450
|
-
['application/json'],
|
|
1575
|
+
['application/json'],
|
|
1451
1576
|
['application/json']
|
|
1452
1577
|
);
|
|
1453
1578
|
}
|
|
@@ -1466,13 +1591,13 @@ class RecordingApi {
|
|
|
1466
1591
|
return this.apiClient.callApi(
|
|
1467
1592
|
'/api/v2/recording/recordingkeys/rotationschedule',
|
|
1468
1593
|
'PUT',
|
|
1469
|
-
{ },
|
|
1470
|
-
{ },
|
|
1471
|
-
{ },
|
|
1472
|
-
{ },
|
|
1594
|
+
{ },
|
|
1595
|
+
{ },
|
|
1596
|
+
{ },
|
|
1597
|
+
{ },
|
|
1473
1598
|
body,
|
|
1474
1599
|
['PureCloud OAuth'],
|
|
1475
|
-
['application/json'],
|
|
1600
|
+
['application/json'],
|
|
1476
1601
|
['application/json']
|
|
1477
1602
|
);
|
|
1478
1603
|
}
|
|
@@ -1491,13 +1616,13 @@ class RecordingApi {
|
|
|
1491
1616
|
return this.apiClient.callApi(
|
|
1492
1617
|
'/api/v2/recording/settings',
|
|
1493
1618
|
'PUT',
|
|
1494
|
-
{ },
|
|
1495
|
-
{ },
|
|
1496
|
-
{ },
|
|
1497
|
-
{ },
|
|
1619
|
+
{ },
|
|
1620
|
+
{ },
|
|
1621
|
+
{ },
|
|
1622
|
+
{ },
|
|
1498
1623
|
body,
|
|
1499
1624
|
['PureCloud OAuth'],
|
|
1500
|
-
['application/json'],
|
|
1625
|
+
['application/json'],
|
|
1501
1626
|
['application/json']
|
|
1502
1627
|
);
|
|
1503
1628
|
}
|
|
@@ -1516,13 +1641,13 @@ class RecordingApi {
|
|
|
1516
1641
|
return this.apiClient.callApi(
|
|
1517
1642
|
'/api/v2/recordings/deletionprotection',
|
|
1518
1643
|
'PUT',
|
|
1519
|
-
{ },
|
|
1520
|
-
{ 'protect': opts['protect'] },
|
|
1521
|
-
{ },
|
|
1522
|
-
{ },
|
|
1644
|
+
{ },
|
|
1645
|
+
{ 'protect': opts['protect'] },
|
|
1646
|
+
{ },
|
|
1647
|
+
{ },
|
|
1523
1648
|
opts['body'],
|
|
1524
1649
|
['PureCloud OAuth'],
|
|
1525
|
-
['application/json'],
|
|
1650
|
+
['application/json'],
|
|
1526
1651
|
['application/json']
|
|
1527
1652
|
);
|
|
1528
1653
|
}
|