purecloud-platform-client-v2 97.0.0 → 99.0.1
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 +3 -2
- package/dist/node/purecloud-platform-client-v2.js +72 -196
- package/dist/web-amd/purecloud-platform-client-v2.js +72 -196
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +72 -196
- package/dist/web-cjs/purecloud-platform-client-v2.js +73 -199
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +264 -278
- 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 +5 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +3 -2
- 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 +2 -2
- 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 99.0.1
|
|
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': '99.0.1' });
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
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 99.0.1
|
|
17516
17386
|
*/
|
|
17517
17387
|
|
|
17518
17388
|
/**
|
|
@@ -17657,6 +17527,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17657
17527
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17658
17528
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17659
17529
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17530
|
+
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
17660
17531
|
*/
|
|
17661
17532
|
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
17662
17533
|
opts = opts || {};
|
|
@@ -17674,7 +17545,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17674
17545
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
17675
17546
|
'GET',
|
|
17676
17547
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17677
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
|
|
17548
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
17678
17549
|
{ },
|
|
17679
17550
|
{ },
|
|
17680
17551
|
null,
|
|
@@ -17765,6 +17636,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17765
17636
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17766
17637
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17767
17638
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
17639
|
+
* @param {String} opts.title Filter by document title.
|
|
17768
17640
|
*/
|
|
17769
17641
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
17770
17642
|
opts = opts || {};
|
|
@@ -17782,7 +17654,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17782
17654
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
17783
17655
|
'GET',
|
|
17784
17656
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17785
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
|
|
17657
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
|
|
17786
17658
|
{ },
|
|
17787
17659
|
{ },
|
|
17788
17660
|
null,
|
|
@@ -18233,7 +18105,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18233
18105
|
/**
|
|
18234
18106
|
* LanguageUnderstanding service.
|
|
18235
18107
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
18236
|
-
* @version
|
|
18108
|
+
* @version 99.0.1
|
|
18237
18109
|
*/
|
|
18238
18110
|
|
|
18239
18111
|
/**
|
|
@@ -18799,7 +18671,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18799
18671
|
/**
|
|
18800
18672
|
* Languages service.
|
|
18801
18673
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18802
|
-
* @version
|
|
18674
|
+
* @version 99.0.1
|
|
18803
18675
|
*/
|
|
18804
18676
|
|
|
18805
18677
|
/**
|
|
@@ -19067,7 +18939,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19067
18939
|
/**
|
|
19068
18940
|
* License service.
|
|
19069
18941
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
19070
|
-
* @version
|
|
18942
|
+
* @version 99.0.1
|
|
19071
18943
|
*/
|
|
19072
18944
|
|
|
19073
18945
|
/**
|
|
@@ -19305,7 +19177,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19305
19177
|
/**
|
|
19306
19178
|
* Locations service.
|
|
19307
19179
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
19308
|
-
* @version
|
|
19180
|
+
* @version 99.0.1
|
|
19309
19181
|
*/
|
|
19310
19182
|
|
|
19311
19183
|
/**
|
|
@@ -19541,7 +19413,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19541
19413
|
/**
|
|
19542
19414
|
* MobileDevices service.
|
|
19543
19415
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
19544
|
-
* @version
|
|
19416
|
+
* @version 99.0.1
|
|
19545
19417
|
*/
|
|
19546
19418
|
|
|
19547
19419
|
/**
|
|
@@ -19692,7 +19564,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19692
19564
|
/**
|
|
19693
19565
|
* Notifications service.
|
|
19694
19566
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
19695
|
-
* @version
|
|
19567
|
+
* @version 99.0.1
|
|
19696
19568
|
*/
|
|
19697
19569
|
|
|
19698
19570
|
/**
|
|
@@ -19891,7 +19763,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19891
19763
|
/**
|
|
19892
19764
|
* OAuth service.
|
|
19893
19765
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
19894
|
-
* @version
|
|
19766
|
+
* @version 99.0.1
|
|
19895
19767
|
*/
|
|
19896
19768
|
|
|
19897
19769
|
/**
|
|
@@ -20249,7 +20121,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20249
20121
|
/**
|
|
20250
20122
|
* Objects service.
|
|
20251
20123
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
20252
|
-
* @version
|
|
20124
|
+
* @version 99.0.1
|
|
20253
20125
|
*/
|
|
20254
20126
|
|
|
20255
20127
|
/**
|
|
@@ -20490,7 +20362,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20490
20362
|
/**
|
|
20491
20363
|
* Organization service.
|
|
20492
20364
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
20493
|
-
* @version
|
|
20365
|
+
* @version 99.0.1
|
|
20494
20366
|
*/
|
|
20495
20367
|
|
|
20496
20368
|
/**
|
|
@@ -20745,7 +20617,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20745
20617
|
/**
|
|
20746
20618
|
* OrganizationAuthorization service.
|
|
20747
20619
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
20748
|
-
* @version
|
|
20620
|
+
* @version 99.0.1
|
|
20749
20621
|
*/
|
|
20750
20622
|
|
|
20751
20623
|
/**
|
|
@@ -21455,7 +21327,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
21455
21327
|
/**
|
|
21456
21328
|
* Outbound service.
|
|
21457
21329
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
21458
|
-
* @version
|
|
21330
|
+
* @version 99.0.1
|
|
21459
21331
|
*/
|
|
21460
21332
|
|
|
21461
21333
|
/**
|
|
@@ -24429,7 +24301,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24429
24301
|
/**
|
|
24430
24302
|
* Presence service.
|
|
24431
24303
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
24432
|
-
* @version
|
|
24304
|
+
* @version 99.0.1
|
|
24433
24305
|
*/
|
|
24434
24306
|
|
|
24435
24307
|
/**
|
|
@@ -24776,7 +24648,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24776
24648
|
/**
|
|
24777
24649
|
* Quality service.
|
|
24778
24650
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
24779
|
-
* @version
|
|
24651
|
+
* @version 99.0.1
|
|
24780
24652
|
*/
|
|
24781
24653
|
|
|
24782
24654
|
/**
|
|
@@ -25370,6 +25242,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25370
25242
|
* @param {Object} opts Optional parameters
|
|
25371
25243
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25372
25244
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25245
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
25373
25246
|
*/
|
|
25374
25247
|
getQualityFormsEvaluationVersions(formId, opts) {
|
|
25375
25248
|
opts = opts || {};
|
|
@@ -25383,7 +25256,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25383
25256
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
25384
25257
|
'GET',
|
|
25385
25258
|
{ 'formId': formId },
|
|
25386
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
25259
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
25387
25260
|
{ },
|
|
25388
25261
|
{ },
|
|
25389
25262
|
null,
|
|
@@ -26473,7 +26346,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
26473
26346
|
/**
|
|
26474
26347
|
* Recording service.
|
|
26475
26348
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
26476
|
-
* @version
|
|
26349
|
+
* @version 99.0.1
|
|
26477
26350
|
*/
|
|
26478
26351
|
|
|
26479
26352
|
/**
|
|
@@ -27719,7 +27592,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
27719
27592
|
/**
|
|
27720
27593
|
* ResponseManagement service.
|
|
27721
27594
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
27722
|
-
* @version
|
|
27595
|
+
* @version 99.0.1
|
|
27723
27596
|
*/
|
|
27724
27597
|
|
|
27725
27598
|
/**
|
|
@@ -28044,7 +27917,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
28044
27917
|
/**
|
|
28045
27918
|
* Routing service.
|
|
28046
27919
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
28047
|
-
* @version
|
|
27920
|
+
* @version 99.0.1
|
|
28048
27921
|
*/
|
|
28049
27922
|
|
|
28050
27923
|
/**
|
|
@@ -29230,6 +29103,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
29230
29103
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
29231
29104
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
29232
29105
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
29106
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
29233
29107
|
* @param {String} opts.name Name
|
|
29234
29108
|
*/
|
|
29235
29109
|
getRoutingWrapupcodes(opts) {
|
|
@@ -29240,7 +29114,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
29240
29114
|
'/api/v2/routing/wrapupcodes',
|
|
29241
29115
|
'GET',
|
|
29242
29116
|
{ },
|
|
29243
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'name': opts['name'] },
|
|
29117
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
29244
29118
|
{ },
|
|
29245
29119
|
{ },
|
|
29246
29120
|
null,
|
|
@@ -30342,7 +30216,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
30342
30216
|
/**
|
|
30343
30217
|
* SCIM service.
|
|
30344
30218
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
30345
|
-
* @version
|
|
30219
|
+
* @version 99.0.1
|
|
30346
30220
|
*/
|
|
30347
30221
|
|
|
30348
30222
|
/**
|
|
@@ -31327,7 +31201,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31327
31201
|
/**
|
|
31328
31202
|
* Scripts service.
|
|
31329
31203
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
31330
|
-
* @version
|
|
31204
|
+
* @version 99.0.1
|
|
31331
31205
|
*/
|
|
31332
31206
|
|
|
31333
31207
|
/**
|
|
@@ -31680,7 +31554,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31680
31554
|
/**
|
|
31681
31555
|
* Search service.
|
|
31682
31556
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
31683
|
-
* @version
|
|
31557
|
+
* @version 99.0.1
|
|
31684
31558
|
*/
|
|
31685
31559
|
|
|
31686
31560
|
/**
|
|
@@ -32190,7 +32064,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32190
32064
|
/**
|
|
32191
32065
|
* SpeechTextAnalytics service.
|
|
32192
32066
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
32193
|
-
* @version
|
|
32067
|
+
* @version 99.0.1
|
|
32194
32068
|
*/
|
|
32195
32069
|
|
|
32196
32070
|
/**
|
|
@@ -32266,7 +32140,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32266
32140
|
/**
|
|
32267
32141
|
* Stations service.
|
|
32268
32142
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
32269
|
-
* @version
|
|
32143
|
+
* @version 99.0.1
|
|
32270
32144
|
*/
|
|
32271
32145
|
|
|
32272
32146
|
/**
|
|
@@ -32413,7 +32287,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32413
32287
|
/**
|
|
32414
32288
|
* Suggest service.
|
|
32415
32289
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
32416
|
-
* @version
|
|
32290
|
+
* @version 99.0.1
|
|
32417
32291
|
*/
|
|
32418
32292
|
|
|
32419
32293
|
/**
|
|
@@ -32552,7 +32426,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32552
32426
|
/**
|
|
32553
32427
|
* Telephony service.
|
|
32554
32428
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
32555
|
-
* @version
|
|
32429
|
+
* @version 99.0.1
|
|
32556
32430
|
*/
|
|
32557
32431
|
|
|
32558
32432
|
/**
|
|
@@ -32660,7 +32534,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32660
32534
|
/**
|
|
32661
32535
|
* TelephonyProvidersEdge service.
|
|
32662
32536
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
32663
|
-
* @version
|
|
32537
|
+
* @version 99.0.1
|
|
32664
32538
|
*/
|
|
32665
32539
|
|
|
32666
32540
|
/**
|
|
@@ -36237,7 +36111,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36237
36111
|
/**
|
|
36238
36112
|
* Textbots service.
|
|
36239
36113
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
36240
|
-
* @version
|
|
36114
|
+
* @version 99.0.1
|
|
36241
36115
|
*/
|
|
36242
36116
|
|
|
36243
36117
|
/**
|
|
@@ -36283,7 +36157,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36283
36157
|
/**
|
|
36284
36158
|
* Tokens service.
|
|
36285
36159
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
36286
|
-
* @version
|
|
36160
|
+
* @version 99.0.1
|
|
36287
36161
|
*/
|
|
36288
36162
|
|
|
36289
36163
|
/**
|
|
@@ -36369,7 +36243,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36369
36243
|
/**
|
|
36370
36244
|
* Uploads service.
|
|
36371
36245
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
36372
|
-
* @version
|
|
36246
|
+
* @version 99.0.1
|
|
36373
36247
|
*/
|
|
36374
36248
|
|
|
36375
36249
|
/**
|
|
@@ -36415,7 +36289,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36415
36289
|
/**
|
|
36416
36290
|
* Usage service.
|
|
36417
36291
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
36418
|
-
* @version
|
|
36292
|
+
* @version 99.0.1
|
|
36419
36293
|
*/
|
|
36420
36294
|
|
|
36421
36295
|
/**
|
|
@@ -36486,7 +36360,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36486
36360
|
/**
|
|
36487
36361
|
* UserRecordings service.
|
|
36488
36362
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
36489
|
-
* @version
|
|
36363
|
+
* @version 99.0.1
|
|
36490
36364
|
*/
|
|
36491
36365
|
|
|
36492
36366
|
/**
|
|
@@ -36670,7 +36544,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36670
36544
|
/**
|
|
36671
36545
|
* Users service.
|
|
36672
36546
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
36673
|
-
* @version
|
|
36547
|
+
* @version 99.0.1
|
|
36674
36548
|
*/
|
|
36675
36549
|
|
|
36676
36550
|
/**
|
|
@@ -37783,7 +37657,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
37783
37657
|
|
|
37784
37658
|
/**
|
|
37785
37659
|
* Get a Development Activity
|
|
37786
|
-
*
|
|
37660
|
+
* Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
|
|
37787
37661
|
* @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
|
|
37788
37662
|
* @param {Object} type Specifies the activity type.
|
|
37789
37663
|
*/
|
|
@@ -38883,7 +38757,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38883
38757
|
/**
|
|
38884
38758
|
* Utilities service.
|
|
38885
38759
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
38886
|
-
* @version
|
|
38760
|
+
* @version 99.0.1
|
|
38887
38761
|
*/
|
|
38888
38762
|
|
|
38889
38763
|
/**
|
|
@@ -38994,7 +38868,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38994
38868
|
/**
|
|
38995
38869
|
* Voicemail service.
|
|
38996
38870
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
38997
|
-
* @version
|
|
38871
|
+
* @version 99.0.1
|
|
38998
38872
|
*/
|
|
38999
38873
|
|
|
39000
38874
|
/**
|
|
@@ -39631,7 +39505,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
39631
39505
|
/**
|
|
39632
39506
|
* WebChat service.
|
|
39633
39507
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
39634
|
-
* @version
|
|
39508
|
+
* @version 99.0.1
|
|
39635
39509
|
*/
|
|
39636
39510
|
|
|
39637
39511
|
/**
|
|
@@ -40175,7 +40049,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40175
40049
|
/**
|
|
40176
40050
|
* Widgets service.
|
|
40177
40051
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
40178
|
-
* @version
|
|
40052
|
+
* @version 99.0.1
|
|
40179
40053
|
*/
|
|
40180
40054
|
|
|
40181
40055
|
/**
|
|
@@ -40321,7 +40195,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40321
40195
|
/**
|
|
40322
40196
|
* WorkforceManagement service.
|
|
40323
40197
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
40324
|
-
* @version
|
|
40198
|
+
* @version 99.0.1
|
|
40325
40199
|
*/
|
|
40326
40200
|
|
|
40327
40201
|
/**
|
|
@@ -42376,6 +42250,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42376
42250
|
* @param {String} workPlanId The ID of the work plan to update
|
|
42377
42251
|
* @param {Object} opts Optional parameters
|
|
42378
42252
|
* @param {Object} opts.body body
|
|
42253
|
+
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
42379
42254
|
*/
|
|
42380
42255
|
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
42381
42256
|
opts = opts || {};
|
|
@@ -42393,7 +42268,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42393
42268
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
42394
42269
|
'PATCH',
|
|
42395
42270
|
{ 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
|
|
42396
|
-
{
|
|
42271
|
+
{ 'validationMode': opts['validationMode'] },
|
|
42397
42272
|
{ },
|
|
42398
42273
|
{ },
|
|
42399
42274
|
opts['body'],
|
|
@@ -43427,6 +43302,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43427
43302
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43428
43303
|
* @param {Object} opts Optional parameters
|
|
43429
43304
|
* @param {Object} opts.body body
|
|
43305
|
+
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
43430
43306
|
*/
|
|
43431
43307
|
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
43432
43308
|
opts = opts || {};
|
|
@@ -43440,7 +43316,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43440
43316
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
43441
43317
|
'POST',
|
|
43442
43318
|
{ 'managementUnitId': managementUnitId },
|
|
43443
|
-
{
|
|
43319
|
+
{ 'validationMode': opts['validationMode'] },
|
|
43444
43320
|
{ },
|
|
43445
43321
|
{ },
|
|
43446
43322
|
opts['body'],
|
|
@@ -43577,7 +43453,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43577
43453
|
* </pre>
|
|
43578
43454
|
* </p>
|
|
43579
43455
|
* @module purecloud-platform-client-v2/index
|
|
43580
|
-
* @version
|
|
43456
|
+
* @version 99.0.1
|
|
43581
43457
|
*/
|
|
43582
43458
|
class platformClient {
|
|
43583
43459
|
constructor() {
|