purecloud-platform-client-v2 136.1.0 → 137.1.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 +9 -12
- package/dist/node/purecloud-platform-client-v2.js +9667 -9635
- package/dist/web-amd/purecloud-platform-client-v2.js +9667 -9635
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9674 -9635
- package/dist/web-cjs/purecloud-platform-client-v2.js +11469 -13867
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +92 -76
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +197 -169
- 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 +534 -534
- 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 +808 -808
- 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 +246 -246
- 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 +311 -311
- 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 +608 -608
- 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 +302 -302
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
- 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 +2 -1
- package/src/purecloud-platform-client-v2/logger.js +17 -13
|
@@ -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.1.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,13 @@ 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
660
|
['application/json']
|
|
661
661
|
);
|
|
662
662
|
}
|
|
@@ -675,13 +675,13 @@ class RecordingApi {
|
|
|
675
675
|
return this.apiClient.callApi(
|
|
676
676
|
'/api/v2/recording/keyconfigurations/{keyConfigurationId}',
|
|
677
677
|
'GET',
|
|
678
|
-
{ 'keyConfigurationId': keyConfigurationId },
|
|
679
|
-
{ },
|
|
680
|
-
{ },
|
|
681
|
-
{ },
|
|
678
|
+
{ 'keyConfigurationId': keyConfigurationId },
|
|
679
|
+
{ },
|
|
680
|
+
{ },
|
|
681
|
+
{ },
|
|
682
682
|
null,
|
|
683
683
|
['PureCloud OAuth'],
|
|
684
|
-
['application/json'],
|
|
684
|
+
['application/json'],
|
|
685
685
|
['application/json']
|
|
686
686
|
);
|
|
687
687
|
}
|
|
@@ -695,13 +695,13 @@ class RecordingApi {
|
|
|
695
695
|
return this.apiClient.callApi(
|
|
696
696
|
'/api/v2/recording/keyconfigurations',
|
|
697
697
|
'GET',
|
|
698
|
-
{ },
|
|
699
|
-
{ },
|
|
700
|
-
{ },
|
|
701
|
-
{ },
|
|
698
|
+
{ },
|
|
699
|
+
{ },
|
|
700
|
+
{ },
|
|
701
|
+
{ },
|
|
702
702
|
null,
|
|
703
703
|
['PureCloud OAuth'],
|
|
704
|
-
['application/json'],
|
|
704
|
+
['application/json'],
|
|
705
705
|
['application/json']
|
|
706
706
|
);
|
|
707
707
|
}
|
|
@@ -720,13 +720,13 @@ class RecordingApi {
|
|
|
720
720
|
return this.apiClient.callApi(
|
|
721
721
|
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
722
722
|
'GET',
|
|
723
|
-
{ 'settingsId': settingsId },
|
|
724
|
-
{ },
|
|
725
|
-
{ },
|
|
726
|
-
{ },
|
|
723
|
+
{ 'settingsId': settingsId },
|
|
724
|
+
{ },
|
|
725
|
+
{ },
|
|
726
|
+
{ },
|
|
727
727
|
null,
|
|
728
728
|
['PureCloud OAuth'],
|
|
729
|
-
['application/json'],
|
|
729
|
+
['application/json'],
|
|
730
730
|
['application/json']
|
|
731
731
|
);
|
|
732
732
|
}
|
|
@@ -740,13 +740,13 @@ class RecordingApi {
|
|
|
740
740
|
return this.apiClient.callApi(
|
|
741
741
|
'/api/v2/recording/localkeys/settings',
|
|
742
742
|
'GET',
|
|
743
|
-
{ },
|
|
744
|
-
{ },
|
|
745
|
-
{ },
|
|
746
|
-
{ },
|
|
743
|
+
{ },
|
|
744
|
+
{ },
|
|
745
|
+
{ },
|
|
746
|
+
{ },
|
|
747
747
|
null,
|
|
748
748
|
['PureCloud OAuth'],
|
|
749
|
-
['application/json'],
|
|
749
|
+
['application/json'],
|
|
750
750
|
['application/json']
|
|
751
751
|
);
|
|
752
752
|
}
|
|
@@ -774,13 +774,13 @@ class RecordingApi {
|
|
|
774
774
|
return this.apiClient.callApi(
|
|
775
775
|
'/api/v2/recording/mediaretentionpolicies',
|
|
776
776
|
'GET',
|
|
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
|
-
{ },
|
|
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
|
+
{ },
|
|
781
781
|
null,
|
|
782
782
|
['PureCloud OAuth'],
|
|
783
|
-
['application/json'],
|
|
783
|
+
['application/json'],
|
|
784
784
|
['application/json']
|
|
785
785
|
);
|
|
786
786
|
}
|
|
@@ -799,13 +799,13 @@ class RecordingApi {
|
|
|
799
799
|
return this.apiClient.callApi(
|
|
800
800
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
801
801
|
'GET',
|
|
802
|
-
{ 'policyId': policyId },
|
|
803
|
-
{ },
|
|
804
|
-
{ },
|
|
805
|
-
{ },
|
|
802
|
+
{ 'policyId': policyId },
|
|
803
|
+
{ },
|
|
804
|
+
{ },
|
|
805
|
+
{ },
|
|
806
806
|
null,
|
|
807
807
|
['PureCloud OAuth'],
|
|
808
|
-
['application/json'],
|
|
808
|
+
['application/json'],
|
|
809
809
|
['application/json']
|
|
810
810
|
);
|
|
811
811
|
}
|
|
@@ -824,13 +824,13 @@ class RecordingApi {
|
|
|
824
824
|
return this.apiClient.callApi(
|
|
825
825
|
'/api/v2/recording/recordingkeys',
|
|
826
826
|
'GET',
|
|
827
|
-
{ },
|
|
828
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
829
|
-
{ },
|
|
830
|
-
{ },
|
|
827
|
+
{ },
|
|
828
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
829
|
+
{ },
|
|
830
|
+
{ },
|
|
831
831
|
null,
|
|
832
832
|
['PureCloud OAuth'],
|
|
833
|
-
['application/json'],
|
|
833
|
+
['application/json'],
|
|
834
834
|
['application/json']
|
|
835
835
|
);
|
|
836
836
|
}
|
|
@@ -844,13 +844,13 @@ class RecordingApi {
|
|
|
844
844
|
return this.apiClient.callApi(
|
|
845
845
|
'/api/v2/recording/recordingkeys/rotationschedule',
|
|
846
846
|
'GET',
|
|
847
|
-
{ },
|
|
848
|
-
{ },
|
|
849
|
-
{ },
|
|
850
|
-
{ },
|
|
847
|
+
{ },
|
|
848
|
+
{ },
|
|
849
|
+
{ },
|
|
850
|
+
{ },
|
|
851
851
|
null,
|
|
852
852
|
['PureCloud OAuth'],
|
|
853
|
-
['application/json'],
|
|
853
|
+
['application/json'],
|
|
854
854
|
['application/json']
|
|
855
855
|
);
|
|
856
856
|
}
|
|
@@ -868,13 +868,13 @@ class RecordingApi {
|
|
|
868
868
|
return this.apiClient.callApi(
|
|
869
869
|
'/api/v2/recording/settings',
|
|
870
870
|
'GET',
|
|
871
|
-
{ },
|
|
872
|
-
{ 'createDefault': opts['createDefault'] },
|
|
873
|
-
{ },
|
|
874
|
-
{ },
|
|
871
|
+
{ },
|
|
872
|
+
{ 'createDefault': opts['createDefault'] },
|
|
873
|
+
{ },
|
|
874
|
+
{ },
|
|
875
875
|
null,
|
|
876
876
|
['PureCloud OAuth'],
|
|
877
|
-
['application/json'],
|
|
877
|
+
['application/json'],
|
|
878
878
|
['application/json']
|
|
879
879
|
);
|
|
880
880
|
}
|
|
@@ -893,13 +893,13 @@ class RecordingApi {
|
|
|
893
893
|
return this.apiClient.callApi(
|
|
894
894
|
'/api/v2/recordings/screensessions',
|
|
895
895
|
'GET',
|
|
896
|
-
{ },
|
|
897
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
898
|
-
{ },
|
|
899
|
-
{ },
|
|
896
|
+
{ },
|
|
897
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
898
|
+
{ },
|
|
899
|
+
{ },
|
|
900
900
|
null,
|
|
901
901
|
['PureCloud OAuth'],
|
|
902
|
-
['application/json'],
|
|
902
|
+
['application/json'],
|
|
903
903
|
['application/json']
|
|
904
904
|
);
|
|
905
905
|
}
|
|
@@ -923,13 +923,13 @@ class RecordingApi {
|
|
|
923
923
|
return this.apiClient.callApi(
|
|
924
924
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
925
925
|
'PATCH',
|
|
926
|
-
{ 'policyId': policyId },
|
|
927
|
-
{ },
|
|
928
|
-
{ },
|
|
929
|
-
{ },
|
|
926
|
+
{ 'policyId': policyId },
|
|
927
|
+
{ },
|
|
928
|
+
{ },
|
|
929
|
+
{ },
|
|
930
930
|
body,
|
|
931
931
|
['PureCloud OAuth'],
|
|
932
|
-
['application/json'],
|
|
932
|
+
['application/json'],
|
|
933
933
|
['application/json']
|
|
934
934
|
);
|
|
935
935
|
}
|
|
@@ -953,13 +953,13 @@ class RecordingApi {
|
|
|
953
953
|
return this.apiClient.callApi(
|
|
954
954
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
955
955
|
'PATCH',
|
|
956
|
-
{ 'policyId': policyId },
|
|
957
|
-
{ },
|
|
958
|
-
{ },
|
|
959
|
-
{ },
|
|
956
|
+
{ 'policyId': policyId },
|
|
957
|
+
{ },
|
|
958
|
+
{ },
|
|
959
|
+
{ },
|
|
960
960
|
body,
|
|
961
961
|
['PureCloud OAuth'],
|
|
962
|
-
['application/json'],
|
|
962
|
+
['application/json'],
|
|
963
963
|
['application/json']
|
|
964
964
|
);
|
|
965
965
|
}
|
|
@@ -982,13 +982,13 @@ class RecordingApi {
|
|
|
982
982
|
return this.apiClient.callApi(
|
|
983
983
|
'/api/v2/recordings/screensessions/{recordingSessionId}',
|
|
984
984
|
'PATCH',
|
|
985
|
-
{ 'recordingSessionId': recordingSessionId },
|
|
986
|
-
{ },
|
|
987
|
-
{ },
|
|
988
|
-
{ },
|
|
985
|
+
{ 'recordingSessionId': recordingSessionId },
|
|
986
|
+
{ },
|
|
987
|
+
{ },
|
|
988
|
+
{ },
|
|
989
989
|
opts['body'],
|
|
990
990
|
['PureCloud OAuth'],
|
|
991
|
-
['application/json'],
|
|
991
|
+
['application/json'],
|
|
992
992
|
['application/json']
|
|
993
993
|
);
|
|
994
994
|
}
|
|
@@ -1017,13 +1017,13 @@ class RecordingApi {
|
|
|
1017
1017
|
return this.apiClient.callApi(
|
|
1018
1018
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations',
|
|
1019
1019
|
'POST',
|
|
1020
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1021
|
-
{ },
|
|
1022
|
-
{ },
|
|
1023
|
-
{ },
|
|
1020
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1021
|
+
{ },
|
|
1022
|
+
{ },
|
|
1023
|
+
{ },
|
|
1024
1024
|
body,
|
|
1025
1025
|
['PureCloud OAuth'],
|
|
1026
|
-
['application/json'],
|
|
1026
|
+
['application/json'],
|
|
1027
1027
|
['application/json']
|
|
1028
1028
|
);
|
|
1029
1029
|
}
|
|
@@ -1042,13 +1042,13 @@ class RecordingApi {
|
|
|
1042
1042
|
return this.apiClient.callApi(
|
|
1043
1043
|
'/api/v2/recording/batchrequests',
|
|
1044
1044
|
'POST',
|
|
1045
|
-
{ },
|
|
1046
|
-
{ },
|
|
1047
|
-
{ },
|
|
1048
|
-
{ },
|
|
1045
|
+
{ },
|
|
1046
|
+
{ },
|
|
1047
|
+
{ },
|
|
1048
|
+
{ },
|
|
1049
1049
|
body,
|
|
1050
1050
|
['PureCloud OAuth'],
|
|
1051
|
-
['application/json'],
|
|
1051
|
+
['application/json'],
|
|
1052
1052
|
['application/json']
|
|
1053
1053
|
);
|
|
1054
1054
|
}
|
|
@@ -1067,13 +1067,13 @@ class RecordingApi {
|
|
|
1067
1067
|
return this.apiClient.callApi(
|
|
1068
1068
|
'/api/v2/recording/crossplatform/mediaretentionpolicies',
|
|
1069
1069
|
'POST',
|
|
1070
|
-
{ },
|
|
1071
|
-
{ },
|
|
1072
|
-
{ },
|
|
1073
|
-
{ },
|
|
1070
|
+
{ },
|
|
1071
|
+
{ },
|
|
1072
|
+
{ },
|
|
1073
|
+
{ },
|
|
1074
1074
|
body,
|
|
1075
1075
|
['PureCloud OAuth'],
|
|
1076
|
-
['application/json'],
|
|
1076
|
+
['application/json'],
|
|
1077
1077
|
['application/json']
|
|
1078
1078
|
);
|
|
1079
1079
|
}
|
|
@@ -1092,13 +1092,13 @@ class RecordingApi {
|
|
|
1092
1092
|
return this.apiClient.callApi(
|
|
1093
1093
|
'/api/v2/recording/jobs',
|
|
1094
1094
|
'POST',
|
|
1095
|
-
{ },
|
|
1096
|
-
{ },
|
|
1097
|
-
{ },
|
|
1098
|
-
{ },
|
|
1095
|
+
{ },
|
|
1096
|
+
{ },
|
|
1097
|
+
{ },
|
|
1098
|
+
{ },
|
|
1099
1099
|
body,
|
|
1100
1100
|
['PureCloud OAuth'],
|
|
1101
|
-
['application/json'],
|
|
1101
|
+
['application/json'],
|
|
1102
1102
|
['application/json']
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
@@ -1117,13 +1117,13 @@ class RecordingApi {
|
|
|
1117
1117
|
return this.apiClient.callApi(
|
|
1118
1118
|
'/api/v2/recording/keyconfigurations',
|
|
1119
1119
|
'POST',
|
|
1120
|
-
{ },
|
|
1121
|
-
{ },
|
|
1122
|
-
{ },
|
|
1123
|
-
{ },
|
|
1120
|
+
{ },
|
|
1121
|
+
{ },
|
|
1122
|
+
{ },
|
|
1123
|
+
{ },
|
|
1124
1124
|
body,
|
|
1125
1125
|
['PureCloud OAuth'],
|
|
1126
|
-
['application/json'],
|
|
1126
|
+
['application/json'],
|
|
1127
1127
|
['application/json']
|
|
1128
1128
|
);
|
|
1129
1129
|
}
|
|
@@ -1142,13 +1142,13 @@ class RecordingApi {
|
|
|
1142
1142
|
return this.apiClient.callApi(
|
|
1143
1143
|
'/api/v2/recording/keyconfigurations/validate',
|
|
1144
1144
|
'POST',
|
|
1145
|
-
{ },
|
|
1146
|
-
{ },
|
|
1147
|
-
{ },
|
|
1148
|
-
{ },
|
|
1145
|
+
{ },
|
|
1146
|
+
{ },
|
|
1147
|
+
{ },
|
|
1148
|
+
{ },
|
|
1149
1149
|
body,
|
|
1150
1150
|
['PureCloud OAuth'],
|
|
1151
|
-
['application/json'],
|
|
1151
|
+
['application/json'],
|
|
1152
1152
|
['application/json']
|
|
1153
1153
|
);
|
|
1154
1154
|
}
|
|
@@ -1167,13 +1167,13 @@ class RecordingApi {
|
|
|
1167
1167
|
return this.apiClient.callApi(
|
|
1168
1168
|
'/api/v2/recording/localkeys',
|
|
1169
1169
|
'POST',
|
|
1170
|
-
{ },
|
|
1171
|
-
{ },
|
|
1172
|
-
{ },
|
|
1173
|
-
{ },
|
|
1170
|
+
{ },
|
|
1171
|
+
{ },
|
|
1172
|
+
{ },
|
|
1173
|
+
{ },
|
|
1174
1174
|
body,
|
|
1175
1175
|
['PureCloud OAuth'],
|
|
1176
|
-
['application/json'],
|
|
1176
|
+
['application/json'],
|
|
1177
1177
|
['application/json']
|
|
1178
1178
|
);
|
|
1179
1179
|
}
|
|
@@ -1192,13 +1192,13 @@ class RecordingApi {
|
|
|
1192
1192
|
return this.apiClient.callApi(
|
|
1193
1193
|
'/api/v2/recording/localkeys/settings',
|
|
1194
1194
|
'POST',
|
|
1195
|
-
{ },
|
|
1196
|
-
{ },
|
|
1197
|
-
{ },
|
|
1198
|
-
{ },
|
|
1195
|
+
{ },
|
|
1196
|
+
{ },
|
|
1197
|
+
{ },
|
|
1198
|
+
{ },
|
|
1199
1199
|
body,
|
|
1200
1200
|
['PureCloud OAuth'],
|
|
1201
|
-
['application/json'],
|
|
1201
|
+
['application/json'],
|
|
1202
1202
|
['application/json']
|
|
1203
1203
|
);
|
|
1204
1204
|
}
|
|
@@ -1217,13 +1217,13 @@ class RecordingApi {
|
|
|
1217
1217
|
return this.apiClient.callApi(
|
|
1218
1218
|
'/api/v2/recording/mediaretentionpolicies',
|
|
1219
1219
|
'POST',
|
|
1220
|
-
{ },
|
|
1221
|
-
{ },
|
|
1222
|
-
{ },
|
|
1223
|
-
{ },
|
|
1220
|
+
{ },
|
|
1221
|
+
{ },
|
|
1222
|
+
{ },
|
|
1223
|
+
{ },
|
|
1224
1224
|
body,
|
|
1225
1225
|
['PureCloud OAuth'],
|
|
1226
|
-
['application/json'],
|
|
1226
|
+
['application/json'],
|
|
1227
1227
|
['application/json']
|
|
1228
1228
|
);
|
|
1229
1229
|
}
|
|
@@ -1237,13 +1237,13 @@ class RecordingApi {
|
|
|
1237
1237
|
return this.apiClient.callApi(
|
|
1238
1238
|
'/api/v2/recording/recordingkeys',
|
|
1239
1239
|
'POST',
|
|
1240
|
-
{ },
|
|
1241
|
-
{ },
|
|
1242
|
-
{ },
|
|
1243
|
-
{ },
|
|
1240
|
+
{ },
|
|
1241
|
+
{ },
|
|
1242
|
+
{ },
|
|
1243
|
+
{ },
|
|
1244
1244
|
null,
|
|
1245
1245
|
['PureCloud OAuth'],
|
|
1246
|
-
['application/json'],
|
|
1246
|
+
['application/json'],
|
|
1247
1247
|
['application/json']
|
|
1248
1248
|
);
|
|
1249
1249
|
}
|
|
@@ -1262,13 +1262,13 @@ class RecordingApi {
|
|
|
1262
1262
|
return this.apiClient.callApi(
|
|
1263
1263
|
'/api/v2/recordings/deletionprotection',
|
|
1264
1264
|
'POST',
|
|
1265
|
-
{ },
|
|
1266
|
-
{ },
|
|
1267
|
-
{ },
|
|
1268
|
-
{ },
|
|
1265
|
+
{ },
|
|
1266
|
+
{ },
|
|
1267
|
+
{ },
|
|
1268
|
+
{ },
|
|
1269
1269
|
body,
|
|
1270
1270
|
['PureCloud OAuth'],
|
|
1271
|
-
['application/json'],
|
|
1271
|
+
['application/json'],
|
|
1272
1272
|
['application/json']
|
|
1273
1273
|
);
|
|
1274
1274
|
}
|
|
@@ -1287,13 +1287,13 @@ class RecordingApi {
|
|
|
1287
1287
|
return this.apiClient.callApi(
|
|
1288
1288
|
'/api/v2/recordings/screensessions/acknowledge',
|
|
1289
1289
|
'POST',
|
|
1290
|
-
{ },
|
|
1291
|
-
{ },
|
|
1292
|
-
{ },
|
|
1293
|
-
{ },
|
|
1290
|
+
{ },
|
|
1291
|
+
{ },
|
|
1292
|
+
{ },
|
|
1293
|
+
{ },
|
|
1294
1294
|
body,
|
|
1295
1295
|
['PureCloud OAuth'],
|
|
1296
|
-
['application/json'],
|
|
1296
|
+
['application/json'],
|
|
1297
1297
|
['application/json']
|
|
1298
1298
|
);
|
|
1299
1299
|
}
|
|
@@ -1312,13 +1312,13 @@ class RecordingApi {
|
|
|
1312
1312
|
return this.apiClient.callApi(
|
|
1313
1313
|
'/api/v2/recordings/screensessions/metadata',
|
|
1314
1314
|
'POST',
|
|
1315
|
-
{ },
|
|
1316
|
-
{ },
|
|
1317
|
-
{ },
|
|
1318
|
-
{ },
|
|
1315
|
+
{ },
|
|
1316
|
+
{ },
|
|
1317
|
+
{ },
|
|
1318
|
+
{ },
|
|
1319
1319
|
body,
|
|
1320
1320
|
['PureCloud OAuth'],
|
|
1321
|
-
['application/json'],
|
|
1321
|
+
['application/json'],
|
|
1322
1322
|
['application/json']
|
|
1323
1323
|
);
|
|
1324
1324
|
}
|
|
@@ -1347,13 +1347,13 @@ class RecordingApi {
|
|
|
1347
1347
|
return this.apiClient.callApi(
|
|
1348
1348
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
1349
1349
|
'PUT',
|
|
1350
|
-
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1351
|
-
{ },
|
|
1352
|
-
{ },
|
|
1353
|
-
{ },
|
|
1350
|
+
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1351
|
+
{ },
|
|
1352
|
+
{ },
|
|
1353
|
+
{ },
|
|
1354
1354
|
body,
|
|
1355
1355
|
['PureCloud OAuth'],
|
|
1356
|
-
['application/json'],
|
|
1356
|
+
['application/json'],
|
|
1357
1357
|
['application/json']
|
|
1358
1358
|
);
|
|
1359
1359
|
}
|
|
@@ -1387,13 +1387,13 @@ class RecordingApi {
|
|
|
1387
1387
|
return this.apiClient.callApi(
|
|
1388
1388
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}',
|
|
1389
1389
|
'PUT',
|
|
1390
|
-
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
1391
|
-
{ },
|
|
1392
|
-
{ },
|
|
1393
|
-
{ },
|
|
1390
|
+
{ 'conversationId': conversationId,'recordingId': recordingId,'annotationId': annotationId },
|
|
1391
|
+
{ },
|
|
1392
|
+
{ },
|
|
1393
|
+
{ },
|
|
1394
1394
|
body,
|
|
1395
1395
|
['PureCloud OAuth'],
|
|
1396
|
-
['application/json'],
|
|
1396
|
+
['application/json'],
|
|
1397
1397
|
['application/json']
|
|
1398
1398
|
);
|
|
1399
1399
|
}
|
|
@@ -1416,13 +1416,13 @@ class RecordingApi {
|
|
|
1416
1416
|
return this.apiClient.callApi(
|
|
1417
1417
|
'/api/v2/orphanrecordings/{orphanId}',
|
|
1418
1418
|
'PUT',
|
|
1419
|
-
{ 'orphanId': orphanId },
|
|
1420
|
-
{ },
|
|
1421
|
-
{ },
|
|
1422
|
-
{ },
|
|
1419
|
+
{ 'orphanId': orphanId },
|
|
1420
|
+
{ },
|
|
1421
|
+
{ },
|
|
1422
|
+
{ },
|
|
1423
1423
|
opts['body'],
|
|
1424
1424
|
['PureCloud OAuth'],
|
|
1425
|
-
['application/json'],
|
|
1425
|
+
['application/json'],
|
|
1426
1426
|
['application/json']
|
|
1427
1427
|
);
|
|
1428
1428
|
}
|
|
@@ -1446,20 +1446,20 @@ class RecordingApi {
|
|
|
1446
1446
|
return this.apiClient.callApi(
|
|
1447
1447
|
'/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}',
|
|
1448
1448
|
'PUT',
|
|
1449
|
-
{ 'policyId': policyId },
|
|
1450
|
-
{ },
|
|
1451
|
-
{ },
|
|
1452
|
-
{ },
|
|
1449
|
+
{ 'policyId': policyId },
|
|
1450
|
+
{ },
|
|
1451
|
+
{ },
|
|
1452
|
+
{ },
|
|
1453
1453
|
body,
|
|
1454
1454
|
['PureCloud OAuth'],
|
|
1455
|
-
['application/json'],
|
|
1455
|
+
['application/json'],
|
|
1456
1456
|
['application/json']
|
|
1457
1457
|
);
|
|
1458
1458
|
}
|
|
1459
1459
|
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Execute the recording bulk job.
|
|
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
|
|
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.
|
|
1463
1463
|
* @param {String} jobId jobId
|
|
1464
1464
|
* @param {Object} body query
|
|
1465
1465
|
*/
|
|
@@ -1476,13 +1476,13 @@ class RecordingApi {
|
|
|
1476
1476
|
return this.apiClient.callApi(
|
|
1477
1477
|
'/api/v2/recording/jobs/{jobId}',
|
|
1478
1478
|
'PUT',
|
|
1479
|
-
{ 'jobId': jobId },
|
|
1480
|
-
{ },
|
|
1481
|
-
{ },
|
|
1482
|
-
{ },
|
|
1479
|
+
{ 'jobId': jobId },
|
|
1480
|
+
{ },
|
|
1481
|
+
{ },
|
|
1482
|
+
{ },
|
|
1483
1483
|
body,
|
|
1484
1484
|
['PureCloud OAuth'],
|
|
1485
|
-
['application/json'],
|
|
1485
|
+
['application/json'],
|
|
1486
1486
|
['application/json']
|
|
1487
1487
|
);
|
|
1488
1488
|
}
|
|
@@ -1506,13 +1506,13 @@ class RecordingApi {
|
|
|
1506
1506
|
return this.apiClient.callApi(
|
|
1507
1507
|
'/api/v2/recording/keyconfigurations/{keyConfigurationId}',
|
|
1508
1508
|
'PUT',
|
|
1509
|
-
{ 'keyConfigurationId': keyConfigurationId },
|
|
1510
|
-
{ },
|
|
1511
|
-
{ },
|
|
1512
|
-
{ },
|
|
1509
|
+
{ 'keyConfigurationId': keyConfigurationId },
|
|
1510
|
+
{ },
|
|
1511
|
+
{ },
|
|
1512
|
+
{ },
|
|
1513
1513
|
body,
|
|
1514
1514
|
['PureCloud OAuth'],
|
|
1515
|
-
['application/json'],
|
|
1515
|
+
['application/json'],
|
|
1516
1516
|
['application/json']
|
|
1517
1517
|
);
|
|
1518
1518
|
}
|
|
@@ -1536,13 +1536,13 @@ class RecordingApi {
|
|
|
1536
1536
|
return this.apiClient.callApi(
|
|
1537
1537
|
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
1538
1538
|
'PUT',
|
|
1539
|
-
{ 'settingsId': settingsId },
|
|
1540
|
-
{ },
|
|
1541
|
-
{ },
|
|
1542
|
-
{ },
|
|
1539
|
+
{ 'settingsId': settingsId },
|
|
1540
|
+
{ },
|
|
1541
|
+
{ },
|
|
1542
|
+
{ },
|
|
1543
1543
|
body,
|
|
1544
1544
|
['PureCloud OAuth'],
|
|
1545
|
-
['application/json'],
|
|
1545
|
+
['application/json'],
|
|
1546
1546
|
['application/json']
|
|
1547
1547
|
);
|
|
1548
1548
|
}
|
|
@@ -1566,13 +1566,13 @@ class RecordingApi {
|
|
|
1566
1566
|
return this.apiClient.callApi(
|
|
1567
1567
|
'/api/v2/recording/mediaretentionpolicies/{policyId}',
|
|
1568
1568
|
'PUT',
|
|
1569
|
-
{ 'policyId': policyId },
|
|
1570
|
-
{ },
|
|
1571
|
-
{ },
|
|
1572
|
-
{ },
|
|
1569
|
+
{ 'policyId': policyId },
|
|
1570
|
+
{ },
|
|
1571
|
+
{ },
|
|
1572
|
+
{ },
|
|
1573
1573
|
body,
|
|
1574
1574
|
['PureCloud OAuth'],
|
|
1575
|
-
['application/json'],
|
|
1575
|
+
['application/json'],
|
|
1576
1576
|
['application/json']
|
|
1577
1577
|
);
|
|
1578
1578
|
}
|
|
@@ -1591,13 +1591,13 @@ class RecordingApi {
|
|
|
1591
1591
|
return this.apiClient.callApi(
|
|
1592
1592
|
'/api/v2/recording/recordingkeys/rotationschedule',
|
|
1593
1593
|
'PUT',
|
|
1594
|
-
{ },
|
|
1595
|
-
{ },
|
|
1596
|
-
{ },
|
|
1597
|
-
{ },
|
|
1594
|
+
{ },
|
|
1595
|
+
{ },
|
|
1596
|
+
{ },
|
|
1597
|
+
{ },
|
|
1598
1598
|
body,
|
|
1599
1599
|
['PureCloud OAuth'],
|
|
1600
|
-
['application/json'],
|
|
1600
|
+
['application/json'],
|
|
1601
1601
|
['application/json']
|
|
1602
1602
|
);
|
|
1603
1603
|
}
|
|
@@ -1616,13 +1616,13 @@ class RecordingApi {
|
|
|
1616
1616
|
return this.apiClient.callApi(
|
|
1617
1617
|
'/api/v2/recording/settings',
|
|
1618
1618
|
'PUT',
|
|
1619
|
-
{ },
|
|
1620
|
-
{ },
|
|
1621
|
-
{ },
|
|
1622
|
-
{ },
|
|
1619
|
+
{ },
|
|
1620
|
+
{ },
|
|
1621
|
+
{ },
|
|
1622
|
+
{ },
|
|
1623
1623
|
body,
|
|
1624
1624
|
['PureCloud OAuth'],
|
|
1625
|
-
['application/json'],
|
|
1625
|
+
['application/json'],
|
|
1626
1626
|
['application/json']
|
|
1627
1627
|
);
|
|
1628
1628
|
}
|
|
@@ -1641,13 +1641,13 @@ class RecordingApi {
|
|
|
1641
1641
|
return this.apiClient.callApi(
|
|
1642
1642
|
'/api/v2/recordings/deletionprotection',
|
|
1643
1643
|
'PUT',
|
|
1644
|
-
{ },
|
|
1645
|
-
{ 'protect': opts['protect'] },
|
|
1646
|
-
{ },
|
|
1647
|
-
{ },
|
|
1644
|
+
{ },
|
|
1645
|
+
{ 'protect': opts['protect'] },
|
|
1646
|
+
{ },
|
|
1647
|
+
{ },
|
|
1648
1648
|
opts['body'],
|
|
1649
1649
|
['PureCloud OAuth'],
|
|
1650
|
-
['application/json'],
|
|
1650
|
+
['application/json'],
|
|
1651
1651
|
['application/json']
|
|
1652
1652
|
);
|
|
1653
1653
|
}
|