purecloud-platform-client-v2 125.0.0 → 128.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +810 -171
- package/dist/web-amd/purecloud-platform-client-v2.js +810 -171
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +810 -171
- package/dist/web-cjs/purecloud-platform-client-v2.js +810 -171
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +463 -268
- 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 -26
- 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/ChatApi.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/GamificationApi.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 +1 -74
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.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 +216 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -4
- 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 +22 -2
- 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 +28 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +473 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -391,7 +391,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* @module purecloud-platform-client-v2/ApiClient
|
|
394
|
-
* @version
|
|
394
|
+
* @version 128.0.0
|
|
395
395
|
*/
|
|
396
396
|
class ApiClient {
|
|
397
397
|
/**
|
|
@@ -1338,7 +1338,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1338
1338
|
|
|
1339
1339
|
// set header parameters
|
|
1340
1340
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
1341
|
-
//request.set({ 'purecloud-sdk': '
|
|
1341
|
+
//request.set({ 'purecloud-sdk': '128.0.0' });
|
|
1342
1342
|
|
|
1343
1343
|
// set request timeout
|
|
1344
1344
|
request.timeout(that.timeout);
|
|
@@ -1438,7 +1438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Alerting service.
|
|
1440
1440
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1441
|
-
* @version
|
|
1441
|
+
* @version 128.0.0
|
|
1442
1442
|
*/
|
|
1443
1443
|
|
|
1444
1444
|
/**
|
|
@@ -1752,7 +1752,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Analytics service.
|
|
1754
1754
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1755
|
-
* @version
|
|
1755
|
+
* @version 128.0.0
|
|
1756
1756
|
*/
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
@@ -2348,31 +2348,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2348
2348
|
);
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
|
-
/**
|
|
2352
|
-
* Patch AnalyticsReportingSettings values for an organization
|
|
2353
|
-
*
|
|
2354
|
-
* @param {Object} body AnalyticsReportingSettingsRequest
|
|
2355
|
-
*/
|
|
2356
|
-
patchAnalyticsReportingSettings(body) {
|
|
2357
|
-
// verify the required parameter 'body' is set
|
|
2358
|
-
if (body === undefined || body === null) {
|
|
2359
|
-
throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
return this.apiClient.callApi(
|
|
2363
|
-
'/api/v2/analytics/reporting/settings',
|
|
2364
|
-
'PATCH',
|
|
2365
|
-
{ },
|
|
2366
|
-
{ },
|
|
2367
|
-
{ },
|
|
2368
|
-
{ },
|
|
2369
|
-
body,
|
|
2370
|
-
['PureCloud OAuth'],
|
|
2371
|
-
['application/json'],
|
|
2372
|
-
['application/json']
|
|
2373
|
-
);
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
2351
|
/**
|
|
2377
2352
|
* Query for bot aggregates
|
|
2378
2353
|
*
|
|
@@ -2914,7 +2889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2914
2889
|
/**
|
|
2915
2890
|
* Architect service.
|
|
2916
2891
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2917
|
-
* @version
|
|
2892
|
+
* @version 128.0.0
|
|
2918
2893
|
*/
|
|
2919
2894
|
|
|
2920
2895
|
/**
|
|
@@ -5910,7 +5885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5910
5885
|
/**
|
|
5911
5886
|
* Audit service.
|
|
5912
5887
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5913
|
-
* @version
|
|
5888
|
+
* @version 128.0.0
|
|
5914
5889
|
*/
|
|
5915
5890
|
|
|
5916
5891
|
/**
|
|
@@ -6081,7 +6056,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6081
6056
|
/**
|
|
6082
6057
|
* Authorization service.
|
|
6083
6058
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6084
|
-
* @version
|
|
6059
|
+
* @version 128.0.0
|
|
6085
6060
|
*/
|
|
6086
6061
|
|
|
6087
6062
|
/**
|
|
@@ -7264,7 +7239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7264
7239
|
/**
|
|
7265
7240
|
* Billing service.
|
|
7266
7241
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7267
|
-
* @version
|
|
7242
|
+
* @version 128.0.0
|
|
7268
7243
|
*/
|
|
7269
7244
|
|
|
7270
7245
|
/**
|
|
@@ -7344,7 +7319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7344
7319
|
/**
|
|
7345
7320
|
* Chat service.
|
|
7346
7321
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7347
|
-
* @version
|
|
7322
|
+
* @version 128.0.0
|
|
7348
7323
|
*/
|
|
7349
7324
|
|
|
7350
7325
|
/**
|
|
@@ -7435,7 +7410,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7435
7410
|
/**
|
|
7436
7411
|
* Coaching service.
|
|
7437
7412
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7438
|
-
* @version
|
|
7413
|
+
* @version 128.0.0
|
|
7439
7414
|
*/
|
|
7440
7415
|
|
|
7441
7416
|
/**
|
|
@@ -8010,7 +7985,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8010
7985
|
/**
|
|
8011
7986
|
* ContentManagement service.
|
|
8012
7987
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8013
|
-
* @version
|
|
7988
|
+
* @version 128.0.0
|
|
8014
7989
|
*/
|
|
8015
7990
|
|
|
8016
7991
|
/**
|
|
@@ -9150,7 +9125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9150
9125
|
/**
|
|
9151
9126
|
* Conversations service.
|
|
9152
9127
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9153
|
-
* @version
|
|
9128
|
+
* @version 128.0.0
|
|
9154
9129
|
*/
|
|
9155
9130
|
|
|
9156
9131
|
/**
|
|
@@ -13539,7 +13514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13539
13514
|
/**
|
|
13540
13515
|
* DataExtensions service.
|
|
13541
13516
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13542
|
-
* @version
|
|
13517
|
+
* @version 128.0.0
|
|
13543
13518
|
*/
|
|
13544
13519
|
|
|
13545
13520
|
/**
|
|
@@ -13625,7 +13600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13625
13600
|
/**
|
|
13626
13601
|
* ExternalContacts service.
|
|
13627
13602
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13628
|
-
* @version
|
|
13603
|
+
* @version 128.0.0
|
|
13629
13604
|
*/
|
|
13630
13605
|
|
|
13631
13606
|
/**
|
|
@@ -15368,7 +15343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15368
15343
|
/**
|
|
15369
15344
|
* Fax service.
|
|
15370
15345
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15371
|
-
* @version
|
|
15346
|
+
* @version 128.0.0
|
|
15372
15347
|
*/
|
|
15373
15348
|
|
|
15374
15349
|
/**
|
|
@@ -15539,7 +15514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15539
15514
|
/**
|
|
15540
15515
|
* Flows service.
|
|
15541
15516
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15542
|
-
* @version
|
|
15517
|
+
* @version 128.0.0
|
|
15543
15518
|
*/
|
|
15544
15519
|
|
|
15545
15520
|
/**
|
|
@@ -15610,7 +15585,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15610
15585
|
/**
|
|
15611
15586
|
* Gamification service.
|
|
15612
15587
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15613
|
-
* @version
|
|
15588
|
+
* @version 128.0.0
|
|
15614
15589
|
*/
|
|
15615
15590
|
|
|
15616
15591
|
/**
|
|
@@ -16916,7 +16891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16916
16891
|
/**
|
|
16917
16892
|
* GeneralDataProtectionRegulation service.
|
|
16918
16893
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
16919
|
-
* @version
|
|
16894
|
+
* @version 128.0.0
|
|
16920
16895
|
*/
|
|
16921
16896
|
|
|
16922
16897
|
/**
|
|
@@ -17046,7 +17021,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17046
17021
|
/**
|
|
17047
17022
|
* Geolocation service.
|
|
17048
17023
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17049
|
-
* @version
|
|
17024
|
+
* @version 128.0.0
|
|
17050
17025
|
*/
|
|
17051
17026
|
|
|
17052
17027
|
/**
|
|
@@ -17177,7 +17152,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17177
17152
|
/**
|
|
17178
17153
|
* Greetings service.
|
|
17179
17154
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17180
|
-
* @version
|
|
17155
|
+
* @version 128.0.0
|
|
17181
17156
|
*/
|
|
17182
17157
|
|
|
17183
17158
|
/**
|
|
@@ -17632,7 +17607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17632
17607
|
/**
|
|
17633
17608
|
* Groups service.
|
|
17634
17609
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17635
|
-
* @version
|
|
17610
|
+
* @version 128.0.0
|
|
17636
17611
|
*/
|
|
17637
17612
|
|
|
17638
17613
|
/**
|
|
@@ -18037,7 +18012,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18037
18012
|
/**
|
|
18038
18013
|
* IdentityProvider service.
|
|
18039
18014
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18040
|
-
* @version
|
|
18015
|
+
* @version 128.0.0
|
|
18041
18016
|
*/
|
|
18042
18017
|
|
|
18043
18018
|
/**
|
|
@@ -18793,7 +18768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18793
18768
|
/**
|
|
18794
18769
|
* Integrations service.
|
|
18795
18770
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
18796
|
-
* @version
|
|
18771
|
+
* @version 128.0.0
|
|
18797
18772
|
*/
|
|
18798
18773
|
|
|
18799
18774
|
/**
|
|
@@ -20439,7 +20414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20439
20414
|
/**
|
|
20440
20415
|
* Journey service.
|
|
20441
20416
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20442
|
-
* @version
|
|
20417
|
+
* @version 128.0.0
|
|
20443
20418
|
*/
|
|
20444
20419
|
|
|
20445
20420
|
/**
|
|
@@ -21150,7 +21125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21150
21125
|
/**
|
|
21151
21126
|
* Knowledge service.
|
|
21152
21127
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21153
|
-
* @version
|
|
21128
|
+
* @version 128.0.0
|
|
21154
21129
|
*/
|
|
21155
21130
|
|
|
21156
21131
|
/**
|
|
@@ -21640,79 +21615,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21640
21615
|
);
|
|
21641
21616
|
}
|
|
21642
21617
|
|
|
21643
|
-
/**
|
|
21644
|
-
* Update specific context data of the knowledge base.
|
|
21645
|
-
*
|
|
21646
|
-
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
21647
|
-
* @param {String} contextId Context ID.
|
|
21648
|
-
* @param {Object} opts Optional parameters
|
|
21649
|
-
* @param {Object} opts.body
|
|
21650
|
-
*/
|
|
21651
|
-
patchKnowledgeKnowledgebaseContext(knowledgeBaseId, contextId, opts) {
|
|
21652
|
-
opts = opts || {};
|
|
21653
|
-
|
|
21654
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
21655
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
21656
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseContext';
|
|
21657
|
-
}
|
|
21658
|
-
// verify the required parameter 'contextId' is set
|
|
21659
|
-
if (contextId === undefined || contextId === null) {
|
|
21660
|
-
throw 'Missing the required parameter "contextId" when calling patchKnowledgeKnowledgebaseContext';
|
|
21661
|
-
}
|
|
21662
|
-
|
|
21663
|
-
return this.apiClient.callApi(
|
|
21664
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/contexts/{contextId}',
|
|
21665
|
-
'PATCH',
|
|
21666
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'contextId': contextId },
|
|
21667
|
-
{ },
|
|
21668
|
-
{ },
|
|
21669
|
-
{ },
|
|
21670
|
-
opts['body'],
|
|
21671
|
-
['PureCloud OAuth'],
|
|
21672
|
-
['application/json'],
|
|
21673
|
-
['application/json']
|
|
21674
|
-
);
|
|
21675
|
-
}
|
|
21676
|
-
|
|
21677
|
-
/**
|
|
21678
|
-
* Update context value.
|
|
21679
|
-
*
|
|
21680
|
-
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
21681
|
-
* @param {String} contextId Context ID.
|
|
21682
|
-
* @param {String} contextValueId Context Value ID.
|
|
21683
|
-
* @param {Object} opts Optional parameters
|
|
21684
|
-
* @param {Object} opts.body
|
|
21685
|
-
*/
|
|
21686
|
-
patchKnowledgeKnowledgebaseContextValue(knowledgeBaseId, contextId, contextValueId, opts) {
|
|
21687
|
-
opts = opts || {};
|
|
21688
|
-
|
|
21689
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
21690
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
21691
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseContextValue';
|
|
21692
|
-
}
|
|
21693
|
-
// verify the required parameter 'contextId' is set
|
|
21694
|
-
if (contextId === undefined || contextId === null) {
|
|
21695
|
-
throw 'Missing the required parameter "contextId" when calling patchKnowledgeKnowledgebaseContextValue';
|
|
21696
|
-
}
|
|
21697
|
-
// verify the required parameter 'contextValueId' is set
|
|
21698
|
-
if (contextValueId === undefined || contextValueId === null) {
|
|
21699
|
-
throw 'Missing the required parameter "contextValueId" when calling patchKnowledgeKnowledgebaseContextValue';
|
|
21700
|
-
}
|
|
21701
|
-
|
|
21702
|
-
return this.apiClient.callApi(
|
|
21703
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/contexts/{contextId}/values/{contextValueId}',
|
|
21704
|
-
'PATCH',
|
|
21705
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'contextId': contextId,'contextValueId': contextValueId },
|
|
21706
|
-
{ },
|
|
21707
|
-
{ },
|
|
21708
|
-
{ },
|
|
21709
|
-
opts['body'],
|
|
21710
|
-
['PureCloud OAuth'],
|
|
21711
|
-
['application/json'],
|
|
21712
|
-
['application/json']
|
|
21713
|
-
);
|
|
21714
|
-
}
|
|
21715
|
-
|
|
21716
21618
|
/**
|
|
21717
21619
|
* Update category
|
|
21718
21620
|
*
|
|
@@ -22123,7 +22025,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22123
22025
|
/**
|
|
22124
22026
|
* LanguageUnderstanding service.
|
|
22125
22027
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22126
|
-
* @version
|
|
22028
|
+
* @version 128.0.0
|
|
22127
22029
|
*/
|
|
22128
22030
|
|
|
22129
22031
|
/**
|
|
@@ -22689,7 +22591,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22689
22591
|
}
|
|
22690
22592
|
|
|
22691
22593
|
/**
|
|
22692
|
-
* Save information for the draft
|
|
22594
|
+
* Save information for the draft. Either topic draft or intent draft should be sent.
|
|
22693
22595
|
*
|
|
22694
22596
|
* @param {String} minerId Miner ID
|
|
22695
22597
|
* @param {String} draftId Draft ID
|
|
@@ -22933,7 +22835,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22933
22835
|
}
|
|
22934
22836
|
|
|
22935
22837
|
/**
|
|
22936
|
-
* Start the mining process. Specify date range pair with mediaType
|
|
22838
|
+
* Start the mining process. Specify date range pair with mediaType, queueIds, participantType for mining data from Genesys Cloud. Specify only uploadKey for mining through an external file.
|
|
22937
22839
|
*
|
|
22938
22840
|
* @param {String} minerId Miner ID
|
|
22939
22841
|
* @param {Object} opts Optional parameters
|
|
@@ -23027,7 +22929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23027
22929
|
/**
|
|
23028
22930
|
* Languages service.
|
|
23029
22931
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
23030
|
-
* @version
|
|
22932
|
+
* @version 128.0.0
|
|
23031
22933
|
*/
|
|
23032
22934
|
|
|
23033
22935
|
/**
|
|
@@ -23295,7 +23197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23295
23197
|
/**
|
|
23296
23198
|
* Learning service.
|
|
23297
23199
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23298
|
-
* @version
|
|
23200
|
+
* @version 128.0.0
|
|
23299
23201
|
*/
|
|
23300
23202
|
|
|
23301
23203
|
/**
|
|
@@ -23886,7 +23788,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23886
23788
|
/**
|
|
23887
23789
|
* License service.
|
|
23888
23790
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
23889
|
-
* @version
|
|
23791
|
+
* @version 128.0.0
|
|
23890
23792
|
*/
|
|
23891
23793
|
|
|
23892
23794
|
/**
|
|
@@ -24124,7 +24026,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24124
24026
|
/**
|
|
24125
24027
|
* Locations service.
|
|
24126
24028
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24127
|
-
* @version
|
|
24029
|
+
* @version 128.0.0
|
|
24128
24030
|
*/
|
|
24129
24031
|
|
|
24130
24032
|
/**
|
|
@@ -24360,7 +24262,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24360
24262
|
/**
|
|
24361
24263
|
* MobileDevices service.
|
|
24362
24264
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24363
|
-
* @version
|
|
24265
|
+
* @version 128.0.0
|
|
24364
24266
|
*/
|
|
24365
24267
|
|
|
24366
24268
|
/**
|
|
@@ -24511,7 +24413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24511
24413
|
/**
|
|
24512
24414
|
* Notifications service.
|
|
24513
24415
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24514
|
-
* @version
|
|
24416
|
+
* @version 128.0.0
|
|
24515
24417
|
*/
|
|
24516
24418
|
|
|
24517
24419
|
/**
|
|
@@ -24736,7 +24638,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24736
24638
|
/**
|
|
24737
24639
|
* OAuth service.
|
|
24738
24640
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
24739
|
-
* @version
|
|
24641
|
+
* @version 128.0.0
|
|
24740
24642
|
*/
|
|
24741
24643
|
|
|
24742
24644
|
/**
|
|
@@ -25094,7 +24996,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25094
24996
|
/**
|
|
25095
24997
|
* Objects service.
|
|
25096
24998
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25097
|
-
* @version
|
|
24999
|
+
* @version 128.0.0
|
|
25098
25000
|
*/
|
|
25099
25001
|
|
|
25100
25002
|
/**
|
|
@@ -25365,7 +25267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25365
25267
|
/**
|
|
25366
25268
|
* Organization service.
|
|
25367
25269
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25368
|
-
* @version
|
|
25270
|
+
* @version 128.0.0
|
|
25369
25271
|
*/
|
|
25370
25272
|
|
|
25371
25273
|
/**
|
|
@@ -25768,7 +25670,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25768
25670
|
/**
|
|
25769
25671
|
* OrganizationAuthorization service.
|
|
25770
25672
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
25771
|
-
* @version
|
|
25673
|
+
* @version 128.0.0
|
|
25772
25674
|
*/
|
|
25773
25675
|
|
|
25774
25676
|
/**
|
|
@@ -25808,6 +25710,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25808
25710
|
);
|
|
25809
25711
|
}
|
|
25810
25712
|
|
|
25713
|
+
/**
|
|
25714
|
+
* Deletes cloned user
|
|
25715
|
+
*
|
|
25716
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
25717
|
+
* @param {String} trusteeUserId Id of the cloned user to delete
|
|
25718
|
+
*/
|
|
25719
|
+
deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId) {
|
|
25720
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
25721
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
25722
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';
|
|
25723
|
+
}
|
|
25724
|
+
// verify the required parameter 'trusteeUserId' is set
|
|
25725
|
+
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
25726
|
+
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';
|
|
25727
|
+
}
|
|
25728
|
+
|
|
25729
|
+
return this.apiClient.callApi(
|
|
25730
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers/{trusteeUserId}',
|
|
25731
|
+
'DELETE',
|
|
25732
|
+
{ 'trusteeOrgId': trusteeOrgId,'trusteeUserId': trusteeUserId },
|
|
25733
|
+
{ },
|
|
25734
|
+
{ },
|
|
25735
|
+
{ },
|
|
25736
|
+
null,
|
|
25737
|
+
['PureCloud OAuth'],
|
|
25738
|
+
['application/json'],
|
|
25739
|
+
['application/json']
|
|
25740
|
+
);
|
|
25741
|
+
}
|
|
25742
|
+
|
|
25811
25743
|
/**
|
|
25812
25744
|
* Delete Trustee User
|
|
25813
25745
|
*
|
|
@@ -25893,6 +25825,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25893
25825
|
);
|
|
25894
25826
|
}
|
|
25895
25827
|
|
|
25828
|
+
/**
|
|
25829
|
+
* Delete Cloned User
|
|
25830
|
+
*
|
|
25831
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
25832
|
+
* @param {String} trusteeUserId Trustee User Id
|
|
25833
|
+
*/
|
|
25834
|
+
deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
25835
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
25836
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
25837
|
+
throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';
|
|
25838
|
+
}
|
|
25839
|
+
// verify the required parameter 'trusteeUserId' is set
|
|
25840
|
+
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
25841
|
+
throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';
|
|
25842
|
+
}
|
|
25843
|
+
|
|
25844
|
+
return this.apiClient.callApi(
|
|
25845
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
|
|
25846
|
+
'DELETE',
|
|
25847
|
+
{ 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
|
|
25848
|
+
{ },
|
|
25849
|
+
{ },
|
|
25850
|
+
{ },
|
|
25851
|
+
null,
|
|
25852
|
+
['PureCloud OAuth'],
|
|
25853
|
+
['application/json'],
|
|
25854
|
+
['application/json']
|
|
25855
|
+
);
|
|
25856
|
+
}
|
|
25857
|
+
|
|
25896
25858
|
/**
|
|
25897
25859
|
* Delete Trustee User
|
|
25898
25860
|
*
|
|
@@ -25973,6 +25935,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25973
25935
|
);
|
|
25974
25936
|
}
|
|
25975
25937
|
|
|
25938
|
+
/**
|
|
25939
|
+
* The list of cloned users from the trustee organization (i.e. users with a native user record).
|
|
25940
|
+
* There can be no more than 5 cloned users per organization, so results are represented as simple list and not paged
|
|
25941
|
+
* @param {String} trusteeOrgId Trustee Organization Id
|
|
25942
|
+
*/
|
|
25943
|
+
getOrgauthorizationTrusteeClonedusers(trusteeOrgId) {
|
|
25944
|
+
// verify the required parameter 'trusteeOrgId' is set
|
|
25945
|
+
if (trusteeOrgId === undefined || trusteeOrgId === null) {
|
|
25946
|
+
throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';
|
|
25947
|
+
}
|
|
25948
|
+
|
|
25949
|
+
return this.apiClient.callApi(
|
|
25950
|
+
'/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers',
|
|
25951
|
+
'GET',
|
|
25952
|
+
{ 'trusteeOrgId': trusteeOrgId },
|
|
25953
|
+
{ },
|
|
25954
|
+
{ },
|
|
25955
|
+
{ },
|
|
25956
|
+
null,
|
|
25957
|
+
['PureCloud OAuth'],
|
|
25958
|
+
['application/json'],
|
|
25959
|
+
['application/json']
|
|
25960
|
+
);
|
|
25961
|
+
}
|
|
25962
|
+
|
|
25976
25963
|
/**
|
|
25977
25964
|
* Get Trustee User
|
|
25978
25965
|
*
|
|
@@ -26088,6 +26075,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26088
26075
|
);
|
|
26089
26076
|
}
|
|
26090
26077
|
|
|
26078
|
+
/**
|
|
26079
|
+
* Get organization authorization trust with Customer Care, if one exists.
|
|
26080
|
+
*
|
|
26081
|
+
*/
|
|
26082
|
+
getOrgauthorizationTrusteesDefault() {
|
|
26083
|
+
|
|
26084
|
+
return this.apiClient.callApi(
|
|
26085
|
+
'/api/v2/orgauthorization/trustees/default',
|
|
26086
|
+
'GET',
|
|
26087
|
+
{ },
|
|
26088
|
+
{ },
|
|
26089
|
+
{ },
|
|
26090
|
+
{ },
|
|
26091
|
+
null,
|
|
26092
|
+
['PureCloud OAuth'],
|
|
26093
|
+
['application/json'],
|
|
26094
|
+
['application/json']
|
|
26095
|
+
);
|
|
26096
|
+
}
|
|
26097
|
+
|
|
26091
26098
|
/**
|
|
26092
26099
|
* Get Org Trust
|
|
26093
26100
|
*
|
|
@@ -26113,6 +26120,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26113
26120
|
);
|
|
26114
26121
|
}
|
|
26115
26122
|
|
|
26123
|
+
/**
|
|
26124
|
+
* Get Cloned User
|
|
26125
|
+
*
|
|
26126
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
26127
|
+
* @param {String} trusteeUserId Trustee User Id
|
|
26128
|
+
*/
|
|
26129
|
+
getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
26130
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
26131
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
26132
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';
|
|
26133
|
+
}
|
|
26134
|
+
// verify the required parameter 'trusteeUserId' is set
|
|
26135
|
+
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
26136
|
+
throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';
|
|
26137
|
+
}
|
|
26138
|
+
|
|
26139
|
+
return this.apiClient.callApi(
|
|
26140
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
|
|
26141
|
+
'GET',
|
|
26142
|
+
{ 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
|
|
26143
|
+
{ },
|
|
26144
|
+
{ },
|
|
26145
|
+
{ },
|
|
26146
|
+
null,
|
|
26147
|
+
['PureCloud OAuth'],
|
|
26148
|
+
['application/json'],
|
|
26149
|
+
['application/json']
|
|
26150
|
+
);
|
|
26151
|
+
}
|
|
26152
|
+
|
|
26153
|
+
/**
|
|
26154
|
+
* The list of cloned users in the trustor organization (i.e. users with a native user record).
|
|
26155
|
+
*
|
|
26156
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
26157
|
+
*/
|
|
26158
|
+
getOrgauthorizationTrustorClonedusers(trustorOrgId) {
|
|
26159
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
26160
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
26161
|
+
throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';
|
|
26162
|
+
}
|
|
26163
|
+
|
|
26164
|
+
return this.apiClient.callApi(
|
|
26165
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers',
|
|
26166
|
+
'GET',
|
|
26167
|
+
{ 'trustorOrgId': trustorOrgId },
|
|
26168
|
+
{ },
|
|
26169
|
+
{ },
|
|
26170
|
+
{ },
|
|
26171
|
+
null,
|
|
26172
|
+
['PureCloud OAuth'],
|
|
26173
|
+
['application/json'],
|
|
26174
|
+
['application/json']
|
|
26175
|
+
);
|
|
26176
|
+
}
|
|
26177
|
+
|
|
26116
26178
|
/**
|
|
26117
26179
|
* Get Trustee User
|
|
26118
26180
|
*
|
|
@@ -26310,6 +26372,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26310
26372
|
);
|
|
26311
26373
|
}
|
|
26312
26374
|
|
|
26375
|
+
/**
|
|
26376
|
+
* Create a new organization authorization trust with Customer Care. This is required to grant your regional Customer Care organization access to your organization.
|
|
26377
|
+
*
|
|
26378
|
+
* @param {Object} opts Optional parameters
|
|
26379
|
+
* @param {Boolean} opts.assignDefaultRole Assign Admin role to default pairing with Customer Care
|
|
26380
|
+
* @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
|
|
26381
|
+
*/
|
|
26382
|
+
postOrgauthorizationTrusteesDefault(opts) {
|
|
26383
|
+
opts = opts || {};
|
|
26384
|
+
|
|
26385
|
+
|
|
26386
|
+
return this.apiClient.callApi(
|
|
26387
|
+
'/api/v2/orgauthorization/trustees/default',
|
|
26388
|
+
'POST',
|
|
26389
|
+
{ },
|
|
26390
|
+
{ 'assignDefaultRole': opts['assignDefaultRole'],'autoExpire': opts['autoExpire'] },
|
|
26391
|
+
{ },
|
|
26392
|
+
{ },
|
|
26393
|
+
null,
|
|
26394
|
+
['PureCloud OAuth'],
|
|
26395
|
+
['application/json'],
|
|
26396
|
+
['application/json']
|
|
26397
|
+
);
|
|
26398
|
+
}
|
|
26399
|
+
|
|
26313
26400
|
/**
|
|
26314
26401
|
* Get Org Trustor Audits
|
|
26315
26402
|
*
|
|
@@ -26442,6 +26529,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26442
26529
|
);
|
|
26443
26530
|
}
|
|
26444
26531
|
|
|
26532
|
+
/**
|
|
26533
|
+
* Creates a clone of the trustee user in the trustor org.
|
|
26534
|
+
*
|
|
26535
|
+
* @param {String} trustorOrgId Trustor Organization Id
|
|
26536
|
+
* @param {String} trusteeUserId Trustee User Id
|
|
26537
|
+
*/
|
|
26538
|
+
putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
|
|
26539
|
+
// verify the required parameter 'trustorOrgId' is set
|
|
26540
|
+
if (trustorOrgId === undefined || trustorOrgId === null) {
|
|
26541
|
+
throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';
|
|
26542
|
+
}
|
|
26543
|
+
// verify the required parameter 'trusteeUserId' is set
|
|
26544
|
+
if (trusteeUserId === undefined || trusteeUserId === null) {
|
|
26545
|
+
throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';
|
|
26546
|
+
}
|
|
26547
|
+
|
|
26548
|
+
return this.apiClient.callApi(
|
|
26549
|
+
'/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
|
|
26550
|
+
'PUT',
|
|
26551
|
+
{ 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
|
|
26552
|
+
{ },
|
|
26553
|
+
{ },
|
|
26554
|
+
{ },
|
|
26555
|
+
null,
|
|
26556
|
+
['PureCloud OAuth'],
|
|
26557
|
+
['application/json'],
|
|
26558
|
+
['application/json']
|
|
26559
|
+
);
|
|
26560
|
+
}
|
|
26561
|
+
|
|
26445
26562
|
/**
|
|
26446
26563
|
* Add a Trustee user to the trust.
|
|
26447
26564
|
*
|
|
@@ -26478,7 +26595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26478
26595
|
/**
|
|
26479
26596
|
* Outbound service.
|
|
26480
26597
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
26481
|
-
* @version
|
|
26598
|
+
* @version 128.0.0
|
|
26482
26599
|
*/
|
|
26483
26600
|
|
|
26484
26601
|
/**
|
|
@@ -29504,7 +29621,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29504
29621
|
/**
|
|
29505
29622
|
* Presence service.
|
|
29506
29623
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
29507
|
-
* @version
|
|
29624
|
+
* @version 128.0.0
|
|
29508
29625
|
*/
|
|
29509
29626
|
|
|
29510
29627
|
/**
|
|
@@ -29876,7 +29993,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29876
29993
|
/**
|
|
29877
29994
|
* Quality service.
|
|
29878
29995
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
29879
|
-
* @version
|
|
29996
|
+
* @version 128.0.0
|
|
29880
29997
|
*/
|
|
29881
29998
|
|
|
29882
29999
|
/**
|
|
@@ -30249,7 +30366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30249
30366
|
|
|
30250
30367
|
/**
|
|
30251
30368
|
* Queries Evaluations and returns a paged list
|
|
30252
|
-
* Query params must include one of conversationId, evaluatorUserId, or agentUserId
|
|
30369
|
+
* Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to 'Never Release' are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
|
|
30253
30370
|
* @param {Object} opts Optional parameters
|
|
30254
30371
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
30255
30372
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -31404,7 +31521,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31404
31521
|
/**
|
|
31405
31522
|
* Recording service.
|
|
31406
31523
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
31407
|
-
* @version
|
|
31524
|
+
* @version 128.0.0
|
|
31408
31525
|
*/
|
|
31409
31526
|
|
|
31410
31527
|
/**
|
|
@@ -32000,6 +32117,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32000
32117
|
* @param {Object} opts Optional parameters
|
|
32001
32118
|
* @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
|
|
32002
32119
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
32120
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
32121
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
32003
32122
|
*/
|
|
32004
32123
|
getRecordingJobFailedrecordings(jobId, opts) {
|
|
32005
32124
|
opts = opts || {};
|
|
@@ -32013,7 +32132,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32013
32132
|
'/api/v2/recording/jobs/{jobId}/failedrecordings',
|
|
32014
32133
|
'GET',
|
|
32015
32134
|
{ 'jobId': jobId },
|
|
32016
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
32135
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
32017
32136
|
{ },
|
|
32018
32137
|
{ },
|
|
32019
32138
|
null,
|
|
@@ -32033,6 +32152,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32033
32152
|
* @param {Object} opts.state Filter by state
|
|
32034
32153
|
* @param {Boolean} opts.showOnlyMyJobs Show only my jobs
|
|
32035
32154
|
* @param {Object} opts.jobType Job Type (Can be left empty for both)
|
|
32155
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
32156
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
32036
32157
|
*/
|
|
32037
32158
|
getRecordingJobs(opts) {
|
|
32038
32159
|
opts = opts || {};
|
|
@@ -32042,7 +32163,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32042
32163
|
'/api/v2/recording/jobs',
|
|
32043
32164
|
'GET',
|
|
32044
32165
|
{ },
|
|
32045
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
|
|
32166
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
32046
32167
|
{ },
|
|
32047
32168
|
{ },
|
|
32048
32169
|
null,
|
|
@@ -32923,7 +33044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32923
33044
|
/**
|
|
32924
33045
|
* ResponseManagement service.
|
|
32925
33046
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
32926
|
-
* @version
|
|
33047
|
+
* @version 128.0.0
|
|
32927
33048
|
*/
|
|
32928
33049
|
|
|
32929
33050
|
/**
|
|
@@ -33248,7 +33369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33248
33369
|
/**
|
|
33249
33370
|
* Routing service.
|
|
33250
33371
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33251
|
-
* @version
|
|
33372
|
+
* @version 128.0.0
|
|
33252
33373
|
*/
|
|
33253
33374
|
|
|
33254
33375
|
/**
|
|
@@ -34404,12 +34525,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34404
34525
|
}
|
|
34405
34526
|
|
|
34406
34527
|
/**
|
|
34407
|
-
* Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization.
|
|
34528
|
+
* Get a paged listing of simplified queue objects, sorted by name. Can be used to get a digest of all queues in an organization.
|
|
34408
34529
|
*
|
|
34409
34530
|
* @param {Object} opts Optional parameters
|
|
34410
34531
|
* @param {Number} opts.pageSize Page size [max value is 500] (default to 25)
|
|
34411
34532
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
34412
|
-
* @param {Object} opts.sortBy Sort by (default to name)
|
|
34413
34533
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
34414
34534
|
*/
|
|
34415
34535
|
getRoutingQueuesDivisionviewsAll(opts) {
|
|
@@ -34420,7 +34540,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34420
34540
|
'/api/v2/routing/queues/divisionviews/all',
|
|
34421
34541
|
'GET',
|
|
34422
34542
|
{ },
|
|
34423
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'
|
|
34543
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
34424
34544
|
{ },
|
|
34425
34545
|
{ },
|
|
34426
34546
|
null,
|
|
@@ -36168,7 +36288,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36168
36288
|
/**
|
|
36169
36289
|
* SCIM service.
|
|
36170
36290
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36171
|
-
* @version
|
|
36291
|
+
* @version 128.0.0
|
|
36172
36292
|
*/
|
|
36173
36293
|
|
|
36174
36294
|
/**
|
|
@@ -37045,7 +37165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37045
37165
|
/**
|
|
37046
37166
|
* Scripts service.
|
|
37047
37167
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
37048
|
-
* @version
|
|
37168
|
+
* @version 128.0.0
|
|
37049
37169
|
*/
|
|
37050
37170
|
|
|
37051
37171
|
/**
|
|
@@ -37398,7 +37518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37398
37518
|
/**
|
|
37399
37519
|
* Search service.
|
|
37400
37520
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
37401
|
-
* @version
|
|
37521
|
+
* @version 128.0.0
|
|
37402
37522
|
*/
|
|
37403
37523
|
|
|
37404
37524
|
/**
|
|
@@ -37933,7 +38053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37933
38053
|
/**
|
|
37934
38054
|
* SpeechTextAnalytics service.
|
|
37935
38055
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
37936
|
-
* @version
|
|
38056
|
+
* @version 128.0.0
|
|
37937
38057
|
*/
|
|
37938
38058
|
|
|
37939
38059
|
/**
|
|
@@ -38104,7 +38224,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38104
38224
|
|
|
38105
38225
|
/**
|
|
38106
38226
|
* Get list of supported Speech & Text Analytics dialects
|
|
38107
|
-
*
|
|
38227
|
+
* This api has been deprecated. Use api/v2/topics/dialects instead
|
|
38108
38228
|
*/
|
|
38109
38229
|
getSpeechandtextanalyticsDialects() {
|
|
38110
38230
|
|
|
@@ -38297,6 +38417,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38297
38417
|
);
|
|
38298
38418
|
}
|
|
38299
38419
|
|
|
38420
|
+
/**
|
|
38421
|
+
* Get the list of Speech & Text Analytics sentiment supported dialects
|
|
38422
|
+
*
|
|
38423
|
+
*/
|
|
38424
|
+
getSpeechandtextanalyticsSentimentDialects() {
|
|
38425
|
+
|
|
38426
|
+
return this.apiClient.callApi(
|
|
38427
|
+
'/api/v2/speechandtextanalytics/sentiment/dialects',
|
|
38428
|
+
'GET',
|
|
38429
|
+
{ },
|
|
38430
|
+
{ },
|
|
38431
|
+
{ },
|
|
38432
|
+
{ },
|
|
38433
|
+
null,
|
|
38434
|
+
['PureCloud OAuth'],
|
|
38435
|
+
['application/json'],
|
|
38436
|
+
['application/json']
|
|
38437
|
+
);
|
|
38438
|
+
}
|
|
38439
|
+
|
|
38300
38440
|
/**
|
|
38301
38441
|
* Get the list of Speech & Text Analytics SentimentFeedback
|
|
38302
38442
|
*
|
|
@@ -38786,7 +38926,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38786
38926
|
/**
|
|
38787
38927
|
* Stations service.
|
|
38788
38928
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
38789
|
-
* @version
|
|
38929
|
+
* @version 128.0.0
|
|
38790
38930
|
*/
|
|
38791
38931
|
|
|
38792
38932
|
/**
|
|
@@ -38933,7 +39073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38933
39073
|
/**
|
|
38934
39074
|
* Suggest service.
|
|
38935
39075
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
38936
|
-
* @version
|
|
39076
|
+
* @version 128.0.0
|
|
38937
39077
|
*/
|
|
38938
39078
|
|
|
38939
39079
|
/**
|
|
@@ -39072,7 +39212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39072
39212
|
/**
|
|
39073
39213
|
* Telephony service.
|
|
39074
39214
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
39075
|
-
* @version
|
|
39215
|
+
* @version 128.0.0
|
|
39076
39216
|
*/
|
|
39077
39217
|
|
|
39078
39218
|
/**
|
|
@@ -39180,7 +39320,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39180
39320
|
/**
|
|
39181
39321
|
* TelephonyProvidersEdge service.
|
|
39182
39322
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
39183
|
-
* @version
|
|
39323
|
+
* @version 128.0.0
|
|
39184
39324
|
*/
|
|
39185
39325
|
|
|
39186
39326
|
/**
|
|
@@ -42793,7 +42933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42793
42933
|
/**
|
|
42794
42934
|
* Textbots service.
|
|
42795
42935
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
42796
|
-
* @version
|
|
42936
|
+
* @version 128.0.0
|
|
42797
42937
|
*/
|
|
42798
42938
|
|
|
42799
42939
|
/**
|
|
@@ -42808,6 +42948,33 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42808
42948
|
}
|
|
42809
42949
|
|
|
42810
42950
|
|
|
42951
|
+
/**
|
|
42952
|
+
* Find bots using the currently configured friendly name or ID.
|
|
42953
|
+
* The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify the maximum results to return, up to a limit of 100
|
|
42954
|
+
* @param {Object} opts Optional parameters
|
|
42955
|
+
* @param {Array.<String>} opts.botType Bot types
|
|
42956
|
+
* @param {String} opts.botName Bot name
|
|
42957
|
+
* @param {Array.<String>} opts.botId Bot IDs
|
|
42958
|
+
* @param {Number} opts.pageSize The maximum results to return (default to 25)
|
|
42959
|
+
*/
|
|
42960
|
+
getTextbotsBotsSearch(opts) {
|
|
42961
|
+
opts = opts || {};
|
|
42962
|
+
|
|
42963
|
+
|
|
42964
|
+
return this.apiClient.callApi(
|
|
42965
|
+
'/api/v2/textbots/bots/search',
|
|
42966
|
+
'GET',
|
|
42967
|
+
{ },
|
|
42968
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
42969
|
+
{ },
|
|
42970
|
+
{ },
|
|
42971
|
+
null,
|
|
42972
|
+
['PureCloud OAuth'],
|
|
42973
|
+
['application/json'],
|
|
42974
|
+
['application/json']
|
|
42975
|
+
);
|
|
42976
|
+
}
|
|
42977
|
+
|
|
42811
42978
|
/**
|
|
42812
42979
|
* Issue a bot flow turn event
|
|
42813
42980
|
* Send a turn event to an executing bot flow and produce the next action to take.
|
|
@@ -42894,7 +43061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42894
43061
|
/**
|
|
42895
43062
|
* Tokens service.
|
|
42896
43063
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
42897
|
-
* @version
|
|
43064
|
+
* @version 128.0.0
|
|
42898
43065
|
*/
|
|
42899
43066
|
|
|
42900
43067
|
/**
|
|
@@ -43000,7 +43167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43000
43167
|
/**
|
|
43001
43168
|
* Uploads service.
|
|
43002
43169
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
43003
|
-
* @version
|
|
43170
|
+
* @version 128.0.0
|
|
43004
43171
|
*/
|
|
43005
43172
|
|
|
43006
43173
|
/**
|
|
@@ -43176,7 +43343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43176
43343
|
/**
|
|
43177
43344
|
* Usage service.
|
|
43178
43345
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
43179
|
-
* @version
|
|
43346
|
+
* @version 128.0.0
|
|
43180
43347
|
*/
|
|
43181
43348
|
|
|
43182
43349
|
/**
|
|
@@ -43247,7 +43414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43247
43414
|
/**
|
|
43248
43415
|
* UserRecordings service.
|
|
43249
43416
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43250
|
-
* @version
|
|
43417
|
+
* @version 128.0.0
|
|
43251
43418
|
*/
|
|
43252
43419
|
|
|
43253
43420
|
/**
|
|
@@ -43431,7 +43598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43431
43598
|
/**
|
|
43432
43599
|
* Users service.
|
|
43433
43600
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
43434
|
-
* @version
|
|
43601
|
+
* @version 128.0.0
|
|
43435
43602
|
*/
|
|
43436
43603
|
|
|
43437
43604
|
/**
|
|
@@ -45733,7 +45900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45733
45900
|
/**
|
|
45734
45901
|
* Utilities service.
|
|
45735
45902
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
45736
|
-
* @version
|
|
45903
|
+
* @version 128.0.0
|
|
45737
45904
|
*/
|
|
45738
45905
|
|
|
45739
45906
|
/**
|
|
@@ -45844,7 +46011,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45844
46011
|
/**
|
|
45845
46012
|
* Voicemail service.
|
|
45846
46013
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
45847
|
-
* @version
|
|
46014
|
+
* @version 128.0.0
|
|
45848
46015
|
*/
|
|
45849
46016
|
|
|
45850
46017
|
/**
|
|
@@ -46511,7 +46678,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46511
46678
|
/**
|
|
46512
46679
|
* WebChat service.
|
|
46513
46680
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
46514
|
-
* @version
|
|
46681
|
+
* @version 128.0.0
|
|
46515
46682
|
*/
|
|
46516
46683
|
|
|
46517
46684
|
/**
|
|
@@ -47055,7 +47222,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47055
47222
|
/**
|
|
47056
47223
|
* WebDeployments service.
|
|
47057
47224
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
47058
|
-
* @version
|
|
47225
|
+
* @version 128.0.0
|
|
47059
47226
|
*/
|
|
47060
47227
|
|
|
47061
47228
|
/**
|
|
@@ -47410,7 +47577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47410
47577
|
/**
|
|
47411
47578
|
* WebMessaging service.
|
|
47412
47579
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
47413
|
-
* @version
|
|
47580
|
+
* @version 128.0.0
|
|
47414
47581
|
*/
|
|
47415
47582
|
|
|
47416
47583
|
/**
|
|
@@ -47456,7 +47623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47456
47623
|
/**
|
|
47457
47624
|
* Widgets service.
|
|
47458
47625
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
47459
|
-
* @version
|
|
47626
|
+
* @version 128.0.0
|
|
47460
47627
|
*/
|
|
47461
47628
|
|
|
47462
47629
|
/**
|
|
@@ -47602,7 +47769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47602
47769
|
/**
|
|
47603
47770
|
* WorkforceManagement service.
|
|
47604
47771
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
47605
|
-
* @version
|
|
47772
|
+
* @version 128.0.0
|
|
47606
47773
|
*/
|
|
47607
47774
|
|
|
47608
47775
|
/**
|
|
@@ -47877,6 +48044,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47877
48044
|
);
|
|
47878
48045
|
}
|
|
47879
48046
|
|
|
48047
|
+
/**
|
|
48048
|
+
* Deletes a time off limit object
|
|
48049
|
+
*
|
|
48050
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
48051
|
+
* @param {String} timeOffLimitId The ID of the time off limit object to delete
|
|
48052
|
+
*/
|
|
48053
|
+
deleteWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
|
|
48054
|
+
// verify the required parameter 'managementUnitId' is set
|
|
48055
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
48056
|
+
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
|
|
48057
|
+
}
|
|
48058
|
+
// verify the required parameter 'timeOffLimitId' is set
|
|
48059
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
48060
|
+
throw 'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
|
|
48061
|
+
}
|
|
48062
|
+
|
|
48063
|
+
return this.apiClient.callApi(
|
|
48064
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
|
|
48065
|
+
'DELETE',
|
|
48066
|
+
{ 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
|
|
48067
|
+
{ },
|
|
48068
|
+
{ },
|
|
48069
|
+
{ },
|
|
48070
|
+
null,
|
|
48071
|
+
['PureCloud OAuth'],
|
|
48072
|
+
['application/json'],
|
|
48073
|
+
['application/json']
|
|
48074
|
+
);
|
|
48075
|
+
}
|
|
48076
|
+
|
|
48077
|
+
/**
|
|
48078
|
+
* Deletes a time off plan
|
|
48079
|
+
*
|
|
48080
|
+
* @param {String} managementUnitId The management unit ID.
|
|
48081
|
+
* @param {String} timeOffPlanId The ID of the time off plan to delete
|
|
48082
|
+
*/
|
|
48083
|
+
deleteWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
|
|
48084
|
+
// verify the required parameter 'managementUnitId' is set
|
|
48085
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
48086
|
+
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
|
|
48087
|
+
}
|
|
48088
|
+
// verify the required parameter 'timeOffPlanId' is set
|
|
48089
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
48090
|
+
throw 'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
|
|
48091
|
+
}
|
|
48092
|
+
|
|
48093
|
+
return this.apiClient.callApi(
|
|
48094
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
|
|
48095
|
+
'DELETE',
|
|
48096
|
+
{ 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
|
|
48097
|
+
{ },
|
|
48098
|
+
{ },
|
|
48099
|
+
{ },
|
|
48100
|
+
null,
|
|
48101
|
+
['PureCloud OAuth'],
|
|
48102
|
+
['application/json'],
|
|
48103
|
+
['application/json']
|
|
48104
|
+
);
|
|
48105
|
+
}
|
|
48106
|
+
|
|
47880
48107
|
/**
|
|
47881
48108
|
* Delete a work plan
|
|
47882
48109
|
*
|
|
@@ -49118,6 +49345,116 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49118
49345
|
);
|
|
49119
49346
|
}
|
|
49120
49347
|
|
|
49348
|
+
/**
|
|
49349
|
+
* Gets a time off limit object
|
|
49350
|
+
* Returns properties of time off limit object, but not daily values.
|
|
49351
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
49352
|
+
* @param {String} timeOffLimitId The ID of the time off limit to fetch
|
|
49353
|
+
*/
|
|
49354
|
+
getWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
|
|
49355
|
+
// verify the required parameter 'managementUnitId' is set
|
|
49356
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
49357
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
|
|
49358
|
+
}
|
|
49359
|
+
// verify the required parameter 'timeOffLimitId' is set
|
|
49360
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
49361
|
+
throw 'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
|
|
49362
|
+
}
|
|
49363
|
+
|
|
49364
|
+
return this.apiClient.callApi(
|
|
49365
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
|
|
49366
|
+
'GET',
|
|
49367
|
+
{ 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
|
|
49368
|
+
{ },
|
|
49369
|
+
{ },
|
|
49370
|
+
{ },
|
|
49371
|
+
null,
|
|
49372
|
+
['PureCloud OAuth'],
|
|
49373
|
+
['application/json'],
|
|
49374
|
+
['application/json']
|
|
49375
|
+
);
|
|
49376
|
+
}
|
|
49377
|
+
|
|
49378
|
+
/**
|
|
49379
|
+
* Gets a list of time off limit objects under management unit.
|
|
49380
|
+
* Currently only one time off limit object is allowed under management unit, so the list contains either 0 or 1 element.
|
|
49381
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
49382
|
+
*/
|
|
49383
|
+
getWorkforcemanagementManagementunitTimeofflimits(managementUnitId) {
|
|
49384
|
+
// verify the required parameter 'managementUnitId' is set
|
|
49385
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
49386
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';
|
|
49387
|
+
}
|
|
49388
|
+
|
|
49389
|
+
return this.apiClient.callApi(
|
|
49390
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
|
|
49391
|
+
'GET',
|
|
49392
|
+
{ 'managementUnitId': managementUnitId },
|
|
49393
|
+
{ },
|
|
49394
|
+
{ },
|
|
49395
|
+
{ },
|
|
49396
|
+
null,
|
|
49397
|
+
['PureCloud OAuth'],
|
|
49398
|
+
['application/json'],
|
|
49399
|
+
['application/json']
|
|
49400
|
+
);
|
|
49401
|
+
}
|
|
49402
|
+
|
|
49403
|
+
/**
|
|
49404
|
+
* Gets a time off plan
|
|
49405
|
+
*
|
|
49406
|
+
* @param {String} managementUnitId The management unit ID.
|
|
49407
|
+
* @param {String} timeOffPlanId The ID of the time off plan to fetch
|
|
49408
|
+
*/
|
|
49409
|
+
getWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
|
|
49410
|
+
// verify the required parameter 'managementUnitId' is set
|
|
49411
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
49412
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';
|
|
49413
|
+
}
|
|
49414
|
+
// verify the required parameter 'timeOffPlanId' is set
|
|
49415
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
49416
|
+
throw 'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';
|
|
49417
|
+
}
|
|
49418
|
+
|
|
49419
|
+
return this.apiClient.callApi(
|
|
49420
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
|
|
49421
|
+
'GET',
|
|
49422
|
+
{ 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
|
|
49423
|
+
{ },
|
|
49424
|
+
{ },
|
|
49425
|
+
{ },
|
|
49426
|
+
null,
|
|
49427
|
+
['PureCloud OAuth'],
|
|
49428
|
+
['application/json'],
|
|
49429
|
+
['application/json']
|
|
49430
|
+
);
|
|
49431
|
+
}
|
|
49432
|
+
|
|
49433
|
+
/**
|
|
49434
|
+
* Gets a list of time off plans
|
|
49435
|
+
*
|
|
49436
|
+
* @param {String} managementUnitId The management unit ID.
|
|
49437
|
+
*/
|
|
49438
|
+
getWorkforcemanagementManagementunitTimeoffplans(managementUnitId) {
|
|
49439
|
+
// verify the required parameter 'managementUnitId' is set
|
|
49440
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
49441
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';
|
|
49442
|
+
}
|
|
49443
|
+
|
|
49444
|
+
return this.apiClient.callApi(
|
|
49445
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
|
|
49446
|
+
'GET',
|
|
49447
|
+
{ 'managementUnitId': managementUnitId },
|
|
49448
|
+
{ },
|
|
49449
|
+
{ },
|
|
49450
|
+
{ },
|
|
49451
|
+
null,
|
|
49452
|
+
['PureCloud OAuth'],
|
|
49453
|
+
['application/json'],
|
|
49454
|
+
['application/json']
|
|
49455
|
+
);
|
|
49456
|
+
}
|
|
49457
|
+
|
|
49121
49458
|
/**
|
|
49122
49459
|
* Get a time off request
|
|
49123
49460
|
*
|
|
@@ -49153,6 +49490,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49153
49490
|
);
|
|
49154
49491
|
}
|
|
49155
49492
|
|
|
49493
|
+
/**
|
|
49494
|
+
* Retrieves time off limit, allocated and waitlisted values according to specific time off request
|
|
49495
|
+
*
|
|
49496
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
49497
|
+
* @param {String} userId The userId to whom the time off request applies.
|
|
49498
|
+
* @param {String} timeOffRequestId The ID of the time off request, which dates and activityCodeId determine limit values to retrieve
|
|
49499
|
+
*/
|
|
49500
|
+
getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(managementUnitId, userId, timeOffRequestId) {
|
|
49501
|
+
// verify the required parameter 'managementUnitId' is set
|
|
49502
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
49503
|
+
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
49504
|
+
}
|
|
49505
|
+
// verify the required parameter 'userId' is set
|
|
49506
|
+
if (userId === undefined || userId === null) {
|
|
49507
|
+
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
49508
|
+
}
|
|
49509
|
+
// verify the required parameter 'timeOffRequestId' is set
|
|
49510
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
49511
|
+
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
49512
|
+
}
|
|
49513
|
+
|
|
49514
|
+
return this.apiClient.callApi(
|
|
49515
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeofflimits',
|
|
49516
|
+
'GET',
|
|
49517
|
+
{ 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
|
|
49518
|
+
{ },
|
|
49519
|
+
{ },
|
|
49520
|
+
{ },
|
|
49521
|
+
null,
|
|
49522
|
+
['PureCloud OAuth'],
|
|
49523
|
+
['application/json'],
|
|
49524
|
+
['application/json']
|
|
49525
|
+
);
|
|
49526
|
+
}
|
|
49527
|
+
|
|
49156
49528
|
/**
|
|
49157
49529
|
* Get a list of time off requests for a given user
|
|
49158
49530
|
*
|
|
@@ -49586,6 +49958,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49586
49958
|
);
|
|
49587
49959
|
}
|
|
49588
49960
|
|
|
49961
|
+
/**
|
|
49962
|
+
* Get the daily waitlist positions of a time off request for the current user
|
|
49963
|
+
*
|
|
49964
|
+
* @param {String} timeOffRequestId Time Off Request Id
|
|
49965
|
+
*/
|
|
49966
|
+
getWorkforcemanagementTimeoffrequestWaitlistpositions(timeOffRequestId) {
|
|
49967
|
+
// verify the required parameter 'timeOffRequestId' is set
|
|
49968
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
49969
|
+
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';
|
|
49970
|
+
}
|
|
49971
|
+
|
|
49972
|
+
return this.apiClient.callApi(
|
|
49973
|
+
'/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions',
|
|
49974
|
+
'GET',
|
|
49975
|
+
{ 'timeOffRequestId': timeOffRequestId },
|
|
49976
|
+
{ },
|
|
49977
|
+
{ },
|
|
49978
|
+
{ },
|
|
49979
|
+
null,
|
|
49980
|
+
['PureCloud OAuth'],
|
|
49981
|
+
['application/json'],
|
|
49982
|
+
['application/json']
|
|
49983
|
+
);
|
|
49984
|
+
}
|
|
49985
|
+
|
|
49589
49986
|
/**
|
|
49590
49987
|
* Get a list of time off requests for the current user
|
|
49591
49988
|
*
|
|
@@ -49804,6 +50201,74 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49804
50201
|
);
|
|
49805
50202
|
}
|
|
49806
50203
|
|
|
50204
|
+
/**
|
|
50205
|
+
* Updates a time off limit object.
|
|
50206
|
+
* Updates time off limit object properties, but not daily values.
|
|
50207
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
50208
|
+
* @param {String} timeOffLimitId The id of time off limit object to update
|
|
50209
|
+
* @param {Object} opts Optional parameters
|
|
50210
|
+
* @param {Object} opts.body body
|
|
50211
|
+
*/
|
|
50212
|
+
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, opts) {
|
|
50213
|
+
opts = opts || {};
|
|
50214
|
+
|
|
50215
|
+
// verify the required parameter 'managementUnitId' is set
|
|
50216
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
50217
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
50218
|
+
}
|
|
50219
|
+
// verify the required parameter 'timeOffLimitId' is set
|
|
50220
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
50221
|
+
throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
50222
|
+
}
|
|
50223
|
+
|
|
50224
|
+
return this.apiClient.callApi(
|
|
50225
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
|
|
50226
|
+
'PATCH',
|
|
50227
|
+
{ 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
|
|
50228
|
+
{ },
|
|
50229
|
+
{ },
|
|
50230
|
+
{ },
|
|
50231
|
+
opts['body'],
|
|
50232
|
+
['PureCloud OAuth'],
|
|
50233
|
+
['application/json'],
|
|
50234
|
+
['application/json']
|
|
50235
|
+
);
|
|
50236
|
+
}
|
|
50237
|
+
|
|
50238
|
+
/**
|
|
50239
|
+
* Updates a time off plan
|
|
50240
|
+
*
|
|
50241
|
+
* @param {String} managementUnitId The management unit ID.
|
|
50242
|
+
* @param {String} timeOffPlanId The ID of the time off plan to update
|
|
50243
|
+
* @param {Object} opts Optional parameters
|
|
50244
|
+
* @param {Object} opts.body body
|
|
50245
|
+
*/
|
|
50246
|
+
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, opts) {
|
|
50247
|
+
opts = opts || {};
|
|
50248
|
+
|
|
50249
|
+
// verify the required parameter 'managementUnitId' is set
|
|
50250
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
50251
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
50252
|
+
}
|
|
50253
|
+
// verify the required parameter 'timeOffPlanId' is set
|
|
50254
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
50255
|
+
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
50256
|
+
}
|
|
50257
|
+
|
|
50258
|
+
return this.apiClient.callApi(
|
|
50259
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
|
|
50260
|
+
'PATCH',
|
|
50261
|
+
{ 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
|
|
50262
|
+
{ },
|
|
50263
|
+
{ },
|
|
50264
|
+
{ },
|
|
50265
|
+
opts['body'],
|
|
50266
|
+
['PureCloud OAuth'],
|
|
50267
|
+
['application/json'],
|
|
50268
|
+
['application/json']
|
|
50269
|
+
);
|
|
50270
|
+
}
|
|
50271
|
+
|
|
49807
50272
|
/**
|
|
49808
50273
|
* Update a time off request
|
|
49809
50274
|
*
|
|
@@ -50665,6 +51130,93 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50665
51130
|
);
|
|
50666
51131
|
}
|
|
50667
51132
|
|
|
51133
|
+
/**
|
|
51134
|
+
* Creates a new time off limit object under management unit.
|
|
51135
|
+
* Only one limit object is allowed under management unit, so an attempt to create second object will fail.
|
|
51136
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
51137
|
+
* @param {Object} opts Optional parameters
|
|
51138
|
+
* @param {Object} opts.body body
|
|
51139
|
+
*/
|
|
51140
|
+
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, opts) {
|
|
51141
|
+
opts = opts || {};
|
|
51142
|
+
|
|
51143
|
+
// verify the required parameter 'managementUnitId' is set
|
|
51144
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
51145
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
51146
|
+
}
|
|
51147
|
+
|
|
51148
|
+
return this.apiClient.callApi(
|
|
51149
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
|
|
51150
|
+
'POST',
|
|
51151
|
+
{ 'managementUnitId': managementUnitId },
|
|
51152
|
+
{ },
|
|
51153
|
+
{ },
|
|
51154
|
+
{ },
|
|
51155
|
+
opts['body'],
|
|
51156
|
+
['PureCloud OAuth'],
|
|
51157
|
+
['application/json'],
|
|
51158
|
+
['application/json']
|
|
51159
|
+
);
|
|
51160
|
+
}
|
|
51161
|
+
|
|
51162
|
+
/**
|
|
51163
|
+
* Retrieves time off limit related values based on a given set of filters.
|
|
51164
|
+
*
|
|
51165
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
51166
|
+
* @param {Object} opts Optional parameters
|
|
51167
|
+
* @param {Object} opts.body body
|
|
51168
|
+
*/
|
|
51169
|
+
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, opts) {
|
|
51170
|
+
opts = opts || {};
|
|
51171
|
+
|
|
51172
|
+
// verify the required parameter 'managementUnitId' is set
|
|
51173
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
51174
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
51175
|
+
}
|
|
51176
|
+
|
|
51177
|
+
return this.apiClient.callApi(
|
|
51178
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query',
|
|
51179
|
+
'POST',
|
|
51180
|
+
{ 'managementUnitId': managementUnitId },
|
|
51181
|
+
{ },
|
|
51182
|
+
{ },
|
|
51183
|
+
{ },
|
|
51184
|
+
opts['body'],
|
|
51185
|
+
['PureCloud OAuth'],
|
|
51186
|
+
['application/json'],
|
|
51187
|
+
['application/json']
|
|
51188
|
+
);
|
|
51189
|
+
}
|
|
51190
|
+
|
|
51191
|
+
/**
|
|
51192
|
+
* Creates a new time off plan
|
|
51193
|
+
*
|
|
51194
|
+
* @param {String} managementUnitId The management unit ID.
|
|
51195
|
+
* @param {Object} opts Optional parameters
|
|
51196
|
+
* @param {Object} opts.body body
|
|
51197
|
+
*/
|
|
51198
|
+
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, opts) {
|
|
51199
|
+
opts = opts || {};
|
|
51200
|
+
|
|
51201
|
+
// verify the required parameter 'managementUnitId' is set
|
|
51202
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
51203
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
51204
|
+
}
|
|
51205
|
+
|
|
51206
|
+
return this.apiClient.callApi(
|
|
51207
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
|
|
51208
|
+
'POST',
|
|
51209
|
+
{ 'managementUnitId': managementUnitId },
|
|
51210
|
+
{ },
|
|
51211
|
+
{ },
|
|
51212
|
+
{ },
|
|
51213
|
+
opts['body'],
|
|
51214
|
+
['PureCloud OAuth'],
|
|
51215
|
+
['application/json'],
|
|
51216
|
+
['application/json']
|
|
51217
|
+
);
|
|
51218
|
+
}
|
|
51219
|
+
|
|
50668
51220
|
/**
|
|
50669
51221
|
* Create a new time off request
|
|
50670
51222
|
*
|
|
@@ -50723,6 +51275,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50723
51275
|
);
|
|
50724
51276
|
}
|
|
50725
51277
|
|
|
51278
|
+
/**
|
|
51279
|
+
* Retrieves daily waitlist position for a list of time off requests
|
|
51280
|
+
*
|
|
51281
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
51282
|
+
* @param {Object} opts Optional parameters
|
|
51283
|
+
* @param {Object} opts.body body
|
|
51284
|
+
*/
|
|
51285
|
+
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, opts) {
|
|
51286
|
+
opts = opts || {};
|
|
51287
|
+
|
|
51288
|
+
// verify the required parameter 'managementUnitId' is set
|
|
51289
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
51290
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
51291
|
+
}
|
|
51292
|
+
|
|
51293
|
+
return this.apiClient.callApi(
|
|
51294
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query',
|
|
51295
|
+
'POST',
|
|
51296
|
+
{ 'managementUnitId': managementUnitId },
|
|
51297
|
+
{ },
|
|
51298
|
+
{ },
|
|
51299
|
+
{ },
|
|
51300
|
+
opts['body'],
|
|
51301
|
+
['PureCloud OAuth'],
|
|
51302
|
+
['application/json'],
|
|
51303
|
+
['application/json']
|
|
51304
|
+
);
|
|
51305
|
+
}
|
|
51306
|
+
|
|
50726
51307
|
/**
|
|
50727
51308
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
50728
51309
|
*
|
|
@@ -51106,6 +51687,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51106
51687
|
);
|
|
51107
51688
|
}
|
|
51108
51689
|
|
|
51690
|
+
/**
|
|
51691
|
+
* Queries available time off for the current user
|
|
51692
|
+
*
|
|
51693
|
+
* @param {Object} opts Optional parameters
|
|
51694
|
+
* @param {Object} opts.body body
|
|
51695
|
+
*/
|
|
51696
|
+
postWorkforcemanagementTimeofflimitsAvailableQuery(opts) {
|
|
51697
|
+
opts = opts || {};
|
|
51698
|
+
|
|
51699
|
+
|
|
51700
|
+
return this.apiClient.callApi(
|
|
51701
|
+
'/api/v2/workforcemanagement/timeofflimits/available/query',
|
|
51702
|
+
'POST',
|
|
51703
|
+
{ },
|
|
51704
|
+
{ },
|
|
51705
|
+
{ },
|
|
51706
|
+
{ },
|
|
51707
|
+
opts['body'],
|
|
51708
|
+
['PureCloud OAuth'],
|
|
51709
|
+
['application/json'],
|
|
51710
|
+
['application/json']
|
|
51711
|
+
);
|
|
51712
|
+
}
|
|
51713
|
+
|
|
51109
51714
|
/**
|
|
51110
51715
|
* Create a time off request for the current user
|
|
51111
51716
|
*
|
|
@@ -51130,6 +51735,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51130
51735
|
);
|
|
51131
51736
|
}
|
|
51132
51737
|
|
|
51738
|
+
/**
|
|
51739
|
+
* Sets daily values for a date range of time off limit object
|
|
51740
|
+
* Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
|
|
51741
|
+
* @param {String} managementUnitId The management unit ID of the management unit.
|
|
51742
|
+
* @param {String} timeOffLimitId The ID of the time off limit object to set values for
|
|
51743
|
+
* @param {Object} opts Optional parameters
|
|
51744
|
+
* @param {Object} opts.body body
|
|
51745
|
+
*/
|
|
51746
|
+
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, opts) {
|
|
51747
|
+
opts = opts || {};
|
|
51748
|
+
|
|
51749
|
+
// verify the required parameter 'managementUnitId' is set
|
|
51750
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
51751
|
+
throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
51752
|
+
}
|
|
51753
|
+
// verify the required parameter 'timeOffLimitId' is set
|
|
51754
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
51755
|
+
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
51756
|
+
}
|
|
51757
|
+
|
|
51758
|
+
return this.apiClient.callApi(
|
|
51759
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values',
|
|
51760
|
+
'PUT',
|
|
51761
|
+
{ 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
|
|
51762
|
+
{ },
|
|
51763
|
+
{ },
|
|
51764
|
+
{ },
|
|
51765
|
+
opts['body'],
|
|
51766
|
+
['PureCloud OAuth'],
|
|
51767
|
+
['application/json'],
|
|
51768
|
+
['application/json']
|
|
51769
|
+
);
|
|
51770
|
+
}
|
|
51771
|
+
|
|
51133
51772
|
}
|
|
51134
51773
|
|
|
51135
51774
|
/**
|
|
@@ -51161,7 +51800,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51161
51800
|
* </pre>
|
|
51162
51801
|
* </p>
|
|
51163
51802
|
* @module purecloud-platform-client-v2/index
|
|
51164
|
-
* @version
|
|
51803
|
+
* @version 128.0.0
|
|
51165
51804
|
*/
|
|
51166
51805
|
class platformClient {
|
|
51167
51806
|
constructor() {
|