purecloud-platform-client-v2 96.0.0 → 99.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 +3 -2
- package/dist/node/purecloud-platform-client-v2.js +263 -68
- package/dist/web-amd/purecloud-platform-client-v2.js +263 -68
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +263 -68
- package/dist/web-cjs/purecloud-platform-client-v2.js +265 -71
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +541 -386
- 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 +4 -2
- 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 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +8 -5
- 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 +190 -2
- 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.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': '99.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 99.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 99.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 99.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 99.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 99.0.0
|
|
5304
5304
|
*/
|
|
5305
5305
|
|
|
5306
5306
|
/**
|
|
@@ -5635,6 +5635,8 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
5635
5635
|
* @param {Object} opts Optional parameters
|
|
5636
5636
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
5637
5637
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
5638
|
+
* @param {Object} opts.queryType Query filter type
|
|
5639
|
+
* @param {String} opts.query Comma-separated list of permissions or domains to query
|
|
5638
5640
|
*/
|
|
5639
5641
|
getAuthorizationPermissions(opts) {
|
|
5640
5642
|
opts = opts || {};
|
|
@@ -5644,7 +5646,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
5644
5646
|
'/api/v2/authorization/permissions',
|
|
5645
5647
|
'GET',
|
|
5646
5648
|
{ },
|
|
5647
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
5649
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
|
|
5648
5650
|
{ },
|
|
5649
5651
|
{ },
|
|
5650
5652
|
null,
|
|
@@ -6417,7 +6419,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
6417
6419
|
/**
|
|
6418
6420
|
* Billing service.
|
|
6419
6421
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
6420
|
-
* @version
|
|
6422
|
+
* @version 99.0.0
|
|
6421
6423
|
*/
|
|
6422
6424
|
|
|
6423
6425
|
/**
|
|
@@ -6497,7 +6499,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
6497
6499
|
/**
|
|
6498
6500
|
* Coaching service.
|
|
6499
6501
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6500
|
-
* @version
|
|
6502
|
+
* @version 99.0.0
|
|
6501
6503
|
*/
|
|
6502
6504
|
|
|
6503
6505
|
/**
|
|
@@ -7017,7 +7019,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
7017
7019
|
/**
|
|
7018
7020
|
* ContentManagement service.
|
|
7019
7021
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
7020
|
-
* @version
|
|
7022
|
+
* @version 99.0.0
|
|
7021
7023
|
*/
|
|
7022
7024
|
|
|
7023
7025
|
/**
|
|
@@ -8157,7 +8159,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
8157
8159
|
/**
|
|
8158
8160
|
* Conversations service.
|
|
8159
8161
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8160
|
-
* @version
|
|
8162
|
+
* @version 99.0.0
|
|
8161
8163
|
*/
|
|
8162
8164
|
|
|
8163
8165
|
/**
|
|
@@ -12215,7 +12217,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
12215
12217
|
/**
|
|
12216
12218
|
* DataExtensions service.
|
|
12217
12219
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12218
|
-
* @version
|
|
12220
|
+
* @version 99.0.0
|
|
12219
12221
|
*/
|
|
12220
12222
|
|
|
12221
12223
|
/**
|
|
@@ -12301,7 +12303,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
12301
12303
|
/**
|
|
12302
12304
|
* ExternalContacts service.
|
|
12303
12305
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12304
|
-
* @version
|
|
12306
|
+
* @version 99.0.0
|
|
12305
12307
|
*/
|
|
12306
12308
|
|
|
12307
12309
|
/**
|
|
@@ -13644,7 +13646,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13644
13646
|
/**
|
|
13645
13647
|
* Fax service.
|
|
13646
13648
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13647
|
-
* @version
|
|
13649
|
+
* @version 99.0.0
|
|
13648
13650
|
*/
|
|
13649
13651
|
|
|
13650
13652
|
/**
|
|
@@ -13815,7 +13817,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13815
13817
|
/**
|
|
13816
13818
|
* Flows service.
|
|
13817
13819
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13818
|
-
* @version
|
|
13820
|
+
* @version 99.0.0
|
|
13819
13821
|
*/
|
|
13820
13822
|
|
|
13821
13823
|
/**
|
|
@@ -13886,7 +13888,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
13886
13888
|
/**
|
|
13887
13889
|
* GeneralDataProtectionRegulation service.
|
|
13888
13890
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13889
|
-
* @version
|
|
13891
|
+
* @version 99.0.0
|
|
13890
13892
|
*/
|
|
13891
13893
|
|
|
13892
13894
|
/**
|
|
@@ -14016,7 +14018,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14016
14018
|
/**
|
|
14017
14019
|
* Geolocation service.
|
|
14018
14020
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14019
|
-
* @version
|
|
14021
|
+
* @version 99.0.0
|
|
14020
14022
|
*/
|
|
14021
14023
|
|
|
14022
14024
|
/**
|
|
@@ -14147,7 +14149,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14147
14149
|
/**
|
|
14148
14150
|
* Greetings service.
|
|
14149
14151
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14150
|
-
* @version
|
|
14152
|
+
* @version 99.0.0
|
|
14151
14153
|
*/
|
|
14152
14154
|
|
|
14153
14155
|
/**
|
|
@@ -14602,7 +14604,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
14602
14604
|
/**
|
|
14603
14605
|
* Groups service.
|
|
14604
14606
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14605
|
-
* @version
|
|
14607
|
+
* @version 99.0.0
|
|
14606
14608
|
*/
|
|
14607
14609
|
|
|
14608
14610
|
/**
|
|
@@ -15007,7 +15009,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
15007
15009
|
/**
|
|
15008
15010
|
* IdentityProvider service.
|
|
15009
15011
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15010
|
-
* @version
|
|
15012
|
+
* @version 99.0.0
|
|
15011
15013
|
*/
|
|
15012
15014
|
|
|
15013
15015
|
/**
|
|
@@ -15763,7 +15765,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
15763
15765
|
/**
|
|
15764
15766
|
* Integrations service.
|
|
15765
15767
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15766
|
-
* @version
|
|
15768
|
+
* @version 99.0.0
|
|
15767
15769
|
*/
|
|
15768
15770
|
|
|
15769
15771
|
/**
|
|
@@ -17255,7 +17257,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17255
17257
|
/**
|
|
17256
17258
|
* Journey service.
|
|
17257
17259
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
17258
|
-
* @version
|
|
17260
|
+
* @version 99.0.0
|
|
17259
17261
|
*/
|
|
17260
17262
|
|
|
17261
17263
|
/**
|
|
@@ -17380,7 +17382,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17380
17382
|
/**
|
|
17381
17383
|
* Knowledge service.
|
|
17382
17384
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
17383
|
-
* @version
|
|
17385
|
+
* @version 99.0.0
|
|
17384
17386
|
*/
|
|
17385
17387
|
|
|
17386
17388
|
/**
|
|
@@ -17525,6 +17527,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17525
17527
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17526
17528
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17527
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.
|
|
17528
17531
|
*/
|
|
17529
17532
|
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
17530
17533
|
opts = opts || {};
|
|
@@ -17542,7 +17545,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17542
17545
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
17543
17546
|
'GET',
|
|
17544
17547
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17545
|
-
{ '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'] },
|
|
17546
17549
|
{ },
|
|
17547
17550
|
{ },
|
|
17548
17551
|
null,
|
|
@@ -17633,6 +17636,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17633
17636
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17634
17637
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17635
17638
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
17639
|
+
* @param {String} opts.title Filter by document title.
|
|
17636
17640
|
*/
|
|
17637
17641
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
17638
17642
|
opts = opts || {};
|
|
@@ -17650,7 +17654,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17650
17654
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
17651
17655
|
'GET',
|
|
17652
17656
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17653
|
-
{ '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'] },
|
|
17654
17658
|
{ },
|
|
17655
17659
|
{ },
|
|
17656
17660
|
null,
|
|
@@ -17696,7 +17700,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17696
17700
|
}
|
|
17697
17701
|
|
|
17698
17702
|
/**
|
|
17699
|
-
* Get
|
|
17703
|
+
* Get all trainings information for a knowledgebase
|
|
17700
17704
|
*
|
|
17701
17705
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17702
17706
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
@@ -17705,6 +17709,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17705
17709
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17706
17710
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
17707
17711
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17712
|
+
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
17708
17713
|
*/
|
|
17709
17714
|
getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
|
|
17710
17715
|
opts = opts || {};
|
|
@@ -17722,7 +17727,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
17722
17727
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
17723
17728
|
'GET',
|
|
17724
17729
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
17725
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
|
|
17730
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
|
|
17726
17731
|
{ },
|
|
17727
17732
|
{ },
|
|
17728
17733
|
null,
|
|
@@ -18100,7 +18105,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18100
18105
|
/**
|
|
18101
18106
|
* LanguageUnderstanding service.
|
|
18102
18107
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
18103
|
-
* @version
|
|
18108
|
+
* @version 99.0.0
|
|
18104
18109
|
*/
|
|
18105
18110
|
|
|
18106
18111
|
/**
|
|
@@ -18666,7 +18671,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18666
18671
|
/**
|
|
18667
18672
|
* Languages service.
|
|
18668
18673
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18669
|
-
* @version
|
|
18674
|
+
* @version 99.0.0
|
|
18670
18675
|
*/
|
|
18671
18676
|
|
|
18672
18677
|
/**
|
|
@@ -18934,7 +18939,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
18934
18939
|
/**
|
|
18935
18940
|
* License service.
|
|
18936
18941
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
18937
|
-
* @version
|
|
18942
|
+
* @version 99.0.0
|
|
18938
18943
|
*/
|
|
18939
18944
|
|
|
18940
18945
|
/**
|
|
@@ -19172,7 +19177,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19172
19177
|
/**
|
|
19173
19178
|
* Locations service.
|
|
19174
19179
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
19175
|
-
* @version
|
|
19180
|
+
* @version 99.0.0
|
|
19176
19181
|
*/
|
|
19177
19182
|
|
|
19178
19183
|
/**
|
|
@@ -19408,7 +19413,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19408
19413
|
/**
|
|
19409
19414
|
* MobileDevices service.
|
|
19410
19415
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
19411
|
-
* @version
|
|
19416
|
+
* @version 99.0.0
|
|
19412
19417
|
*/
|
|
19413
19418
|
|
|
19414
19419
|
/**
|
|
@@ -19559,7 +19564,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19559
19564
|
/**
|
|
19560
19565
|
* Notifications service.
|
|
19561
19566
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
19562
|
-
* @version
|
|
19567
|
+
* @version 99.0.0
|
|
19563
19568
|
*/
|
|
19564
19569
|
|
|
19565
19570
|
/**
|
|
@@ -19758,7 +19763,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
19758
19763
|
/**
|
|
19759
19764
|
* OAuth service.
|
|
19760
19765
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
19761
|
-
* @version
|
|
19766
|
+
* @version 99.0.0
|
|
19762
19767
|
*/
|
|
19763
19768
|
|
|
19764
19769
|
/**
|
|
@@ -20116,7 +20121,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20116
20121
|
/**
|
|
20117
20122
|
* Objects service.
|
|
20118
20123
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
20119
|
-
* @version
|
|
20124
|
+
* @version 99.0.0
|
|
20120
20125
|
*/
|
|
20121
20126
|
|
|
20122
20127
|
/**
|
|
@@ -20357,7 +20362,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20357
20362
|
/**
|
|
20358
20363
|
* Organization service.
|
|
20359
20364
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
20360
|
-
* @version
|
|
20365
|
+
* @version 99.0.0
|
|
20361
20366
|
*/
|
|
20362
20367
|
|
|
20363
20368
|
/**
|
|
@@ -20612,7 +20617,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
20612
20617
|
/**
|
|
20613
20618
|
* OrganizationAuthorization service.
|
|
20614
20619
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
20615
|
-
* @version
|
|
20620
|
+
* @version 99.0.0
|
|
20616
20621
|
*/
|
|
20617
20622
|
|
|
20618
20623
|
/**
|
|
@@ -21322,7 +21327,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
21322
21327
|
/**
|
|
21323
21328
|
* Outbound service.
|
|
21324
21329
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
21325
|
-
* @version
|
|
21330
|
+
* @version 99.0.0
|
|
21326
21331
|
*/
|
|
21327
21332
|
|
|
21328
21333
|
/**
|
|
@@ -24296,7 +24301,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24296
24301
|
/**
|
|
24297
24302
|
* Presence service.
|
|
24298
24303
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
24299
|
-
* @version
|
|
24304
|
+
* @version 99.0.0
|
|
24300
24305
|
*/
|
|
24301
24306
|
|
|
24302
24307
|
/**
|
|
@@ -24643,7 +24648,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
24643
24648
|
/**
|
|
24644
24649
|
* Quality service.
|
|
24645
24650
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
24646
|
-
* @version
|
|
24651
|
+
* @version 99.0.0
|
|
24647
24652
|
*/
|
|
24648
24653
|
|
|
24649
24654
|
/**
|
|
@@ -25237,6 +25242,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25237
25242
|
* @param {Object} opts Optional parameters
|
|
25238
25243
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
25239
25244
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
25245
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
25240
25246
|
*/
|
|
25241
25247
|
getQualityFormsEvaluationVersions(formId, opts) {
|
|
25242
25248
|
opts = opts || {};
|
|
@@ -25250,7 +25256,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
25250
25256
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
25251
25257
|
'GET',
|
|
25252
25258
|
{ 'formId': formId },
|
|
25253
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
25259
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
25254
25260
|
{ },
|
|
25255
25261
|
{ },
|
|
25256
25262
|
null,
|
|
@@ -26340,7 +26346,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
26340
26346
|
/**
|
|
26341
26347
|
* Recording service.
|
|
26342
26348
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
26343
|
-
* @version
|
|
26349
|
+
* @version 99.0.0
|
|
26344
26350
|
*/
|
|
26345
26351
|
|
|
26346
26352
|
/**
|
|
@@ -27586,7 +27592,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
27586
27592
|
/**
|
|
27587
27593
|
* ResponseManagement service.
|
|
27588
27594
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
27589
|
-
* @version
|
|
27595
|
+
* @version 99.0.0
|
|
27590
27596
|
*/
|
|
27591
27597
|
|
|
27592
27598
|
/**
|
|
@@ -27911,7 +27917,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
27911
27917
|
/**
|
|
27912
27918
|
* Routing service.
|
|
27913
27919
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
27914
|
-
* @version
|
|
27920
|
+
* @version 99.0.0
|
|
27915
27921
|
*/
|
|
27916
27922
|
|
|
27917
27923
|
/**
|
|
@@ -29097,6 +29103,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
29097
29103
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
29098
29104
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
29099
29105
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
29106
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
29100
29107
|
* @param {String} opts.name Name
|
|
29101
29108
|
*/
|
|
29102
29109
|
getRoutingWrapupcodes(opts) {
|
|
@@ -29107,7 +29114,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
29107
29114
|
'/api/v2/routing/wrapupcodes',
|
|
29108
29115
|
'GET',
|
|
29109
29116
|
{ },
|
|
29110
|
-
{ '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'] },
|
|
29111
29118
|
{ },
|
|
29112
29119
|
{ },
|
|
29113
29120
|
null,
|
|
@@ -30209,7 +30216,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
30209
30216
|
/**
|
|
30210
30217
|
* SCIM service.
|
|
30211
30218
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
30212
|
-
* @version
|
|
30219
|
+
* @version 99.0.0
|
|
30213
30220
|
*/
|
|
30214
30221
|
|
|
30215
30222
|
/**
|
|
@@ -31194,7 +31201,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31194
31201
|
/**
|
|
31195
31202
|
* Scripts service.
|
|
31196
31203
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
31197
|
-
* @version
|
|
31204
|
+
* @version 99.0.0
|
|
31198
31205
|
*/
|
|
31199
31206
|
|
|
31200
31207
|
/**
|
|
@@ -31547,7 +31554,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
31547
31554
|
/**
|
|
31548
31555
|
* Search service.
|
|
31549
31556
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
31550
|
-
* @version
|
|
31557
|
+
* @version 99.0.0
|
|
31551
31558
|
*/
|
|
31552
31559
|
|
|
31553
31560
|
/**
|
|
@@ -32057,7 +32064,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32057
32064
|
/**
|
|
32058
32065
|
* SpeechTextAnalytics service.
|
|
32059
32066
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
32060
|
-
* @version
|
|
32067
|
+
* @version 99.0.0
|
|
32061
32068
|
*/
|
|
32062
32069
|
|
|
32063
32070
|
/**
|
|
@@ -32133,7 +32140,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32133
32140
|
/**
|
|
32134
32141
|
* Stations service.
|
|
32135
32142
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
32136
|
-
* @version
|
|
32143
|
+
* @version 99.0.0
|
|
32137
32144
|
*/
|
|
32138
32145
|
|
|
32139
32146
|
/**
|
|
@@ -32280,7 +32287,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32280
32287
|
/**
|
|
32281
32288
|
* Suggest service.
|
|
32282
32289
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
32283
|
-
* @version
|
|
32290
|
+
* @version 99.0.0
|
|
32284
32291
|
*/
|
|
32285
32292
|
|
|
32286
32293
|
/**
|
|
@@ -32419,7 +32426,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32419
32426
|
/**
|
|
32420
32427
|
* Telephony service.
|
|
32421
32428
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
32422
|
-
* @version
|
|
32429
|
+
* @version 99.0.0
|
|
32423
32430
|
*/
|
|
32424
32431
|
|
|
32425
32432
|
/**
|
|
@@ -32527,7 +32534,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
32527
32534
|
/**
|
|
32528
32535
|
* TelephonyProvidersEdge service.
|
|
32529
32536
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
32530
|
-
* @version
|
|
32537
|
+
* @version 99.0.0
|
|
32531
32538
|
*/
|
|
32532
32539
|
|
|
32533
32540
|
/**
|
|
@@ -36104,7 +36111,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36104
36111
|
/**
|
|
36105
36112
|
* Textbots service.
|
|
36106
36113
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
36107
|
-
* @version
|
|
36114
|
+
* @version 99.0.0
|
|
36108
36115
|
*/
|
|
36109
36116
|
|
|
36110
36117
|
/**
|
|
@@ -36150,7 +36157,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36150
36157
|
/**
|
|
36151
36158
|
* Tokens service.
|
|
36152
36159
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
36153
|
-
* @version
|
|
36160
|
+
* @version 99.0.0
|
|
36154
36161
|
*/
|
|
36155
36162
|
|
|
36156
36163
|
/**
|
|
@@ -36236,7 +36243,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36236
36243
|
/**
|
|
36237
36244
|
* Uploads service.
|
|
36238
36245
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
36239
|
-
* @version
|
|
36246
|
+
* @version 99.0.0
|
|
36240
36247
|
*/
|
|
36241
36248
|
|
|
36242
36249
|
/**
|
|
@@ -36282,7 +36289,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36282
36289
|
/**
|
|
36283
36290
|
* Usage service.
|
|
36284
36291
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
36285
|
-
* @version
|
|
36292
|
+
* @version 99.0.0
|
|
36286
36293
|
*/
|
|
36287
36294
|
|
|
36288
36295
|
/**
|
|
@@ -36353,7 +36360,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36353
36360
|
/**
|
|
36354
36361
|
* UserRecordings service.
|
|
36355
36362
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
36356
|
-
* @version
|
|
36363
|
+
* @version 99.0.0
|
|
36357
36364
|
*/
|
|
36358
36365
|
|
|
36359
36366
|
/**
|
|
@@ -36537,7 +36544,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
36537
36544
|
/**
|
|
36538
36545
|
* Users service.
|
|
36539
36546
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
36540
|
-
* @version
|
|
36547
|
+
* @version 99.0.0
|
|
36541
36548
|
*/
|
|
36542
36549
|
|
|
36543
36550
|
/**
|
|
@@ -37650,7 +37657,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
37650
37657
|
|
|
37651
37658
|
/**
|
|
37652
37659
|
* Get a Development Activity
|
|
37653
|
-
*
|
|
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.
|
|
37654
37661
|
* @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
|
|
37655
37662
|
* @param {Object} type Specifies the activity type.
|
|
37656
37663
|
*/
|
|
@@ -38750,7 +38757,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38750
38757
|
/**
|
|
38751
38758
|
* Utilities service.
|
|
38752
38759
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
38753
|
-
* @version
|
|
38760
|
+
* @version 99.0.0
|
|
38754
38761
|
*/
|
|
38755
38762
|
|
|
38756
38763
|
/**
|
|
@@ -38861,7 +38868,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
38861
38868
|
/**
|
|
38862
38869
|
* Voicemail service.
|
|
38863
38870
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
38864
|
-
* @version
|
|
38871
|
+
* @version 99.0.0
|
|
38865
38872
|
*/
|
|
38866
38873
|
|
|
38867
38874
|
/**
|
|
@@ -39498,7 +39505,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
39498
39505
|
/**
|
|
39499
39506
|
* WebChat service.
|
|
39500
39507
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
39501
|
-
* @version
|
|
39508
|
+
* @version 99.0.0
|
|
39502
39509
|
*/
|
|
39503
39510
|
|
|
39504
39511
|
/**
|
|
@@ -40042,7 +40049,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40042
40049
|
/**
|
|
40043
40050
|
* Widgets service.
|
|
40044
40051
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
40045
|
-
* @version
|
|
40052
|
+
* @version 99.0.0
|
|
40046
40053
|
*/
|
|
40047
40054
|
|
|
40048
40055
|
/**
|
|
@@ -40188,7 +40195,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40188
40195
|
/**
|
|
40189
40196
|
* WorkforceManagement service.
|
|
40190
40197
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
40191
|
-
* @version
|
|
40198
|
+
* @version 99.0.0
|
|
40192
40199
|
*/
|
|
40193
40200
|
|
|
40194
40201
|
/**
|
|
@@ -40473,6 +40480,36 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
40473
40480
|
);
|
|
40474
40481
|
}
|
|
40475
40482
|
|
|
40483
|
+
/**
|
|
40484
|
+
* Delete a work plan rotation
|
|
40485
|
+
*
|
|
40486
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
40487
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to be deleted
|
|
40488
|
+
*/
|
|
40489
|
+
deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
40490
|
+
// verify the required parameter 'managementUnitId' is set
|
|
40491
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
40492
|
+
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
40493
|
+
}
|
|
40494
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
40495
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
40496
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
40497
|
+
}
|
|
40498
|
+
|
|
40499
|
+
return this.apiClient.callApi(
|
|
40500
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
40501
|
+
'DELETE',
|
|
40502
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
40503
|
+
{ },
|
|
40504
|
+
{ },
|
|
40505
|
+
{ },
|
|
40506
|
+
null,
|
|
40507
|
+
['PureCloud OAuth'],
|
|
40508
|
+
['application/json'],
|
|
40509
|
+
['application/json']
|
|
40510
|
+
);
|
|
40511
|
+
}
|
|
40512
|
+
|
|
40476
40513
|
/**
|
|
40477
40514
|
* Get a list of UserScheduleAdherence records for the requested users
|
|
40478
40515
|
*
|
|
@@ -41679,6 +41716,65 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
41679
41716
|
);
|
|
41680
41717
|
}
|
|
41681
41718
|
|
|
41719
|
+
/**
|
|
41720
|
+
* Get a work plan rotation
|
|
41721
|
+
*
|
|
41722
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
41723
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to fetch
|
|
41724
|
+
*/
|
|
41725
|
+
getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
41726
|
+
// verify the required parameter 'managementUnitId' is set
|
|
41727
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
41728
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
41729
|
+
}
|
|
41730
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
41731
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
41732
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
41733
|
+
}
|
|
41734
|
+
|
|
41735
|
+
return this.apiClient.callApi(
|
|
41736
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
41737
|
+
'GET',
|
|
41738
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
41739
|
+
{ },
|
|
41740
|
+
{ },
|
|
41741
|
+
{ },
|
|
41742
|
+
null,
|
|
41743
|
+
['PureCloud OAuth'],
|
|
41744
|
+
['application/json'],
|
|
41745
|
+
['application/json']
|
|
41746
|
+
);
|
|
41747
|
+
}
|
|
41748
|
+
|
|
41749
|
+
/**
|
|
41750
|
+
* Get work plan rotations
|
|
41751
|
+
*
|
|
41752
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
41753
|
+
* @param {Object} opts Optional parameters
|
|
41754
|
+
* @param {Array.<String>} opts.expand
|
|
41755
|
+
*/
|
|
41756
|
+
getWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
|
|
41757
|
+
opts = opts || {};
|
|
41758
|
+
|
|
41759
|
+
// verify the required parameter 'managementUnitId' is set
|
|
41760
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
41761
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
|
|
41762
|
+
}
|
|
41763
|
+
|
|
41764
|
+
return this.apiClient.callApi(
|
|
41765
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
41766
|
+
'GET',
|
|
41767
|
+
{ 'managementUnitId': managementUnitId },
|
|
41768
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
41769
|
+
{ },
|
|
41770
|
+
{ },
|
|
41771
|
+
null,
|
|
41772
|
+
['PureCloud OAuth'],
|
|
41773
|
+
['application/json'],
|
|
41774
|
+
['application/json']
|
|
41775
|
+
);
|
|
41776
|
+
}
|
|
41777
|
+
|
|
41682
41778
|
/**
|
|
41683
41779
|
* Get work plans
|
|
41684
41780
|
*
|
|
@@ -42154,6 +42250,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42154
42250
|
* @param {String} workPlanId The ID of the work plan to update
|
|
42155
42251
|
* @param {Object} opts Optional parameters
|
|
42156
42252
|
* @param {Object} opts.body body
|
|
42253
|
+
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
42157
42254
|
*/
|
|
42158
42255
|
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
42159
42256
|
opts = opts || {};
|
|
@@ -42171,6 +42268,40 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
42171
42268
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
42172
42269
|
'PATCH',
|
|
42173
42270
|
{ 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
|
|
42271
|
+
{ 'validationMode': opts['validationMode'] },
|
|
42272
|
+
{ },
|
|
42273
|
+
{ },
|
|
42274
|
+
opts['body'],
|
|
42275
|
+
['PureCloud OAuth'],
|
|
42276
|
+
['application/json'],
|
|
42277
|
+
['application/json']
|
|
42278
|
+
);
|
|
42279
|
+
}
|
|
42280
|
+
|
|
42281
|
+
/**
|
|
42282
|
+
* Update a work plan rotation
|
|
42283
|
+
*
|
|
42284
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
42285
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to update
|
|
42286
|
+
* @param {Object} opts Optional parameters
|
|
42287
|
+
* @param {Object} opts.body body
|
|
42288
|
+
*/
|
|
42289
|
+
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
|
|
42290
|
+
opts = opts || {};
|
|
42291
|
+
|
|
42292
|
+
// verify the required parameter 'managementUnitId' is set
|
|
42293
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
42294
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
42295
|
+
}
|
|
42296
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
42297
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
42298
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
42299
|
+
}
|
|
42300
|
+
|
|
42301
|
+
return this.apiClient.callApi(
|
|
42302
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
42303
|
+
'PATCH',
|
|
42304
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
42174
42305
|
{ },
|
|
42175
42306
|
{ },
|
|
42176
42307
|
{ },
|
|
@@ -43102,12 +43233,76 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43102
43233
|
);
|
|
43103
43234
|
}
|
|
43104
43235
|
|
|
43236
|
+
/**
|
|
43237
|
+
* Create a copy of work plan rotation
|
|
43238
|
+
*
|
|
43239
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43240
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
|
|
43241
|
+
* @param {Object} opts Optional parameters
|
|
43242
|
+
* @param {Object} opts.body body
|
|
43243
|
+
*/
|
|
43244
|
+
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
|
|
43245
|
+
opts = opts || {};
|
|
43246
|
+
|
|
43247
|
+
// verify the required parameter 'managementUnitId' is set
|
|
43248
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
43249
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
43250
|
+
}
|
|
43251
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
43252
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
43253
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
43254
|
+
}
|
|
43255
|
+
|
|
43256
|
+
return this.apiClient.callApi(
|
|
43257
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
|
|
43258
|
+
'POST',
|
|
43259
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
43260
|
+
{ },
|
|
43261
|
+
{ },
|
|
43262
|
+
{ },
|
|
43263
|
+
opts['body'],
|
|
43264
|
+
['PureCloud OAuth'],
|
|
43265
|
+
['application/json'],
|
|
43266
|
+
['application/json']
|
|
43267
|
+
);
|
|
43268
|
+
}
|
|
43269
|
+
|
|
43270
|
+
/**
|
|
43271
|
+
* Create a new work plan rotation
|
|
43272
|
+
*
|
|
43273
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43274
|
+
* @param {Object} opts Optional parameters
|
|
43275
|
+
* @param {Object} opts.body body
|
|
43276
|
+
*/
|
|
43277
|
+
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
|
|
43278
|
+
opts = opts || {};
|
|
43279
|
+
|
|
43280
|
+
// verify the required parameter 'managementUnitId' is set
|
|
43281
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
43282
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
43283
|
+
}
|
|
43284
|
+
|
|
43285
|
+
return this.apiClient.callApi(
|
|
43286
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
43287
|
+
'POST',
|
|
43288
|
+
{ 'managementUnitId': managementUnitId },
|
|
43289
|
+
{ },
|
|
43290
|
+
{ },
|
|
43291
|
+
{ },
|
|
43292
|
+
opts['body'],
|
|
43293
|
+
['PureCloud OAuth'],
|
|
43294
|
+
['application/json'],
|
|
43295
|
+
['application/json']
|
|
43296
|
+
);
|
|
43297
|
+
}
|
|
43298
|
+
|
|
43105
43299
|
/**
|
|
43106
43300
|
* Create a new work plan
|
|
43107
43301
|
*
|
|
43108
43302
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43109
43303
|
* @param {Object} opts Optional parameters
|
|
43110
43304
|
* @param {Object} opts.body body
|
|
43305
|
+
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
43111
43306
|
*/
|
|
43112
43307
|
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
43113
43308
|
opts = opts || {};
|
|
@@ -43121,7 +43316,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43121
43316
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
43122
43317
|
'POST',
|
|
43123
43318
|
{ 'managementUnitId': managementUnitId },
|
|
43124
|
-
{
|
|
43319
|
+
{ 'validationMode': opts['validationMode'] },
|
|
43125
43320
|
{ },
|
|
43126
43321
|
{ },
|
|
43127
43322
|
opts['body'],
|
|
@@ -43258,7 +43453,7 @@ define(['superagent'], function (superagent) { 'use strict';
|
|
|
43258
43453
|
* </pre>
|
|
43259
43454
|
* </p>
|
|
43260
43455
|
* @module purecloud-platform-client-v2/index
|
|
43261
|
-
* @version
|
|
43456
|
+
* @version 99.0.0
|
|
43262
43457
|
*/
|
|
43263
43458
|
class platformClient {
|
|
43264
43459
|
constructor() {
|