purecloud-platform-client-v2 168.2.0 → 169.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 +2 -35
- package/dist/node/purecloud-platform-client-v2.js +24925 -20106
- package/dist/web-amd/purecloud-platform-client-v2.js +24925 -20106
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +24925 -20106
- package/dist/web-cjs/purecloud-platform-client-v2.js +24925 -20106
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +2457 -16
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1418 -227
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +142 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +172 -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 +114 -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 +114 -4
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +333 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +260 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +200 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -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 +11 -6
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- 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 +59 -10
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +53 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +174 -10
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +199 -6
- 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 +80 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +25 -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/TaskManagementApi.js +1282 -0
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +32 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +33 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +47 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +172 -7
- 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 +6 -6
- 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 +6 -6
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -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 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -88,7 +88,7 @@ class QualityApi {
|
|
|
88
88
|
* Delete an evaluation form.
|
|
89
89
|
*
|
|
90
90
|
* @param {String} formId Form ID
|
|
91
|
-
|
|
91
|
+
* @deprecated
|
|
92
92
|
*/
|
|
93
93
|
deleteQualityForm(formId) {
|
|
94
94
|
// verify the required parameter 'formId' is set
|
|
@@ -160,6 +160,118 @@ class QualityApi {
|
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Get status for async query for evaluation aggregates
|
|
165
|
+
*
|
|
166
|
+
* @param {String} jobId jobId
|
|
167
|
+
* Preview Endpoint
|
|
168
|
+
*/
|
|
169
|
+
getAnalyticsEvaluationsAggregatesJob(jobId) {
|
|
170
|
+
// verify the required parameter 'jobId' is set
|
|
171
|
+
if (jobId === undefined || jobId === null) {
|
|
172
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return this.apiClient.callApi(
|
|
176
|
+
'/api/v2/analytics/evaluations/aggregates/jobs/{jobId}',
|
|
177
|
+
'GET',
|
|
178
|
+
{ 'jobId': jobId },
|
|
179
|
+
{ },
|
|
180
|
+
{ },
|
|
181
|
+
{ },
|
|
182
|
+
null,
|
|
183
|
+
['PureCloud OAuth'],
|
|
184
|
+
['application/json'],
|
|
185
|
+
['application/json']
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Fetch a page of results for an async aggregates query
|
|
191
|
+
*
|
|
192
|
+
* @param {String} jobId jobId
|
|
193
|
+
* @param {Object} opts Optional parameters
|
|
194
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
195
|
+
* Preview Endpoint
|
|
196
|
+
*/
|
|
197
|
+
getAnalyticsEvaluationsAggregatesJobResults(jobId, opts) {
|
|
198
|
+
opts = opts || {};
|
|
199
|
+
|
|
200
|
+
// verify the required parameter 'jobId' is set
|
|
201
|
+
if (jobId === undefined || jobId === null) {
|
|
202
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
return this.apiClient.callApi(
|
|
206
|
+
'/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results',
|
|
207
|
+
'GET',
|
|
208
|
+
{ 'jobId': jobId },
|
|
209
|
+
{ 'cursor': opts['cursor'] },
|
|
210
|
+
{ },
|
|
211
|
+
{ },
|
|
212
|
+
null,
|
|
213
|
+
['PureCloud OAuth'],
|
|
214
|
+
['application/json'],
|
|
215
|
+
['application/json']
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Get status for async query for survey aggregates
|
|
221
|
+
*
|
|
222
|
+
* @param {String} jobId jobId
|
|
223
|
+
* Preview Endpoint
|
|
224
|
+
*/
|
|
225
|
+
getAnalyticsSurveysAggregatesJob(jobId) {
|
|
226
|
+
// verify the required parameter 'jobId' is set
|
|
227
|
+
if (jobId === undefined || jobId === null) {
|
|
228
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
return this.apiClient.callApi(
|
|
232
|
+
'/api/v2/analytics/surveys/aggregates/jobs/{jobId}',
|
|
233
|
+
'GET',
|
|
234
|
+
{ 'jobId': jobId },
|
|
235
|
+
{ },
|
|
236
|
+
{ },
|
|
237
|
+
{ },
|
|
238
|
+
null,
|
|
239
|
+
['PureCloud OAuth'],
|
|
240
|
+
['application/json'],
|
|
241
|
+
['application/json']
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Fetch a page of results for an async aggregates query
|
|
247
|
+
*
|
|
248
|
+
* @param {String} jobId jobId
|
|
249
|
+
* @param {Object} opts Optional parameters
|
|
250
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
251
|
+
* Preview Endpoint
|
|
252
|
+
*/
|
|
253
|
+
getAnalyticsSurveysAggregatesJobResults(jobId, opts) {
|
|
254
|
+
opts = opts || {};
|
|
255
|
+
|
|
256
|
+
// verify the required parameter 'jobId' is set
|
|
257
|
+
if (jobId === undefined || jobId === null) {
|
|
258
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
return this.apiClient.callApi(
|
|
262
|
+
'/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results',
|
|
263
|
+
'GET',
|
|
264
|
+
{ 'jobId': jobId },
|
|
265
|
+
{ 'cursor': opts['cursor'] },
|
|
266
|
+
{ },
|
|
267
|
+
{ },
|
|
268
|
+
null,
|
|
269
|
+
['PureCloud OAuth'],
|
|
270
|
+
['application/json'],
|
|
271
|
+
['application/json']
|
|
272
|
+
);
|
|
273
|
+
}
|
|
274
|
+
|
|
163
275
|
/**
|
|
164
276
|
* Gets a list of Agent Activities
|
|
165
277
|
* Each item on the list shows one agents evaluation activity comprised of the number of evaluations and the highest, average, and lowest standard and critical scores, as well as a sub list showing the number and average score of evaluations for each evaluator for that agent. evaluatorUserId, startTime, and endTime are all filtering criteria. If specified, the only evaluations used to compile the agent activity response will be ones that match the filtering criteria. agentUserId, name, group, and agentTeamId are all agent selection criteria. criteria. If one or more agent selection criteria are specified, then the returned activity will include users that match the criteria even if those users did not have any agent activity or evaluations that do not match any filtering criteria. If no agent selection criteria are specified but an evaluatorUserId is, then the returned activity will be only for those agents that had evaluations where the evaluator is the evaluatorUserId. If no agent selection criteria are specified and no evaluatorUserId is specified, then the returned activity will be for all users
|
|
@@ -457,7 +569,7 @@ class QualityApi {
|
|
|
457
569
|
* Get an evaluation form
|
|
458
570
|
*
|
|
459
571
|
* @param {String} formId Form ID
|
|
460
|
-
|
|
572
|
+
* @deprecated
|
|
461
573
|
*/
|
|
462
574
|
getQualityForm(formId) {
|
|
463
575
|
// verify the required parameter 'formId' is set
|
|
@@ -486,7 +598,7 @@ class QualityApi {
|
|
|
486
598
|
* @param {Object} opts Optional parameters
|
|
487
599
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
488
600
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
489
|
-
|
|
601
|
+
* @deprecated
|
|
490
602
|
*/
|
|
491
603
|
getQualityFormVersions(formId, opts) {
|
|
492
604
|
opts = opts || {};
|
|
@@ -522,7 +634,7 @@ class QualityApi {
|
|
|
522
634
|
* @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
|
|
523
635
|
* @param {String} opts.name Name
|
|
524
636
|
* @param {String} opts.sortOrder Order to sort results, either asc or desc
|
|
525
|
-
|
|
637
|
+
* @deprecated
|
|
526
638
|
*/
|
|
527
639
|
getQualityForms(opts) {
|
|
528
640
|
opts = opts || {};
|
|
@@ -798,7 +910,7 @@ class QualityApi {
|
|
|
798
910
|
* Get the published evaluation forms.
|
|
799
911
|
*
|
|
800
912
|
* @param {String} formId Form ID
|
|
801
|
-
|
|
913
|
+
* @deprecated
|
|
802
914
|
*/
|
|
803
915
|
getQualityPublishedform(formId) {
|
|
804
916
|
// verify the required parameter 'formId' is set
|
|
@@ -828,7 +940,7 @@ class QualityApi {
|
|
|
828
940
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
829
941
|
* @param {String} opts.name Name
|
|
830
942
|
* @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
|
|
831
|
-
|
|
943
|
+
* @deprecated
|
|
832
944
|
*/
|
|
833
945
|
getQualityPublishedforms(opts) {
|
|
834
946
|
opts = opts || {};
|
|
@@ -1032,6 +1144,32 @@ class QualityApi {
|
|
|
1032
1144
|
);
|
|
1033
1145
|
}
|
|
1034
1146
|
|
|
1147
|
+
/**
|
|
1148
|
+
* Query for evaluation aggregates asynchronously
|
|
1149
|
+
*
|
|
1150
|
+
* @param {Object} body query
|
|
1151
|
+
* Preview Endpoint
|
|
1152
|
+
*/
|
|
1153
|
+
postAnalyticsEvaluationsAggregatesJobs(body) {
|
|
1154
|
+
// verify the required parameter 'body' is set
|
|
1155
|
+
if (body === undefined || body === null) {
|
|
1156
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
return this.apiClient.callApi(
|
|
1160
|
+
'/api/v2/analytics/evaluations/aggregates/jobs',
|
|
1161
|
+
'POST',
|
|
1162
|
+
{ },
|
|
1163
|
+
{ },
|
|
1164
|
+
{ },
|
|
1165
|
+
{ },
|
|
1166
|
+
body,
|
|
1167
|
+
['PureCloud OAuth'],
|
|
1168
|
+
['application/json'],
|
|
1169
|
+
['application/json']
|
|
1170
|
+
);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1035
1173
|
/**
|
|
1036
1174
|
* Query for evaluation aggregates
|
|
1037
1175
|
*
|
|
@@ -1057,6 +1195,32 @@ class QualityApi {
|
|
|
1057
1195
|
);
|
|
1058
1196
|
}
|
|
1059
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* Query for survey aggregates asynchronously
|
|
1200
|
+
*
|
|
1201
|
+
* @param {Object} body query
|
|
1202
|
+
* Preview Endpoint
|
|
1203
|
+
*/
|
|
1204
|
+
postAnalyticsSurveysAggregatesJobs(body) {
|
|
1205
|
+
// verify the required parameter 'body' is set
|
|
1206
|
+
if (body === undefined || body === null) {
|
|
1207
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
return this.apiClient.callApi(
|
|
1211
|
+
'/api/v2/analytics/surveys/aggregates/jobs',
|
|
1212
|
+
'POST',
|
|
1213
|
+
{ },
|
|
1214
|
+
{ },
|
|
1215
|
+
{ },
|
|
1216
|
+
{ },
|
|
1217
|
+
body,
|
|
1218
|
+
['PureCloud OAuth'],
|
|
1219
|
+
['application/json'],
|
|
1220
|
+
['application/json']
|
|
1221
|
+
);
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1060
1224
|
/**
|
|
1061
1225
|
* Query for survey aggregates
|
|
1062
1226
|
*
|
|
@@ -1224,7 +1388,7 @@ class QualityApi {
|
|
|
1224
1388
|
* Create an evaluation form.
|
|
1225
1389
|
*
|
|
1226
1390
|
* @param {Object} body Evaluation form
|
|
1227
|
-
|
|
1391
|
+
* @deprecated
|
|
1228
1392
|
*/
|
|
1229
1393
|
postQualityForms(body) {
|
|
1230
1394
|
// verify the required parameter 'body' is set
|
|
@@ -1300,7 +1464,7 @@ class QualityApi {
|
|
|
1300
1464
|
* Publish an evaluation form.
|
|
1301
1465
|
*
|
|
1302
1466
|
* @param {Object} body Publish request containing id of form to publish
|
|
1303
|
-
|
|
1467
|
+
* @deprecated
|
|
1304
1468
|
*/
|
|
1305
1469
|
postQualityPublishedforms(body) {
|
|
1306
1470
|
// verify the required parameter 'body' is set
|
|
@@ -1471,7 +1635,7 @@ class QualityApi {
|
|
|
1471
1635
|
*
|
|
1472
1636
|
* @param {String} formId Form ID
|
|
1473
1637
|
* @param {Object} body Evaluation form
|
|
1474
|
-
|
|
1638
|
+
* @deprecated
|
|
1475
1639
|
*/
|
|
1476
1640
|
putQualityForm(formId, body) {
|
|
1477
1641
|
// verify the required parameter 'formId' is set
|
|
@@ -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 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -239,7 +239,7 @@ class RoutingApi {
|
|
|
239
239
|
*
|
|
240
240
|
* @param {String} queueId Queue ID
|
|
241
241
|
* @param {String} memberId Member ID
|
|
242
|
-
|
|
242
|
+
* @deprecated
|
|
243
243
|
*/
|
|
244
244
|
deleteRoutingQueueUser(queueId, memberId) {
|
|
245
245
|
// verify the required parameter 'queueId' is set
|
|
@@ -460,6 +460,36 @@ class RoutingApi {
|
|
|
460
460
|
);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
+
/**
|
|
464
|
+
* Delete an utilization tag
|
|
465
|
+
*
|
|
466
|
+
* @param {String} tagId Utilization Tag ID
|
|
467
|
+
* @param {Object} opts Optional parameters
|
|
468
|
+
* @param {Boolean} opts.forceDelete Remove all tag usages (if found) without warning (default to false)
|
|
469
|
+
* Preview Endpoint
|
|
470
|
+
*/
|
|
471
|
+
deleteRoutingUtilizationTag(tagId, opts) {
|
|
472
|
+
opts = opts || {};
|
|
473
|
+
|
|
474
|
+
// verify the required parameter 'tagId' is set
|
|
475
|
+
if (tagId === undefined || tagId === null) {
|
|
476
|
+
throw 'Missing the required parameter "tagId" when calling deleteRoutingUtilizationTag';
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
return this.apiClient.callApi(
|
|
480
|
+
'/api/v2/routing/utilization/tags/{tagId}',
|
|
481
|
+
'DELETE',
|
|
482
|
+
{ 'tagId': tagId },
|
|
483
|
+
{ 'forceDelete': opts['forceDelete'] },
|
|
484
|
+
{ },
|
|
485
|
+
{ },
|
|
486
|
+
null,
|
|
487
|
+
['PureCloud OAuth'],
|
|
488
|
+
['application/json'],
|
|
489
|
+
['application/json']
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
|
|
463
493
|
/**
|
|
464
494
|
* Delete wrap-up code
|
|
465
495
|
*
|
|
@@ -1331,7 +1361,7 @@ class RoutingApi {
|
|
|
1331
1361
|
* @param {Array.<String>} opts.languages Filter by language
|
|
1332
1362
|
* @param {Array.<String>} opts.routingStatus Filter by routing status
|
|
1333
1363
|
* @param {Array.<String>} opts.presence Filter by presence
|
|
1334
|
-
|
|
1364
|
+
* @deprecated
|
|
1335
1365
|
*/
|
|
1336
1366
|
getRoutingQueueUsers(queueId, opts) {
|
|
1337
1367
|
opts = opts || {};
|
|
@@ -1919,6 +1949,86 @@ class RoutingApi {
|
|
|
1919
1949
|
);
|
|
1920
1950
|
}
|
|
1921
1951
|
|
|
1952
|
+
/**
|
|
1953
|
+
* Get details about this utilization tag
|
|
1954
|
+
*
|
|
1955
|
+
* @param {String} tagId Utilization Tag ID
|
|
1956
|
+
* Preview Endpoint
|
|
1957
|
+
*/
|
|
1958
|
+
getRoutingUtilizationTag(tagId) {
|
|
1959
|
+
// verify the required parameter 'tagId' is set
|
|
1960
|
+
if (tagId === undefined || tagId === null) {
|
|
1961
|
+
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
return this.apiClient.callApi(
|
|
1965
|
+
'/api/v2/routing/utilization/tags/{tagId}',
|
|
1966
|
+
'GET',
|
|
1967
|
+
{ 'tagId': tagId },
|
|
1968
|
+
{ },
|
|
1969
|
+
{ },
|
|
1970
|
+
{ },
|
|
1971
|
+
null,
|
|
1972
|
+
['PureCloud OAuth'],
|
|
1973
|
+
['application/json'],
|
|
1974
|
+
['application/json']
|
|
1975
|
+
);
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* Get list of agent ids associated with a utilization tag
|
|
1980
|
+
*
|
|
1981
|
+
* @param {String} tagId Utilization Tag ID
|
|
1982
|
+
* Preview Endpoint
|
|
1983
|
+
*/
|
|
1984
|
+
getRoutingUtilizationTagAgents(tagId) {
|
|
1985
|
+
// verify the required parameter 'tagId' is set
|
|
1986
|
+
if (tagId === undefined || tagId === null) {
|
|
1987
|
+
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
return this.apiClient.callApi(
|
|
1991
|
+
'/api/v2/routing/utilization/tags/{tagId}/agents',
|
|
1992
|
+
'GET',
|
|
1993
|
+
{ 'tagId': tagId },
|
|
1994
|
+
{ },
|
|
1995
|
+
{ },
|
|
1996
|
+
{ },
|
|
1997
|
+
null,
|
|
1998
|
+
['PureCloud OAuth'],
|
|
1999
|
+
['application/json'],
|
|
2000
|
+
['application/json']
|
|
2001
|
+
);
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* Get list of utilization tags
|
|
2006
|
+
*
|
|
2007
|
+
* @param {Object} opts Optional parameters
|
|
2008
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2009
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2010
|
+
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
2011
|
+
* @param {String} opts.name Utilization tag's name (Wildcard is supported, e.g., 'tag1*')
|
|
2012
|
+
* Preview Endpoint
|
|
2013
|
+
*/
|
|
2014
|
+
getRoutingUtilizationTags(opts) {
|
|
2015
|
+
opts = opts || {};
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
return this.apiClient.callApi(
|
|
2019
|
+
'/api/v2/routing/utilization/tags',
|
|
2020
|
+
'GET',
|
|
2021
|
+
{ },
|
|
2022
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
2023
|
+
{ },
|
|
2024
|
+
{ },
|
|
2025
|
+
null,
|
|
2026
|
+
['PureCloud OAuth'],
|
|
2027
|
+
['application/json'],
|
|
2028
|
+
['application/json']
|
|
2029
|
+
);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
1922
2032
|
/**
|
|
1923
2033
|
* Get details about this wrap-up code.
|
|
1924
2034
|
*
|
|
@@ -2289,7 +2399,7 @@ class RoutingApi {
|
|
|
2289
2399
|
* @param {String} queueId Queue ID
|
|
2290
2400
|
* @param {String} memberId Member ID
|
|
2291
2401
|
* @param {Object} body Queue Member
|
|
2292
|
-
|
|
2402
|
+
* @deprecated
|
|
2293
2403
|
*/
|
|
2294
2404
|
patchRoutingQueueUser(queueId, memberId, body) {
|
|
2295
2405
|
// verify the required parameter 'queueId' is set
|
|
@@ -2324,7 +2434,7 @@ class RoutingApi {
|
|
|
2324
2434
|
*
|
|
2325
2435
|
* @param {String} queueId Queue ID
|
|
2326
2436
|
* @param {Array.<Object>} body Queue Members
|
|
2327
|
-
|
|
2437
|
+
* @deprecated
|
|
2328
2438
|
*/
|
|
2329
2439
|
patchRoutingQueueUsers(queueId, body) {
|
|
2330
2440
|
// verify the required parameter 'queueId' is set
|
|
@@ -2594,6 +2704,37 @@ class RoutingApi {
|
|
|
2594
2704
|
);
|
|
2595
2705
|
}
|
|
2596
2706
|
|
|
2707
|
+
/**
|
|
2708
|
+
* Query for user activity observations
|
|
2709
|
+
*
|
|
2710
|
+
* @param {Object} body query
|
|
2711
|
+
* @param {Object} opts Optional parameters
|
|
2712
|
+
* @param {Number} opts.pageSize The desired page size
|
|
2713
|
+
* @param {Number} opts.pageNumber The desired page number
|
|
2714
|
+
* Preview Endpoint
|
|
2715
|
+
*/
|
|
2716
|
+
postAnalyticsRoutingActivityQuery(body, opts) {
|
|
2717
|
+
opts = opts || {};
|
|
2718
|
+
|
|
2719
|
+
// verify the required parameter 'body' is set
|
|
2720
|
+
if (body === undefined || body === null) {
|
|
2721
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsRoutingActivityQuery';
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
return this.apiClient.callApi(
|
|
2725
|
+
'/api/v2/analytics/routing/activity/query',
|
|
2726
|
+
'POST',
|
|
2727
|
+
{ },
|
|
2728
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
2729
|
+
{ },
|
|
2730
|
+
{ },
|
|
2731
|
+
body,
|
|
2732
|
+
['PureCloud OAuth'],
|
|
2733
|
+
['application/json'],
|
|
2734
|
+
['application/json']
|
|
2735
|
+
);
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2597
2738
|
/**
|
|
2598
2739
|
* Create a benefit assessment.
|
|
2599
2740
|
*
|
|
@@ -2866,7 +3007,7 @@ class RoutingApi {
|
|
|
2866
3007
|
* @param {Array.<Object>} body Queue Members
|
|
2867
3008
|
* @param {Object} opts Optional parameters
|
|
2868
3009
|
* @param {Boolean} opts._delete True to delete queue members (default to false)
|
|
2869
|
-
|
|
3010
|
+
* @deprecated
|
|
2870
3011
|
*/
|
|
2871
3012
|
postRoutingQueueUsers(queueId, body, opts) {
|
|
2872
3013
|
opts = opts || {};
|
|
@@ -3078,6 +3219,58 @@ class RoutingApi {
|
|
|
3078
3219
|
);
|
|
3079
3220
|
}
|
|
3080
3221
|
|
|
3222
|
+
/**
|
|
3223
|
+
* Imports a phone number for SMS
|
|
3224
|
+
*
|
|
3225
|
+
* @param {Object} body SmsPhoneNumber
|
|
3226
|
+
* Preview Endpoint
|
|
3227
|
+
*/
|
|
3228
|
+
postRoutingSmsPhonenumbersImport(body) {
|
|
3229
|
+
// verify the required parameter 'body' is set
|
|
3230
|
+
if (body === undefined || body === null) {
|
|
3231
|
+
throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersImport';
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
return this.apiClient.callApi(
|
|
3235
|
+
'/api/v2/routing/sms/phonenumbers/import',
|
|
3236
|
+
'POST',
|
|
3237
|
+
{ },
|
|
3238
|
+
{ },
|
|
3239
|
+
{ },
|
|
3240
|
+
{ },
|
|
3241
|
+
body,
|
|
3242
|
+
['PureCloud OAuth'],
|
|
3243
|
+
['application/json'],
|
|
3244
|
+
['application/json']
|
|
3245
|
+
);
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Create an utilization tag
|
|
3250
|
+
*
|
|
3251
|
+
* @param {Object} body UtilizationTag
|
|
3252
|
+
* Preview Endpoint
|
|
3253
|
+
*/
|
|
3254
|
+
postRoutingUtilizationTags(body) {
|
|
3255
|
+
// verify the required parameter 'body' is set
|
|
3256
|
+
if (body === undefined || body === null) {
|
|
3257
|
+
throw 'Missing the required parameter "body" when calling postRoutingUtilizationTags';
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
return this.apiClient.callApi(
|
|
3261
|
+
'/api/v2/routing/utilization/tags',
|
|
3262
|
+
'POST',
|
|
3263
|
+
{ },
|
|
3264
|
+
{ },
|
|
3265
|
+
{ },
|
|
3266
|
+
{ },
|
|
3267
|
+
body,
|
|
3268
|
+
['PureCloud OAuth'],
|
|
3269
|
+
['application/json'],
|
|
3270
|
+
['application/json']
|
|
3271
|
+
);
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3081
3274
|
/**
|
|
3082
3275
|
* Create a wrap-up code
|
|
3083
3276
|
*
|
|
@@ -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 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -297,6 +297,32 @@ class SearchApi {
|
|
|
297
297
|
);
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
+
/**
|
|
301
|
+
* Search all documents
|
|
302
|
+
*
|
|
303
|
+
* @param {Object} body Search request options
|
|
304
|
+
* Preview Endpoint
|
|
305
|
+
*/
|
|
306
|
+
postDocumentationAllSearch(body) {
|
|
307
|
+
// verify the required parameter 'body' is set
|
|
308
|
+
if (body === undefined || body === null) {
|
|
309
|
+
throw 'Missing the required parameter "body" when calling postDocumentationAllSearch';
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
return this.apiClient.callApi(
|
|
313
|
+
'/api/v2/documentation/all/search',
|
|
314
|
+
'POST',
|
|
315
|
+
{ },
|
|
316
|
+
{ },
|
|
317
|
+
{ },
|
|
318
|
+
{ },
|
|
319
|
+
body,
|
|
320
|
+
['PureCloud OAuth'],
|
|
321
|
+
['application/json'],
|
|
322
|
+
['application/json']
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
|
|
300
326
|
/**
|
|
301
327
|
* Search gkn documentation
|
|
302
328
|
*
|
|
@@ -378,6 +404,7 @@ class SearchApi {
|
|
|
378
404
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
379
405
|
* @param {Object} opts Optional parameters
|
|
380
406
|
* @param {Object} opts.body
|
|
407
|
+
* @deprecated
|
|
381
408
|
*/
|
|
382
409
|
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
383
410
|
opts = opts || {};
|
|
@@ -559,6 +586,58 @@ class SearchApi {
|
|
|
559
586
|
);
|
|
560
587
|
}
|
|
561
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Search users as conversation targets
|
|
591
|
+
*
|
|
592
|
+
* @param {Object} body Search request options
|
|
593
|
+
* Preview Endpoint
|
|
594
|
+
*/
|
|
595
|
+
postUsersSearchConversationTarget(body) {
|
|
596
|
+
// verify the required parameter 'body' is set
|
|
597
|
+
if (body === undefined || body === null) {
|
|
598
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchConversationTarget';
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
return this.apiClient.callApi(
|
|
602
|
+
'/api/v2/users/search/conversation/target',
|
|
603
|
+
'POST',
|
|
604
|
+
{ },
|
|
605
|
+
{ },
|
|
606
|
+
{ },
|
|
607
|
+
{ },
|
|
608
|
+
body,
|
|
609
|
+
['PureCloud OAuth'],
|
|
610
|
+
['application/json'],
|
|
611
|
+
['application/json']
|
|
612
|
+
);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Search manage queue member
|
|
617
|
+
*
|
|
618
|
+
* @param {Object} body Search request options
|
|
619
|
+
* Preview Endpoint
|
|
620
|
+
*/
|
|
621
|
+
postUsersSearchQueuemembersManage(body) {
|
|
622
|
+
// verify the required parameter 'body' is set
|
|
623
|
+
if (body === undefined || body === null) {
|
|
624
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
return this.apiClient.callApi(
|
|
628
|
+
'/api/v2/users/search/queuemembers/manage',
|
|
629
|
+
'POST',
|
|
630
|
+
{ },
|
|
631
|
+
{ },
|
|
632
|
+
{ },
|
|
633
|
+
{ },
|
|
634
|
+
body,
|
|
635
|
+
['PureCloud OAuth'],
|
|
636
|
+
['application/json'],
|
|
637
|
+
['application/json']
|
|
638
|
+
);
|
|
639
|
+
}
|
|
640
|
+
|
|
562
641
|
/**
|
|
563
642
|
* Search users assigned to teams
|
|
564
643
|
*
|