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
|
@@ -16,7 +16,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @module purecloud-platform-client-v2/ApiClient
|
|
19
|
-
* @version
|
|
19
|
+
* @version 98.0.0
|
|
20
20
|
*/
|
|
21
21
|
class ApiClient {
|
|
22
22
|
/**
|
|
@@ -772,7 +772,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
772
772
|
|
|
773
773
|
// set header parameters
|
|
774
774
|
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
|
|
775
|
-
//request.set({ 'purecloud-sdk': '
|
|
775
|
+
//request.set({ 'purecloud-sdk': '98.0.0' });
|
|
776
776
|
|
|
777
777
|
// set request timeout
|
|
778
778
|
request.timeout(this.timeout);
|
|
@@ -897,7 +897,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
897
897
|
/**
|
|
898
898
|
* Alerting service.
|
|
899
899
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
900
|
-
* @version
|
|
900
|
+
* @version 98.0.0
|
|
901
901
|
*/
|
|
902
902
|
|
|
903
903
|
/**
|
|
@@ -1211,7 +1211,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Analytics service.
|
|
1213
1213
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1214
|
-
* @version
|
|
1214
|
+
* @version 98.0.0
|
|
1215
1215
|
*/
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
@@ -2291,7 +2291,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* Architect service.
|
|
2293
2293
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2294
|
-
* @version
|
|
2294
|
+
* @version 98.0.0
|
|
2295
2295
|
*/
|
|
2296
2296
|
|
|
2297
2297
|
/**
|
|
@@ -5129,7 +5129,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
5129
5129
|
/**
|
|
5130
5130
|
* Audit service.
|
|
5131
5131
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5132
|
-
* @version
|
|
5132
|
+
* @version 98.0.0
|
|
5133
5133
|
*/
|
|
5134
5134
|
|
|
5135
5135
|
/**
|
|
@@ -5300,7 +5300,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
5300
5300
|
/**
|
|
5301
5301
|
* Authorization service.
|
|
5302
5302
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
5303
|
-
* @version
|
|
5303
|
+
* @version 98.0.0
|
|
5304
5304
|
*/
|
|
5305
5305
|
|
|
5306
5306
|
/**
|
|
@@ -6419,7 +6419,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
6419
6419
|
/**
|
|
6420
6420
|
* Billing service.
|
|
6421
6421
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
6422
|
-
* @version
|
|
6422
|
+
* @version 98.0.0
|
|
6423
6423
|
*/
|
|
6424
6424
|
|
|
6425
6425
|
/**
|
|
@@ -6499,7 +6499,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
6499
6499
|
/**
|
|
6500
6500
|
* Coaching service.
|
|
6501
6501
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6502
|
-
* @version
|
|
6502
|
+
* @version 98.0.0
|
|
6503
6503
|
*/
|
|
6504
6504
|
|
|
6505
6505
|
/**
|
|
@@ -7019,7 +7019,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
7019
7019
|
/**
|
|
7020
7020
|
* ContentManagement service.
|
|
7021
7021
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
7022
|
-
* @version
|
|
7022
|
+
* @version 98.0.0
|
|
7023
7023
|
*/
|
|
7024
7024
|
|
|
7025
7025
|
/**
|
|
@@ -8159,7 +8159,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
8159
8159
|
/**
|
|
8160
8160
|
* Conversations service.
|
|
8161
8161
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8162
|
-
* @version
|
|
8162
|
+
* @version 98.0.0
|
|
8163
8163
|
*/
|
|
8164
8164
|
|
|
8165
8165
|
/**
|
|
@@ -12217,7 +12217,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
12217
12217
|
/**
|
|
12218
12218
|
* DataExtensions service.
|
|
12219
12219
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12220
|
-
* @version
|
|
12220
|
+
* @version 98.0.0
|
|
12221
12221
|
*/
|
|
12222
12222
|
|
|
12223
12223
|
/**
|
|
@@ -12303,7 +12303,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
12303
12303
|
/**
|
|
12304
12304
|
* ExternalContacts service.
|
|
12305
12305
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12306
|
-
* @version
|
|
12306
|
+
* @version 98.0.0
|
|
12307
12307
|
*/
|
|
12308
12308
|
|
|
12309
12309
|
/**
|
|
@@ -13646,7 +13646,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13646
13646
|
/**
|
|
13647
13647
|
* Fax service.
|
|
13648
13648
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13649
|
-
* @version
|
|
13649
|
+
* @version 98.0.0
|
|
13650
13650
|
*/
|
|
13651
13651
|
|
|
13652
13652
|
/**
|
|
@@ -13817,7 +13817,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13817
13817
|
/**
|
|
13818
13818
|
* Flows service.
|
|
13819
13819
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13820
|
-
* @version
|
|
13820
|
+
* @version 98.0.0
|
|
13821
13821
|
*/
|
|
13822
13822
|
|
|
13823
13823
|
/**
|
|
@@ -13888,7 +13888,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13888
13888
|
/**
|
|
13889
13889
|
* GeneralDataProtectionRegulation service.
|
|
13890
13890
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13891
|
-
* @version
|
|
13891
|
+
* @version 98.0.0
|
|
13892
13892
|
*/
|
|
13893
13893
|
|
|
13894
13894
|
/**
|
|
@@ -14018,7 +14018,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14018
14018
|
/**
|
|
14019
14019
|
* Geolocation service.
|
|
14020
14020
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14021
|
-
* @version
|
|
14021
|
+
* @version 98.0.0
|
|
14022
14022
|
*/
|
|
14023
14023
|
|
|
14024
14024
|
/**
|
|
@@ -14149,7 +14149,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14149
14149
|
/**
|
|
14150
14150
|
* Greetings service.
|
|
14151
14151
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14152
|
-
* @version
|
|
14152
|
+
* @version 98.0.0
|
|
14153
14153
|
*/
|
|
14154
14154
|
|
|
14155
14155
|
/**
|
|
@@ -14604,7 +14604,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14604
14604
|
/**
|
|
14605
14605
|
* Groups service.
|
|
14606
14606
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14607
|
-
* @version
|
|
14607
|
+
* @version 98.0.0
|
|
14608
14608
|
*/
|
|
14609
14609
|
|
|
14610
14610
|
/**
|
|
@@ -15009,7 +15009,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
15009
15009
|
/**
|
|
15010
15010
|
* IdentityProvider service.
|
|
15011
15011
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15012
|
-
* @version
|
|
15012
|
+
* @version 98.0.0
|
|
15013
15013
|
*/
|
|
15014
15014
|
|
|
15015
15015
|
/**
|
|
@@ -15765,7 +15765,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
15765
15765
|
/**
|
|
15766
15766
|
* Integrations service.
|
|
15767
15767
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15768
|
-
* @version
|
|
15768
|
+
* @version 98.0.0
|
|
15769
15769
|
*/
|
|
15770
15770
|
|
|
15771
15771
|
/**
|
|
@@ -17257,7 +17257,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17257
17257
|
/**
|
|
17258
17258
|
* Journey service.
|
|
17259
17259
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
17260
|
-
* @version
|
|
17260
|
+
* @version 98.0.0
|
|
17261
17261
|
*/
|
|
17262
17262
|
|
|
17263
17263
|
/**
|
|
@@ -17322,107 +17322,6 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17322
17322
|
);
|
|
17323
17323
|
}
|
|
17324
17324
|
|
|
17325
|
-
/**
|
|
17326
|
-
* Retrieve segment assignments by customer ID.
|
|
17327
|
-
*
|
|
17328
|
-
* @param {String} customerIdType Type of ID used to identify customer (e.g. email, cookie, and phone).
|
|
17329
|
-
* @param {String} customerId Primary identifier of the customer to query for segment assignments.
|
|
17330
|
-
* @param {Object} opts Optional parameters
|
|
17331
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17332
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17333
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17334
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17335
|
-
*/
|
|
17336
|
-
getJourneyCustomerCustomerIdSegments(customerIdType, customerId, opts) {
|
|
17337
|
-
opts = opts || {};
|
|
17338
|
-
|
|
17339
|
-
// verify the required parameter 'customerIdType' is set
|
|
17340
|
-
if (customerIdType === undefined || customerIdType === null) {
|
|
17341
|
-
throw 'Missing the required parameter "customerIdType" when calling getJourneyCustomerCustomerIdSegments';
|
|
17342
|
-
}
|
|
17343
|
-
// verify the required parameter 'customerId' is set
|
|
17344
|
-
if (customerId === undefined || customerId === null) {
|
|
17345
|
-
throw 'Missing the required parameter "customerId" when calling getJourneyCustomerCustomerIdSegments';
|
|
17346
|
-
}
|
|
17347
|
-
|
|
17348
|
-
return this.apiClient.callApi(
|
|
17349
|
-
'/api/v2/journey/customers/{customerIdType}/{customerId}/segments',
|
|
17350
|
-
'GET',
|
|
17351
|
-
{ 'customerIdType': customerIdType,'customerId': customerId },
|
|
17352
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17353
|
-
{ },
|
|
17354
|
-
{ },
|
|
17355
|
-
null,
|
|
17356
|
-
['PureCloud OAuth'],
|
|
17357
|
-
['application/json'],
|
|
17358
|
-
['application/json']
|
|
17359
|
-
);
|
|
17360
|
-
}
|
|
17361
|
-
|
|
17362
|
-
/**
|
|
17363
|
-
* Retrieve segment assignments by external contact ID.
|
|
17364
|
-
*
|
|
17365
|
-
* @param {String} externalContactId ID of the external contact to query for segment assignments.
|
|
17366
|
-
* @param {Object} opts Optional parameters
|
|
17367
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17368
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17369
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17370
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17371
|
-
*/
|
|
17372
|
-
getJourneyExternalcontactSegments(externalContactId, opts) {
|
|
17373
|
-
opts = opts || {};
|
|
17374
|
-
|
|
17375
|
-
// verify the required parameter 'externalContactId' is set
|
|
17376
|
-
if (externalContactId === undefined || externalContactId === null) {
|
|
17377
|
-
throw 'Missing the required parameter "externalContactId" when calling getJourneyExternalcontactSegments';
|
|
17378
|
-
}
|
|
17379
|
-
|
|
17380
|
-
return this.apiClient.callApi(
|
|
17381
|
-
'/api/v2/journey/externalcontacts/{externalContactId}/segments',
|
|
17382
|
-
'GET',
|
|
17383
|
-
{ 'externalContactId': externalContactId },
|
|
17384
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17385
|
-
{ },
|
|
17386
|
-
{ },
|
|
17387
|
-
null,
|
|
17388
|
-
['PureCloud OAuth'],
|
|
17389
|
-
['application/json'],
|
|
17390
|
-
['application/json']
|
|
17391
|
-
);
|
|
17392
|
-
}
|
|
17393
|
-
|
|
17394
|
-
/**
|
|
17395
|
-
* Retrieve segment assignments by session ID.
|
|
17396
|
-
*
|
|
17397
|
-
* @param {String} sessionId ID of the session to query for segment assignments.
|
|
17398
|
-
* @param {Object} opts Optional parameters
|
|
17399
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17400
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17401
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
17402
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
17403
|
-
*/
|
|
17404
|
-
getJourneySessionSegments(sessionId, opts) {
|
|
17405
|
-
opts = opts || {};
|
|
17406
|
-
|
|
17407
|
-
// verify the required parameter 'sessionId' is set
|
|
17408
|
-
if (sessionId === undefined || sessionId === null) {
|
|
17409
|
-
throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
|
|
17410
|
-
}
|
|
17411
|
-
|
|
17412
|
-
return this.apiClient.callApi(
|
|
17413
|
-
'/api/v2/journey/sessions/{sessionId}/segments',
|
|
17414
|
-
'GET',
|
|
17415
|
-
{ 'sessionId': sessionId },
|
|
17416
|
-
{ 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
|
|
17417
|
-
{ },
|
|
17418
|
-
{ },
|
|
17419
|
-
null,
|
|
17420
|
-
['PureCloud OAuth'],
|
|
17421
|
-
['application/json'],
|
|
17422
|
-
['application/json']
|
|
17423
|
-
);
|
|
17424
|
-
}
|
|
17425
|
-
|
|
17426
17325
|
/**
|
|
17427
17326
|
* Update a single action target.
|
|
17428
17327
|
*
|
|
@@ -17477,42 +17376,13 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17477
17376
|
);
|
|
17478
17377
|
}
|
|
17479
17378
|
|
|
17480
|
-
/**
|
|
17481
|
-
* Assign/Unassign a segment to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment.
|
|
17482
|
-
*
|
|
17483
|
-
* @param {String} externalContactId ID of the external contact to query for segment assignments.
|
|
17484
|
-
* @param {Object} opts Optional parameters
|
|
17485
|
-
* @param {Array.<Object>} opts.body
|
|
17486
|
-
*/
|
|
17487
|
-
postJourneyExternalcontactSegments(externalContactId, opts) {
|
|
17488
|
-
opts = opts || {};
|
|
17489
|
-
|
|
17490
|
-
// verify the required parameter 'externalContactId' is set
|
|
17491
|
-
if (externalContactId === undefined || externalContactId === null) {
|
|
17492
|
-
throw 'Missing the required parameter "externalContactId" when calling postJourneyExternalcontactSegments';
|
|
17493
|
-
}
|
|
17494
|
-
|
|
17495
|
-
return this.apiClient.callApi(
|
|
17496
|
-
'/api/v2/journey/externalcontacts/{externalContactId}/segments',
|
|
17497
|
-
'POST',
|
|
17498
|
-
{ 'externalContactId': externalContactId },
|
|
17499
|
-
{ },
|
|
17500
|
-
{ },
|
|
17501
|
-
{ },
|
|
17502
|
-
opts['body'],
|
|
17503
|
-
['PureCloud OAuth'],
|
|
17504
|
-
['application/json'],
|
|
17505
|
-
['application/json']
|
|
17506
|
-
);
|
|
17507
|
-
}
|
|
17508
|
-
|
|
17509
17379
|
}
|
|
17510
17380
|
|
|
17511
17381
|
class KnowledgeApi {
|
|
17512
17382
|
/**
|
|
17513
17383
|
* Knowledge service.
|
|
17514
17384
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
17515
|
-
* @version
|
|
17385
|
+
* @version 98.0.0
|
|
17516
17386
|
*/
|
|
17517
17387
|
|
|
17518
17388
|
/**
|
|
@@ -17765,6 +17635,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17765
17635
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17766
17636
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17767
17637
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
17638
|
+
* @param {String} opts.title Filter by document title.
|
|
17768
17639
|
*/
|
|
17769
17640
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
17770
17641
|
opts = opts || {};
|
|
@@ -17782,7 +17653,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17782
17653
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
17783
17654
|
'GET',
|
|
17784
17655
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17785
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
|
|
17656
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
|
|
17786
17657
|
{ },
|
|
17787
17658
|
{ },
|
|
17788
17659
|
null,
|
|
@@ -18233,7 +18104,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18233
18104
|
/**
|
|
18234
18105
|
* LanguageUnderstanding service.
|
|
18235
18106
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
18236
|
-
* @version
|
|
18107
|
+
* @version 98.0.0
|
|
18237
18108
|
*/
|
|
18238
18109
|
|
|
18239
18110
|
/**
|
|
@@ -18799,7 +18670,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18799
18670
|
/**
|
|
18800
18671
|
* Languages service.
|
|
18801
18672
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18802
|
-
* @version
|
|
18673
|
+
* @version 98.0.0
|
|
18803
18674
|
*/
|
|
18804
18675
|
|
|
18805
18676
|
/**
|
|
@@ -19067,7 +18938,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19067
18938
|
/**
|
|
19068
18939
|
* License service.
|
|
19069
18940
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
19070
|
-
* @version
|
|
18941
|
+
* @version 98.0.0
|
|
19071
18942
|
*/
|
|
19072
18943
|
|
|
19073
18944
|
/**
|
|
@@ -19305,7 +19176,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19305
19176
|
/**
|
|
19306
19177
|
* Locations service.
|
|
19307
19178
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
19308
|
-
* @version
|
|
19179
|
+
* @version 98.0.0
|
|
19309
19180
|
*/
|
|
19310
19181
|
|
|
19311
19182
|
/**
|
|
@@ -19541,7 +19412,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19541
19412
|
/**
|
|
19542
19413
|
* MobileDevices service.
|
|
19543
19414
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
19544
|
-
* @version
|
|
19415
|
+
* @version 98.0.0
|
|
19545
19416
|
*/
|
|
19546
19417
|
|
|
19547
19418
|
/**
|
|
@@ -19692,7 +19563,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19692
19563
|
/**
|
|
19693
19564
|
* Notifications service.
|
|
19694
19565
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
19695
|
-
* @version
|
|
19566
|
+
* @version 98.0.0
|
|
19696
19567
|
*/
|
|
19697
19568
|
|
|
19698
19569
|
/**
|
|
@@ -19891,7 +19762,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19891
19762
|
/**
|
|
19892
19763
|
* OAuth service.
|
|
19893
19764
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
19894
|
-
* @version
|
|
19765
|
+
* @version 98.0.0
|
|
19895
19766
|
*/
|
|
19896
19767
|
|
|
19897
19768
|
/**
|
|
@@ -20249,7 +20120,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20249
20120
|
/**
|
|
20250
20121
|
* Objects service.
|
|
20251
20122
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
20252
|
-
* @version
|
|
20123
|
+
* @version 98.0.0
|
|
20253
20124
|
*/
|
|
20254
20125
|
|
|
20255
20126
|
/**
|
|
@@ -20490,7 +20361,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20490
20361
|
/**
|
|
20491
20362
|
* Organization service.
|
|
20492
20363
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
20493
|
-
* @version
|
|
20364
|
+
* @version 98.0.0
|
|
20494
20365
|
*/
|
|
20495
20366
|
|
|
20496
20367
|
/**
|
|
@@ -20745,7 +20616,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20745
20616
|
/**
|
|
20746
20617
|
* OrganizationAuthorization service.
|
|
20747
20618
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
20748
|
-
* @version
|
|
20619
|
+
* @version 98.0.0
|
|
20749
20620
|
*/
|
|
20750
20621
|
|
|
20751
20622
|
/**
|
|
@@ -21455,7 +21326,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
21455
21326
|
/**
|
|
21456
21327
|
* Outbound service.
|
|
21457
21328
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
21458
|
-
* @version
|
|
21329
|
+
* @version 98.0.0
|
|
21459
21330
|
*/
|
|
21460
21331
|
|
|
21461
21332
|
/**
|
|
@@ -24429,7 +24300,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24429
24300
|
/**
|
|
24430
24301
|
* Presence service.
|
|
24431
24302
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
24432
|
-
* @version
|
|
24303
|
+
* @version 98.0.0
|
|
24433
24304
|
*/
|
|
24434
24305
|
|
|
24435
24306
|
/**
|
|
@@ -24776,7 +24647,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24776
24647
|
/**
|
|
24777
24648
|
* Quality service.
|
|
24778
24649
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
24779
|
-
* @version
|
|
24650
|
+
* @version 98.0.0
|
|
24780
24651
|
*/
|
|
24781
24652
|
|
|
24782
24653
|
/**
|
|
@@ -25370,6 +25241,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25370
25241
|
* @param {Object} opts Optional parameters
|
|
25371
25242
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25372
25243
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25244
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
25373
25245
|
*/
|
|
25374
25246
|
getQualityFormsEvaluationVersions(formId, opts) {
|
|
25375
25247
|
opts = opts || {};
|
|
@@ -25383,7 +25255,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25383
25255
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
25384
25256
|
'GET',
|
|
25385
25257
|
{ 'formId': formId },
|
|
25386
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
25258
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
25387
25259
|
{ },
|
|
25388
25260
|
{ },
|
|
25389
25261
|
null,
|
|
@@ -26473,7 +26345,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
26473
26345
|
/**
|
|
26474
26346
|
* Recording service.
|
|
26475
26347
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
26476
|
-
* @version
|
|
26348
|
+
* @version 98.0.0
|
|
26477
26349
|
*/
|
|
26478
26350
|
|
|
26479
26351
|
/**
|
|
@@ -27719,7 +27591,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
27719
27591
|
/**
|
|
27720
27592
|
* ResponseManagement service.
|
|
27721
27593
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
27722
|
-
* @version
|
|
27594
|
+
* @version 98.0.0
|
|
27723
27595
|
*/
|
|
27724
27596
|
|
|
27725
27597
|
/**
|
|
@@ -28044,7 +27916,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
28044
27916
|
/**
|
|
28045
27917
|
* Routing service.
|
|
28046
27918
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
28047
|
-
* @version
|
|
27919
|
+
* @version 98.0.0
|
|
28048
27920
|
*/
|
|
28049
27921
|
|
|
28050
27922
|
/**
|
|
@@ -30342,7 +30214,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
30342
30214
|
/**
|
|
30343
30215
|
* SCIM service.
|
|
30344
30216
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
30345
|
-
* @version
|
|
30217
|
+
* @version 98.0.0
|
|
30346
30218
|
*/
|
|
30347
30219
|
|
|
30348
30220
|
/**
|
|
@@ -31327,7 +31199,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31327
31199
|
/**
|
|
31328
31200
|
* Scripts service.
|
|
31329
31201
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
31330
|
-
* @version
|
|
31202
|
+
* @version 98.0.0
|
|
31331
31203
|
*/
|
|
31332
31204
|
|
|
31333
31205
|
/**
|
|
@@ -31680,7 +31552,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31680
31552
|
/**
|
|
31681
31553
|
* Search service.
|
|
31682
31554
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
31683
|
-
* @version
|
|
31555
|
+
* @version 98.0.0
|
|
31684
31556
|
*/
|
|
31685
31557
|
|
|
31686
31558
|
/**
|
|
@@ -32190,7 +32062,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32190
32062
|
/**
|
|
32191
32063
|
* SpeechTextAnalytics service.
|
|
32192
32064
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
32193
|
-
* @version
|
|
32065
|
+
* @version 98.0.0
|
|
32194
32066
|
*/
|
|
32195
32067
|
|
|
32196
32068
|
/**
|
|
@@ -32266,7 +32138,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32266
32138
|
/**
|
|
32267
32139
|
* Stations service.
|
|
32268
32140
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
32269
|
-
* @version
|
|
32141
|
+
* @version 98.0.0
|
|
32270
32142
|
*/
|
|
32271
32143
|
|
|
32272
32144
|
/**
|
|
@@ -32413,7 +32285,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32413
32285
|
/**
|
|
32414
32286
|
* Suggest service.
|
|
32415
32287
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
32416
|
-
* @version
|
|
32288
|
+
* @version 98.0.0
|
|
32417
32289
|
*/
|
|
32418
32290
|
|
|
32419
32291
|
/**
|
|
@@ -32552,7 +32424,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32552
32424
|
/**
|
|
32553
32425
|
* Telephony service.
|
|
32554
32426
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
32555
|
-
* @version
|
|
32427
|
+
* @version 98.0.0
|
|
32556
32428
|
*/
|
|
32557
32429
|
|
|
32558
32430
|
/**
|
|
@@ -32660,7 +32532,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32660
32532
|
/**
|
|
32661
32533
|
* TelephonyProvidersEdge service.
|
|
32662
32534
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
32663
|
-
* @version
|
|
32535
|
+
* @version 98.0.0
|
|
32664
32536
|
*/
|
|
32665
32537
|
|
|
32666
32538
|
/**
|
|
@@ -36237,7 +36109,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36237
36109
|
/**
|
|
36238
36110
|
* Textbots service.
|
|
36239
36111
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
36240
|
-
* @version
|
|
36112
|
+
* @version 98.0.0
|
|
36241
36113
|
*/
|
|
36242
36114
|
|
|
36243
36115
|
/**
|
|
@@ -36283,7 +36155,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36283
36155
|
/**
|
|
36284
36156
|
* Tokens service.
|
|
36285
36157
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
36286
|
-
* @version
|
|
36158
|
+
* @version 98.0.0
|
|
36287
36159
|
*/
|
|
36288
36160
|
|
|
36289
36161
|
/**
|
|
@@ -36369,7 +36241,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36369
36241
|
/**
|
|
36370
36242
|
* Uploads service.
|
|
36371
36243
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
36372
|
-
* @version
|
|
36244
|
+
* @version 98.0.0
|
|
36373
36245
|
*/
|
|
36374
36246
|
|
|
36375
36247
|
/**
|
|
@@ -36415,7 +36287,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36415
36287
|
/**
|
|
36416
36288
|
* Usage service.
|
|
36417
36289
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
36418
|
-
* @version
|
|
36290
|
+
* @version 98.0.0
|
|
36419
36291
|
*/
|
|
36420
36292
|
|
|
36421
36293
|
/**
|
|
@@ -36486,7 +36358,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36486
36358
|
/**
|
|
36487
36359
|
* UserRecordings service.
|
|
36488
36360
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
36489
|
-
* @version
|
|
36361
|
+
* @version 98.0.0
|
|
36490
36362
|
*/
|
|
36491
36363
|
|
|
36492
36364
|
/**
|
|
@@ -36670,7 +36542,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36670
36542
|
/**
|
|
36671
36543
|
* Users service.
|
|
36672
36544
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
36673
|
-
* @version
|
|
36545
|
+
* @version 98.0.0
|
|
36674
36546
|
*/
|
|
36675
36547
|
|
|
36676
36548
|
/**
|
|
@@ -38883,7 +38755,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38883
38755
|
/**
|
|
38884
38756
|
* Utilities service.
|
|
38885
38757
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
38886
|
-
* @version
|
|
38758
|
+
* @version 98.0.0
|
|
38887
38759
|
*/
|
|
38888
38760
|
|
|
38889
38761
|
/**
|
|
@@ -38994,7 +38866,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38994
38866
|
/**
|
|
38995
38867
|
* Voicemail service.
|
|
38996
38868
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
38997
|
-
* @version
|
|
38869
|
+
* @version 98.0.0
|
|
38998
38870
|
*/
|
|
38999
38871
|
|
|
39000
38872
|
/**
|
|
@@ -39631,7 +39503,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
39631
39503
|
/**
|
|
39632
39504
|
* WebChat service.
|
|
39633
39505
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
39634
|
-
* @version
|
|
39506
|
+
* @version 98.0.0
|
|
39635
39507
|
*/
|
|
39636
39508
|
|
|
39637
39509
|
/**
|
|
@@ -40175,7 +40047,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40175
40047
|
/**
|
|
40176
40048
|
* Widgets service.
|
|
40177
40049
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
40178
|
-
* @version
|
|
40050
|
+
* @version 98.0.0
|
|
40179
40051
|
*/
|
|
40180
40052
|
|
|
40181
40053
|
/**
|
|
@@ -40321,7 +40193,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40321
40193
|
/**
|
|
40322
40194
|
* WorkforceManagement service.
|
|
40323
40195
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
40324
|
-
* @version
|
|
40196
|
+
* @version 98.0.0
|
|
40325
40197
|
*/
|
|
40326
40198
|
|
|
40327
40199
|
/**
|
|
@@ -42376,6 +42248,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42376
42248
|
* @param {String} workPlanId The ID of the work plan to update
|
|
42377
42249
|
* @param {Object} opts Optional parameters
|
|
42378
42250
|
* @param {Object} opts.body body
|
|
42251
|
+
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
42379
42252
|
*/
|
|
42380
42253
|
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
42381
42254
|
opts = opts || {};
|
|
@@ -42393,7 +42266,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42393
42266
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
42394
42267
|
'PATCH',
|
|
42395
42268
|
{ 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
|
|
42396
|
-
{
|
|
42269
|
+
{ 'validationMode': opts['validationMode'] },
|
|
42397
42270
|
{ },
|
|
42398
42271
|
{ },
|
|
42399
42272
|
opts['body'],
|
|
@@ -43427,6 +43300,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43427
43300
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43428
43301
|
* @param {Object} opts Optional parameters
|
|
43429
43302
|
* @param {Object} opts.body body
|
|
43303
|
+
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
43430
43304
|
*/
|
|
43431
43305
|
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
43432
43306
|
opts = opts || {};
|
|
@@ -43440,7 +43314,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43440
43314
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
43441
43315
|
'POST',
|
|
43442
43316
|
{ 'managementUnitId': managementUnitId },
|
|
43443
|
-
{
|
|
43317
|
+
{ 'validationMode': opts['validationMode'] },
|
|
43444
43318
|
{ },
|
|
43445
43319
|
{ },
|
|
43446
43320
|
opts['body'],
|
|
@@ -43577,7 +43451,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43577
43451
|
* </pre>
|
|
43578
43452
|
* </p>
|
|
43579
43453
|
* @module purecloud-platform-client-v2/index
|
|
43580
|
-
* @version
|
|
43454
|
+
* @version 98.0.0
|
|
43581
43455
|
*/
|
|
43582
43456
|
class platformClient {
|
|
43583
43457
|
constructor() {
|