purecloud-platform-client-v2 158.0.0 → 160.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +637 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +637 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +637 -185
- package/dist/web-cjs/purecloud-platform-client-v2.js +7146 -481
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +444 -169
- package/package.json +3 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +27 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +107 -0
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +55 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +13 -5
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -102
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +26 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -413,6 +413,35 @@ class LearningApi {
|
|
|
413
413
|
);
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
+
/**
|
|
417
|
+
* Reschedule Learning Assignment
|
|
418
|
+
*
|
|
419
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
420
|
+
* @param {Object} opts Optional parameters
|
|
421
|
+
* @param {Object} opts.body The Learning assignment reschedule model
|
|
422
|
+
*/
|
|
423
|
+
patchLearningAssignmentReschedule(assignmentId, opts) {
|
|
424
|
+
opts = opts || {};
|
|
425
|
+
|
|
426
|
+
// verify the required parameter 'assignmentId' is set
|
|
427
|
+
if (assignmentId === undefined || assignmentId === null) {
|
|
428
|
+
throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
return this.apiClient.callApi(
|
|
432
|
+
'/api/v2/learning/assignments/{assignmentId}/reschedule',
|
|
433
|
+
'PATCH',
|
|
434
|
+
{ 'assignmentId': assignmentId },
|
|
435
|
+
{ },
|
|
436
|
+
{ },
|
|
437
|
+
{ },
|
|
438
|
+
opts['body'],
|
|
439
|
+
['PureCloud OAuth'],
|
|
440
|
+
['application/json'],
|
|
441
|
+
['application/json']
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
|
|
416
445
|
/**
|
|
417
446
|
* Score learning assessment for preview
|
|
418
447
|
*
|
|
@@ -700,6 +729,31 @@ class LearningApi {
|
|
|
700
729
|
);
|
|
701
730
|
}
|
|
702
731
|
|
|
732
|
+
/**
|
|
733
|
+
* Get list of possible slots where a learning activity can be scheduled.
|
|
734
|
+
*
|
|
735
|
+
* @param {Object} body The slot search request
|
|
736
|
+
*/
|
|
737
|
+
postLearningScheduleslotsQuery(body) {
|
|
738
|
+
// verify the required parameter 'body' is set
|
|
739
|
+
if (body === undefined || body === null) {
|
|
740
|
+
throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
return this.apiClient.callApi(
|
|
744
|
+
'/api/v2/learning/scheduleslots/query',
|
|
745
|
+
'POST',
|
|
746
|
+
{ },
|
|
747
|
+
{ },
|
|
748
|
+
{ },
|
|
749
|
+
{ },
|
|
750
|
+
body,
|
|
751
|
+
['PureCloud OAuth'],
|
|
752
|
+
['application/json'],
|
|
753
|
+
['application/json']
|
|
754
|
+
);
|
|
755
|
+
}
|
|
756
|
+
|
|
703
757
|
/**
|
|
704
758
|
* Update a learning module
|
|
705
759
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
@@ -5,7 +5,7 @@ class NotificationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Notifications service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -149,8 +149,12 @@ class NotificationsApi {
|
|
|
149
149
|
*
|
|
150
150
|
* @param {String} channelId Channel ID
|
|
151
151
|
* @param {Array.<Object>} body Body
|
|
152
|
+
* @param {Object} opts Optional parameters
|
|
153
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
152
154
|
*/
|
|
153
|
-
postNotificationsChannelSubscriptions(channelId, body) {
|
|
155
|
+
postNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
156
|
+
opts = opts || {};
|
|
157
|
+
|
|
154
158
|
// verify the required parameter 'channelId' is set
|
|
155
159
|
if (channelId === undefined || channelId === null) {
|
|
156
160
|
throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
|
|
@@ -164,7 +168,7 @@ class NotificationsApi {
|
|
|
164
168
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
165
169
|
'POST',
|
|
166
170
|
{ 'channelId': channelId },
|
|
167
|
-
{
|
|
171
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
168
172
|
{ },
|
|
169
173
|
{ },
|
|
170
174
|
body,
|
|
@@ -199,8 +203,12 @@ class NotificationsApi {
|
|
|
199
203
|
*
|
|
200
204
|
* @param {String} channelId Channel ID
|
|
201
205
|
* @param {Array.<Object>} body Body
|
|
206
|
+
* @param {Object} opts Optional parameters
|
|
207
|
+
* @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
|
|
202
208
|
*/
|
|
203
|
-
putNotificationsChannelSubscriptions(channelId, body) {
|
|
209
|
+
putNotificationsChannelSubscriptions(channelId, body, opts) {
|
|
210
|
+
opts = opts || {};
|
|
211
|
+
|
|
204
212
|
// verify the required parameter 'channelId' is set
|
|
205
213
|
if (channelId === undefined || channelId === null) {
|
|
206
214
|
throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
|
|
@@ -214,7 +222,7 @@ class NotificationsApi {
|
|
|
214
222
|
'/api/v2/notifications/channels/{channelId}/subscriptions',
|
|
215
223
|
'PUT',
|
|
216
224
|
{ 'channelId': channelId },
|
|
217
|
-
{
|
|
225
|
+
{ 'ignoreErrors': opts['ignoreErrors'] },
|
|
218
226
|
{ },
|
|
219
227
|
{ },
|
|
220
228
|
body,
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -355,6 +355,35 @@ class OutboundApi {
|
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
/**
|
|
359
|
+
* Deletes all or expired custom exclusion column entries from a DNC list.
|
|
360
|
+
* This operation is only for Internal DNC lists of custom exclusion column entries
|
|
361
|
+
* @param {String} dncListId DncList ID
|
|
362
|
+
* @param {Object} opts Optional parameters
|
|
363
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
364
|
+
*/
|
|
365
|
+
deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
|
|
366
|
+
opts = opts || {};
|
|
367
|
+
|
|
368
|
+
// verify the required parameter 'dncListId' is set
|
|
369
|
+
if (dncListId === undefined || dncListId === null) {
|
|
370
|
+
throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
return this.apiClient.callApi(
|
|
374
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
375
|
+
'DELETE',
|
|
376
|
+
{ 'dncListId': dncListId },
|
|
377
|
+
{ 'expiredOnly': opts['expiredOnly'] },
|
|
378
|
+
{ },
|
|
379
|
+
{ },
|
|
380
|
+
null,
|
|
381
|
+
['PureCloud OAuth'],
|
|
382
|
+
['application/json'],
|
|
383
|
+
['application/json']
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
|
|
358
387
|
/**
|
|
359
388
|
* Deletes all or expired email addresses from a DNC list.
|
|
360
389
|
* This operation is Only for Internal DNC lists of email addresses
|
|
@@ -2183,6 +2212,36 @@ class OutboundApi {
|
|
|
2183
2212
|
);
|
|
2184
2213
|
}
|
|
2185
2214
|
|
|
2215
|
+
/**
|
|
2216
|
+
* Add entries to or delete entries from a DNC list.
|
|
2217
|
+
* Only Internal DNC lists may be deleted from
|
|
2218
|
+
* @param {String} dncListId DncList ID
|
|
2219
|
+
* @param {Object} body DNC Custom exclusion column entries
|
|
2220
|
+
*/
|
|
2221
|
+
patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
|
|
2222
|
+
// verify the required parameter 'dncListId' is set
|
|
2223
|
+
if (dncListId === undefined || dncListId === null) {
|
|
2224
|
+
throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
2225
|
+
}
|
|
2226
|
+
// verify the required parameter 'body' is set
|
|
2227
|
+
if (body === undefined || body === null) {
|
|
2228
|
+
throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
return this.apiClient.callApi(
|
|
2232
|
+
'/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
|
|
2233
|
+
'PATCH',
|
|
2234
|
+
{ 'dncListId': dncListId },
|
|
2235
|
+
{ },
|
|
2236
|
+
{ },
|
|
2237
|
+
{ },
|
|
2238
|
+
body,
|
|
2239
|
+
['PureCloud OAuth'],
|
|
2240
|
+
['application/json'],
|
|
2241
|
+
['application/json']
|
|
2242
|
+
);
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2186
2245
|
/**
|
|
2187
2246
|
* Add emails to or Delete emails from a DNC list.
|
|
2188
2247
|
* Only Internal DNC lists may be added to or deleted from
|
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -267,7 +267,7 @@ class QualityApi {
|
|
|
267
267
|
* @param {String} conversationId conversationId
|
|
268
268
|
* @param {String} evaluationId evaluationId
|
|
269
269
|
* @param {Object} opts Optional parameters
|
|
270
|
-
* @param {String} opts.expand agent, evaluator, evaluationForm
|
|
270
|
+
* @param {String} opts.expand agent, assignee, evaluator, evaluationForm
|
|
271
271
|
*/
|
|
272
272
|
getQualityConversationEvaluation(conversationId, evaluationId, opts) {
|
|
273
273
|
opts = opts || {};
|
|
@@ -378,7 +378,7 @@ class QualityApi {
|
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
380
|
* Queries Evaluations and returns a paged list
|
|
381
|
-
* Query params must include one of conversationId, evaluatorUserId, or
|
|
381
|
+
* Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
|
|
382
382
|
* @param {Object} opts Optional parameters
|
|
383
383
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
384
384
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -389,6 +389,7 @@ class QualityApi {
|
|
|
389
389
|
* @param {String} opts.conversationId conversationId specified
|
|
390
390
|
* @param {String} opts.agentUserId user id of the agent
|
|
391
391
|
* @param {String} opts.evaluatorUserId evaluator user id
|
|
392
|
+
* @param {String} opts.assigneeUserId assignee user id
|
|
392
393
|
* @param {String} opts.queueId queue id
|
|
393
394
|
* @param {String} opts.startTime start time of the evaluation query
|
|
394
395
|
* @param {String} opts.endTime end time of the evaluation query
|
|
@@ -407,7 +408,7 @@ class QualityApi {
|
|
|
407
408
|
'/api/v2/quality/evaluations/query',
|
|
408
409
|
'GET',
|
|
409
410
|
{ },
|
|
410
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
411
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
411
412
|
{ },
|
|
412
413
|
{ },
|
|
413
414
|
null,
|
|
@@ -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 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -706,51 +706,6 @@ class RecordingApi {
|
|
|
706
706
|
);
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
/**
|
|
710
|
-
* Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
711
|
-
*
|
|
712
|
-
* @param {String} settingsId Settings Id
|
|
713
|
-
*/
|
|
714
|
-
getRecordingLocalkeysSetting(settingsId) {
|
|
715
|
-
// verify the required parameter 'settingsId' is set
|
|
716
|
-
if (settingsId === undefined || settingsId === null) {
|
|
717
|
-
throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
return this.apiClient.callApi(
|
|
721
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
722
|
-
'GET',
|
|
723
|
-
{ 'settingsId': settingsId },
|
|
724
|
-
{ },
|
|
725
|
-
{ },
|
|
726
|
-
{ },
|
|
727
|
-
null,
|
|
728
|
-
['PureCloud OAuth'],
|
|
729
|
-
['application/json'],
|
|
730
|
-
['application/json']
|
|
731
|
-
);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* gets a list local key settings data. Replaced by API recording/keyconfigurations
|
|
736
|
-
*
|
|
737
|
-
*/
|
|
738
|
-
getRecordingLocalkeysSettings() {
|
|
739
|
-
|
|
740
|
-
return this.apiClient.callApi(
|
|
741
|
-
'/api/v2/recording/localkeys/settings',
|
|
742
|
-
'GET',
|
|
743
|
-
{ },
|
|
744
|
-
{ },
|
|
745
|
-
{ },
|
|
746
|
-
{ },
|
|
747
|
-
null,
|
|
748
|
-
['PureCloud OAuth'],
|
|
749
|
-
['application/json'],
|
|
750
|
-
['application/json']
|
|
751
|
-
);
|
|
752
|
-
}
|
|
753
|
-
|
|
754
709
|
/**
|
|
755
710
|
* Gets media retention policy list with query options to filter on name and enabled.
|
|
756
711
|
* for a less verbose response, add summary=true to this endpoint
|
|
@@ -1135,7 +1090,7 @@ class RecordingApi {
|
|
|
1135
1090
|
|
|
1136
1091
|
/**
|
|
1137
1092
|
* Create a recording bulk job.
|
|
1138
|
-
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
1093
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
1139
1094
|
* @param {Object} body query
|
|
1140
1095
|
*/
|
|
1141
1096
|
postRecordingJobs(body) {
|
|
@@ -1233,31 +1188,6 @@ class RecordingApi {
|
|
|
1233
1188
|
);
|
|
1234
1189
|
}
|
|
1235
1190
|
|
|
1236
|
-
/**
|
|
1237
|
-
* create settings for local key creation. Replaced by API recording/keyconfigurations
|
|
1238
|
-
*
|
|
1239
|
-
* @param {Object} body Local Encryption Configuration
|
|
1240
|
-
*/
|
|
1241
|
-
postRecordingLocalkeysSettings(body) {
|
|
1242
|
-
// verify the required parameter 'body' is set
|
|
1243
|
-
if (body === undefined || body === null) {
|
|
1244
|
-
throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
return this.apiClient.callApi(
|
|
1248
|
-
'/api/v2/recording/localkeys/settings',
|
|
1249
|
-
'POST',
|
|
1250
|
-
{ },
|
|
1251
|
-
{ },
|
|
1252
|
-
{ },
|
|
1253
|
-
{ },
|
|
1254
|
-
body,
|
|
1255
|
-
['PureCloud OAuth'],
|
|
1256
|
-
['application/json'],
|
|
1257
|
-
['application/json']
|
|
1258
|
-
);
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
1191
|
/**
|
|
1262
1192
|
* Create media retention policy
|
|
1263
1193
|
* Policy does not work retroactively
|
|
@@ -1601,36 +1531,6 @@ class RecordingApi {
|
|
|
1601
1531
|
);
|
|
1602
1532
|
}
|
|
1603
1533
|
|
|
1604
|
-
/**
|
|
1605
|
-
* Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
|
|
1606
|
-
*
|
|
1607
|
-
* @param {String} settingsId Settings Id
|
|
1608
|
-
* @param {Object} body Local Encryption metadata
|
|
1609
|
-
*/
|
|
1610
|
-
putRecordingLocalkeysSetting(settingsId, body) {
|
|
1611
|
-
// verify the required parameter 'settingsId' is set
|
|
1612
|
-
if (settingsId === undefined || settingsId === null) {
|
|
1613
|
-
throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
|
|
1614
|
-
}
|
|
1615
|
-
// verify the required parameter 'body' is set
|
|
1616
|
-
if (body === undefined || body === null) {
|
|
1617
|
-
throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
return this.apiClient.callApi(
|
|
1621
|
-
'/api/v2/recording/localkeys/settings/{settingsId}',
|
|
1622
|
-
'PUT',
|
|
1623
|
-
{ 'settingsId': settingsId },
|
|
1624
|
-
{ },
|
|
1625
|
-
{ },
|
|
1626
|
-
{ },
|
|
1627
|
-
body,
|
|
1628
|
-
['PureCloud OAuth'],
|
|
1629
|
-
['application/json'],
|
|
1630
|
-
['application/json']
|
|
1631
|
-
);
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
1534
|
/**
|
|
1635
1535
|
* Update a media retention policy
|
|
1636
1536
|
* Policy does not work retroactively
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1808,8 +1808,12 @@ class RoutingApi {
|
|
|
1808
1808
|
* Get a phone number provisioned for SMS.
|
|
1809
1809
|
*
|
|
1810
1810
|
* @param {String} addressId Address ID
|
|
1811
|
+
* @param {Object} opts Optional parameters
|
|
1812
|
+
* @param {Object} opts.expand Expand response with additional information
|
|
1811
1813
|
*/
|
|
1812
|
-
getRoutingSmsPhonenumber(addressId) {
|
|
1814
|
+
getRoutingSmsPhonenumber(addressId, opts) {
|
|
1815
|
+
opts = opts || {};
|
|
1816
|
+
|
|
1813
1817
|
// verify the required parameter 'addressId' is set
|
|
1814
1818
|
if (addressId === undefined || addressId === null) {
|
|
1815
1819
|
throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
|
|
@@ -1819,7 +1823,7 @@ class RoutingApi {
|
|
|
1819
1823
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
1820
1824
|
'GET',
|
|
1821
1825
|
{ 'addressId': addressId },
|
|
1822
|
-
{
|
|
1826
|
+
{ 'expand': opts['expand'] },
|
|
1823
1827
|
{ },
|
|
1824
1828
|
{ },
|
|
1825
1829
|
null,
|
|
@@ -2053,6 +2057,37 @@ class RoutingApi {
|
|
|
2053
2057
|
);
|
|
2054
2058
|
}
|
|
2055
2059
|
|
|
2060
|
+
/**
|
|
2061
|
+
* Get skill groups for a user
|
|
2062
|
+
*
|
|
2063
|
+
* @param {String} userId User ID
|
|
2064
|
+
* @param {Object} opts Optional parameters
|
|
2065
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2066
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
2067
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
2068
|
+
*/
|
|
2069
|
+
getUserSkillgroups(userId, opts) {
|
|
2070
|
+
opts = opts || {};
|
|
2071
|
+
|
|
2072
|
+
// verify the required parameter 'userId' is set
|
|
2073
|
+
if (userId === undefined || userId === null) {
|
|
2074
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
return this.apiClient.callApi(
|
|
2078
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
2079
|
+
'GET',
|
|
2080
|
+
{ 'userId': userId },
|
|
2081
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
2082
|
+
{ },
|
|
2083
|
+
{ },
|
|
2084
|
+
null,
|
|
2085
|
+
['PureCloud OAuth'],
|
|
2086
|
+
['application/json'],
|
|
2087
|
+
['application/json']
|
|
2088
|
+
);
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2056
2091
|
/**
|
|
2057
2092
|
* Update attributes of an in-queue conversation
|
|
2058
2093
|
* Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
|
|
@@ -5,7 +5,7 @@ class SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -272,6 +272,31 @@ class SearchApi {
|
|
|
272
272
|
);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* Search conversations
|
|
277
|
+
*
|
|
278
|
+
* @param {Object} body Search request options
|
|
279
|
+
*/
|
|
280
|
+
postConversationsParticipantsAttributesSearch(body) {
|
|
281
|
+
// verify the required parameter 'body' is set
|
|
282
|
+
if (body === undefined || body === null) {
|
|
283
|
+
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
return this.apiClient.callApi(
|
|
287
|
+
'/api/v2/conversations/participants/attributes/search',
|
|
288
|
+
'POST',
|
|
289
|
+
{ },
|
|
290
|
+
{ },
|
|
291
|
+
{ },
|
|
292
|
+
{ },
|
|
293
|
+
body,
|
|
294
|
+
['PureCloud OAuth'],
|
|
295
|
+
['application/json'],
|
|
296
|
+
['application/json']
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
|
|
275
300
|
/**
|
|
276
301
|
* Search gkn documentation
|
|
277
302
|
*
|