purecloud-platform-client-v2 97.0.0 → 98.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 +67 -193
- package/dist/web-amd/purecloud-platform-client-v2.js +67 -193
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +67 -193
- package/dist/web-cjs/purecloud-platform-client-v2.js +68 -196
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +68 -97
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- 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/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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/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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -131
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
- 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/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -2
- 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 +1 -1
- 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 +1 -1
- 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/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- 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 +1 -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/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +5 -3
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -18,7 +18,7 @@ var PureCloudRegionHosts = {
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @module purecloud-platform-client-v2/ApiClient
|
|
21
|
-
* @version
|
|
21
|
+
* @version 98.0.0
|
|
22
22
|
*/
|
|
23
23
|
class ApiClient {
|
|
24
24
|
/**
|
|
@@ -774,7 +774,7 @@ class ApiClient {
|
|
|
774
774
|
|
|
775
775
|
// set header parameters
|
|
776
776
|
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
|
|
777
|
-
//request.set({ 'purecloud-sdk': '
|
|
777
|
+
//request.set({ 'purecloud-sdk': '98.0.0' });
|
|
778
778
|
|
|
779
779
|
// set request timeout
|
|
780
780
|
request.timeout(this.timeout);
|
|
@@ -899,7 +899,7 @@ class AlertingApi {
|
|
|
899
899
|
/**
|
|
900
900
|
* Alerting service.
|
|
901
901
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
902
|
-
* @version
|
|
902
|
+
* @version 98.0.0
|
|
903
903
|
*/
|
|
904
904
|
|
|
905
905
|
/**
|
|
@@ -1213,7 +1213,7 @@ class AnalyticsApi {
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Analytics service.
|
|
1215
1215
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1216
|
-
* @version
|
|
1216
|
+
* @version 98.0.0
|
|
1217
1217
|
*/
|
|
1218
1218
|
|
|
1219
1219
|
/**
|
|
@@ -2293,7 +2293,7 @@ class ArchitectApi {
|
|
|
2293
2293
|
/**
|
|
2294
2294
|
* Architect service.
|
|
2295
2295
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2296
|
-
* @version
|
|
2296
|
+
* @version 98.0.0
|
|
2297
2297
|
*/
|
|
2298
2298
|
|
|
2299
2299
|
/**
|
|
@@ -5131,7 +5131,7 @@ class AuditApi {
|
|
|
5131
5131
|
/**
|
|
5132
5132
|
* Audit service.
|
|
5133
5133
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5134
|
-
* @version
|
|
5134
|
+
* @version 98.0.0
|
|
5135
5135
|
*/
|
|
5136
5136
|
|
|
5137
5137
|
/**
|
|
@@ -5302,7 +5302,7 @@ class AuthorizationApi {
|
|
|
5302
5302
|
/**
|
|
5303
5303
|
* Authorization service.
|
|
5304
5304
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
5305
|
-
* @version
|
|
5305
|
+
* @version 98.0.0
|
|
5306
5306
|
*/
|
|
5307
5307
|
|
|
5308
5308
|
/**
|
|
@@ -6421,7 +6421,7 @@ class BillingApi {
|
|
|
6421
6421
|
/**
|
|
6422
6422
|
* Billing service.
|
|
6423
6423
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
6424
|
-
* @version
|
|
6424
|
+
* @version 98.0.0
|
|
6425
6425
|
*/
|
|
6426
6426
|
|
|
6427
6427
|
/**
|
|
@@ -6501,7 +6501,7 @@ class CoachingApi {
|
|
|
6501
6501
|
/**
|
|
6502
6502
|
* Coaching service.
|
|
6503
6503
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6504
|
-
* @version
|
|
6504
|
+
* @version 98.0.0
|
|
6505
6505
|
*/
|
|
6506
6506
|
|
|
6507
6507
|
/**
|
|
@@ -7021,7 +7021,7 @@ class ContentManagementApi {
|
|
|
7021
7021
|
/**
|
|
7022
7022
|
* ContentManagement service.
|
|
7023
7023
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
7024
|
-
* @version
|
|
7024
|
+
* @version 98.0.0
|
|
7025
7025
|
*/
|
|
7026
7026
|
|
|
7027
7027
|
/**
|
|
@@ -8161,7 +8161,7 @@ class ConversationsApi {
|
|
|
8161
8161
|
/**
|
|
8162
8162
|
* Conversations service.
|
|
8163
8163
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8164
|
-
* @version
|
|
8164
|
+
* @version 98.0.0
|
|
8165
8165
|
*/
|
|
8166
8166
|
|
|
8167
8167
|
/**
|
|
@@ -12219,7 +12219,7 @@ class DataExtensionsApi {
|
|
|
12219
12219
|
/**
|
|
12220
12220
|
* DataExtensions service.
|
|
12221
12221
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12222
|
-
* @version
|
|
12222
|
+
* @version 98.0.0
|
|
12223
12223
|
*/
|
|
12224
12224
|
|
|
12225
12225
|
/**
|
|
@@ -12305,7 +12305,7 @@ class ExternalContactsApi {
|
|
|
12305
12305
|
/**
|
|
12306
12306
|
* ExternalContacts service.
|
|
12307
12307
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12308
|
-
* @version
|
|
12308
|
+
* @version 98.0.0
|
|
12309
12309
|
*/
|
|
12310
12310
|
|
|
12311
12311
|
/**
|
|
@@ -13648,7 +13648,7 @@ class FaxApi {
|
|
|
13648
13648
|
/**
|
|
13649
13649
|
* Fax service.
|
|
13650
13650
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13651
|
-
* @version
|
|
13651
|
+
* @version 98.0.0
|
|
13652
13652
|
*/
|
|
13653
13653
|
|
|
13654
13654
|
/**
|
|
@@ -13819,7 +13819,7 @@ class FlowsApi {
|
|
|
13819
13819
|
/**
|
|
13820
13820
|
* Flows service.
|
|
13821
13821
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13822
|
-
* @version
|
|
13822
|
+
* @version 98.0.0
|
|
13823
13823
|
*/
|
|
13824
13824
|
|
|
13825
13825
|
/**
|
|
@@ -13890,7 +13890,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
13890
13890
|
/**
|
|
13891
13891
|
* GeneralDataProtectionRegulation service.
|
|
13892
13892
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13893
|
-
* @version
|
|
13893
|
+
* @version 98.0.0
|
|
13894
13894
|
*/
|
|
13895
13895
|
|
|
13896
13896
|
/**
|
|
@@ -14020,7 +14020,7 @@ class GeolocationApi {
|
|
|
14020
14020
|
/**
|
|
14021
14021
|
* Geolocation service.
|
|
14022
14022
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14023
|
-
* @version
|
|
14023
|
+
* @version 98.0.0
|
|
14024
14024
|
*/
|
|
14025
14025
|
|
|
14026
14026
|
/**
|
|
@@ -14151,7 +14151,7 @@ class GreetingsApi {
|
|
|
14151
14151
|
/**
|
|
14152
14152
|
* Greetings service.
|
|
14153
14153
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14154
|
-
* @version
|
|
14154
|
+
* @version 98.0.0
|
|
14155
14155
|
*/
|
|
14156
14156
|
|
|
14157
14157
|
/**
|
|
@@ -14606,7 +14606,7 @@ class GroupsApi {
|
|
|
14606
14606
|
/**
|
|
14607
14607
|
* Groups service.
|
|
14608
14608
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14609
|
-
* @version
|
|
14609
|
+
* @version 98.0.0
|
|
14610
14610
|
*/
|
|
14611
14611
|
|
|
14612
14612
|
/**
|
|
@@ -15011,7 +15011,7 @@ class IdentityProviderApi {
|
|
|
15011
15011
|
/**
|
|
15012
15012
|
* IdentityProvider service.
|
|
15013
15013
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15014
|
-
* @version
|
|
15014
|
+
* @version 98.0.0
|
|
15015
15015
|
*/
|
|
15016
15016
|
|
|
15017
15017
|
/**
|
|
@@ -15767,7 +15767,7 @@ class IntegrationsApi {
|
|
|
15767
15767
|
/**
|
|
15768
15768
|
* Integrations service.
|
|
15769
15769
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15770
|
-
* @version
|
|
15770
|
+
* @version 98.0.0
|
|
15771
15771
|
*/
|
|
15772
15772
|
|
|
15773
15773
|
/**
|
|
@@ -17259,7 +17259,7 @@ class JourneyApi {
|
|
|
17259
17259
|
/**
|
|
17260
17260
|
* Journey service.
|
|
17261
17261
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
17262
|
-
* @version
|
|
17262
|
+
* @version 98.0.0
|
|
17263
17263
|
*/
|
|
17264
17264
|
|
|
17265
17265
|
/**
|
|
@@ -17324,107 +17324,6 @@ class JourneyApi {
|
|
|
17324
17324
|
);
|
|
17325
17325
|
}
|
|
17326
17326
|
|
|
17327
|
-
/**
|
|
17328
|
-
* Retrieve segment assignments by customer ID.
|
|
17329
|
-
*
|
|
17330
|
-
* @param {String} customerIdType Type of ID used to identify customer (e.g. email, cookie, and phone).
|
|
17331
|
-
* @param {String} customerId Primary identifier of the customer to query for segment assignments.
|
|
17332
|
-
* @param {Object} opts Optional parameters
|
|
17333
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17334
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17335
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17336
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17337
|
-
*/
|
|
17338
|
-
getJourneyCustomerCustomerIdSegments(customerIdType, customerId, opts) {
|
|
17339
|
-
opts = opts || {};
|
|
17340
|
-
|
|
17341
|
-
// verify the required parameter 'customerIdType' is set
|
|
17342
|
-
if (customerIdType === undefined || customerIdType === null) {
|
|
17343
|
-
throw 'Missing the required parameter "customerIdType" when calling getJourneyCustomerCustomerIdSegments';
|
|
17344
|
-
}
|
|
17345
|
-
// verify the required parameter 'customerId' is set
|
|
17346
|
-
if (customerId === undefined || customerId === null) {
|
|
17347
|
-
throw 'Missing the required parameter "customerId" when calling getJourneyCustomerCustomerIdSegments';
|
|
17348
|
-
}
|
|
17349
|
-
|
|
17350
|
-
return this.apiClient.callApi(
|
|
17351
|
-
'/api/v2/journey/customers/{customerIdType}/{customerId}/segments',
|
|
17352
|
-
'GET',
|
|
17353
|
-
{ 'customerIdType': customerIdType,'customerId': customerId },
|
|
17354
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17355
|
-
{ },
|
|
17356
|
-
{ },
|
|
17357
|
-
null,
|
|
17358
|
-
['PureCloud OAuth'],
|
|
17359
|
-
['application/json'],
|
|
17360
|
-
['application/json']
|
|
17361
|
-
);
|
|
17362
|
-
}
|
|
17363
|
-
|
|
17364
|
-
/**
|
|
17365
|
-
* Retrieve segment assignments by external contact ID.
|
|
17366
|
-
*
|
|
17367
|
-
* @param {String} externalContactId ID of the external contact to query for segment assignments.
|
|
17368
|
-
* @param {Object} opts Optional parameters
|
|
17369
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17370
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17371
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17372
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17373
|
-
*/
|
|
17374
|
-
getJourneyExternalcontactSegments(externalContactId, opts) {
|
|
17375
|
-
opts = opts || {};
|
|
17376
|
-
|
|
17377
|
-
// verify the required parameter 'externalContactId' is set
|
|
17378
|
-
if (externalContactId === undefined || externalContactId === null) {
|
|
17379
|
-
throw 'Missing the required parameter "externalContactId" when calling getJourneyExternalcontactSegments';
|
|
17380
|
-
}
|
|
17381
|
-
|
|
17382
|
-
return this.apiClient.callApi(
|
|
17383
|
-
'/api/v2/journey/externalcontacts/{externalContactId}/segments',
|
|
17384
|
-
'GET',
|
|
17385
|
-
{ 'externalContactId': externalContactId },
|
|
17386
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17387
|
-
{ },
|
|
17388
|
-
{ },
|
|
17389
|
-
null,
|
|
17390
|
-
['PureCloud OAuth'],
|
|
17391
|
-
['application/json'],
|
|
17392
|
-
['application/json']
|
|
17393
|
-
);
|
|
17394
|
-
}
|
|
17395
|
-
|
|
17396
|
-
/**
|
|
17397
|
-
* Retrieve segment assignments by session ID.
|
|
17398
|
-
*
|
|
17399
|
-
* @param {String} sessionId ID of the session to query for segment assignments.
|
|
17400
|
-
* @param {Object} opts Optional parameters
|
|
17401
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17402
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17403
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17404
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17405
|
-
*/
|
|
17406
|
-
getJourneySessionSegments(sessionId, opts) {
|
|
17407
|
-
opts = opts || {};
|
|
17408
|
-
|
|
17409
|
-
// verify the required parameter 'sessionId' is set
|
|
17410
|
-
if (sessionId === undefined || sessionId === null) {
|
|
17411
|
-
throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
|
|
17412
|
-
}
|
|
17413
|
-
|
|
17414
|
-
return this.apiClient.callApi(
|
|
17415
|
-
'/api/v2/journey/sessions/{sessionId}/segments',
|
|
17416
|
-
'GET',
|
|
17417
|
-
{ 'sessionId': sessionId },
|
|
17418
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17419
|
-
{ },
|
|
17420
|
-
{ },
|
|
17421
|
-
null,
|
|
17422
|
-
['PureCloud OAuth'],
|
|
17423
|
-
['application/json'],
|
|
17424
|
-
['application/json']
|
|
17425
|
-
);
|
|
17426
|
-
}
|
|
17427
|
-
|
|
17428
17327
|
/**
|
|
17429
17328
|
* Update a single action target.
|
|
17430
17329
|
*
|
|
@@ -17479,42 +17378,13 @@ class JourneyApi {
|
|
|
17479
17378
|
);
|
|
17480
17379
|
}
|
|
17481
17380
|
|
|
17482
|
-
/**
|
|
17483
|
-
* Assign/Unassign a segment to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment.
|
|
17484
|
-
*
|
|
17485
|
-
* @param {String} externalContactId ID of the external contact to query for segment assignments.
|
|
17486
|
-
* @param {Object} opts Optional parameters
|
|
17487
|
-
* @param {Array.<Object>} opts.body
|
|
17488
|
-
*/
|
|
17489
|
-
postJourneyExternalcontactSegments(externalContactId, opts) {
|
|
17490
|
-
opts = opts || {};
|
|
17491
|
-
|
|
17492
|
-
// verify the required parameter 'externalContactId' is set
|
|
17493
|
-
if (externalContactId === undefined || externalContactId === null) {
|
|
17494
|
-
throw 'Missing the required parameter "externalContactId" when calling postJourneyExternalcontactSegments';
|
|
17495
|
-
}
|
|
17496
|
-
|
|
17497
|
-
return this.apiClient.callApi(
|
|
17498
|
-
'/api/v2/journey/externalcontacts/{externalContactId}/segments',
|
|
17499
|
-
'POST',
|
|
17500
|
-
{ 'externalContactId': externalContactId },
|
|
17501
|
-
{ },
|
|
17502
|
-
{ },
|
|
17503
|
-
{ },
|
|
17504
|
-
opts['body'],
|
|
17505
|
-
['PureCloud OAuth'],
|
|
17506
|
-
['application/json'],
|
|
17507
|
-
['application/json']
|
|
17508
|
-
);
|
|
17509
|
-
}
|
|
17510
|
-
|
|
17511
17381
|
}
|
|
17512
17382
|
|
|
17513
17383
|
class KnowledgeApi {
|
|
17514
17384
|
/**
|
|
17515
17385
|
* Knowledge service.
|
|
17516
17386
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
17517
|
-
* @version
|
|
17387
|
+
* @version 98.0.0
|
|
17518
17388
|
*/
|
|
17519
17389
|
|
|
17520
17390
|
/**
|
|
@@ -17767,6 +17637,7 @@ class KnowledgeApi {
|
|
|
17767
17637
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17768
17638
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17769
17639
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
17640
|
+
* @param {String} opts.title Filter by document title.
|
|
17770
17641
|
*/
|
|
17771
17642
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
17772
17643
|
opts = opts || {};
|
|
@@ -17784,7 +17655,7 @@ class KnowledgeApi {
|
|
|
17784
17655
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
17785
17656
|
'GET',
|
|
17786
17657
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17787
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
|
|
17658
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
|
|
17788
17659
|
{ },
|
|
17789
17660
|
{ },
|
|
17790
17661
|
null,
|
|
@@ -18235,7 +18106,7 @@ class LanguageUnderstandingApi {
|
|
|
18235
18106
|
/**
|
|
18236
18107
|
* LanguageUnderstanding service.
|
|
18237
18108
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
18238
|
-
* @version
|
|
18109
|
+
* @version 98.0.0
|
|
18239
18110
|
*/
|
|
18240
18111
|
|
|
18241
18112
|
/**
|
|
@@ -18801,7 +18672,7 @@ class LanguagesApi {
|
|
|
18801
18672
|
/**
|
|
18802
18673
|
* Languages service.
|
|
18803
18674
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18804
|
-
* @version
|
|
18675
|
+
* @version 98.0.0
|
|
18805
18676
|
*/
|
|
18806
18677
|
|
|
18807
18678
|
/**
|
|
@@ -19069,7 +18940,7 @@ class LicenseApi {
|
|
|
19069
18940
|
/**
|
|
19070
18941
|
* License service.
|
|
19071
18942
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
19072
|
-
* @version
|
|
18943
|
+
* @version 98.0.0
|
|
19073
18944
|
*/
|
|
19074
18945
|
|
|
19075
18946
|
/**
|
|
@@ -19307,7 +19178,7 @@ class LocationsApi {
|
|
|
19307
19178
|
/**
|
|
19308
19179
|
* Locations service.
|
|
19309
19180
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
19310
|
-
* @version
|
|
19181
|
+
* @version 98.0.0
|
|
19311
19182
|
*/
|
|
19312
19183
|
|
|
19313
19184
|
/**
|
|
@@ -19543,7 +19414,7 @@ class MobileDevicesApi {
|
|
|
19543
19414
|
/**
|
|
19544
19415
|
* MobileDevices service.
|
|
19545
19416
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
19546
|
-
* @version
|
|
19417
|
+
* @version 98.0.0
|
|
19547
19418
|
*/
|
|
19548
19419
|
|
|
19549
19420
|
/**
|
|
@@ -19694,7 +19565,7 @@ class NotificationsApi {
|
|
|
19694
19565
|
/**
|
|
19695
19566
|
* Notifications service.
|
|
19696
19567
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
19697
|
-
* @version
|
|
19568
|
+
* @version 98.0.0
|
|
19698
19569
|
*/
|
|
19699
19570
|
|
|
19700
19571
|
/**
|
|
@@ -19893,7 +19764,7 @@ class OAuthApi {
|
|
|
19893
19764
|
/**
|
|
19894
19765
|
* OAuth service.
|
|
19895
19766
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
19896
|
-
* @version
|
|
19767
|
+
* @version 98.0.0
|
|
19897
19768
|
*/
|
|
19898
19769
|
|
|
19899
19770
|
/**
|
|
@@ -20251,7 +20122,7 @@ class ObjectsApi {
|
|
|
20251
20122
|
/**
|
|
20252
20123
|
* Objects service.
|
|
20253
20124
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
20254
|
-
* @version
|
|
20125
|
+
* @version 98.0.0
|
|
20255
20126
|
*/
|
|
20256
20127
|
|
|
20257
20128
|
/**
|
|
@@ -20492,7 +20363,7 @@ class OrganizationApi {
|
|
|
20492
20363
|
/**
|
|
20493
20364
|
* Organization service.
|
|
20494
20365
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
20495
|
-
* @version
|
|
20366
|
+
* @version 98.0.0
|
|
20496
20367
|
*/
|
|
20497
20368
|
|
|
20498
20369
|
/**
|
|
@@ -20747,7 +20618,7 @@ class OrganizationAuthorizationApi {
|
|
|
20747
20618
|
/**
|
|
20748
20619
|
* OrganizationAuthorization service.
|
|
20749
20620
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
20750
|
-
* @version
|
|
20621
|
+
* @version 98.0.0
|
|
20751
20622
|
*/
|
|
20752
20623
|
|
|
20753
20624
|
/**
|
|
@@ -21457,7 +21328,7 @@ class OutboundApi {
|
|
|
21457
21328
|
/**
|
|
21458
21329
|
* Outbound service.
|
|
21459
21330
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
21460
|
-
* @version
|
|
21331
|
+
* @version 98.0.0
|
|
21461
21332
|
*/
|
|
21462
21333
|
|
|
21463
21334
|
/**
|
|
@@ -24431,7 +24302,7 @@ class PresenceApi {
|
|
|
24431
24302
|
/**
|
|
24432
24303
|
* Presence service.
|
|
24433
24304
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
24434
|
-
* @version
|
|
24305
|
+
* @version 98.0.0
|
|
24435
24306
|
*/
|
|
24436
24307
|
|
|
24437
24308
|
/**
|
|
@@ -24778,7 +24649,7 @@ class QualityApi {
|
|
|
24778
24649
|
/**
|
|
24779
24650
|
* Quality service.
|
|
24780
24651
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
24781
|
-
* @version
|
|
24652
|
+
* @version 98.0.0
|
|
24782
24653
|
*/
|
|
24783
24654
|
|
|
24784
24655
|
/**
|
|
@@ -25372,6 +25243,7 @@ class QualityApi {
|
|
|
25372
25243
|
* @param {Object} opts Optional parameters
|
|
25373
25244
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25374
25245
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25246
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
25375
25247
|
*/
|
|
25376
25248
|
getQualityFormsEvaluationVersions(formId, opts) {
|
|
25377
25249
|
opts = opts || {};
|
|
@@ -25385,7 +25257,7 @@ class QualityApi {
|
|
|
25385
25257
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
25386
25258
|
'GET',
|
|
25387
25259
|
{ 'formId': formId },
|
|
25388
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
25260
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
25389
25261
|
{ },
|
|
25390
25262
|
{ },
|
|
25391
25263
|
null,
|
|
@@ -26475,7 +26347,7 @@ class RecordingApi {
|
|
|
26475
26347
|
/**
|
|
26476
26348
|
* Recording service.
|
|
26477
26349
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
26478
|
-
* @version
|
|
26350
|
+
* @version 98.0.0
|
|
26479
26351
|
*/
|
|
26480
26352
|
|
|
26481
26353
|
/**
|
|
@@ -27721,7 +27593,7 @@ class ResponseManagementApi {
|
|
|
27721
27593
|
/**
|
|
27722
27594
|
* ResponseManagement service.
|
|
27723
27595
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
27724
|
-
* @version
|
|
27596
|
+
* @version 98.0.0
|
|
27725
27597
|
*/
|
|
27726
27598
|
|
|
27727
27599
|
/**
|
|
@@ -28046,7 +27918,7 @@ class RoutingApi {
|
|
|
28046
27918
|
/**
|
|
28047
27919
|
* Routing service.
|
|
28048
27920
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
28049
|
-
* @version
|
|
27921
|
+
* @version 98.0.0
|
|
28050
27922
|
*/
|
|
28051
27923
|
|
|
28052
27924
|
/**
|
|
@@ -30344,7 +30216,7 @@ class SCIMApi {
|
|
|
30344
30216
|
/**
|
|
30345
30217
|
* SCIM service.
|
|
30346
30218
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
30347
|
-
* @version
|
|
30219
|
+
* @version 98.0.0
|
|
30348
30220
|
*/
|
|
30349
30221
|
|
|
30350
30222
|
/**
|
|
@@ -31329,7 +31201,7 @@ class ScriptsApi {
|
|
|
31329
31201
|
/**
|
|
31330
31202
|
* Scripts service.
|
|
31331
31203
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
31332
|
-
* @version
|
|
31204
|
+
* @version 98.0.0
|
|
31333
31205
|
*/
|
|
31334
31206
|
|
|
31335
31207
|
/**
|
|
@@ -31682,7 +31554,7 @@ class SearchApi {
|
|
|
31682
31554
|
/**
|
|
31683
31555
|
* Search service.
|
|
31684
31556
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
31685
|
-
* @version
|
|
31557
|
+
* @version 98.0.0
|
|
31686
31558
|
*/
|
|
31687
31559
|
|
|
31688
31560
|
/**
|
|
@@ -32192,7 +32064,7 @@ class SpeechTextAnalyticsApi {
|
|
|
32192
32064
|
/**
|
|
32193
32065
|
* SpeechTextAnalytics service.
|
|
32194
32066
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
32195
|
-
* @version
|
|
32067
|
+
* @version 98.0.0
|
|
32196
32068
|
*/
|
|
32197
32069
|
|
|
32198
32070
|
/**
|
|
@@ -32268,7 +32140,7 @@ class StationsApi {
|
|
|
32268
32140
|
/**
|
|
32269
32141
|
* Stations service.
|
|
32270
32142
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
32271
|
-
* @version
|
|
32143
|
+
* @version 98.0.0
|
|
32272
32144
|
*/
|
|
32273
32145
|
|
|
32274
32146
|
/**
|
|
@@ -32415,7 +32287,7 @@ class SuggestApi {
|
|
|
32415
32287
|
/**
|
|
32416
32288
|
* Suggest service.
|
|
32417
32289
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
32418
|
-
* @version
|
|
32290
|
+
* @version 98.0.0
|
|
32419
32291
|
*/
|
|
32420
32292
|
|
|
32421
32293
|
/**
|
|
@@ -32554,7 +32426,7 @@ class TelephonyApi {
|
|
|
32554
32426
|
/**
|
|
32555
32427
|
* Telephony service.
|
|
32556
32428
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
32557
|
-
* @version
|
|
32429
|
+
* @version 98.0.0
|
|
32558
32430
|
*/
|
|
32559
32431
|
|
|
32560
32432
|
/**
|
|
@@ -32662,7 +32534,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
32662
32534
|
/**
|
|
32663
32535
|
* TelephonyProvidersEdge service.
|
|
32664
32536
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
32665
|
-
* @version
|
|
32537
|
+
* @version 98.0.0
|
|
32666
32538
|
*/
|
|
32667
32539
|
|
|
32668
32540
|
/**
|
|
@@ -36239,7 +36111,7 @@ class TextbotsApi {
|
|
|
36239
36111
|
/**
|
|
36240
36112
|
* Textbots service.
|
|
36241
36113
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
36242
|
-
* @version
|
|
36114
|
+
* @version 98.0.0
|
|
36243
36115
|
*/
|
|
36244
36116
|
|
|
36245
36117
|
/**
|
|
@@ -36285,7 +36157,7 @@ class TokensApi {
|
|
|
36285
36157
|
/**
|
|
36286
36158
|
* Tokens service.
|
|
36287
36159
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
36288
|
-
* @version
|
|
36160
|
+
* @version 98.0.0
|
|
36289
36161
|
*/
|
|
36290
36162
|
|
|
36291
36163
|
/**
|
|
@@ -36371,7 +36243,7 @@ class UploadsApi {
|
|
|
36371
36243
|
/**
|
|
36372
36244
|
* Uploads service.
|
|
36373
36245
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
36374
|
-
* @version
|
|
36246
|
+
* @version 98.0.0
|
|
36375
36247
|
*/
|
|
36376
36248
|
|
|
36377
36249
|
/**
|
|
@@ -36417,7 +36289,7 @@ class UsageApi {
|
|
|
36417
36289
|
/**
|
|
36418
36290
|
* Usage service.
|
|
36419
36291
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
36420
|
-
* @version
|
|
36292
|
+
* @version 98.0.0
|
|
36421
36293
|
*/
|
|
36422
36294
|
|
|
36423
36295
|
/**
|
|
@@ -36488,7 +36360,7 @@ class UserRecordingsApi {
|
|
|
36488
36360
|
/**
|
|
36489
36361
|
* UserRecordings service.
|
|
36490
36362
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
36491
|
-
* @version
|
|
36363
|
+
* @version 98.0.0
|
|
36492
36364
|
*/
|
|
36493
36365
|
|
|
36494
36366
|
/**
|
|
@@ -36672,7 +36544,7 @@ class UsersApi {
|
|
|
36672
36544
|
/**
|
|
36673
36545
|
* Users service.
|
|
36674
36546
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
36675
|
-
* @version
|
|
36547
|
+
* @version 98.0.0
|
|
36676
36548
|
*/
|
|
36677
36549
|
|
|
36678
36550
|
/**
|
|
@@ -38885,7 +38757,7 @@ class UtilitiesApi {
|
|
|
38885
38757
|
/**
|
|
38886
38758
|
* Utilities service.
|
|
38887
38759
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
38888
|
-
* @version
|
|
38760
|
+
* @version 98.0.0
|
|
38889
38761
|
*/
|
|
38890
38762
|
|
|
38891
38763
|
/**
|
|
@@ -38996,7 +38868,7 @@ class VoicemailApi {
|
|
|
38996
38868
|
/**
|
|
38997
38869
|
* Voicemail service.
|
|
38998
38870
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
38999
|
-
* @version
|
|
38871
|
+
* @version 98.0.0
|
|
39000
38872
|
*/
|
|
39001
38873
|
|
|
39002
38874
|
/**
|
|
@@ -39633,7 +39505,7 @@ class WebChatApi {
|
|
|
39633
39505
|
/**
|
|
39634
39506
|
* WebChat service.
|
|
39635
39507
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
39636
|
-
* @version
|
|
39508
|
+
* @version 98.0.0
|
|
39637
39509
|
*/
|
|
39638
39510
|
|
|
39639
39511
|
/**
|
|
@@ -40177,7 +40049,7 @@ class WidgetsApi {
|
|
|
40177
40049
|
/**
|
|
40178
40050
|
* Widgets service.
|
|
40179
40051
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
40180
|
-
* @version
|
|
40052
|
+
* @version 98.0.0
|
|
40181
40053
|
*/
|
|
40182
40054
|
|
|
40183
40055
|
/**
|
|
@@ -40323,7 +40195,7 @@ class WorkforceManagementApi {
|
|
|
40323
40195
|
/**
|
|
40324
40196
|
* WorkforceManagement service.
|
|
40325
40197
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
40326
|
-
* @version
|
|
40198
|
+
* @version 98.0.0
|
|
40327
40199
|
*/
|
|
40328
40200
|
|
|
40329
40201
|
/**
|
|
@@ -42378,6 +42250,7 @@ class WorkforceManagementApi {
|
|
|
42378
42250
|
* @param {String} workPlanId The ID of the work plan to update
|
|
42379
42251
|
* @param {Object} opts Optional parameters
|
|
42380
42252
|
* @param {Object} opts.body body
|
|
42253
|
+
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
42381
42254
|
*/
|
|
42382
42255
|
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
42383
42256
|
opts = opts || {};
|
|
@@ -42395,7 +42268,7 @@ class WorkforceManagementApi {
|
|
|
42395
42268
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
42396
42269
|
'PATCH',
|
|
42397
42270
|
{ 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
|
|
42398
|
-
{
|
|
42271
|
+
{ 'validationMode': opts['validationMode'] },
|
|
42399
42272
|
{ },
|
|
42400
42273
|
{ },
|
|
42401
42274
|
opts['body'],
|
|
@@ -43429,6 +43302,7 @@ class WorkforceManagementApi {
|
|
|
43429
43302
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43430
43303
|
* @param {Object} opts Optional parameters
|
|
43431
43304
|
* @param {Object} opts.body body
|
|
43305
|
+
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
43432
43306
|
*/
|
|
43433
43307
|
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
43434
43308
|
opts = opts || {};
|
|
@@ -43442,7 +43316,7 @@ class WorkforceManagementApi {
|
|
|
43442
43316
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
43443
43317
|
'POST',
|
|
43444
43318
|
{ 'managementUnitId': managementUnitId },
|
|
43445
|
-
{
|
|
43319
|
+
{ 'validationMode': opts['validationMode'] },
|
|
43446
43320
|
{ },
|
|
43447
43321
|
{ },
|
|
43448
43322
|
opts['body'],
|
|
@@ -43579,7 +43453,7 @@ class WorkforceManagementApi {
|
|
|
43579
43453
|
* </pre>
|
|
43580
43454
|
* </p>
|
|
43581
43455
|
* @module purecloud-platform-client-v2/index
|
|
43582
|
-
* @version
|
|
43456
|
+
* @version 98.0.0
|
|
43583
43457
|
*/
|
|
43584
43458
|
class platformClient {
|
|
43585
43459
|
constructor() {
|