purecloud-platform-client-v2 169.0.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 -2
- package/dist/node/purecloud-platform-client-v2.js +24865 -20195
- package/dist/web-amd/purecloud-platform-client-v2.js +24865 -20195
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +24865 -20195
- package/dist/web-cjs/purecloud-platform-client-v2.js +24865 -20195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +2314 -2
- 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 +171 -1
- 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 +198 -21
- 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 +6 -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 +8 -8
- 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 -2
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -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 +1 -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 TeamsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Teams service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -190,6 +190,37 @@ class TeamsApi {
|
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Query for team activity observations
|
|
195
|
+
*
|
|
196
|
+
* @param {Object} body query
|
|
197
|
+
* @param {Object} opts Optional parameters
|
|
198
|
+
* @param {Number} opts.pageSize The desired page size
|
|
199
|
+
* @param {Number} opts.pageNumber The desired page number
|
|
200
|
+
* Preview Endpoint
|
|
201
|
+
*/
|
|
202
|
+
postAnalyticsTeamsActivityQuery(body, opts) {
|
|
203
|
+
opts = opts || {};
|
|
204
|
+
|
|
205
|
+
// verify the required parameter 'body' is set
|
|
206
|
+
if (body === undefined || body === null) {
|
|
207
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsTeamsActivityQuery';
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
return this.apiClient.callApi(
|
|
211
|
+
'/api/v2/analytics/teams/activity/query',
|
|
212
|
+
'POST',
|
|
213
|
+
{ },
|
|
214
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
215
|
+
{ },
|
|
216
|
+
{ },
|
|
217
|
+
body,
|
|
218
|
+
['PureCloud OAuth'],
|
|
219
|
+
['application/json'],
|
|
220
|
+
['application/json']
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
193
224
|
/**
|
|
194
225
|
* Add team members
|
|
195
226
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1182,6 +1182,37 @@ class TelephonyProvidersEdgeApi {
|
|
|
1182
1182
|
);
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
+
/**
|
|
1186
|
+
* Get a pageable list of basic extension pool objects filterable by query parameters.
|
|
1187
|
+
* This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
|
|
1188
|
+
* @param {Object} opts Optional parameters
|
|
1189
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1190
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1191
|
+
* @param {String} opts.sortBy Sort by (default to name)
|
|
1192
|
+
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
1193
|
+
* @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
|
|
1194
|
+
* @param {String} opts.name Name of the Extension Pools to filter by.
|
|
1195
|
+
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
1196
|
+
* Preview Endpoint
|
|
1197
|
+
*/
|
|
1198
|
+
getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
|
|
1199
|
+
opts = opts || {};
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
return this.apiClient.callApi(
|
|
1203
|
+
'/api/v2/telephony/providers/edges/extensionpools/divisionviews',
|
|
1204
|
+
'GET',
|
|
1205
|
+
{ },
|
|
1206
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1207
|
+
{ },
|
|
1208
|
+
{ },
|
|
1209
|
+
null,
|
|
1210
|
+
['PureCloud OAuth'],
|
|
1211
|
+
['application/json'],
|
|
1212
|
+
['application/json']
|
|
1213
|
+
);
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1185
1216
|
/**
|
|
1186
1217
|
* Get a listing of extensions
|
|
1187
1218
|
*
|
|
@@ -1399,7 +1430,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1399
1430
|
* Get outbound route
|
|
1400
1431
|
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
1401
1432
|
* @param {String} outboundRouteId Outbound route ID
|
|
1402
|
-
|
|
1433
|
+
* @deprecated
|
|
1403
1434
|
*/
|
|
1404
1435
|
getTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
|
|
1405
1436
|
// verify the required parameter 'outboundRouteId' is set
|
|
@@ -5,7 +5,7 @@ class TokensApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Tokens service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -85,6 +85,27 @@ class TokensApi {
|
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Get the current Idle Token Timeout Value
|
|
90
|
+
*
|
|
91
|
+
* Preview Endpoint
|
|
92
|
+
*/
|
|
93
|
+
getTokensTimeout() {
|
|
94
|
+
|
|
95
|
+
return this.apiClient.callApi(
|
|
96
|
+
'/api/v2/tokens/timeout',
|
|
97
|
+
'GET',
|
|
98
|
+
{ },
|
|
99
|
+
{ },
|
|
100
|
+
{ },
|
|
101
|
+
{ },
|
|
102
|
+
null,
|
|
103
|
+
['PureCloud OAuth'],
|
|
104
|
+
['application/json'],
|
|
105
|
+
['application/json']
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
88
109
|
/**
|
|
89
110
|
* Verify user token
|
|
90
111
|
*
|
|
@@ -105,6 +126,31 @@ class TokensApi {
|
|
|
105
126
|
);
|
|
106
127
|
}
|
|
107
128
|
|
|
129
|
+
/**
|
|
130
|
+
* Update or Enable/Disable the Idle Token Timeout
|
|
131
|
+
*
|
|
132
|
+
* @param {Object} opts Optional parameters
|
|
133
|
+
* @param {Object} opts.body
|
|
134
|
+
* Preview Endpoint
|
|
135
|
+
*/
|
|
136
|
+
putTokensTimeout(opts) {
|
|
137
|
+
opts = opts || {};
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
return this.apiClient.callApi(
|
|
141
|
+
'/api/v2/tokens/timeout',
|
|
142
|
+
'PUT',
|
|
143
|
+
{ },
|
|
144
|
+
{ },
|
|
145
|
+
{ },
|
|
146
|
+
{ },
|
|
147
|
+
opts['body'],
|
|
148
|
+
['PureCloud OAuth'],
|
|
149
|
+
['application/json'],
|
|
150
|
+
['application/json']
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
|
|
108
154
|
}
|
|
109
155
|
|
|
110
156
|
|
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -240,6 +240,62 @@ class UsersApi {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
/**
|
|
244
|
+
* Get status for async query for user aggregates
|
|
245
|
+
*
|
|
246
|
+
* @param {String} jobId jobId
|
|
247
|
+
* Preview Endpoint
|
|
248
|
+
*/
|
|
249
|
+
getAnalyticsUsersAggregatesJob(jobId) {
|
|
250
|
+
// verify the required parameter 'jobId' is set
|
|
251
|
+
if (jobId === undefined || jobId === null) {
|
|
252
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return this.apiClient.callApi(
|
|
256
|
+
'/api/v2/analytics/users/aggregates/jobs/{jobId}',
|
|
257
|
+
'GET',
|
|
258
|
+
{ 'jobId': jobId },
|
|
259
|
+
{ },
|
|
260
|
+
{ },
|
|
261
|
+
{ },
|
|
262
|
+
null,
|
|
263
|
+
['PureCloud OAuth'],
|
|
264
|
+
['application/json'],
|
|
265
|
+
['application/json']
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Fetch a page of results for an async aggregates query
|
|
271
|
+
*
|
|
272
|
+
* @param {String} jobId jobId
|
|
273
|
+
* @param {Object} opts Optional parameters
|
|
274
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
275
|
+
* Preview Endpoint
|
|
276
|
+
*/
|
|
277
|
+
getAnalyticsUsersAggregatesJobResults(jobId, opts) {
|
|
278
|
+
opts = opts || {};
|
|
279
|
+
|
|
280
|
+
// verify the required parameter 'jobId' is set
|
|
281
|
+
if (jobId === undefined || jobId === null) {
|
|
282
|
+
throw 'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
return this.apiClient.callApi(
|
|
286
|
+
'/api/v2/analytics/users/aggregates/jobs/{jobId}/results',
|
|
287
|
+
'GET',
|
|
288
|
+
{ 'jobId': jobId },
|
|
289
|
+
{ 'cursor': opts['cursor'] },
|
|
290
|
+
{ },
|
|
291
|
+
{ },
|
|
292
|
+
null,
|
|
293
|
+
['PureCloud OAuth'],
|
|
294
|
+
['application/json'],
|
|
295
|
+
['application/json']
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
|
|
243
299
|
/**
|
|
244
300
|
* Get status for async query for user details
|
|
245
301
|
*
|
|
@@ -321,7 +377,7 @@ class UsersApi {
|
|
|
321
377
|
* @param {String} permission The permission string, including the object to access, e.g. routing:queue:view
|
|
322
378
|
* @param {Object} opts Optional parameters
|
|
323
379
|
* @param {String} opts.name Search term to filter by division name
|
|
324
|
-
|
|
380
|
+
* @deprecated
|
|
325
381
|
*/
|
|
326
382
|
getAuthorizationDivisionspermittedMe(permission, opts) {
|
|
327
383
|
opts = opts || {};
|
|
@@ -383,7 +439,7 @@ class UsersApi {
|
|
|
383
439
|
* @param {Object} opts Optional parameters
|
|
384
440
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
385
441
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
386
|
-
|
|
442
|
+
* @deprecated
|
|
387
443
|
*/
|
|
388
444
|
getAuthorizationDivisionspermittedPagedSubjectId(subjectId, permission, opts) {
|
|
389
445
|
opts = opts || {};
|
|
@@ -460,7 +516,7 @@ class UsersApi {
|
|
|
460
516
|
* Fetch field config for an entity type
|
|
461
517
|
*
|
|
462
518
|
* @param {Object} type Field type
|
|
463
|
-
|
|
519
|
+
* @deprecated
|
|
464
520
|
*/
|
|
465
521
|
getFieldconfig(type) {
|
|
466
522
|
// verify the required parameter 'type' is set
|
|
@@ -493,7 +549,7 @@ class UsersApi {
|
|
|
493
549
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
494
550
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
495
551
|
* @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand.
|
|
496
|
-
|
|
552
|
+
* @deprecated
|
|
497
553
|
*/
|
|
498
554
|
getProfilesUsers(opts) {
|
|
499
555
|
opts = opts || {};
|
|
@@ -661,7 +717,7 @@ class UsersApi {
|
|
|
661
717
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
662
718
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
663
719
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
664
|
-
|
|
720
|
+
* @deprecated
|
|
665
721
|
*/
|
|
666
722
|
getUserFavorites(userId, opts) {
|
|
667
723
|
opts = opts || {};
|
|
@@ -747,7 +803,7 @@ class UsersApi {
|
|
|
747
803
|
* @param {Object} opts Optional parameters
|
|
748
804
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
749
805
|
* @param {Object} opts.integrationPresenceSource Gets an integration presence for a user instead of their default.
|
|
750
|
-
|
|
806
|
+
* @deprecated
|
|
751
807
|
*/
|
|
752
808
|
getUserProfile(userId, opts) {
|
|
753
809
|
opts = opts || {};
|
|
@@ -1549,6 +1605,63 @@ class UsersApi {
|
|
|
1549
1605
|
);
|
|
1550
1606
|
}
|
|
1551
1607
|
|
|
1608
|
+
/**
|
|
1609
|
+
* Query for user activity observations
|
|
1610
|
+
*
|
|
1611
|
+
* @param {Object} body query
|
|
1612
|
+
* @param {Object} opts Optional parameters
|
|
1613
|
+
* @param {Number} opts.pageSize The desired page size
|
|
1614
|
+
* @param {Number} opts.pageNumber The desired page number
|
|
1615
|
+
* Preview Endpoint
|
|
1616
|
+
*/
|
|
1617
|
+
postAnalyticsUsersActivityQuery(body, opts) {
|
|
1618
|
+
opts = opts || {};
|
|
1619
|
+
|
|
1620
|
+
// verify the required parameter 'body' is set
|
|
1621
|
+
if (body === undefined || body === null) {
|
|
1622
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsUsersActivityQuery';
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
return this.apiClient.callApi(
|
|
1626
|
+
'/api/v2/analytics/users/activity/query',
|
|
1627
|
+
'POST',
|
|
1628
|
+
{ },
|
|
1629
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1630
|
+
{ },
|
|
1631
|
+
{ },
|
|
1632
|
+
body,
|
|
1633
|
+
['PureCloud OAuth'],
|
|
1634
|
+
['application/json'],
|
|
1635
|
+
['application/json']
|
|
1636
|
+
);
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Query for user aggregates asynchronously
|
|
1641
|
+
*
|
|
1642
|
+
* @param {Object} body query
|
|
1643
|
+
* Preview Endpoint
|
|
1644
|
+
*/
|
|
1645
|
+
postAnalyticsUsersAggregatesJobs(body) {
|
|
1646
|
+
// verify the required parameter 'body' is set
|
|
1647
|
+
if (body === undefined || body === null) {
|
|
1648
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
return this.apiClient.callApi(
|
|
1652
|
+
'/api/v2/analytics/users/aggregates/jobs',
|
|
1653
|
+
'POST',
|
|
1654
|
+
{ },
|
|
1655
|
+
{ },
|
|
1656
|
+
{ },
|
|
1657
|
+
{ },
|
|
1658
|
+
body,
|
|
1659
|
+
['PureCloud OAuth'],
|
|
1660
|
+
['application/json'],
|
|
1661
|
+
['application/json']
|
|
1662
|
+
);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1552
1665
|
/**
|
|
1553
1666
|
* Query for user aggregates
|
|
1554
1667
|
*
|
|
@@ -2035,6 +2148,58 @@ class UsersApi {
|
|
|
2035
2148
|
);
|
|
2036
2149
|
}
|
|
2037
2150
|
|
|
2151
|
+
/**
|
|
2152
|
+
* Search users as conversation targets
|
|
2153
|
+
*
|
|
2154
|
+
* @param {Object} body Search request options
|
|
2155
|
+
* Preview Endpoint
|
|
2156
|
+
*/
|
|
2157
|
+
postUsersSearchConversationTarget(body) {
|
|
2158
|
+
// verify the required parameter 'body' is set
|
|
2159
|
+
if (body === undefined || body === null) {
|
|
2160
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchConversationTarget';
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
return this.apiClient.callApi(
|
|
2164
|
+
'/api/v2/users/search/conversation/target',
|
|
2165
|
+
'POST',
|
|
2166
|
+
{ },
|
|
2167
|
+
{ },
|
|
2168
|
+
{ },
|
|
2169
|
+
{ },
|
|
2170
|
+
body,
|
|
2171
|
+
['PureCloud OAuth'],
|
|
2172
|
+
['application/json'],
|
|
2173
|
+
['application/json']
|
|
2174
|
+
);
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* Search manage queue member
|
|
2179
|
+
*
|
|
2180
|
+
* @param {Object} body Search request options
|
|
2181
|
+
* Preview Endpoint
|
|
2182
|
+
*/
|
|
2183
|
+
postUsersSearchQueuemembersManage(body) {
|
|
2184
|
+
// verify the required parameter 'body' is set
|
|
2185
|
+
if (body === undefined || body === null) {
|
|
2186
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
return this.apiClient.callApi(
|
|
2190
|
+
'/api/v2/users/search/queuemembers/manage',
|
|
2191
|
+
'POST',
|
|
2192
|
+
{ },
|
|
2193
|
+
{ },
|
|
2194
|
+
{ },
|
|
2195
|
+
{ },
|
|
2196
|
+
body,
|
|
2197
|
+
['PureCloud OAuth'],
|
|
2198
|
+
['application/json'],
|
|
2199
|
+
['application/json']
|
|
2200
|
+
);
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2038
2203
|
/**
|
|
2039
2204
|
* Search users assigned to teams
|
|
2040
2205
|
*
|
|
@@ -5,7 +5,7 @@ class WebChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebChat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,7 +24,7 @@ class WebChatApi {
|
|
|
24
24
|
* Delete a WebChat deployment
|
|
25
25
|
*
|
|
26
26
|
* @param {String} deploymentId Deployment Id
|
|
27
|
-
|
|
27
|
+
* @deprecated
|
|
28
28
|
*/
|
|
29
29
|
deleteWebchatDeployment(deploymentId) {
|
|
30
30
|
// verify the required parameter 'deploymentId' is set
|
|
@@ -100,7 +100,7 @@ class WebChatApi {
|
|
|
100
100
|
* Get a WebChat deployment
|
|
101
101
|
*
|
|
102
102
|
* @param {String} deploymentId Deployment Id
|
|
103
|
-
|
|
103
|
+
* @deprecated
|
|
104
104
|
*/
|
|
105
105
|
getWebchatDeployment(deploymentId) {
|
|
106
106
|
// verify the required parameter 'deploymentId' is set
|
|
@@ -125,7 +125,7 @@ class WebChatApi {
|
|
|
125
125
|
/**
|
|
126
126
|
* List WebChat deployments
|
|
127
127
|
*
|
|
128
|
-
|
|
128
|
+
* @deprecated
|
|
129
129
|
*/
|
|
130
130
|
getWebchatDeployments() {
|
|
131
131
|
|
|
@@ -380,7 +380,7 @@ class WebChatApi {
|
|
|
380
380
|
* Create WebChat deployment
|
|
381
381
|
*
|
|
382
382
|
* @param {Object} body Deployment
|
|
383
|
-
|
|
383
|
+
* @deprecated
|
|
384
384
|
*/
|
|
385
385
|
postWebchatDeployments(body) {
|
|
386
386
|
// verify the required parameter 'body' is set
|
|
@@ -497,7 +497,7 @@ class WebChatApi {
|
|
|
497
497
|
*
|
|
498
498
|
* @param {String} deploymentId Deployment Id
|
|
499
499
|
* @param {Object} body Deployment
|
|
500
|
-
|
|
500
|
+
* @deprecated
|
|
501
501
|
*/
|
|
502
502
|
putWebchatDeployment(deploymentId, body) {
|
|
503
503
|
// verify the required parameter 'deploymentId' is set
|
|
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WorkforceManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
8
|
-
* @version 169.
|
|
8
|
+
* @version 169.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1547,7 +1547,7 @@ class WorkforceManagementApi {
|
|
|
1547
1547
|
* Get activity codes
|
|
1548
1548
|
*
|
|
1549
1549
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
1550
|
-
|
|
1550
|
+
* @deprecated
|
|
1551
1551
|
*/
|
|
1552
1552
|
getWorkforcemanagementManagementunitActivitycodes(managementUnitId) {
|
|
1553
1553
|
// verify the required parameter 'managementUnitId' is set
|
|
@@ -1960,7 +1960,7 @@ class WorkforceManagementApi {
|
|
|
1960
1960
|
* @param {Object} opts Optional parameters
|
|
1961
1961
|
* @param {Object} opts.expand Which fields, if any, to expand
|
|
1962
1962
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
1963
|
-
|
|
1963
|
+
* @deprecated
|
|
1964
1964
|
*/
|
|
1965
1965
|
getWorkforcemanagementManagementunitWeekSchedule(managementUnitId, weekId, scheduleId, opts) {
|
|
1966
1966
|
opts = opts || {};
|
|
@@ -2001,7 +2001,7 @@ class WorkforceManagementApi {
|
|
|
2001
2001
|
* @param {Boolean} opts.includeOnlyPublished Return only published schedules
|
|
2002
2002
|
* @param {String} opts.earliestWeekDate The start date of the earliest week to query in yyyy-MM-dd format
|
|
2003
2003
|
* @param {String} opts.latestWeekDate The start date of the latest week to query in yyyy-MM-dd format
|
|
2004
|
-
|
|
2004
|
+
* @deprecated
|
|
2005
2005
|
*/
|
|
2006
2006
|
getWorkforcemanagementManagementunitWeekSchedules(managementUnitId, weekId, opts) {
|
|
2007
2007
|
opts = opts || {};
|
|
@@ -3960,7 +3960,7 @@ class WorkforceManagementApi {
|
|
|
3960
3960
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
3961
3961
|
* @param {Object} opts Optional parameters
|
|
3962
3962
|
* @param {Object} opts.body body
|
|
3963
|
-
|
|
3963
|
+
* @deprecated
|
|
3964
3964
|
*/
|
|
3965
3965
|
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, opts) {
|
|
3966
3966
|
opts = opts || {};
|
|
@@ -4621,7 +4621,7 @@ class WorkforceManagementApi {
|
|
|
4621
4621
|
*
|
|
4622
4622
|
* @param {Object} opts Optional parameters
|
|
4623
4623
|
* @param {Object} opts.body body
|
|
4624
|
-
|
|
4624
|
+
* @deprecated
|
|
4625
4625
|
*/
|
|
4626
4626
|
postWorkforcemanagementSchedules(opts) {
|
|
4627
4627
|
opts = opts || {};
|
|
@@ -53,6 +53,7 @@ import SearchApi from './api/SearchApi.js';
|
|
|
53
53
|
import SpeechTextAnalyticsApi from './api/SpeechTextAnalyticsApi.js';
|
|
54
54
|
import StationsApi from './api/StationsApi.js';
|
|
55
55
|
import SuggestApi from './api/SuggestApi.js';
|
|
56
|
+
import TaskManagementApi from './api/TaskManagementApi.js';
|
|
56
57
|
import TeamsApi from './api/TeamsApi.js';
|
|
57
58
|
import TelephonyApi from './api/TelephonyApi.js';
|
|
58
59
|
import TelephonyProvidersEdgeApi from './api/TelephonyProvidersEdgeApi.js';
|
|
@@ -101,7 +102,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
101
102
|
* </pre>
|
|
102
103
|
* </p>
|
|
103
104
|
* @module purecloud-platform-client-v2/index
|
|
104
|
-
* @version 169.
|
|
105
|
+
* @version 169.1.0
|
|
105
106
|
*/
|
|
106
107
|
class platformClient {
|
|
107
108
|
constructor() {
|
|
@@ -375,6 +376,11 @@ class platformClient {
|
|
|
375
376
|
* @property {module:purecloud-platform-client-v2/api/SuggestApi}
|
|
376
377
|
*/
|
|
377
378
|
this.SuggestApi = SuggestApi;
|
|
379
|
+
/**
|
|
380
|
+
* The TaskManagementApi service constructor.
|
|
381
|
+
* @property {module:purecloud-platform-client-v2/api/TaskManagementApi}
|
|
382
|
+
*/
|
|
383
|
+
this.TaskManagementApi = TaskManagementApi;
|
|
378
384
|
/**
|
|
379
385
|
* The TeamsApi service constructor.
|
|
380
386
|
* @property {module:purecloud-platform-client-v2/api/TeamsApi}
|