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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1983,7 +1983,7 @@ function isSlowBuffer (obj) {
|
|
|
1983
1983
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1986
|
-
* @version
|
|
1986
|
+
* @version 99.0.0
|
|
1987
1987
|
*/
|
|
1988
1988
|
class ApiClient {
|
|
1989
1989
|
/**
|
|
@@ -2739,7 +2739,7 @@ class ApiClient {
|
|
|
2739
2739
|
|
|
2740
2740
|
// set header parameters
|
|
2741
2741
|
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
|
|
2742
|
-
//request.set({ 'purecloud-sdk': '
|
|
2742
|
+
//request.set({ 'purecloud-sdk': '99.0.0' });
|
|
2743
2743
|
|
|
2744
2744
|
// set request timeout
|
|
2745
2745
|
request.timeout(this.timeout);
|
|
@@ -2864,7 +2864,7 @@ class AlertingApi {
|
|
|
2864
2864
|
/**
|
|
2865
2865
|
* Alerting service.
|
|
2866
2866
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2867
|
-
* @version
|
|
2867
|
+
* @version 99.0.0
|
|
2868
2868
|
*/
|
|
2869
2869
|
|
|
2870
2870
|
/**
|
|
@@ -3178,7 +3178,7 @@ class AnalyticsApi {
|
|
|
3178
3178
|
/**
|
|
3179
3179
|
* Analytics service.
|
|
3180
3180
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3181
|
-
* @version
|
|
3181
|
+
* @version 99.0.0
|
|
3182
3182
|
*/
|
|
3183
3183
|
|
|
3184
3184
|
/**
|
|
@@ -4258,7 +4258,7 @@ class ArchitectApi {
|
|
|
4258
4258
|
/**
|
|
4259
4259
|
* Architect service.
|
|
4260
4260
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4261
|
-
* @version
|
|
4261
|
+
* @version 99.0.0
|
|
4262
4262
|
*/
|
|
4263
4263
|
|
|
4264
4264
|
/**
|
|
@@ -7096,7 +7096,7 @@ class AuditApi {
|
|
|
7096
7096
|
/**
|
|
7097
7097
|
* Audit service.
|
|
7098
7098
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7099
|
-
* @version
|
|
7099
|
+
* @version 99.0.0
|
|
7100
7100
|
*/
|
|
7101
7101
|
|
|
7102
7102
|
/**
|
|
@@ -7267,7 +7267,7 @@ class AuthorizationApi {
|
|
|
7267
7267
|
/**
|
|
7268
7268
|
* Authorization service.
|
|
7269
7269
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
7270
|
-
* @version
|
|
7270
|
+
* @version 99.0.0
|
|
7271
7271
|
*/
|
|
7272
7272
|
|
|
7273
7273
|
/**
|
|
@@ -7602,6 +7602,8 @@ class AuthorizationApi {
|
|
|
7602
7602
|
* @param {Object} opts Optional parameters
|
|
7603
7603
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
7604
7604
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
7605
|
+
* @param {Object} opts.queryType Query filter type
|
|
7606
|
+
* @param {String} opts.query Comma-separated list of permissions or domains to query
|
|
7605
7607
|
*/
|
|
7606
7608
|
getAuthorizationPermissions(opts) {
|
|
7607
7609
|
opts = opts || {};
|
|
@@ -7611,7 +7613,7 @@ class AuthorizationApi {
|
|
|
7611
7613
|
'/api/v2/authorization/permissions',
|
|
7612
7614
|
'GET',
|
|
7613
7615
|
{ },
|
|
7614
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
7616
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
|
|
7615
7617
|
{ },
|
|
7616
7618
|
{ },
|
|
7617
7619
|
null,
|
|
@@ -8384,7 +8386,7 @@ class BillingApi {
|
|
|
8384
8386
|
/**
|
|
8385
8387
|
* Billing service.
|
|
8386
8388
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8387
|
-
* @version
|
|
8389
|
+
* @version 99.0.0
|
|
8388
8390
|
*/
|
|
8389
8391
|
|
|
8390
8392
|
/**
|
|
@@ -8464,7 +8466,7 @@ class CoachingApi {
|
|
|
8464
8466
|
/**
|
|
8465
8467
|
* Coaching service.
|
|
8466
8468
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8467
|
-
* @version
|
|
8469
|
+
* @version 99.0.0
|
|
8468
8470
|
*/
|
|
8469
8471
|
|
|
8470
8472
|
/**
|
|
@@ -8984,7 +8986,7 @@ class ContentManagementApi {
|
|
|
8984
8986
|
/**
|
|
8985
8987
|
* ContentManagement service.
|
|
8986
8988
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8987
|
-
* @version
|
|
8989
|
+
* @version 99.0.0
|
|
8988
8990
|
*/
|
|
8989
8991
|
|
|
8990
8992
|
/**
|
|
@@ -10124,7 +10126,7 @@ class ConversationsApi {
|
|
|
10124
10126
|
/**
|
|
10125
10127
|
* Conversations service.
|
|
10126
10128
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10127
|
-
* @version
|
|
10129
|
+
* @version 99.0.0
|
|
10128
10130
|
*/
|
|
10129
10131
|
|
|
10130
10132
|
/**
|
|
@@ -14182,7 +14184,7 @@ class DataExtensionsApi {
|
|
|
14182
14184
|
/**
|
|
14183
14185
|
* DataExtensions service.
|
|
14184
14186
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14185
|
-
* @version
|
|
14187
|
+
* @version 99.0.0
|
|
14186
14188
|
*/
|
|
14187
14189
|
|
|
14188
14190
|
/**
|
|
@@ -14268,7 +14270,7 @@ class ExternalContactsApi {
|
|
|
14268
14270
|
/**
|
|
14269
14271
|
* ExternalContacts service.
|
|
14270
14272
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14271
|
-
* @version
|
|
14273
|
+
* @version 99.0.0
|
|
14272
14274
|
*/
|
|
14273
14275
|
|
|
14274
14276
|
/**
|
|
@@ -15611,7 +15613,7 @@ class FaxApi {
|
|
|
15611
15613
|
/**
|
|
15612
15614
|
* Fax service.
|
|
15613
15615
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15614
|
-
* @version
|
|
15616
|
+
* @version 99.0.0
|
|
15615
15617
|
*/
|
|
15616
15618
|
|
|
15617
15619
|
/**
|
|
@@ -15782,7 +15784,7 @@ class FlowsApi {
|
|
|
15782
15784
|
/**
|
|
15783
15785
|
* Flows service.
|
|
15784
15786
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15785
|
-
* @version
|
|
15787
|
+
* @version 99.0.0
|
|
15786
15788
|
*/
|
|
15787
15789
|
|
|
15788
15790
|
/**
|
|
@@ -15853,7 +15855,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
15853
15855
|
/**
|
|
15854
15856
|
* GeneralDataProtectionRegulation service.
|
|
15855
15857
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
15856
|
-
* @version
|
|
15858
|
+
* @version 99.0.0
|
|
15857
15859
|
*/
|
|
15858
15860
|
|
|
15859
15861
|
/**
|
|
@@ -15983,7 +15985,7 @@ class GeolocationApi {
|
|
|
15983
15985
|
/**
|
|
15984
15986
|
* Geolocation service.
|
|
15985
15987
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
15986
|
-
* @version
|
|
15988
|
+
* @version 99.0.0
|
|
15987
15989
|
*/
|
|
15988
15990
|
|
|
15989
15991
|
/**
|
|
@@ -16114,7 +16116,7 @@ class GreetingsApi {
|
|
|
16114
16116
|
/**
|
|
16115
16117
|
* Greetings service.
|
|
16116
16118
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
16117
|
-
* @version
|
|
16119
|
+
* @version 99.0.0
|
|
16118
16120
|
*/
|
|
16119
16121
|
|
|
16120
16122
|
/**
|
|
@@ -16569,7 +16571,7 @@ class GroupsApi {
|
|
|
16569
16571
|
/**
|
|
16570
16572
|
* Groups service.
|
|
16571
16573
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
16572
|
-
* @version
|
|
16574
|
+
* @version 99.0.0
|
|
16573
16575
|
*/
|
|
16574
16576
|
|
|
16575
16577
|
/**
|
|
@@ -16974,7 +16976,7 @@ class IdentityProviderApi {
|
|
|
16974
16976
|
/**
|
|
16975
16977
|
* IdentityProvider service.
|
|
16976
16978
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
16977
|
-
* @version
|
|
16979
|
+
* @version 99.0.0
|
|
16978
16980
|
*/
|
|
16979
16981
|
|
|
16980
16982
|
/**
|
|
@@ -17730,7 +17732,7 @@ class IntegrationsApi {
|
|
|
17730
17732
|
/**
|
|
17731
17733
|
* Integrations service.
|
|
17732
17734
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
17733
|
-
* @version
|
|
17735
|
+
* @version 99.0.0
|
|
17734
17736
|
*/
|
|
17735
17737
|
|
|
17736
17738
|
/**
|
|
@@ -19222,7 +19224,7 @@ class JourneyApi {
|
|
|
19222
19224
|
/**
|
|
19223
19225
|
* Journey service.
|
|
19224
19226
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
19225
|
-
* @version
|
|
19227
|
+
* @version 99.0.0
|
|
19226
19228
|
*/
|
|
19227
19229
|
|
|
19228
19230
|
/**
|
|
@@ -19347,7 +19349,7 @@ class KnowledgeApi {
|
|
|
19347
19349
|
/**
|
|
19348
19350
|
* Knowledge service.
|
|
19349
19351
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
19350
|
-
* @version
|
|
19352
|
+
* @version 99.0.0
|
|
19351
19353
|
*/
|
|
19352
19354
|
|
|
19353
19355
|
/**
|
|
@@ -19492,6 +19494,7 @@ class KnowledgeApi {
|
|
|
19492
19494
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
19493
19495
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
19494
19496
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
19497
|
+
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
19495
19498
|
*/
|
|
19496
19499
|
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
19497
19500
|
opts = opts || {};
|
|
@@ -19509,7 +19512,7 @@ class KnowledgeApi {
|
|
|
19509
19512
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
19510
19513
|
'GET',
|
|
19511
19514
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
19512
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
|
|
19515
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
19513
19516
|
{ },
|
|
19514
19517
|
{ },
|
|
19515
19518
|
null,
|
|
@@ -19600,6 +19603,7 @@ class KnowledgeApi {
|
|
|
19600
19603
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
19601
19604
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
19602
19605
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
19606
|
+
* @param {String} opts.title Filter by document title.
|
|
19603
19607
|
*/
|
|
19604
19608
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
19605
19609
|
opts = opts || {};
|
|
@@ -19617,7 +19621,7 @@ class KnowledgeApi {
|
|
|
19617
19621
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
19618
19622
|
'GET',
|
|
19619
19623
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
19620
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
|
|
19624
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
|
|
19621
19625
|
{ },
|
|
19622
19626
|
{ },
|
|
19623
19627
|
null,
|
|
@@ -19663,7 +19667,7 @@ class KnowledgeApi {
|
|
|
19663
19667
|
}
|
|
19664
19668
|
|
|
19665
19669
|
/**
|
|
19666
|
-
* Get
|
|
19670
|
+
* Get all trainings information for a knowledgebase
|
|
19667
19671
|
*
|
|
19668
19672
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
19669
19673
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
@@ -19672,6 +19676,7 @@ class KnowledgeApi {
|
|
|
19672
19676
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
19673
19677
|
* @param {String} opts.limit Number of entities to return. Maximum of 200.
|
|
19674
19678
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
19679
|
+
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
19675
19680
|
*/
|
|
19676
19681
|
getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
|
|
19677
19682
|
opts = opts || {};
|
|
@@ -19689,7 +19694,7 @@ class KnowledgeApi {
|
|
|
19689
19694
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
19690
19695
|
'GET',
|
|
19691
19696
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
19692
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
|
|
19697
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
|
|
19693
19698
|
{ },
|
|
19694
19699
|
{ },
|
|
19695
19700
|
null,
|
|
@@ -20067,7 +20072,7 @@ class LanguageUnderstandingApi {
|
|
|
20067
20072
|
/**
|
|
20068
20073
|
* LanguageUnderstanding service.
|
|
20069
20074
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
20070
|
-
* @version
|
|
20075
|
+
* @version 99.0.0
|
|
20071
20076
|
*/
|
|
20072
20077
|
|
|
20073
20078
|
/**
|
|
@@ -20633,7 +20638,7 @@ class LanguagesApi {
|
|
|
20633
20638
|
/**
|
|
20634
20639
|
* Languages service.
|
|
20635
20640
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
20636
|
-
* @version
|
|
20641
|
+
* @version 99.0.0
|
|
20637
20642
|
*/
|
|
20638
20643
|
|
|
20639
20644
|
/**
|
|
@@ -20901,7 +20906,7 @@ class LicenseApi {
|
|
|
20901
20906
|
/**
|
|
20902
20907
|
* License service.
|
|
20903
20908
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
20904
|
-
* @version
|
|
20909
|
+
* @version 99.0.0
|
|
20905
20910
|
*/
|
|
20906
20911
|
|
|
20907
20912
|
/**
|
|
@@ -21139,7 +21144,7 @@ class LocationsApi {
|
|
|
21139
21144
|
/**
|
|
21140
21145
|
* Locations service.
|
|
21141
21146
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
21142
|
-
* @version
|
|
21147
|
+
* @version 99.0.0
|
|
21143
21148
|
*/
|
|
21144
21149
|
|
|
21145
21150
|
/**
|
|
@@ -21375,7 +21380,7 @@ class MobileDevicesApi {
|
|
|
21375
21380
|
/**
|
|
21376
21381
|
* MobileDevices service.
|
|
21377
21382
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
21378
|
-
* @version
|
|
21383
|
+
* @version 99.0.0
|
|
21379
21384
|
*/
|
|
21380
21385
|
|
|
21381
21386
|
/**
|
|
@@ -21526,7 +21531,7 @@ class NotificationsApi {
|
|
|
21526
21531
|
/**
|
|
21527
21532
|
* Notifications service.
|
|
21528
21533
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
21529
|
-
* @version
|
|
21534
|
+
* @version 99.0.0
|
|
21530
21535
|
*/
|
|
21531
21536
|
|
|
21532
21537
|
/**
|
|
@@ -21725,7 +21730,7 @@ class OAuthApi {
|
|
|
21725
21730
|
/**
|
|
21726
21731
|
* OAuth service.
|
|
21727
21732
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
21728
|
-
* @version
|
|
21733
|
+
* @version 99.0.0
|
|
21729
21734
|
*/
|
|
21730
21735
|
|
|
21731
21736
|
/**
|
|
@@ -22083,7 +22088,7 @@ class ObjectsApi {
|
|
|
22083
22088
|
/**
|
|
22084
22089
|
* Objects service.
|
|
22085
22090
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
22086
|
-
* @version
|
|
22091
|
+
* @version 99.0.0
|
|
22087
22092
|
*/
|
|
22088
22093
|
|
|
22089
22094
|
/**
|
|
@@ -22324,7 +22329,7 @@ class OrganizationApi {
|
|
|
22324
22329
|
/**
|
|
22325
22330
|
* Organization service.
|
|
22326
22331
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
22327
|
-
* @version
|
|
22332
|
+
* @version 99.0.0
|
|
22328
22333
|
*/
|
|
22329
22334
|
|
|
22330
22335
|
/**
|
|
@@ -22579,7 +22584,7 @@ class OrganizationAuthorizationApi {
|
|
|
22579
22584
|
/**
|
|
22580
22585
|
* OrganizationAuthorization service.
|
|
22581
22586
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
22582
|
-
* @version
|
|
22587
|
+
* @version 99.0.0
|
|
22583
22588
|
*/
|
|
22584
22589
|
|
|
22585
22590
|
/**
|
|
@@ -23289,7 +23294,7 @@ class OutboundApi {
|
|
|
23289
23294
|
/**
|
|
23290
23295
|
* Outbound service.
|
|
23291
23296
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
23292
|
-
* @version
|
|
23297
|
+
* @version 99.0.0
|
|
23293
23298
|
*/
|
|
23294
23299
|
|
|
23295
23300
|
/**
|
|
@@ -26263,7 +26268,7 @@ class PresenceApi {
|
|
|
26263
26268
|
/**
|
|
26264
26269
|
* Presence service.
|
|
26265
26270
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
26266
|
-
* @version
|
|
26271
|
+
* @version 99.0.0
|
|
26267
26272
|
*/
|
|
26268
26273
|
|
|
26269
26274
|
/**
|
|
@@ -26610,7 +26615,7 @@ class QualityApi {
|
|
|
26610
26615
|
/**
|
|
26611
26616
|
* Quality service.
|
|
26612
26617
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
26613
|
-
* @version
|
|
26618
|
+
* @version 99.0.0
|
|
26614
26619
|
*/
|
|
26615
26620
|
|
|
26616
26621
|
/**
|
|
@@ -27204,6 +27209,7 @@ class QualityApi {
|
|
|
27204
27209
|
* @param {Object} opts Optional parameters
|
|
27205
27210
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
27206
27211
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
27212
|
+
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
27207
27213
|
*/
|
|
27208
27214
|
getQualityFormsEvaluationVersions(formId, opts) {
|
|
27209
27215
|
opts = opts || {};
|
|
@@ -27217,7 +27223,7 @@ class QualityApi {
|
|
|
27217
27223
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
27218
27224
|
'GET',
|
|
27219
27225
|
{ 'formId': formId },
|
|
27220
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
27226
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
27221
27227
|
{ },
|
|
27222
27228
|
{ },
|
|
27223
27229
|
null,
|
|
@@ -28307,7 +28313,7 @@ class RecordingApi {
|
|
|
28307
28313
|
/**
|
|
28308
28314
|
* Recording service.
|
|
28309
28315
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
28310
|
-
* @version
|
|
28316
|
+
* @version 99.0.0
|
|
28311
28317
|
*/
|
|
28312
28318
|
|
|
28313
28319
|
/**
|
|
@@ -29553,7 +29559,7 @@ class ResponseManagementApi {
|
|
|
29553
29559
|
/**
|
|
29554
29560
|
* ResponseManagement service.
|
|
29555
29561
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
29556
|
-
* @version
|
|
29562
|
+
* @version 99.0.0
|
|
29557
29563
|
*/
|
|
29558
29564
|
|
|
29559
29565
|
/**
|
|
@@ -29878,7 +29884,7 @@ class RoutingApi {
|
|
|
29878
29884
|
/**
|
|
29879
29885
|
* Routing service.
|
|
29880
29886
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
29881
|
-
* @version
|
|
29887
|
+
* @version 99.0.0
|
|
29882
29888
|
*/
|
|
29883
29889
|
|
|
29884
29890
|
/**
|
|
@@ -31064,6 +31070,7 @@ class RoutingApi {
|
|
|
31064
31070
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
31065
31071
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
31066
31072
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
31073
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
31067
31074
|
* @param {String} opts.name Name
|
|
31068
31075
|
*/
|
|
31069
31076
|
getRoutingWrapupcodes(opts) {
|
|
@@ -31074,7 +31081,7 @@ class RoutingApi {
|
|
|
31074
31081
|
'/api/v2/routing/wrapupcodes',
|
|
31075
31082
|
'GET',
|
|
31076
31083
|
{ },
|
|
31077
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'name': opts['name'] },
|
|
31084
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
31078
31085
|
{ },
|
|
31079
31086
|
{ },
|
|
31080
31087
|
null,
|
|
@@ -32176,7 +32183,7 @@ class SCIMApi {
|
|
|
32176
32183
|
/**
|
|
32177
32184
|
* SCIM service.
|
|
32178
32185
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
32179
|
-
* @version
|
|
32186
|
+
* @version 99.0.0
|
|
32180
32187
|
*/
|
|
32181
32188
|
|
|
32182
32189
|
/**
|
|
@@ -33161,7 +33168,7 @@ class ScriptsApi {
|
|
|
33161
33168
|
/**
|
|
33162
33169
|
* Scripts service.
|
|
33163
33170
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
33164
|
-
* @version
|
|
33171
|
+
* @version 99.0.0
|
|
33165
33172
|
*/
|
|
33166
33173
|
|
|
33167
33174
|
/**
|
|
@@ -33514,7 +33521,7 @@ class SearchApi {
|
|
|
33514
33521
|
/**
|
|
33515
33522
|
* Search service.
|
|
33516
33523
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
33517
|
-
* @version
|
|
33524
|
+
* @version 99.0.0
|
|
33518
33525
|
*/
|
|
33519
33526
|
|
|
33520
33527
|
/**
|
|
@@ -34024,7 +34031,7 @@ class SpeechTextAnalyticsApi {
|
|
|
34024
34031
|
/**
|
|
34025
34032
|
* SpeechTextAnalytics service.
|
|
34026
34033
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
34027
|
-
* @version
|
|
34034
|
+
* @version 99.0.0
|
|
34028
34035
|
*/
|
|
34029
34036
|
|
|
34030
34037
|
/**
|
|
@@ -34100,7 +34107,7 @@ class StationsApi {
|
|
|
34100
34107
|
/**
|
|
34101
34108
|
* Stations service.
|
|
34102
34109
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
34103
|
-
* @version
|
|
34110
|
+
* @version 99.0.0
|
|
34104
34111
|
*/
|
|
34105
34112
|
|
|
34106
34113
|
/**
|
|
@@ -34247,7 +34254,7 @@ class SuggestApi {
|
|
|
34247
34254
|
/**
|
|
34248
34255
|
* Suggest service.
|
|
34249
34256
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
34250
|
-
* @version
|
|
34257
|
+
* @version 99.0.0
|
|
34251
34258
|
*/
|
|
34252
34259
|
|
|
34253
34260
|
/**
|
|
@@ -34386,7 +34393,7 @@ class TelephonyApi {
|
|
|
34386
34393
|
/**
|
|
34387
34394
|
* Telephony service.
|
|
34388
34395
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
34389
|
-
* @version
|
|
34396
|
+
* @version 99.0.0
|
|
34390
34397
|
*/
|
|
34391
34398
|
|
|
34392
34399
|
/**
|
|
@@ -34494,7 +34501,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
34494
34501
|
/**
|
|
34495
34502
|
* TelephonyProvidersEdge service.
|
|
34496
34503
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
34497
|
-
* @version
|
|
34504
|
+
* @version 99.0.0
|
|
34498
34505
|
*/
|
|
34499
34506
|
|
|
34500
34507
|
/**
|
|
@@ -38071,7 +38078,7 @@ class TextbotsApi {
|
|
|
38071
38078
|
/**
|
|
38072
38079
|
* Textbots service.
|
|
38073
38080
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
38074
|
-
* @version
|
|
38081
|
+
* @version 99.0.0
|
|
38075
38082
|
*/
|
|
38076
38083
|
|
|
38077
38084
|
/**
|
|
@@ -38117,7 +38124,7 @@ class TokensApi {
|
|
|
38117
38124
|
/**
|
|
38118
38125
|
* Tokens service.
|
|
38119
38126
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
38120
|
-
* @version
|
|
38127
|
+
* @version 99.0.0
|
|
38121
38128
|
*/
|
|
38122
38129
|
|
|
38123
38130
|
/**
|
|
@@ -38203,7 +38210,7 @@ class UploadsApi {
|
|
|
38203
38210
|
/**
|
|
38204
38211
|
* Uploads service.
|
|
38205
38212
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
38206
|
-
* @version
|
|
38213
|
+
* @version 99.0.0
|
|
38207
38214
|
*/
|
|
38208
38215
|
|
|
38209
38216
|
/**
|
|
@@ -38249,7 +38256,7 @@ class UsageApi {
|
|
|
38249
38256
|
/**
|
|
38250
38257
|
* Usage service.
|
|
38251
38258
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
38252
|
-
* @version
|
|
38259
|
+
* @version 99.0.0
|
|
38253
38260
|
*/
|
|
38254
38261
|
|
|
38255
38262
|
/**
|
|
@@ -38320,7 +38327,7 @@ class UserRecordingsApi {
|
|
|
38320
38327
|
/**
|
|
38321
38328
|
* UserRecordings service.
|
|
38322
38329
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
38323
|
-
* @version
|
|
38330
|
+
* @version 99.0.0
|
|
38324
38331
|
*/
|
|
38325
38332
|
|
|
38326
38333
|
/**
|
|
@@ -38504,7 +38511,7 @@ class UsersApi {
|
|
|
38504
38511
|
/**
|
|
38505
38512
|
* Users service.
|
|
38506
38513
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
38507
|
-
* @version
|
|
38514
|
+
* @version 99.0.0
|
|
38508
38515
|
*/
|
|
38509
38516
|
|
|
38510
38517
|
/**
|
|
@@ -39617,7 +39624,7 @@ class UsersApi {
|
|
|
39617
39624
|
|
|
39618
39625
|
/**
|
|
39619
39626
|
* Get a Development Activity
|
|
39620
|
-
*
|
|
39627
|
+
* 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.
|
|
39621
39628
|
* @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
|
|
39622
39629
|
* @param {Object} type Specifies the activity type.
|
|
39623
39630
|
*/
|
|
@@ -40717,7 +40724,7 @@ class UtilitiesApi {
|
|
|
40717
40724
|
/**
|
|
40718
40725
|
* Utilities service.
|
|
40719
40726
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
40720
|
-
* @version
|
|
40727
|
+
* @version 99.0.0
|
|
40721
40728
|
*/
|
|
40722
40729
|
|
|
40723
40730
|
/**
|
|
@@ -40828,7 +40835,7 @@ class VoicemailApi {
|
|
|
40828
40835
|
/**
|
|
40829
40836
|
* Voicemail service.
|
|
40830
40837
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
40831
|
-
* @version
|
|
40838
|
+
* @version 99.0.0
|
|
40832
40839
|
*/
|
|
40833
40840
|
|
|
40834
40841
|
/**
|
|
@@ -41465,7 +41472,7 @@ class WebChatApi {
|
|
|
41465
41472
|
/**
|
|
41466
41473
|
* WebChat service.
|
|
41467
41474
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
41468
|
-
* @version
|
|
41475
|
+
* @version 99.0.0
|
|
41469
41476
|
*/
|
|
41470
41477
|
|
|
41471
41478
|
/**
|
|
@@ -42009,7 +42016,7 @@ class WidgetsApi {
|
|
|
42009
42016
|
/**
|
|
42010
42017
|
* Widgets service.
|
|
42011
42018
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
42012
|
-
* @version
|
|
42019
|
+
* @version 99.0.0
|
|
42013
42020
|
*/
|
|
42014
42021
|
|
|
42015
42022
|
/**
|
|
@@ -42155,7 +42162,7 @@ class WorkforceManagementApi {
|
|
|
42155
42162
|
/**
|
|
42156
42163
|
* WorkforceManagement service.
|
|
42157
42164
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
42158
|
-
* @version
|
|
42165
|
+
* @version 99.0.0
|
|
42159
42166
|
*/
|
|
42160
42167
|
|
|
42161
42168
|
/**
|
|
@@ -42440,6 +42447,36 @@ class WorkforceManagementApi {
|
|
|
42440
42447
|
);
|
|
42441
42448
|
}
|
|
42442
42449
|
|
|
42450
|
+
/**
|
|
42451
|
+
* Delete a work plan rotation
|
|
42452
|
+
*
|
|
42453
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
42454
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to be deleted
|
|
42455
|
+
*/
|
|
42456
|
+
deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
42457
|
+
// verify the required parameter 'managementUnitId' is set
|
|
42458
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
42459
|
+
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
42460
|
+
}
|
|
42461
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
42462
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
42463
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
42464
|
+
}
|
|
42465
|
+
|
|
42466
|
+
return this.apiClient.callApi(
|
|
42467
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
42468
|
+
'DELETE',
|
|
42469
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
42470
|
+
{ },
|
|
42471
|
+
{ },
|
|
42472
|
+
{ },
|
|
42473
|
+
null,
|
|
42474
|
+
['PureCloud OAuth'],
|
|
42475
|
+
['application/json'],
|
|
42476
|
+
['application/json']
|
|
42477
|
+
);
|
|
42478
|
+
}
|
|
42479
|
+
|
|
42443
42480
|
/**
|
|
42444
42481
|
* Get a list of UserScheduleAdherence records for the requested users
|
|
42445
42482
|
*
|
|
@@ -43646,6 +43683,65 @@ class WorkforceManagementApi {
|
|
|
43646
43683
|
);
|
|
43647
43684
|
}
|
|
43648
43685
|
|
|
43686
|
+
/**
|
|
43687
|
+
* Get a work plan rotation
|
|
43688
|
+
*
|
|
43689
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43690
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to fetch
|
|
43691
|
+
*/
|
|
43692
|
+
getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
43693
|
+
// verify the required parameter 'managementUnitId' is set
|
|
43694
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
43695
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
43696
|
+
}
|
|
43697
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
43698
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
43699
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
43700
|
+
}
|
|
43701
|
+
|
|
43702
|
+
return this.apiClient.callApi(
|
|
43703
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
43704
|
+
'GET',
|
|
43705
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
43706
|
+
{ },
|
|
43707
|
+
{ },
|
|
43708
|
+
{ },
|
|
43709
|
+
null,
|
|
43710
|
+
['PureCloud OAuth'],
|
|
43711
|
+
['application/json'],
|
|
43712
|
+
['application/json']
|
|
43713
|
+
);
|
|
43714
|
+
}
|
|
43715
|
+
|
|
43716
|
+
/**
|
|
43717
|
+
* Get work plan rotations
|
|
43718
|
+
*
|
|
43719
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
43720
|
+
* @param {Object} opts Optional parameters
|
|
43721
|
+
* @param {Array.<String>} opts.expand
|
|
43722
|
+
*/
|
|
43723
|
+
getWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
|
|
43724
|
+
opts = opts || {};
|
|
43725
|
+
|
|
43726
|
+
// verify the required parameter 'managementUnitId' is set
|
|
43727
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
43728
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
|
|
43729
|
+
}
|
|
43730
|
+
|
|
43731
|
+
return this.apiClient.callApi(
|
|
43732
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
43733
|
+
'GET',
|
|
43734
|
+
{ 'managementUnitId': managementUnitId },
|
|
43735
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
43736
|
+
{ },
|
|
43737
|
+
{ },
|
|
43738
|
+
null,
|
|
43739
|
+
['PureCloud OAuth'],
|
|
43740
|
+
['application/json'],
|
|
43741
|
+
['application/json']
|
|
43742
|
+
);
|
|
43743
|
+
}
|
|
43744
|
+
|
|
43649
43745
|
/**
|
|
43650
43746
|
* Get work plans
|
|
43651
43747
|
*
|
|
@@ -44121,6 +44217,7 @@ class WorkforceManagementApi {
|
|
|
44121
44217
|
* @param {String} workPlanId The ID of the work plan to update
|
|
44122
44218
|
* @param {Object} opts Optional parameters
|
|
44123
44219
|
* @param {Object} opts.body body
|
|
44220
|
+
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
44124
44221
|
*/
|
|
44125
44222
|
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
44126
44223
|
opts = opts || {};
|
|
@@ -44138,6 +44235,40 @@ class WorkforceManagementApi {
|
|
|
44138
44235
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
44139
44236
|
'PATCH',
|
|
44140
44237
|
{ 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
|
|
44238
|
+
{ 'validationMode': opts['validationMode'] },
|
|
44239
|
+
{ },
|
|
44240
|
+
{ },
|
|
44241
|
+
opts['body'],
|
|
44242
|
+
['PureCloud OAuth'],
|
|
44243
|
+
['application/json'],
|
|
44244
|
+
['application/json']
|
|
44245
|
+
);
|
|
44246
|
+
}
|
|
44247
|
+
|
|
44248
|
+
/**
|
|
44249
|
+
* Update a work plan rotation
|
|
44250
|
+
*
|
|
44251
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
44252
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to update
|
|
44253
|
+
* @param {Object} opts Optional parameters
|
|
44254
|
+
* @param {Object} opts.body body
|
|
44255
|
+
*/
|
|
44256
|
+
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
|
|
44257
|
+
opts = opts || {};
|
|
44258
|
+
|
|
44259
|
+
// verify the required parameter 'managementUnitId' is set
|
|
44260
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
44261
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
44262
|
+
}
|
|
44263
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
44264
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
44265
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
44266
|
+
}
|
|
44267
|
+
|
|
44268
|
+
return this.apiClient.callApi(
|
|
44269
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
44270
|
+
'PATCH',
|
|
44271
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
44141
44272
|
{ },
|
|
44142
44273
|
{ },
|
|
44143
44274
|
{ },
|
|
@@ -45069,12 +45200,76 @@ class WorkforceManagementApi {
|
|
|
45069
45200
|
);
|
|
45070
45201
|
}
|
|
45071
45202
|
|
|
45203
|
+
/**
|
|
45204
|
+
* Create a copy of work plan rotation
|
|
45205
|
+
*
|
|
45206
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
45207
|
+
* @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
|
|
45208
|
+
* @param {Object} opts Optional parameters
|
|
45209
|
+
* @param {Object} opts.body body
|
|
45210
|
+
*/
|
|
45211
|
+
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
|
|
45212
|
+
opts = opts || {};
|
|
45213
|
+
|
|
45214
|
+
// verify the required parameter 'managementUnitId' is set
|
|
45215
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
45216
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
45217
|
+
}
|
|
45218
|
+
// verify the required parameter 'workPlanRotationId' is set
|
|
45219
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
45220
|
+
throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
45221
|
+
}
|
|
45222
|
+
|
|
45223
|
+
return this.apiClient.callApi(
|
|
45224
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
|
|
45225
|
+
'POST',
|
|
45226
|
+
{ 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
|
|
45227
|
+
{ },
|
|
45228
|
+
{ },
|
|
45229
|
+
{ },
|
|
45230
|
+
opts['body'],
|
|
45231
|
+
['PureCloud OAuth'],
|
|
45232
|
+
['application/json'],
|
|
45233
|
+
['application/json']
|
|
45234
|
+
);
|
|
45235
|
+
}
|
|
45236
|
+
|
|
45237
|
+
/**
|
|
45238
|
+
* Create a new work plan rotation
|
|
45239
|
+
*
|
|
45240
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
45241
|
+
* @param {Object} opts Optional parameters
|
|
45242
|
+
* @param {Object} opts.body body
|
|
45243
|
+
*/
|
|
45244
|
+
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
|
|
45245
|
+
opts = opts || {};
|
|
45246
|
+
|
|
45247
|
+
// verify the required parameter 'managementUnitId' is set
|
|
45248
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
45249
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
45250
|
+
}
|
|
45251
|
+
|
|
45252
|
+
return this.apiClient.callApi(
|
|
45253
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
45254
|
+
'POST',
|
|
45255
|
+
{ 'managementUnitId': managementUnitId },
|
|
45256
|
+
{ },
|
|
45257
|
+
{ },
|
|
45258
|
+
{ },
|
|
45259
|
+
opts['body'],
|
|
45260
|
+
['PureCloud OAuth'],
|
|
45261
|
+
['application/json'],
|
|
45262
|
+
['application/json']
|
|
45263
|
+
);
|
|
45264
|
+
}
|
|
45265
|
+
|
|
45072
45266
|
/**
|
|
45073
45267
|
* Create a new work plan
|
|
45074
45268
|
*
|
|
45075
45269
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
45076
45270
|
* @param {Object} opts Optional parameters
|
|
45077
45271
|
* @param {Object} opts.body body
|
|
45272
|
+
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
45078
45273
|
*/
|
|
45079
45274
|
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
45080
45275
|
opts = opts || {};
|
|
@@ -45088,7 +45283,7 @@ class WorkforceManagementApi {
|
|
|
45088
45283
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
45089
45284
|
'POST',
|
|
45090
45285
|
{ 'managementUnitId': managementUnitId },
|
|
45091
|
-
{
|
|
45286
|
+
{ 'validationMode': opts['validationMode'] },
|
|
45092
45287
|
{ },
|
|
45093
45288
|
{ },
|
|
45094
45289
|
opts['body'],
|
|
@@ -45225,7 +45420,7 @@ class WorkforceManagementApi {
|
|
|
45225
45420
|
* </pre>
|
|
45226
45421
|
* </p>
|
|
45227
45422
|
* @module purecloud-platform-client-v2/index
|
|
45228
|
-
* @version
|
|
45423
|
+
* @version 99.0.0
|
|
45229
45424
|
*/
|
|
45230
45425
|
class platformClient {
|
|
45231
45426
|
constructor() {
|