purecloud-platform-client-v2 221.0.0 → 223.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 -3
- package/dist/node/purecloud-platform-client-v2.js +1032 -524
- package/dist/web-amd/purecloud-platform-client-v2.js +1032 -524
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +498 -392
- package/dist/web-cjs/purecloud-platform-client-v2.js +498 -392
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1408 -1008
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- 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 +3 -2
- 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/BusinessRulesApi.js +5 -6
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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 +154 -7
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -3
- 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/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +150 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- 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/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/LogCaptureApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/MessagingApi.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/OperationalEventsApi.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/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +71 -8
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +51 -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/TaskManagementApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TeamsApi.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 +3 -2
- 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 +514 -416
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -690,7 +690,7 @@ class Configuration {
|
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
693
|
-
* @version
|
|
693
|
+
* @version 223.0.0
|
|
694
694
|
*/
|
|
695
695
|
class ApiClient {
|
|
696
696
|
/**
|
|
@@ -2234,7 +2234,7 @@ class AgentAssistantsApi {
|
|
|
2234
2234
|
/**
|
|
2235
2235
|
* AgentAssistants service.
|
|
2236
2236
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2237
|
-
* @version
|
|
2237
|
+
* @version 223.0.0
|
|
2238
2238
|
*/
|
|
2239
2239
|
|
|
2240
2240
|
/**
|
|
@@ -2437,6 +2437,7 @@ class AgentAssistantsApi {
|
|
|
2437
2437
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
2438
2438
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
2439
2439
|
* @param {String} opts.name Return the assistant by the given name.
|
|
2440
|
+
* @param {Object} opts.expand Which fields, if any, to expand
|
|
2440
2441
|
*/
|
|
2441
2442
|
getAssistants(opts) {
|
|
2442
2443
|
opts = opts || {};
|
|
@@ -2446,7 +2447,7 @@ class AgentAssistantsApi {
|
|
|
2446
2447
|
'/api/v2/assistants',
|
|
2447
2448
|
'GET',
|
|
2448
2449
|
{ },
|
|
2449
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
2450
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'expand': opts['expand'] },
|
|
2450
2451
|
{ },
|
|
2451
2452
|
{ },
|
|
2452
2453
|
null,
|
|
@@ -2610,7 +2611,7 @@ class AgentCopilotApi {
|
|
|
2610
2611
|
/**
|
|
2611
2612
|
* AgentCopilot service.
|
|
2612
2613
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2613
|
-
* @version
|
|
2614
|
+
* @version 223.0.0
|
|
2614
2615
|
*/
|
|
2615
2616
|
|
|
2616
2617
|
/**
|
|
@@ -2686,7 +2687,7 @@ class AgentUIApi {
|
|
|
2686
2687
|
/**
|
|
2687
2688
|
* AgentUI service.
|
|
2688
2689
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2689
|
-
* @version
|
|
2690
|
+
* @version 223.0.0
|
|
2690
2691
|
*/
|
|
2691
2692
|
|
|
2692
2693
|
/**
|
|
@@ -2817,7 +2818,7 @@ class AlertingApi {
|
|
|
2817
2818
|
/**
|
|
2818
2819
|
* Alerting service.
|
|
2819
2820
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2820
|
-
* @version
|
|
2821
|
+
* @version 223.0.0
|
|
2821
2822
|
*/
|
|
2822
2823
|
|
|
2823
2824
|
/**
|
|
@@ -3218,7 +3219,7 @@ class AnalyticsApi {
|
|
|
3218
3219
|
/**
|
|
3219
3220
|
* Analytics service.
|
|
3220
3221
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3221
|
-
* @version
|
|
3222
|
+
* @version 223.0.0
|
|
3222
3223
|
*/
|
|
3223
3224
|
|
|
3224
3225
|
/**
|
|
@@ -6039,7 +6040,7 @@ class ArchitectApi {
|
|
|
6039
6040
|
/**
|
|
6040
6041
|
* Architect service.
|
|
6041
6042
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6042
|
-
* @version
|
|
6043
|
+
* @version 223.0.0
|
|
6043
6044
|
*/
|
|
6044
6045
|
|
|
6045
6046
|
/**
|
|
@@ -8013,6 +8014,7 @@ class ArchitectApi {
|
|
|
8013
8014
|
* @param {Object} opts.secure Secure
|
|
8014
8015
|
* @param {Boolean} opts.deleted Include deleted (default to false)
|
|
8015
8016
|
* @param {Boolean} opts.includeSchemas Include variable schemas (default to false)
|
|
8017
|
+
* @param {Boolean} opts.virtualAgentEnabled Include/exclude virtual agent flows
|
|
8016
8018
|
* @param {String} opts.publishedAfter Published after
|
|
8017
8019
|
* @param {String} opts.publishedBefore Published before
|
|
8018
8020
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
@@ -8025,7 +8027,7 @@ class ArchitectApi {
|
|
|
8025
8027
|
'/api/v2/flows',
|
|
8026
8028
|
'GET',
|
|
8027
8029
|
{ },
|
|
8028
|
-
{ 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
8030
|
+
{ 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'virtualAgentEnabled': opts['virtualAgentEnabled'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
8029
8031
|
{ },
|
|
8030
8032
|
{ },
|
|
8031
8033
|
null,
|
|
@@ -10331,7 +10333,7 @@ class AuditApi {
|
|
|
10331
10333
|
/**
|
|
10332
10334
|
* Audit service.
|
|
10333
10335
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10334
|
-
* @version
|
|
10336
|
+
* @version 223.0.0
|
|
10335
10337
|
*/
|
|
10336
10338
|
|
|
10337
10339
|
/**
|
|
@@ -10532,7 +10534,7 @@ class AuthorizationApi {
|
|
|
10532
10534
|
/**
|
|
10533
10535
|
* Authorization service.
|
|
10534
10536
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10535
|
-
* @version
|
|
10537
|
+
* @version 223.0.0
|
|
10536
10538
|
*/
|
|
10537
10539
|
|
|
10538
10540
|
/**
|
|
@@ -12247,7 +12249,7 @@ class BillingApi {
|
|
|
12247
12249
|
/**
|
|
12248
12250
|
* Billing service.
|
|
12249
12251
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
12250
|
-
* @version
|
|
12252
|
+
* @version 223.0.0
|
|
12251
12253
|
*/
|
|
12252
12254
|
|
|
12253
12255
|
/**
|
|
@@ -12503,7 +12505,7 @@ class BusinessRulesApi {
|
|
|
12503
12505
|
/**
|
|
12504
12506
|
* BusinessRules service.
|
|
12505
12507
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
12506
|
-
* @version
|
|
12508
|
+
* @version 223.0.0
|
|
12507
12509
|
*/
|
|
12508
12510
|
|
|
12509
12511
|
/**
|
|
@@ -12776,7 +12778,7 @@ class BusinessRulesApi {
|
|
|
12776
12778
|
* @param {String} tableId Table ID
|
|
12777
12779
|
* @param {Object} opts Optional parameters
|
|
12778
12780
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12779
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12781
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12780
12782
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
12781
12783
|
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12782
12784
|
*/
|
|
@@ -12807,7 +12809,7 @@ class BusinessRulesApi {
|
|
|
12807
12809
|
*
|
|
12808
12810
|
* @param {Object} opts Optional parameters
|
|
12809
12811
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12810
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12812
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12811
12813
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
12812
12814
|
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12813
12815
|
*/
|
|
@@ -12833,9 +12835,8 @@ class BusinessRulesApi {
|
|
|
12833
12835
|
* Search for decision tables.
|
|
12834
12836
|
*
|
|
12835
12837
|
* @param {Object} opts Optional parameters
|
|
12836
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12837
12838
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12838
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12839
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12839
12840
|
* @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
|
|
12840
12841
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used.
|
|
12841
12842
|
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
@@ -12848,7 +12849,7 @@ class BusinessRulesApi {
|
|
|
12848
12849
|
'/api/v2/businessrules/decisiontables/search',
|
|
12849
12850
|
'GET',
|
|
12850
12851
|
{ },
|
|
12851
|
-
{ '
|
|
12852
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
|
|
12852
12853
|
{ },
|
|
12853
12854
|
{ },
|
|
12854
12855
|
null,
|
|
@@ -13417,7 +13418,7 @@ class CarrierServicesApi {
|
|
|
13417
13418
|
/**
|
|
13418
13419
|
* CarrierServices service.
|
|
13419
13420
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
13420
|
-
* @version
|
|
13421
|
+
* @version 223.0.0
|
|
13421
13422
|
*/
|
|
13422
13423
|
|
|
13423
13424
|
/**
|
|
@@ -13487,7 +13488,7 @@ class ChatApi {
|
|
|
13487
13488
|
/**
|
|
13488
13489
|
* Chat service.
|
|
13489
13490
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
13490
|
-
* @version
|
|
13491
|
+
* @version 223.0.0
|
|
13491
13492
|
*/
|
|
13492
13493
|
|
|
13493
13494
|
/**
|
|
@@ -14420,7 +14421,7 @@ class CoachingApi {
|
|
|
14420
14421
|
/**
|
|
14421
14422
|
* Coaching service.
|
|
14422
14423
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
14423
|
-
* @version
|
|
14424
|
+
* @version 223.0.0
|
|
14424
14425
|
*/
|
|
14425
14426
|
|
|
14426
14427
|
/**
|
|
@@ -14997,7 +14998,7 @@ class ContentManagementApi {
|
|
|
14997
14998
|
/**
|
|
14998
14999
|
* ContentManagement service.
|
|
14999
15000
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
15000
|
-
* @version
|
|
15001
|
+
* @version 223.0.0
|
|
15001
15002
|
*/
|
|
15002
15003
|
|
|
15003
15004
|
/**
|
|
@@ -16078,7 +16079,7 @@ class ConversationsApi {
|
|
|
16078
16079
|
/**
|
|
16079
16080
|
* Conversations service.
|
|
16080
16081
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
16081
|
-
* @version
|
|
16082
|
+
* @version 223.0.0
|
|
16082
16083
|
*/
|
|
16083
16084
|
|
|
16084
16085
|
/**
|
|
@@ -18008,7 +18009,7 @@ class ConversationsApi {
|
|
|
18008
18009
|
*
|
|
18009
18010
|
* @param {String} messageId messageId
|
|
18010
18011
|
* @param {Object} opts Optional parameters
|
|
18011
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
18012
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
18012
18013
|
*/
|
|
18013
18014
|
getConversationsMessageDetails(messageId, opts) {
|
|
18014
18015
|
opts = opts || {};
|
|
@@ -18038,7 +18039,7 @@ class ConversationsApi {
|
|
|
18038
18039
|
* @param {String} conversationId conversationId
|
|
18039
18040
|
* @param {String} messageId messageId
|
|
18040
18041
|
* @param {Object} opts Optional parameters
|
|
18041
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
18042
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
18042
18043
|
*/
|
|
18043
18044
|
getConversationsMessageMessage(conversationId, messageId, opts) {
|
|
18044
18045
|
opts = opts || {};
|
|
@@ -18280,6 +18281,32 @@ class ConversationsApi {
|
|
|
18280
18281
|
);
|
|
18281
18282
|
}
|
|
18282
18283
|
|
|
18284
|
+
/**
|
|
18285
|
+
* Get Apple messaging integration identity resolution settings
|
|
18286
|
+
*
|
|
18287
|
+
* @param {String} integrationId Integration ID
|
|
18288
|
+
* getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18289
|
+
*/
|
|
18290
|
+
getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
|
|
18291
|
+
// verify the required parameter 'integrationId' is set
|
|
18292
|
+
if (integrationId === undefined || integrationId === null) {
|
|
18293
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
18294
|
+
}
|
|
18295
|
+
|
|
18296
|
+
return this.apiClient.callApi(
|
|
18297
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
18298
|
+
'GET',
|
|
18299
|
+
{ 'integrationId': integrationId },
|
|
18300
|
+
{ },
|
|
18301
|
+
{ },
|
|
18302
|
+
{ },
|
|
18303
|
+
null,
|
|
18304
|
+
['PureCloud OAuth'],
|
|
18305
|
+
['application/json'],
|
|
18306
|
+
['application/json']
|
|
18307
|
+
);
|
|
18308
|
+
}
|
|
18309
|
+
|
|
18283
18310
|
/**
|
|
18284
18311
|
* Get Facebook messaging integration identity resolution settings
|
|
18285
18312
|
*
|
|
@@ -18305,6 +18332,31 @@ class ConversationsApi {
|
|
|
18305
18332
|
);
|
|
18306
18333
|
}
|
|
18307
18334
|
|
|
18335
|
+
/**
|
|
18336
|
+
* Get an Instagram integration identity resolution settings
|
|
18337
|
+
*
|
|
18338
|
+
* @param {String} integrationId Integration ID
|
|
18339
|
+
*/
|
|
18340
|
+
getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId) {
|
|
18341
|
+
// verify the required parameter 'integrationId' is set
|
|
18342
|
+
if (integrationId === undefined || integrationId === null) {
|
|
18343
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
18344
|
+
}
|
|
18345
|
+
|
|
18346
|
+
return this.apiClient.callApi(
|
|
18347
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
18348
|
+
'GET',
|
|
18349
|
+
{ 'integrationId': integrationId },
|
|
18350
|
+
{ },
|
|
18351
|
+
{ },
|
|
18352
|
+
{ },
|
|
18353
|
+
null,
|
|
18354
|
+
['PureCloud OAuth'],
|
|
18355
|
+
['application/json'],
|
|
18356
|
+
['application/json']
|
|
18357
|
+
);
|
|
18358
|
+
}
|
|
18359
|
+
|
|
18308
18360
|
/**
|
|
18309
18361
|
* Get an open messaging integration Identity Resolution settings
|
|
18310
18362
|
*
|
|
@@ -20393,7 +20445,7 @@ class ConversationsApi {
|
|
|
20393
20445
|
|
|
20394
20446
|
/**
|
|
20395
20447
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
20396
|
-
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the
|
|
20448
|
+
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the GET call on the integration with a createStatus of Completed. You can then run a GET on the integration to check if its status has been updated to Active.
|
|
20397
20449
|
* @param {String} integrationId Integration ID
|
|
20398
20450
|
* @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
|
|
20399
20451
|
*/
|
|
@@ -22242,12 +22294,12 @@ class ConversationsApi {
|
|
|
22242
22294
|
|
|
22243
22295
|
/**
|
|
22244
22296
|
* Send message
|
|
22245
|
-
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId,
|
|
22297
|
+
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, or 1 messageTemplate.
|
|
22246
22298
|
* @param {String} conversationId conversationId
|
|
22247
22299
|
* @param {String} communicationId communicationId
|
|
22248
22300
|
* @param {Object} body Message
|
|
22249
22301
|
* @param {Object} opts Optional parameters
|
|
22250
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
22302
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
22251
22303
|
*/
|
|
22252
22304
|
postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
|
|
22253
22305
|
opts = opts || {};
|
|
@@ -22345,6 +22397,41 @@ class ConversationsApi {
|
|
|
22345
22397
|
);
|
|
22346
22398
|
}
|
|
22347
22399
|
|
|
22400
|
+
/**
|
|
22401
|
+
* Send a social media message
|
|
22402
|
+
* Send a social media message on existing conversation/communication.
|
|
22403
|
+
* @param {String} conversationId conversationId
|
|
22404
|
+
* @param {String} communicationId communicationId
|
|
22405
|
+
* @param {Object} body Message
|
|
22406
|
+
*/
|
|
22407
|
+
postConversationsMessageCommunicationSocialmediaMessages(conversationId, communicationId, body) {
|
|
22408
|
+
// verify the required parameter 'conversationId' is set
|
|
22409
|
+
if (conversationId === undefined || conversationId === null) {
|
|
22410
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22411
|
+
}
|
|
22412
|
+
// verify the required parameter 'communicationId' is set
|
|
22413
|
+
if (communicationId === undefined || communicationId === null) {
|
|
22414
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22415
|
+
}
|
|
22416
|
+
// verify the required parameter 'body' is set
|
|
22417
|
+
if (body === undefined || body === null) {
|
|
22418
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22419
|
+
}
|
|
22420
|
+
|
|
22421
|
+
return this.apiClient.callApi(
|
|
22422
|
+
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages',
|
|
22423
|
+
'POST',
|
|
22424
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
22425
|
+
{ },
|
|
22426
|
+
{ },
|
|
22427
|
+
{ },
|
|
22428
|
+
body,
|
|
22429
|
+
['PureCloud OAuth'],
|
|
22430
|
+
['application/json'],
|
|
22431
|
+
['application/json']
|
|
22432
|
+
);
|
|
22433
|
+
}
|
|
22434
|
+
|
|
22348
22435
|
/**
|
|
22349
22436
|
* Send message typing event
|
|
22350
22437
|
* Send message typing event for existing conversation/communication.
|
|
@@ -22479,7 +22566,7 @@ class ConversationsApi {
|
|
|
22479
22566
|
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
|
|
22480
22567
|
* @param {String} conversationId
|
|
22481
22568
|
* @param {Object} opts Optional parameters
|
|
22482
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
22569
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
22483
22570
|
* @param {Array.<String>} opts.body messageIds
|
|
22484
22571
|
*/
|
|
22485
22572
|
postConversationsMessageMessagesBulk(conversationId, opts) {
|
|
@@ -23461,6 +23548,37 @@ class ConversationsApi {
|
|
|
23461
23548
|
);
|
|
23462
23549
|
}
|
|
23463
23550
|
|
|
23551
|
+
/**
|
|
23552
|
+
* Create an identity resolution settings for a Apple messaging integration
|
|
23553
|
+
*
|
|
23554
|
+
* @param {String} integrationId Integration ID
|
|
23555
|
+
* @param {Object} body IdentityResolutionConfig
|
|
23556
|
+
* putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23557
|
+
*/
|
|
23558
|
+
putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
|
|
23559
|
+
// verify the required parameter 'integrationId' is set
|
|
23560
|
+
if (integrationId === undefined || integrationId === null) {
|
|
23561
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
23562
|
+
}
|
|
23563
|
+
// verify the required parameter 'body' is set
|
|
23564
|
+
if (body === undefined || body === null) {
|
|
23565
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
23566
|
+
}
|
|
23567
|
+
|
|
23568
|
+
return this.apiClient.callApi(
|
|
23569
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
23570
|
+
'PUT',
|
|
23571
|
+
{ 'integrationId': integrationId },
|
|
23572
|
+
{ },
|
|
23573
|
+
{ },
|
|
23574
|
+
{ },
|
|
23575
|
+
body,
|
|
23576
|
+
['PureCloud OAuth'],
|
|
23577
|
+
['application/json'],
|
|
23578
|
+
['application/json']
|
|
23579
|
+
);
|
|
23580
|
+
}
|
|
23581
|
+
|
|
23464
23582
|
/**
|
|
23465
23583
|
* Create an identity resolution settings for a Facebook messaging integration
|
|
23466
23584
|
*
|
|
@@ -23491,6 +23609,36 @@ class ConversationsApi {
|
|
|
23491
23609
|
);
|
|
23492
23610
|
}
|
|
23493
23611
|
|
|
23612
|
+
/**
|
|
23613
|
+
* Create identity resolution settings for an Instagram messaging integration
|
|
23614
|
+
*
|
|
23615
|
+
* @param {String} integrationId Integration ID
|
|
23616
|
+
* @param {Object} body IdentityResolutionConfig
|
|
23617
|
+
*/
|
|
23618
|
+
putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId, body) {
|
|
23619
|
+
// verify the required parameter 'integrationId' is set
|
|
23620
|
+
if (integrationId === undefined || integrationId === null) {
|
|
23621
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
23622
|
+
}
|
|
23623
|
+
// verify the required parameter 'body' is set
|
|
23624
|
+
if (body === undefined || body === null) {
|
|
23625
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
23626
|
+
}
|
|
23627
|
+
|
|
23628
|
+
return this.apiClient.callApi(
|
|
23629
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
23630
|
+
'PUT',
|
|
23631
|
+
{ 'integrationId': integrationId },
|
|
23632
|
+
{ },
|
|
23633
|
+
{ },
|
|
23634
|
+
{ },
|
|
23635
|
+
body,
|
|
23636
|
+
['PureCloud OAuth'],
|
|
23637
|
+
['application/json'],
|
|
23638
|
+
['application/json']
|
|
23639
|
+
);
|
|
23640
|
+
}
|
|
23641
|
+
|
|
23494
23642
|
/**
|
|
23495
23643
|
* Update an open messaging integration Identity Resolution settings
|
|
23496
23644
|
*
|
|
@@ -23723,7 +23871,7 @@ class DataExtensionsApi {
|
|
|
23723
23871
|
/**
|
|
23724
23872
|
* DataExtensions service.
|
|
23725
23873
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23726
|
-
* @version
|
|
23874
|
+
* @version 223.0.0
|
|
23727
23875
|
*/
|
|
23728
23876
|
|
|
23729
23877
|
/**
|
|
@@ -23809,7 +23957,7 @@ class DataPrivacyApi {
|
|
|
23809
23957
|
/**
|
|
23810
23958
|
* DataPrivacy service.
|
|
23811
23959
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
23812
|
-
* @version
|
|
23960
|
+
* @version 223.0.0
|
|
23813
23961
|
*/
|
|
23814
23962
|
|
|
23815
23963
|
/**
|
|
@@ -23979,7 +24127,7 @@ class DownloadsApi {
|
|
|
23979
24127
|
/**
|
|
23980
24128
|
* Downloads service.
|
|
23981
24129
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23982
|
-
* @version
|
|
24130
|
+
* @version 223.0.0
|
|
23983
24131
|
*/
|
|
23984
24132
|
|
|
23985
24133
|
/**
|
|
@@ -24031,7 +24179,7 @@ class EmailsApi {
|
|
|
24031
24179
|
/**
|
|
24032
24180
|
* Emails service.
|
|
24033
24181
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
24034
|
-
* @version
|
|
24182
|
+
* @version 223.0.0
|
|
24035
24183
|
*/
|
|
24036
24184
|
|
|
24037
24185
|
/**
|
|
@@ -24160,7 +24308,7 @@ class EmployeeEngagementApi {
|
|
|
24160
24308
|
/**
|
|
24161
24309
|
* EmployeeEngagement service.
|
|
24162
24310
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
24163
|
-
* @version
|
|
24311
|
+
* @version 223.0.0
|
|
24164
24312
|
*/
|
|
24165
24313
|
|
|
24166
24314
|
/**
|
|
@@ -24311,7 +24459,7 @@ class EventsApi {
|
|
|
24311
24459
|
/**
|
|
24312
24460
|
* Events service.
|
|
24313
24461
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
24314
|
-
* @version
|
|
24462
|
+
* @version 223.0.0
|
|
24315
24463
|
*/
|
|
24316
24464
|
|
|
24317
24465
|
/**
|
|
@@ -24407,7 +24555,7 @@ class ExternalContactsApi {
|
|
|
24407
24555
|
/**
|
|
24408
24556
|
* ExternalContacts service.
|
|
24409
24557
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
24410
|
-
* @version
|
|
24558
|
+
* @version 223.0.0
|
|
24411
24559
|
*/
|
|
24412
24560
|
|
|
24413
24561
|
/**
|
|
@@ -25043,7 +25191,7 @@ class ExternalContactsApi {
|
|
|
25043
25191
|
}
|
|
25044
25192
|
|
|
25045
25193
|
/**
|
|
25046
|
-
* Get
|
|
25194
|
+
* Get a specific named core type.
|
|
25047
25195
|
*
|
|
25048
25196
|
* @param {String} coreTypeName Name of the core type
|
|
25049
25197
|
*/
|
|
@@ -25687,7 +25835,7 @@ class ExternalContactsApi {
|
|
|
25687
25835
|
}
|
|
25688
25836
|
|
|
25689
25837
|
/**
|
|
25690
|
-
* Get
|
|
25838
|
+
* Get a specific named core type.
|
|
25691
25839
|
*
|
|
25692
25840
|
* @param {String} coreTypeName Name of the core type
|
|
25693
25841
|
*/
|
|
@@ -27595,7 +27743,7 @@ class FaxApi {
|
|
|
27595
27743
|
/**
|
|
27596
27744
|
* Fax service.
|
|
27597
27745
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
27598
|
-
* @version
|
|
27746
|
+
* @version 223.0.0
|
|
27599
27747
|
*/
|
|
27600
27748
|
|
|
27601
27749
|
/**
|
|
@@ -27810,7 +27958,7 @@ class FlowsApi {
|
|
|
27810
27958
|
/**
|
|
27811
27959
|
* Flows service.
|
|
27812
27960
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
27813
|
-
* @version
|
|
27961
|
+
* @version 223.0.0
|
|
27814
27962
|
*/
|
|
27815
27963
|
|
|
27816
27964
|
/**
|
|
@@ -27993,7 +28141,7 @@ class GamificationApi {
|
|
|
27993
28141
|
/**
|
|
27994
28142
|
* Gamification service.
|
|
27995
28143
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
27996
|
-
* @version
|
|
28144
|
+
* @version 223.0.0
|
|
27997
28145
|
*/
|
|
27998
28146
|
|
|
27999
28147
|
/**
|
|
@@ -30500,7 +30648,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
30500
30648
|
/**
|
|
30501
30649
|
* GeneralDataProtectionRegulation service.
|
|
30502
30650
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
30503
|
-
* @version
|
|
30651
|
+
* @version 223.0.0
|
|
30504
30652
|
*/
|
|
30505
30653
|
|
|
30506
30654
|
/**
|
|
@@ -30630,7 +30778,7 @@ class GeolocationApi {
|
|
|
30630
30778
|
/**
|
|
30631
30779
|
* Geolocation service.
|
|
30632
30780
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
30633
|
-
* @version
|
|
30781
|
+
* @version 223.0.0
|
|
30634
30782
|
*/
|
|
30635
30783
|
|
|
30636
30784
|
/**
|
|
@@ -30761,7 +30909,7 @@ class GreetingsApi {
|
|
|
30761
30909
|
/**
|
|
30762
30910
|
* Greetings service.
|
|
30763
30911
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
30764
|
-
* @version
|
|
30912
|
+
* @version 223.0.0
|
|
30765
30913
|
*/
|
|
30766
30914
|
|
|
30767
30915
|
/**
|
|
@@ -31216,7 +31364,7 @@ class GroupsApi {
|
|
|
31216
31364
|
/**
|
|
31217
31365
|
* Groups service.
|
|
31218
31366
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
31219
|
-
* @version
|
|
31367
|
+
* @version 223.0.0
|
|
31220
31368
|
*/
|
|
31221
31369
|
|
|
31222
31370
|
/**
|
|
@@ -31735,7 +31883,7 @@ class IdentityProviderApi {
|
|
|
31735
31883
|
/**
|
|
31736
31884
|
* IdentityProvider service.
|
|
31737
31885
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
31738
|
-
* @version
|
|
31886
|
+
* @version 223.0.0
|
|
31739
31887
|
*/
|
|
31740
31888
|
|
|
31741
31889
|
/**
|
|
@@ -32596,7 +32744,7 @@ class InfrastructureAsCodeApi {
|
|
|
32596
32744
|
/**
|
|
32597
32745
|
* InfrastructureAsCode service.
|
|
32598
32746
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
32599
|
-
* @version
|
|
32747
|
+
* @version 223.0.0
|
|
32600
32748
|
*/
|
|
32601
32749
|
|
|
32602
32750
|
/**
|
|
@@ -32763,7 +32911,7 @@ class IntegrationsApi {
|
|
|
32763
32911
|
/**
|
|
32764
32912
|
* Integrations service.
|
|
32765
32913
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
32766
|
-
* @version
|
|
32914
|
+
* @version 223.0.0
|
|
32767
32915
|
*/
|
|
32768
32916
|
|
|
32769
32917
|
/**
|
|
@@ -33394,6 +33542,103 @@ class IntegrationsApi {
|
|
|
33394
33542
|
);
|
|
33395
33543
|
}
|
|
33396
33544
|
|
|
33545
|
+
/**
|
|
33546
|
+
* Get a specific Bot details
|
|
33547
|
+
*
|
|
33548
|
+
* @param {String} integrationId The integration ID for this group of bots
|
|
33549
|
+
* @param {String} botId The bot ID for this bot
|
|
33550
|
+
* @param {Object} opts Optional parameters
|
|
33551
|
+
* @param {String} opts.version Specific Version
|
|
33552
|
+
* getIntegrationsBotconnectorBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33553
|
+
*/
|
|
33554
|
+
getIntegrationsBotconnectorBot(integrationId, botId, opts) {
|
|
33555
|
+
opts = opts || {};
|
|
33556
|
+
|
|
33557
|
+
// verify the required parameter 'integrationId' is set
|
|
33558
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33559
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';
|
|
33560
|
+
}
|
|
33561
|
+
// verify the required parameter 'botId' is set
|
|
33562
|
+
if (botId === undefined || botId === null) {
|
|
33563
|
+
throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';
|
|
33564
|
+
}
|
|
33565
|
+
|
|
33566
|
+
return this.apiClient.callApi(
|
|
33567
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}',
|
|
33568
|
+
'GET',
|
|
33569
|
+
{ 'integrationId': integrationId,'botId': botId },
|
|
33570
|
+
{ 'version': opts['version'] },
|
|
33571
|
+
{ },
|
|
33572
|
+
{ },
|
|
33573
|
+
null,
|
|
33574
|
+
['PureCloud OAuth'],
|
|
33575
|
+
['application/json'],
|
|
33576
|
+
['application/json']
|
|
33577
|
+
);
|
|
33578
|
+
}
|
|
33579
|
+
|
|
33580
|
+
/**
|
|
33581
|
+
* Get the list of bots for this integration.
|
|
33582
|
+
*
|
|
33583
|
+
* @param {String} integrationId The integration ID for this group of bots.
|
|
33584
|
+
* @param {Object} opts Optional parameters
|
|
33585
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
33586
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
33587
|
+
* getIntegrationsBotconnectorBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33588
|
+
*/
|
|
33589
|
+
getIntegrationsBotconnectorBots(integrationId, opts) {
|
|
33590
|
+
opts = opts || {};
|
|
33591
|
+
|
|
33592
|
+
// verify the required parameter 'integrationId' is set
|
|
33593
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33594
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';
|
|
33595
|
+
}
|
|
33596
|
+
|
|
33597
|
+
return this.apiClient.callApi(
|
|
33598
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots',
|
|
33599
|
+
'GET',
|
|
33600
|
+
{ 'integrationId': integrationId },
|
|
33601
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
33602
|
+
{ },
|
|
33603
|
+
{ },
|
|
33604
|
+
null,
|
|
33605
|
+
['PureCloud OAuth'],
|
|
33606
|
+
['application/json'],
|
|
33607
|
+
['application/json']
|
|
33608
|
+
);
|
|
33609
|
+
}
|
|
33610
|
+
|
|
33611
|
+
/**
|
|
33612
|
+
* Get the summary list of bots for this integration.
|
|
33613
|
+
*
|
|
33614
|
+
* @param {String} integrationId The integration ID for this group of bots.
|
|
33615
|
+
* @param {Object} opts Optional parameters
|
|
33616
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
33617
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
33618
|
+
* getIntegrationsBotconnectorBotsSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33619
|
+
*/
|
|
33620
|
+
getIntegrationsBotconnectorBotsSummaries(integrationId, opts) {
|
|
33621
|
+
opts = opts || {};
|
|
33622
|
+
|
|
33623
|
+
// verify the required parameter 'integrationId' is set
|
|
33624
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33625
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';
|
|
33626
|
+
}
|
|
33627
|
+
|
|
33628
|
+
return this.apiClient.callApi(
|
|
33629
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots/summaries',
|
|
33630
|
+
'GET',
|
|
33631
|
+
{ 'integrationId': integrationId },
|
|
33632
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
33633
|
+
{ },
|
|
33634
|
+
{ },
|
|
33635
|
+
null,
|
|
33636
|
+
['PureCloud OAuth'],
|
|
33637
|
+
['application/json'],
|
|
33638
|
+
['application/json']
|
|
33639
|
+
);
|
|
33640
|
+
}
|
|
33641
|
+
|
|
33397
33642
|
/**
|
|
33398
33643
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
33399
33644
|
*
|
|
@@ -34873,6 +35118,58 @@ class IntegrationsApi {
|
|
|
34873
35118
|
);
|
|
34874
35119
|
}
|
|
34875
35120
|
|
|
35121
|
+
/**
|
|
35122
|
+
* Send an incoming message to the bot.
|
|
35123
|
+
*
|
|
35124
|
+
* @param {Object} body Incoming Message Request
|
|
35125
|
+
* postIntegrationsBotconnectorsIncomingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35126
|
+
*/
|
|
35127
|
+
postIntegrationsBotconnectorsIncomingMessages(body) {
|
|
35128
|
+
// verify the required parameter 'body' is set
|
|
35129
|
+
if (body === undefined || body === null) {
|
|
35130
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';
|
|
35131
|
+
}
|
|
35132
|
+
|
|
35133
|
+
return this.apiClient.callApi(
|
|
35134
|
+
'/api/v2/integrations/botconnectors/incoming/messages',
|
|
35135
|
+
'POST',
|
|
35136
|
+
{ },
|
|
35137
|
+
{ },
|
|
35138
|
+
{ },
|
|
35139
|
+
{ },
|
|
35140
|
+
body,
|
|
35141
|
+
['PureCloud OAuth'],
|
|
35142
|
+
['application/json'],
|
|
35143
|
+
['application/json']
|
|
35144
|
+
);
|
|
35145
|
+
}
|
|
35146
|
+
|
|
35147
|
+
/**
|
|
35148
|
+
* Send an outgoing message to the end user.
|
|
35149
|
+
*
|
|
35150
|
+
* @param {Object} body Outgoing Message Request
|
|
35151
|
+
* postIntegrationsBotconnectorsOutgoingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35152
|
+
*/
|
|
35153
|
+
postIntegrationsBotconnectorsOutgoingMessages(body) {
|
|
35154
|
+
// verify the required parameter 'body' is set
|
|
35155
|
+
if (body === undefined || body === null) {
|
|
35156
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';
|
|
35157
|
+
}
|
|
35158
|
+
|
|
35159
|
+
return this.apiClient.callApi(
|
|
35160
|
+
'/api/v2/integrations/botconnectors/outgoing/messages',
|
|
35161
|
+
'POST',
|
|
35162
|
+
{ },
|
|
35163
|
+
{ },
|
|
35164
|
+
{ },
|
|
35165
|
+
{ },
|
|
35166
|
+
body,
|
|
35167
|
+
['PureCloud OAuth'],
|
|
35168
|
+
['application/json'],
|
|
35169
|
+
['application/json']
|
|
35170
|
+
);
|
|
35171
|
+
}
|
|
35172
|
+
|
|
34876
35173
|
/**
|
|
34877
35174
|
* Create a set of credentials
|
|
34878
35175
|
*
|
|
@@ -35232,7 +35529,7 @@ class JourneyApi {
|
|
|
35232
35529
|
/**
|
|
35233
35530
|
* Journey service.
|
|
35234
35531
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
35235
|
-
* @version
|
|
35532
|
+
* @version 223.0.0
|
|
35236
35533
|
*/
|
|
35237
35534
|
|
|
35238
35535
|
/**
|
|
@@ -37217,7 +37514,7 @@ class KnowledgeApi {
|
|
|
37217
37514
|
/**
|
|
37218
37515
|
* Knowledge service.
|
|
37219
37516
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
37220
|
-
* @version
|
|
37517
|
+
* @version 223.0.0
|
|
37221
37518
|
*/
|
|
37222
37519
|
|
|
37223
37520
|
/**
|
|
@@ -41090,7 +41387,7 @@ class LanguageUnderstandingApi {
|
|
|
41090
41387
|
/**
|
|
41091
41388
|
* LanguageUnderstanding service.
|
|
41092
41389
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41093
|
-
* @version
|
|
41390
|
+
* @version 223.0.0
|
|
41094
41391
|
*/
|
|
41095
41392
|
|
|
41096
41393
|
/**
|
|
@@ -42123,7 +42420,7 @@ class LanguagesApi {
|
|
|
42123
42420
|
/**
|
|
42124
42421
|
* Languages service.
|
|
42125
42422
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42126
|
-
* @version
|
|
42423
|
+
* @version 223.0.0
|
|
42127
42424
|
*/
|
|
42128
42425
|
|
|
42129
42426
|
/**
|
|
@@ -42345,7 +42642,7 @@ class LearningApi {
|
|
|
42345
42642
|
/**
|
|
42346
42643
|
* Learning service.
|
|
42347
42644
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42348
|
-
* @version
|
|
42645
|
+
* @version 223.0.0
|
|
42349
42646
|
*/
|
|
42350
42647
|
|
|
42351
42648
|
/**
|
|
@@ -43374,7 +43671,7 @@ class LicenseApi {
|
|
|
43374
43671
|
/**
|
|
43375
43672
|
* License service.
|
|
43376
43673
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43377
|
-
* @version
|
|
43674
|
+
* @version 223.0.0
|
|
43378
43675
|
*/
|
|
43379
43676
|
|
|
43380
43677
|
/**
|
|
@@ -43612,7 +43909,7 @@ class LocationsApi {
|
|
|
43612
43909
|
/**
|
|
43613
43910
|
* Locations service.
|
|
43614
43911
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43615
|
-
* @version
|
|
43912
|
+
* @version 223.0.0
|
|
43616
43913
|
*/
|
|
43617
43914
|
|
|
43618
43915
|
/**
|
|
@@ -43848,7 +44145,7 @@ class LogCaptureApi {
|
|
|
43848
44145
|
/**
|
|
43849
44146
|
* LogCapture service.
|
|
43850
44147
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
43851
|
-
* @version
|
|
44148
|
+
* @version 223.0.0
|
|
43852
44149
|
*/
|
|
43853
44150
|
|
|
43854
44151
|
/**
|
|
@@ -43990,7 +44287,6 @@ class LogCaptureApi {
|
|
|
43990
44287
|
* Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
|
|
43991
44288
|
*
|
|
43992
44289
|
* @param {Object} opts Optional parameters
|
|
43993
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
43994
44290
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
43995
44291
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
43996
44292
|
* @param {Object} opts.body
|
|
@@ -44003,7 +44299,7 @@ class LogCaptureApi {
|
|
|
44003
44299
|
'/api/v2/diagnostics/logcapture/browser/entries/query',
|
|
44004
44300
|
'POST',
|
|
44005
44301
|
{ },
|
|
44006
|
-
{ '
|
|
44302
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
44007
44303
|
{ },
|
|
44008
44304
|
{ },
|
|
44009
44305
|
opts['body'],
|
|
@@ -44048,7 +44344,7 @@ class MessagingApi {
|
|
|
44048
44344
|
/**
|
|
44049
44345
|
* Messaging service.
|
|
44050
44346
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
44051
|
-
* @version
|
|
44347
|
+
* @version 223.0.0
|
|
44052
44348
|
*/
|
|
44053
44349
|
|
|
44054
44350
|
/**
|
|
@@ -44407,7 +44703,7 @@ class MobileDevicesApi {
|
|
|
44407
44703
|
/**
|
|
44408
44704
|
* MobileDevices service.
|
|
44409
44705
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44410
|
-
* @version
|
|
44706
|
+
* @version 223.0.0
|
|
44411
44707
|
*/
|
|
44412
44708
|
|
|
44413
44709
|
/**
|
|
@@ -44558,7 +44854,7 @@ class NotificationsApi {
|
|
|
44558
44854
|
/**
|
|
44559
44855
|
* Notifications service.
|
|
44560
44856
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44561
|
-
* @version
|
|
44857
|
+
* @version 223.0.0
|
|
44562
44858
|
*/
|
|
44563
44859
|
|
|
44564
44860
|
/**
|
|
@@ -44791,7 +45087,7 @@ class OAuthApi {
|
|
|
44791
45087
|
/**
|
|
44792
45088
|
* OAuth service.
|
|
44793
45089
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
44794
|
-
* @version
|
|
45090
|
+
* @version 223.0.0
|
|
44795
45091
|
*/
|
|
44796
45092
|
|
|
44797
45093
|
/**
|
|
@@ -45157,7 +45453,7 @@ class ObjectsApi {
|
|
|
45157
45453
|
/**
|
|
45158
45454
|
* Objects service.
|
|
45159
45455
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
45160
|
-
* @version
|
|
45456
|
+
* @version 223.0.0
|
|
45161
45457
|
*/
|
|
45162
45458
|
|
|
45163
45459
|
/**
|
|
@@ -45481,7 +45777,7 @@ class OperationalEventsApi {
|
|
|
45481
45777
|
/**
|
|
45482
45778
|
* OperationalEvents service.
|
|
45483
45779
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
45484
|
-
* @version
|
|
45780
|
+
* @version 223.0.0
|
|
45485
45781
|
*/
|
|
45486
45782
|
|
|
45487
45783
|
/**
|
|
@@ -45598,7 +45894,7 @@ class OrganizationApi {
|
|
|
45598
45894
|
/**
|
|
45599
45895
|
* Organization service.
|
|
45600
45896
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45601
|
-
* @version
|
|
45897
|
+
* @version 223.0.0
|
|
45602
45898
|
*/
|
|
45603
45899
|
|
|
45604
45900
|
/**
|
|
@@ -46073,7 +46369,7 @@ class OrganizationAuthorizationApi {
|
|
|
46073
46369
|
/**
|
|
46074
46370
|
* OrganizationAuthorization service.
|
|
46075
46371
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
46076
|
-
* @version
|
|
46372
|
+
* @version 223.0.0
|
|
46077
46373
|
*/
|
|
46078
46374
|
|
|
46079
46375
|
/**
|
|
@@ -47467,7 +47763,7 @@ class OutboundApi {
|
|
|
47467
47763
|
/**
|
|
47468
47764
|
* Outbound service.
|
|
47469
47765
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
47470
|
-
* @version
|
|
47766
|
+
* @version 223.0.0
|
|
47471
47767
|
*/
|
|
47472
47768
|
|
|
47473
47769
|
/**
|
|
@@ -52089,7 +52385,7 @@ class PresenceApi {
|
|
|
52089
52385
|
/**
|
|
52090
52386
|
* Presence service.
|
|
52091
52387
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
52092
|
-
* @version
|
|
52388
|
+
* @version 223.0.0
|
|
52093
52389
|
*/
|
|
52094
52390
|
|
|
52095
52391
|
/**
|
|
@@ -52833,7 +53129,7 @@ class ProcessAutomationApi {
|
|
|
52833
53129
|
/**
|
|
52834
53130
|
* ProcessAutomation service.
|
|
52835
53131
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
52836
|
-
* @version
|
|
53132
|
+
* @version 223.0.0
|
|
52837
53133
|
*/
|
|
52838
53134
|
|
|
52839
53135
|
/**
|
|
@@ -53072,7 +53368,7 @@ class QualityApi {
|
|
|
53072
53368
|
/**
|
|
53073
53369
|
* Quality service.
|
|
53074
53370
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
53075
|
-
* @version
|
|
53371
|
+
* @version 223.0.0
|
|
53076
53372
|
*/
|
|
53077
53373
|
|
|
53078
53374
|
/**
|
|
@@ -54859,7 +55155,7 @@ class RecordingApi {
|
|
|
54859
55155
|
/**
|
|
54860
55156
|
* Recording service.
|
|
54861
55157
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
54862
|
-
* @version
|
|
55158
|
+
* @version 223.0.0
|
|
54863
55159
|
*/
|
|
54864
55160
|
|
|
54865
55161
|
/**
|
|
@@ -56464,7 +56760,7 @@ class ResponseManagementApi {
|
|
|
56464
56760
|
/**
|
|
56465
56761
|
* ResponseManagement service.
|
|
56466
56762
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
56467
|
-
* @version
|
|
56763
|
+
* @version 223.0.0
|
|
56468
56764
|
*/
|
|
56469
56765
|
|
|
56470
56766
|
/**
|
|
@@ -56974,7 +57270,7 @@ class RoutingApi {
|
|
|
56974
57270
|
/**
|
|
56975
57271
|
* Routing service.
|
|
56976
57272
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
56977
|
-
* @version
|
|
57273
|
+
* @version 223.0.0
|
|
56978
57274
|
*/
|
|
56979
57275
|
|
|
56980
57276
|
/**
|
|
@@ -61284,7 +61580,7 @@ class SCIMApi {
|
|
|
61284
61580
|
/**
|
|
61285
61581
|
* SCIM service.
|
|
61286
61582
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
61287
|
-
* @version
|
|
61583
|
+
* @version 223.0.0
|
|
61288
61584
|
*/
|
|
61289
61585
|
|
|
61290
61586
|
/**
|
|
@@ -62161,7 +62457,7 @@ class ScreenRecordingApi {
|
|
|
62161
62457
|
/**
|
|
62162
62458
|
* ScreenRecording service.
|
|
62163
62459
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
62164
|
-
* @version
|
|
62460
|
+
* @version 223.0.0
|
|
62165
62461
|
*/
|
|
62166
62462
|
|
|
62167
62463
|
/**
|
|
@@ -62206,7 +62502,7 @@ class ScriptsApi {
|
|
|
62206
62502
|
/**
|
|
62207
62503
|
* Scripts service.
|
|
62208
62504
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
62209
|
-
* @version
|
|
62505
|
+
* @version 223.0.0
|
|
62210
62506
|
*/
|
|
62211
62507
|
|
|
62212
62508
|
/**
|
|
@@ -62682,7 +62978,7 @@ class SearchApi {
|
|
|
62682
62978
|
/**
|
|
62683
62979
|
* Search service.
|
|
62684
62980
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
62685
|
-
* @version
|
|
62981
|
+
* @version 223.0.0
|
|
62686
62982
|
*/
|
|
62687
62983
|
|
|
62688
62984
|
/**
|
|
@@ -63425,7 +63721,7 @@ class SettingsApi {
|
|
|
63425
63721
|
/**
|
|
63426
63722
|
* Settings service.
|
|
63427
63723
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
63428
|
-
* @version
|
|
63724
|
+
* @version 223.0.0
|
|
63429
63725
|
*/
|
|
63430
63726
|
|
|
63431
63727
|
/**
|
|
@@ -63773,7 +64069,7 @@ class SocialMediaApi {
|
|
|
63773
64069
|
/**
|
|
63774
64070
|
* SocialMedia service.
|
|
63775
64071
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
63776
|
-
* @version
|
|
64072
|
+
* @version 223.0.0
|
|
63777
64073
|
*/
|
|
63778
64074
|
|
|
63779
64075
|
/**
|
|
@@ -63909,7 +64205,6 @@ class SocialMediaApi {
|
|
|
63909
64205
|
* @param {String} openId openId
|
|
63910
64206
|
* @param {Object} opts Optional parameters
|
|
63911
64207
|
* @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
63912
|
-
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
63913
64208
|
*/
|
|
63914
64209
|
deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
63915
64210
|
opts = opts || {};
|
|
@@ -64310,7 +64605,6 @@ class SocialMediaApi {
|
|
|
64310
64605
|
* @param {String} openId openId
|
|
64311
64606
|
* @param {Object} opts Optional parameters
|
|
64312
64607
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
64313
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64314
64608
|
*/
|
|
64315
64609
|
getSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64316
64610
|
opts = opts || {};
|
|
@@ -64346,7 +64640,6 @@ class SocialMediaApi {
|
|
|
64346
64640
|
* @param {String} dataIngestionRuleVersion version
|
|
64347
64641
|
* @param {Object} opts Optional parameters
|
|
64348
64642
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
64349
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64350
64643
|
*/
|
|
64351
64644
|
getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId, openId, dataIngestionRuleVersion, opts) {
|
|
64352
64645
|
opts = opts || {};
|
|
@@ -64387,7 +64680,6 @@ class SocialMediaApi {
|
|
|
64387
64680
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
64388
64681
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
64389
64682
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
64390
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64391
64683
|
*/
|
|
64392
64684
|
getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId, openId, opts) {
|
|
64393
64685
|
opts = opts || {};
|
|
@@ -64621,7 +64913,6 @@ class SocialMediaApi {
|
|
|
64621
64913
|
* @param {String} openId openId
|
|
64622
64914
|
* @param {Object} opts Optional parameters
|
|
64623
64915
|
* @param {Object} opts.body
|
|
64624
|
-
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64625
64916
|
*/
|
|
64626
64917
|
patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64627
64918
|
opts = opts || {};
|
|
@@ -64821,7 +65112,6 @@ class SocialMediaApi {
|
|
|
64821
65112
|
* @param {String} topicId topicId
|
|
64822
65113
|
* @param {Object} opts Optional parameters
|
|
64823
65114
|
* @param {Object} opts.body
|
|
64824
|
-
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64825
65115
|
*/
|
|
64826
65116
|
postSocialmediaTopicDataingestionrulesOpen(topicId, opts) {
|
|
64827
65117
|
opts = opts || {};
|
|
@@ -64845,6 +65135,76 @@ class SocialMediaApi {
|
|
|
64845
65135
|
);
|
|
64846
65136
|
}
|
|
64847
65137
|
|
|
65138
|
+
/**
|
|
65139
|
+
* Ingest a list of Open Social Messages
|
|
65140
|
+
* Ingest a list of open social messages to an ingestion rule on a topic. This endpoint will ingest and enrich these messages. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
|
|
65141
|
+
* @param {String} topicId Topic ID
|
|
65142
|
+
* @param {String} ruleId Data Ingestion Rule ID
|
|
65143
|
+
* @param {Array.<Object>} body NormalizedMessage
|
|
65144
|
+
*/
|
|
65145
|
+
postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
|
|
65146
|
+
// verify the required parameter 'topicId' is set
|
|
65147
|
+
if (topicId === undefined || topicId === null) {
|
|
65148
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65149
|
+
}
|
|
65150
|
+
// verify the required parameter 'ruleId' is set
|
|
65151
|
+
if (ruleId === undefined || ruleId === null) {
|
|
65152
|
+
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65153
|
+
}
|
|
65154
|
+
// verify the required parameter 'body' is set
|
|
65155
|
+
if (body === undefined || body === null) {
|
|
65156
|
+
throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65157
|
+
}
|
|
65158
|
+
|
|
65159
|
+
return this.apiClient.callApi(
|
|
65160
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk',
|
|
65161
|
+
'POST',
|
|
65162
|
+
{ 'topicId': topicId,'ruleId': ruleId },
|
|
65163
|
+
{ },
|
|
65164
|
+
{ },
|
|
65165
|
+
{ },
|
|
65166
|
+
body,
|
|
65167
|
+
['PureCloud OAuth'],
|
|
65168
|
+
['application/json'],
|
|
65169
|
+
['application/json']
|
|
65170
|
+
);
|
|
65171
|
+
}
|
|
65172
|
+
|
|
65173
|
+
/**
|
|
65174
|
+
* Ingest a list of Open Social Reactions
|
|
65175
|
+
* Ingest a list of open social reactions to an ingestion rule on a topic. This endpoint will ingest these reactions. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
|
|
65176
|
+
* @param {String} topicId Topic ID
|
|
65177
|
+
* @param {String} ruleId Data Ingestion Rule ID
|
|
65178
|
+
* @param {Object} body NormalizedEvent
|
|
65179
|
+
*/
|
|
65180
|
+
postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
|
|
65181
|
+
// verify the required parameter 'topicId' is set
|
|
65182
|
+
if (topicId === undefined || topicId === null) {
|
|
65183
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65184
|
+
}
|
|
65185
|
+
// verify the required parameter 'ruleId' is set
|
|
65186
|
+
if (ruleId === undefined || ruleId === null) {
|
|
65187
|
+
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65188
|
+
}
|
|
65189
|
+
// verify the required parameter 'body' is set
|
|
65190
|
+
if (body === undefined || body === null) {
|
|
65191
|
+
throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65192
|
+
}
|
|
65193
|
+
|
|
65194
|
+
return this.apiClient.callApi(
|
|
65195
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk',
|
|
65196
|
+
'POST',
|
|
65197
|
+
{ 'topicId': topicId,'ruleId': ruleId },
|
|
65198
|
+
{ },
|
|
65199
|
+
{ },
|
|
65200
|
+
{ },
|
|
65201
|
+
body,
|
|
65202
|
+
['PureCloud OAuth'],
|
|
65203
|
+
['application/json'],
|
|
65204
|
+
['application/json']
|
|
65205
|
+
);
|
|
65206
|
+
}
|
|
65207
|
+
|
|
64848
65208
|
/**
|
|
64849
65209
|
* Create an twitter data ingestion rule.
|
|
64850
65210
|
*
|
|
@@ -64993,7 +65353,6 @@ class SocialMediaApi {
|
|
|
64993
65353
|
* @param {String} openId openId
|
|
64994
65354
|
* @param {Object} opts Optional parameters
|
|
64995
65355
|
* @param {Object} opts.body
|
|
64996
|
-
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64997
65356
|
*/
|
|
64998
65357
|
putSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64999
65358
|
opts = opts || {};
|
|
@@ -65061,7 +65420,7 @@ class SpeechTextAnalyticsApi {
|
|
|
65061
65420
|
/**
|
|
65062
65421
|
* SpeechTextAnalytics service.
|
|
65063
65422
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
65064
|
-
* @version
|
|
65423
|
+
* @version 223.0.0
|
|
65065
65424
|
*/
|
|
65066
65425
|
|
|
65067
65426
|
/**
|
|
@@ -65955,6 +66314,31 @@ class SpeechTextAnalyticsApi {
|
|
|
65955
66314
|
);
|
|
65956
66315
|
}
|
|
65957
66316
|
|
|
66317
|
+
/**
|
|
66318
|
+
* Get a Speech and Text Analytics test topics phrase job by id
|
|
66319
|
+
*
|
|
66320
|
+
* @param {String} jobId the id of the test topic phrase job
|
|
66321
|
+
*/
|
|
66322
|
+
getSpeechandtextanalyticsTopicsTestphraseJob(jobId) {
|
|
66323
|
+
// verify the required parameter 'jobId' is set
|
|
66324
|
+
if (jobId === undefined || jobId === null) {
|
|
66325
|
+
throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';
|
|
66326
|
+
}
|
|
66327
|
+
|
|
66328
|
+
return this.apiClient.callApi(
|
|
66329
|
+
'/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}',
|
|
66330
|
+
'GET',
|
|
66331
|
+
{ 'jobId': jobId },
|
|
66332
|
+
{ },
|
|
66333
|
+
{ },
|
|
66334
|
+
{ },
|
|
66335
|
+
null,
|
|
66336
|
+
['PureCloud OAuth'],
|
|
66337
|
+
['application/json'],
|
|
66338
|
+
['application/json']
|
|
66339
|
+
);
|
|
66340
|
+
}
|
|
66341
|
+
|
|
65958
66342
|
/**
|
|
65959
66343
|
* Translate a single interaction recording (or an email conversation)
|
|
65960
66344
|
*
|
|
@@ -66235,6 +66619,31 @@ class SpeechTextAnalyticsApi {
|
|
|
66235
66619
|
);
|
|
66236
66620
|
}
|
|
66237
66621
|
|
|
66622
|
+
/**
|
|
66623
|
+
* Create new Speech and Text Analytics publish topics job
|
|
66624
|
+
*
|
|
66625
|
+
* @param {Object} body The publish test topic phrase job to create
|
|
66626
|
+
*/
|
|
66627
|
+
postSpeechandtextanalyticsTopicsTestphraseJobs(body) {
|
|
66628
|
+
// verify the required parameter 'body' is set
|
|
66629
|
+
if (body === undefined || body === null) {
|
|
66630
|
+
throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';
|
|
66631
|
+
}
|
|
66632
|
+
|
|
66633
|
+
return this.apiClient.callApi(
|
|
66634
|
+
'/api/v2/speechandtextanalytics/topics/testphrase/jobs',
|
|
66635
|
+
'POST',
|
|
66636
|
+
{ },
|
|
66637
|
+
{ },
|
|
66638
|
+
{ },
|
|
66639
|
+
{ },
|
|
66640
|
+
body,
|
|
66641
|
+
['PureCloud OAuth'],
|
|
66642
|
+
['application/json'],
|
|
66643
|
+
['application/json']
|
|
66644
|
+
);
|
|
66645
|
+
}
|
|
66646
|
+
|
|
66238
66647
|
/**
|
|
66239
66648
|
* Search resources.
|
|
66240
66649
|
*
|
|
@@ -66500,7 +66909,7 @@ class StationsApi {
|
|
|
66500
66909
|
/**
|
|
66501
66910
|
* Stations service.
|
|
66502
66911
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
66503
|
-
* @version
|
|
66912
|
+
* @version 223.0.0
|
|
66504
66913
|
*/
|
|
66505
66914
|
|
|
66506
66915
|
/**
|
|
@@ -66602,7 +67011,7 @@ class SuggestApi {
|
|
|
66602
67011
|
/**
|
|
66603
67012
|
* Suggest service.
|
|
66604
67013
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
66605
|
-
* @version
|
|
67014
|
+
* @version 223.0.0
|
|
66606
67015
|
*/
|
|
66607
67016
|
|
|
66608
67017
|
/**
|
|
@@ -66741,7 +67150,7 @@ class TaskManagementApi {
|
|
|
66741
67150
|
/**
|
|
66742
67151
|
* TaskManagement service.
|
|
66743
67152
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
66744
|
-
* @version
|
|
67153
|
+
* @version 223.0.0
|
|
66745
67154
|
*/
|
|
66746
67155
|
|
|
66747
67156
|
/**
|
|
@@ -67611,7 +68020,7 @@ class TaskManagementApi {
|
|
|
67611
68020
|
}
|
|
67612
68021
|
|
|
67613
68022
|
/**
|
|
67614
|
-
* Get
|
|
68023
|
+
* Get a specific named core type.
|
|
67615
68024
|
*
|
|
67616
68025
|
* @param {String} coreTypeName Name of the core type
|
|
67617
68026
|
*/
|
|
@@ -68903,7 +69312,7 @@ class TeamsApi {
|
|
|
68903
69312
|
/**
|
|
68904
69313
|
* Teams service.
|
|
68905
69314
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
68906
|
-
* @version
|
|
69315
|
+
* @version 223.0.0
|
|
68907
69316
|
*/
|
|
68908
69317
|
|
|
68909
69318
|
/**
|
|
@@ -69208,7 +69617,7 @@ class TelephonyApi {
|
|
|
69208
69617
|
/**
|
|
69209
69618
|
* Telephony service.
|
|
69210
69619
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
69211
|
-
* @version
|
|
69620
|
+
* @version 223.0.0
|
|
69212
69621
|
*/
|
|
69213
69622
|
|
|
69214
69623
|
/**
|
|
@@ -69390,7 +69799,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
69390
69799
|
/**
|
|
69391
69800
|
* TelephonyProvidersEdge service.
|
|
69392
69801
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
69393
|
-
* @version
|
|
69802
|
+
* @version 223.0.0
|
|
69394
69803
|
*/
|
|
69395
69804
|
|
|
69396
69805
|
/**
|
|
@@ -72842,7 +73251,7 @@ class TextbotsApi {
|
|
|
72842
73251
|
/**
|
|
72843
73252
|
* Textbots service.
|
|
72844
73253
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
72845
|
-
* @version
|
|
73254
|
+
* @version 223.0.0
|
|
72846
73255
|
*/
|
|
72847
73256
|
|
|
72848
73257
|
/**
|
|
@@ -72864,6 +73273,7 @@ class TextbotsApi {
|
|
|
72864
73273
|
* @param {Array.<String>} opts.botType Bot types
|
|
72865
73274
|
* @param {String} opts.botName Bot name
|
|
72866
73275
|
* @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
|
|
73276
|
+
* @param {Boolean} opts.virtualAgentEnabled Include or exclude virtual agent flows, only applies to GenesysBotFlows or GenesysDigitalBotFlows
|
|
72867
73277
|
* @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
|
|
72868
73278
|
*/
|
|
72869
73279
|
getTextbotsBotsSearch(opts) {
|
|
@@ -72874,7 +73284,7 @@ class TextbotsApi {
|
|
|
72874
73284
|
'/api/v2/textbots/bots/search',
|
|
72875
73285
|
'GET',
|
|
72876
73286
|
{ },
|
|
72877
|
-
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
73287
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'virtualAgentEnabled': opts['virtualAgentEnabled'],'pageSize': opts['pageSize'] },
|
|
72878
73288
|
{ },
|
|
72879
73289
|
{ },
|
|
72880
73290
|
null,
|
|
@@ -72970,7 +73380,7 @@ class TokensApi {
|
|
|
72970
73380
|
/**
|
|
72971
73381
|
* Tokens service.
|
|
72972
73382
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
72973
|
-
* @version
|
|
73383
|
+
* @version 223.0.0
|
|
72974
73384
|
*/
|
|
72975
73385
|
|
|
72976
73386
|
/**
|
|
@@ -73124,7 +73534,7 @@ class UploadsApi {
|
|
|
73124
73534
|
/**
|
|
73125
73535
|
* Uploads service.
|
|
73126
73536
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
73127
|
-
* @version
|
|
73537
|
+
* @version 223.0.0
|
|
73128
73538
|
*/
|
|
73129
73539
|
|
|
73130
73540
|
/**
|
|
@@ -73415,7 +73825,7 @@ class UsageApi {
|
|
|
73415
73825
|
/**
|
|
73416
73826
|
* Usage service.
|
|
73417
73827
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
73418
|
-
* @version
|
|
73828
|
+
* @version 223.0.0
|
|
73419
73829
|
*/
|
|
73420
73830
|
|
|
73421
73831
|
/**
|
|
@@ -73630,7 +74040,7 @@ class UserRecordingsApi {
|
|
|
73630
74040
|
/**
|
|
73631
74041
|
* UserRecordings service.
|
|
73632
74042
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
73633
|
-
* @version
|
|
74043
|
+
* @version 223.0.0
|
|
73634
74044
|
*/
|
|
73635
74045
|
|
|
73636
74046
|
/**
|
|
@@ -73845,7 +74255,7 @@ class UsersApi {
|
|
|
73845
74255
|
/**
|
|
73846
74256
|
* Users service.
|
|
73847
74257
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
73848
|
-
* @version
|
|
74258
|
+
* @version 223.0.0
|
|
73849
74259
|
*/
|
|
73850
74260
|
|
|
73851
74261
|
/**
|
|
@@ -76798,7 +77208,7 @@ class UtilitiesApi {
|
|
|
76798
77208
|
/**
|
|
76799
77209
|
* Utilities service.
|
|
76800
77210
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
76801
|
-
* @version
|
|
77211
|
+
* @version 223.0.0
|
|
76802
77212
|
*/
|
|
76803
77213
|
|
|
76804
77214
|
/**
|
|
@@ -76909,7 +77319,7 @@ class VoicemailApi {
|
|
|
76909
77319
|
/**
|
|
76910
77320
|
* Voicemail service.
|
|
76911
77321
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
76912
|
-
* @version
|
|
77322
|
+
* @version 223.0.0
|
|
76913
77323
|
*/
|
|
76914
77324
|
|
|
76915
77325
|
/**
|
|
@@ -77631,7 +78041,7 @@ class WebChatApi {
|
|
|
77631
78041
|
/**
|
|
77632
78042
|
* WebChat service.
|
|
77633
78043
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
77634
|
-
* @version
|
|
78044
|
+
* @version 223.0.0
|
|
77635
78045
|
*/
|
|
77636
78046
|
|
|
77637
78047
|
/**
|
|
@@ -78191,7 +78601,7 @@ class WebDeploymentsApi {
|
|
|
78191
78601
|
/**
|
|
78192
78602
|
* WebDeployments service.
|
|
78193
78603
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
78194
|
-
* @version
|
|
78604
|
+
* @version 223.0.0
|
|
78195
78605
|
*/
|
|
78196
78606
|
|
|
78197
78607
|
/**
|
|
@@ -78773,7 +79183,7 @@ class WebMessagingApi {
|
|
|
78773
79183
|
/**
|
|
78774
79184
|
* WebMessaging service.
|
|
78775
79185
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
78776
|
-
* @version
|
|
79186
|
+
* @version 223.0.0
|
|
78777
79187
|
*/
|
|
78778
79188
|
|
|
78779
79189
|
/**
|
|
@@ -78819,7 +79229,7 @@ class WidgetsApi {
|
|
|
78819
79229
|
/**
|
|
78820
79230
|
* Widgets service.
|
|
78821
79231
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
78822
|
-
* @version
|
|
79232
|
+
* @version 223.0.0
|
|
78823
79233
|
*/
|
|
78824
79234
|
|
|
78825
79235
|
/**
|
|
@@ -78970,7 +79380,7 @@ class WorkforceManagementApi {
|
|
|
78970
79380
|
/**
|
|
78971
79381
|
* WorkforceManagement service.
|
|
78972
79382
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
78973
|
-
* @version
|
|
79383
|
+
* @version 223.0.0
|
|
78974
79384
|
*/
|
|
78975
79385
|
|
|
78976
79386
|
/**
|
|
@@ -82169,6 +82579,7 @@ class WorkforceManagementApi {
|
|
|
82169
82579
|
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
82170
82580
|
* @param {Object} opts Optional parameters
|
|
82171
82581
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
82582
|
+
* @param {Boolean} opts.includeCrossWeekShifts Whether to include all shift trades with either the initiating shift or the receiving shift in the week (default to false)
|
|
82172
82583
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
82173
82584
|
*/
|
|
82174
82585
|
getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
|
|
@@ -82187,7 +82598,7 @@ class WorkforceManagementApi {
|
|
|
82187
82598
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
|
|
82188
82599
|
'GET',
|
|
82189
82600
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
82190
|
-
{ 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
|
|
82601
|
+
{ 'evaluateMatches': opts['evaluateMatches'],'includeCrossWeekShifts': opts['includeCrossWeekShifts'],'forceDownloadService': opts['forceDownloadService'] },
|
|
82191
82602
|
{ },
|
|
82192
82603
|
{ },
|
|
82193
82604
|
null,
|
|
@@ -82691,16 +83102,17 @@ class WorkforceManagementApi {
|
|
|
82691
83102
|
* Update my alternative shifts trade by trade ID
|
|
82692
83103
|
*
|
|
82693
83104
|
* @param {String} tradeId The ID of the alternative shift trade
|
|
82694
|
-
* @param {Object}
|
|
82695
|
-
* @param {Object} opts.body body
|
|
83105
|
+
* @param {Object} body body
|
|
82696
83106
|
*/
|
|
82697
|
-
patchWorkforcemanagementAlternativeshiftsTrade(tradeId,
|
|
82698
|
-
opts = opts || {};
|
|
82699
|
-
|
|
83107
|
+
patchWorkforcemanagementAlternativeshiftsTrade(tradeId, body) {
|
|
82700
83108
|
// verify the required parameter 'tradeId' is set
|
|
82701
83109
|
if (tradeId === undefined || tradeId === null) {
|
|
82702
83110
|
throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
82703
83111
|
}
|
|
83112
|
+
// verify the required parameter 'body' is set
|
|
83113
|
+
if (body === undefined || body === null) {
|
|
83114
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
83115
|
+
}
|
|
82704
83116
|
|
|
82705
83117
|
return this.apiClient.callApi(
|
|
82706
83118
|
'/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
|
|
@@ -82709,7 +83121,7 @@ class WorkforceManagementApi {
|
|
|
82709
83121
|
{ },
|
|
82710
83122
|
{ },
|
|
82711
83123
|
{ },
|
|
82712
|
-
|
|
83124
|
+
body,
|
|
82713
83125
|
['PureCloud OAuth'],
|
|
82714
83126
|
['application/json'],
|
|
82715
83127
|
['application/json']
|
|
@@ -82745,16 +83157,17 @@ class WorkforceManagementApi {
|
|
|
82745
83157
|
* Update business unit
|
|
82746
83158
|
*
|
|
82747
83159
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
82748
|
-
* @param {Object}
|
|
82749
|
-
* @param {Object} opts.body body
|
|
83160
|
+
* @param {Object} body body
|
|
82750
83161
|
*/
|
|
82751
|
-
patchWorkforcemanagementBusinessunit(businessUnitId,
|
|
82752
|
-
opts = opts || {};
|
|
82753
|
-
|
|
83162
|
+
patchWorkforcemanagementBusinessunit(businessUnitId, body) {
|
|
82754
83163
|
// verify the required parameter 'businessUnitId' is set
|
|
82755
83164
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82756
83165
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';
|
|
82757
83166
|
}
|
|
83167
|
+
// verify the required parameter 'body' is set
|
|
83168
|
+
if (body === undefined || body === null) {
|
|
83169
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunit';
|
|
83170
|
+
}
|
|
82758
83171
|
|
|
82759
83172
|
return this.apiClient.callApi(
|
|
82760
83173
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}',
|
|
@@ -82763,7 +83176,7 @@ class WorkforceManagementApi {
|
|
|
82763
83176
|
{ },
|
|
82764
83177
|
{ },
|
|
82765
83178
|
{ },
|
|
82766
|
-
|
|
83179
|
+
body,
|
|
82767
83180
|
['PureCloud OAuth'],
|
|
82768
83181
|
['application/json'],
|
|
82769
83182
|
['application/json']
|
|
@@ -82775,12 +83188,9 @@ class WorkforceManagementApi {
|
|
|
82775
83188
|
*
|
|
82776
83189
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
82777
83190
|
* @param {String} activityCodeId The ID of the activity code to update
|
|
82778
|
-
* @param {Object}
|
|
82779
|
-
* @param {Object} opts.body body
|
|
83191
|
+
* @param {Object} body body
|
|
82780
83192
|
*/
|
|
82781
|
-
patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId,
|
|
82782
|
-
opts = opts || {};
|
|
82783
|
-
|
|
83193
|
+
patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, body) {
|
|
82784
83194
|
// verify the required parameter 'businessUnitId' is set
|
|
82785
83195
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82786
83196
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
@@ -82789,6 +83199,10 @@ class WorkforceManagementApi {
|
|
|
82789
83199
|
if (activityCodeId === undefined || activityCodeId === null) {
|
|
82790
83200
|
throw 'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
82791
83201
|
}
|
|
83202
|
+
// verify the required parameter 'body' is set
|
|
83203
|
+
if (body === undefined || body === null) {
|
|
83204
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
83205
|
+
}
|
|
82792
83206
|
|
|
82793
83207
|
return this.apiClient.callApi(
|
|
82794
83208
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}',
|
|
@@ -82797,7 +83211,7 @@ class WorkforceManagementApi {
|
|
|
82797
83211
|
{ },
|
|
82798
83212
|
{ },
|
|
82799
83213
|
{ },
|
|
82800
|
-
|
|
83214
|
+
body,
|
|
82801
83215
|
['PureCloud OAuth'],
|
|
82802
83216
|
['application/json'],
|
|
82803
83217
|
['application/json']
|
|
@@ -82843,16 +83257,17 @@ class WorkforceManagementApi {
|
|
|
82843
83257
|
* Update alternative shifts settings for a business unit
|
|
82844
83258
|
*
|
|
82845
83259
|
* @param {String} businessUnitId The ID of the business unit
|
|
82846
|
-
* @param {Object}
|
|
82847
|
-
* @param {Object} opts.body body
|
|
83260
|
+
* @param {Object} body body
|
|
82848
83261
|
*/
|
|
82849
|
-
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId,
|
|
82850
|
-
opts = opts || {};
|
|
82851
|
-
|
|
83262
|
+
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, body) {
|
|
82852
83263
|
// verify the required parameter 'businessUnitId' is set
|
|
82853
83264
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82854
83265
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
82855
83266
|
}
|
|
83267
|
+
// verify the required parameter 'body' is set
|
|
83268
|
+
if (body === undefined || body === null) {
|
|
83269
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
83270
|
+
}
|
|
82856
83271
|
|
|
82857
83272
|
return this.apiClient.callApi(
|
|
82858
83273
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
|
|
@@ -82861,7 +83276,7 @@ class WorkforceManagementApi {
|
|
|
82861
83276
|
{ },
|
|
82862
83277
|
{ },
|
|
82863
83278
|
{ },
|
|
82864
|
-
|
|
83279
|
+
body,
|
|
82865
83280
|
['PureCloud OAuth'],
|
|
82866
83281
|
['application/json'],
|
|
82867
83282
|
['application/json']
|
|
@@ -82873,12 +83288,9 @@ class WorkforceManagementApi {
|
|
|
82873
83288
|
*
|
|
82874
83289
|
* @param {String} businessUnitId The ID of the business unit.
|
|
82875
83290
|
* @param {String} planningGroupId The ID of a planning group to update
|
|
82876
|
-
* @param {Object}
|
|
82877
|
-
* @param {Object} opts.body body
|
|
83291
|
+
* @param {Object} body body
|
|
82878
83292
|
*/
|
|
82879
|
-
patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId,
|
|
82880
|
-
opts = opts || {};
|
|
82881
|
-
|
|
83293
|
+
patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, body) {
|
|
82882
83294
|
// verify the required parameter 'businessUnitId' is set
|
|
82883
83295
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82884
83296
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
@@ -82887,6 +83299,10 @@ class WorkforceManagementApi {
|
|
|
82887
83299
|
if (planningGroupId === undefined || planningGroupId === null) {
|
|
82888
83300
|
throw 'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
82889
83301
|
}
|
|
83302
|
+
// verify the required parameter 'body' is set
|
|
83303
|
+
if (body === undefined || body === null) {
|
|
83304
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
83305
|
+
}
|
|
82890
83306
|
|
|
82891
83307
|
return this.apiClient.callApi(
|
|
82892
83308
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}',
|
|
@@ -82895,7 +83311,7 @@ class WorkforceManagementApi {
|
|
|
82895
83311
|
{ },
|
|
82896
83312
|
{ },
|
|
82897
83313
|
{ },
|
|
82898
|
-
|
|
83314
|
+
body,
|
|
82899
83315
|
['PureCloud OAuth'],
|
|
82900
83316
|
['application/json'],
|
|
82901
83317
|
['application/json']
|
|
@@ -82907,12 +83323,9 @@ class WorkforceManagementApi {
|
|
|
82907
83323
|
*
|
|
82908
83324
|
* @param {String} businessUnitId The ID of the business unit
|
|
82909
83325
|
* @param {String} runId The ID of the schedule run
|
|
82910
|
-
* @param {Object}
|
|
82911
|
-
* @param {Object} opts.body body
|
|
83326
|
+
* @param {Object} body body
|
|
82912
83327
|
*/
|
|
82913
|
-
patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId,
|
|
82914
|
-
opts = opts || {};
|
|
82915
|
-
|
|
83328
|
+
patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, body) {
|
|
82916
83329
|
// verify the required parameter 'businessUnitId' is set
|
|
82917
83330
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82918
83331
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
@@ -82921,6 +83334,10 @@ class WorkforceManagementApi {
|
|
|
82921
83334
|
if (runId === undefined || runId === null) {
|
|
82922
83335
|
throw 'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
82923
83336
|
}
|
|
83337
|
+
// verify the required parameter 'body' is set
|
|
83338
|
+
if (body === undefined || body === null) {
|
|
83339
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
83340
|
+
}
|
|
82924
83341
|
|
|
82925
83342
|
return this.apiClient.callApi(
|
|
82926
83343
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}',
|
|
@@ -82929,7 +83346,7 @@ class WorkforceManagementApi {
|
|
|
82929
83346
|
{ },
|
|
82930
83347
|
{ },
|
|
82931
83348
|
{ },
|
|
82932
|
-
|
|
83349
|
+
body,
|
|
82933
83350
|
['PureCloud OAuth'],
|
|
82934
83351
|
['application/json'],
|
|
82935
83352
|
['application/json']
|
|
@@ -82941,12 +83358,9 @@ class WorkforceManagementApi {
|
|
|
82941
83358
|
*
|
|
82942
83359
|
* @param {String} businessUnitId The ID of the business unit.
|
|
82943
83360
|
* @param {String} serviceGoalTemplateId The ID of a service goal template to update
|
|
82944
|
-
* @param {Object}
|
|
82945
|
-
* @param {Object} opts.body body
|
|
83361
|
+
* @param {Object} body body
|
|
82946
83362
|
*/
|
|
82947
|
-
patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId,
|
|
82948
|
-
opts = opts || {};
|
|
82949
|
-
|
|
83363
|
+
patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, body) {
|
|
82950
83364
|
// verify the required parameter 'businessUnitId' is set
|
|
82951
83365
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82952
83366
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
@@ -82955,6 +83369,10 @@ class WorkforceManagementApi {
|
|
|
82955
83369
|
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
|
|
82956
83370
|
throw 'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
82957
83371
|
}
|
|
83372
|
+
// verify the required parameter 'body' is set
|
|
83373
|
+
if (body === undefined || body === null) {
|
|
83374
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
83375
|
+
}
|
|
82958
83376
|
|
|
82959
83377
|
return this.apiClient.callApi(
|
|
82960
83378
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}',
|
|
@@ -82963,7 +83381,7 @@ class WorkforceManagementApi {
|
|
|
82963
83381
|
{ },
|
|
82964
83382
|
{ },
|
|
82965
83383
|
{ },
|
|
82966
|
-
|
|
83384
|
+
body,
|
|
82967
83385
|
['PureCloud OAuth'],
|
|
82968
83386
|
['application/json'],
|
|
82969
83387
|
['application/json']
|
|
@@ -82975,12 +83393,9 @@ class WorkforceManagementApi {
|
|
|
82975
83393
|
*
|
|
82976
83394
|
* @param {String} businessUnitId The ID of the business unit
|
|
82977
83395
|
* @param {String} staffingGroupId The ID of the staffing group to update
|
|
82978
|
-
* @param {Object}
|
|
82979
|
-
* @param {Object} opts.body body
|
|
83396
|
+
* @param {Object} body body
|
|
82980
83397
|
*/
|
|
82981
|
-
patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId,
|
|
82982
|
-
opts = opts || {};
|
|
82983
|
-
|
|
83398
|
+
patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, body) {
|
|
82984
83399
|
// verify the required parameter 'businessUnitId' is set
|
|
82985
83400
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82986
83401
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
@@ -82989,6 +83404,10 @@ class WorkforceManagementApi {
|
|
|
82989
83404
|
if (staffingGroupId === undefined || staffingGroupId === null) {
|
|
82990
83405
|
throw 'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
82991
83406
|
}
|
|
83407
|
+
// verify the required parameter 'body' is set
|
|
83408
|
+
if (body === undefined || body === null) {
|
|
83409
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
83410
|
+
}
|
|
82992
83411
|
|
|
82993
83412
|
return this.apiClient.callApi(
|
|
82994
83413
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}',
|
|
@@ -82997,7 +83416,7 @@ class WorkforceManagementApi {
|
|
|
82997
83416
|
{ },
|
|
82998
83417
|
{ },
|
|
82999
83418
|
{ },
|
|
83000
|
-
|
|
83419
|
+
body,
|
|
83001
83420
|
['PureCloud OAuth'],
|
|
83002
83421
|
['application/json'],
|
|
83003
83422
|
['application/json']
|
|
@@ -83009,12 +83428,9 @@ class WorkforceManagementApi {
|
|
|
83009
83428
|
*
|
|
83010
83429
|
* @param {String} businessUnitId The ID of the business unit
|
|
83011
83430
|
* @param {String} timeOffPlanId The ID of the time-off plan to update
|
|
83012
|
-
* @param {Object}
|
|
83013
|
-
* @param {Object} opts.body body
|
|
83431
|
+
* @param {Object} body body
|
|
83014
83432
|
*/
|
|
83015
|
-
patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId,
|
|
83016
|
-
opts = opts || {};
|
|
83017
|
-
|
|
83433
|
+
patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, body) {
|
|
83018
83434
|
// verify the required parameter 'businessUnitId' is set
|
|
83019
83435
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83020
83436
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
@@ -83023,6 +83439,10 @@ class WorkforceManagementApi {
|
|
|
83023
83439
|
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
83024
83440
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
83025
83441
|
}
|
|
83442
|
+
// verify the required parameter 'body' is set
|
|
83443
|
+
if (body === undefined || body === null) {
|
|
83444
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
83445
|
+
}
|
|
83026
83446
|
|
|
83027
83447
|
return this.apiClient.callApi(
|
|
83028
83448
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}',
|
|
@@ -83031,7 +83451,7 @@ class WorkforceManagementApi {
|
|
|
83031
83451
|
{ },
|
|
83032
83452
|
{ },
|
|
83033
83453
|
{ },
|
|
83034
|
-
|
|
83454
|
+
body,
|
|
83035
83455
|
['PureCloud OAuth'],
|
|
83036
83456
|
['application/json'],
|
|
83037
83457
|
['application/json']
|
|
@@ -83079,12 +83499,9 @@ class WorkforceManagementApi {
|
|
|
83079
83499
|
* @param {String} businessUnitId The ID of the business unit
|
|
83080
83500
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
83081
83501
|
* @param {String} bidGroupId Work Plan Bid Group id
|
|
83082
|
-
* @param {Object}
|
|
83083
|
-
* @param {Object} opts.body body
|
|
83502
|
+
* @param {Object} body body
|
|
83084
83503
|
*/
|
|
83085
|
-
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId,
|
|
83086
|
-
opts = opts || {};
|
|
83087
|
-
|
|
83504
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, body) {
|
|
83088
83505
|
// verify the required parameter 'businessUnitId' is set
|
|
83089
83506
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83090
83507
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
@@ -83097,6 +83514,10 @@ class WorkforceManagementApi {
|
|
|
83097
83514
|
if (bidGroupId === undefined || bidGroupId === null) {
|
|
83098
83515
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
83099
83516
|
}
|
|
83517
|
+
// verify the required parameter 'body' is set
|
|
83518
|
+
if (body === undefined || body === null) {
|
|
83519
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
83520
|
+
}
|
|
83100
83521
|
|
|
83101
83522
|
return this.apiClient.callApi(
|
|
83102
83523
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
|
|
@@ -83105,7 +83526,7 @@ class WorkforceManagementApi {
|
|
|
83105
83526
|
{ },
|
|
83106
83527
|
{ },
|
|
83107
83528
|
{ },
|
|
83108
|
-
|
|
83529
|
+
body,
|
|
83109
83530
|
['PureCloud OAuth'],
|
|
83110
83531
|
['application/json'],
|
|
83111
83532
|
['application/json']
|
|
@@ -83118,12 +83539,9 @@ class WorkforceManagementApi {
|
|
|
83118
83539
|
* @param {String} businessUnitId The ID of the business unit
|
|
83119
83540
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
83120
83541
|
* @param {String} bidGroupId The ID of the work plan bid group
|
|
83121
|
-
* @param {Object}
|
|
83122
|
-
* @param {Object} opts.body body
|
|
83542
|
+
* @param {Object} body body
|
|
83123
83543
|
*/
|
|
83124
|
-
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId,
|
|
83125
|
-
opts = opts || {};
|
|
83126
|
-
|
|
83544
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, body) {
|
|
83127
83545
|
// verify the required parameter 'businessUnitId' is set
|
|
83128
83546
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83129
83547
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
@@ -83136,6 +83554,10 @@ class WorkforceManagementApi {
|
|
|
83136
83554
|
if (bidGroupId === undefined || bidGroupId === null) {
|
|
83137
83555
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
83138
83556
|
}
|
|
83557
|
+
// verify the required parameter 'body' is set
|
|
83558
|
+
if (body === undefined || body === null) {
|
|
83559
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
83560
|
+
}
|
|
83139
83561
|
|
|
83140
83562
|
return this.apiClient.callApi(
|
|
83141
83563
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
|
|
@@ -83144,7 +83566,7 @@ class WorkforceManagementApi {
|
|
|
83144
83566
|
{ },
|
|
83145
83567
|
{ },
|
|
83146
83568
|
{ },
|
|
83147
|
-
|
|
83569
|
+
body,
|
|
83148
83570
|
['PureCloud OAuth'],
|
|
83149
83571
|
['application/json'],
|
|
83150
83572
|
['application/json']
|
|
@@ -83155,16 +83577,17 @@ class WorkforceManagementApi {
|
|
|
83155
83577
|
* Update the requested management unit
|
|
83156
83578
|
*
|
|
83157
83579
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83158
|
-
* @param {Object}
|
|
83159
|
-
* @param {Object} opts.body body
|
|
83580
|
+
* @param {Object} body body
|
|
83160
83581
|
*/
|
|
83161
|
-
patchWorkforcemanagementManagementunit(managementUnitId,
|
|
83162
|
-
opts = opts || {};
|
|
83163
|
-
|
|
83582
|
+
patchWorkforcemanagementManagementunit(managementUnitId, body) {
|
|
83164
83583
|
// verify the required parameter 'managementUnitId' is set
|
|
83165
83584
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83166
83585
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';
|
|
83167
83586
|
}
|
|
83587
|
+
// verify the required parameter 'body' is set
|
|
83588
|
+
if (body === undefined || body === null) {
|
|
83589
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunit';
|
|
83590
|
+
}
|
|
83168
83591
|
|
|
83169
83592
|
return this.apiClient.callApi(
|
|
83170
83593
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}',
|
|
@@ -83173,7 +83596,7 @@ class WorkforceManagementApi {
|
|
|
83173
83596
|
{ },
|
|
83174
83597
|
{ },
|
|
83175
83598
|
{ },
|
|
83176
|
-
|
|
83599
|
+
body,
|
|
83177
83600
|
['PureCloud OAuth'],
|
|
83178
83601
|
['application/json'],
|
|
83179
83602
|
['application/json']
|
|
@@ -83184,16 +83607,17 @@ class WorkforceManagementApi {
|
|
|
83184
83607
|
* Update agent configurations
|
|
83185
83608
|
*
|
|
83186
83609
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83187
|
-
* @param {Object}
|
|
83188
|
-
* @param {Object} opts.body body
|
|
83610
|
+
* @param {Object} body body
|
|
83189
83611
|
*/
|
|
83190
|
-
patchWorkforcemanagementManagementunitAgents(managementUnitId,
|
|
83191
|
-
opts = opts || {};
|
|
83192
|
-
|
|
83612
|
+
patchWorkforcemanagementManagementunitAgents(managementUnitId, body) {
|
|
83193
83613
|
// verify the required parameter 'managementUnitId' is set
|
|
83194
83614
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83195
83615
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
|
|
83196
83616
|
}
|
|
83617
|
+
// verify the required parameter 'body' is set
|
|
83618
|
+
if (body === undefined || body === null) {
|
|
83619
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgents';
|
|
83620
|
+
}
|
|
83197
83621
|
|
|
83198
83622
|
return this.apiClient.callApi(
|
|
83199
83623
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents',
|
|
@@ -83202,7 +83626,7 @@ class WorkforceManagementApi {
|
|
|
83202
83626
|
{ },
|
|
83203
83627
|
{ },
|
|
83204
83628
|
{ },
|
|
83205
|
-
|
|
83629
|
+
body,
|
|
83206
83630
|
['PureCloud OAuth'],
|
|
83207
83631
|
['application/json'],
|
|
83208
83632
|
['application/json']
|
|
@@ -83213,16 +83637,17 @@ class WorkforceManagementApi {
|
|
|
83213
83637
|
* Updates agent work plan configuration
|
|
83214
83638
|
*
|
|
83215
83639
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83216
|
-
* @param {Object}
|
|
83217
|
-
* @param {Object} opts.body body
|
|
83640
|
+
* @param {Object} body body
|
|
83218
83641
|
*/
|
|
83219
|
-
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId,
|
|
83220
|
-
opts = opts || {};
|
|
83221
|
-
|
|
83642
|
+
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, body) {
|
|
83222
83643
|
// verify the required parameter 'managementUnitId' is set
|
|
83223
83644
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83224
83645
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
83225
83646
|
}
|
|
83647
|
+
// verify the required parameter 'body' is set
|
|
83648
|
+
if (body === undefined || body === null) {
|
|
83649
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
83650
|
+
}
|
|
83226
83651
|
|
|
83227
83652
|
return this.apiClient.callApi(
|
|
83228
83653
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
|
|
@@ -83231,7 +83656,7 @@ class WorkforceManagementApi {
|
|
|
83231
83656
|
{ },
|
|
83232
83657
|
{ },
|
|
83233
83658
|
{ },
|
|
83234
|
-
|
|
83659
|
+
body,
|
|
83235
83660
|
['PureCloud OAuth'],
|
|
83236
83661
|
['application/json'],
|
|
83237
83662
|
['application/json']
|
|
@@ -83243,12 +83668,9 @@ class WorkforceManagementApi {
|
|
|
83243
83668
|
* Updates time off limit object properties, but not daily values.
|
|
83244
83669
|
* @param {String} managementUnitId The ID of the management unit.
|
|
83245
83670
|
* @param {String} timeOffLimitId The id of time off limit object to update
|
|
83246
|
-
* @param {Object}
|
|
83247
|
-
* @param {Object} opts.body body
|
|
83671
|
+
* @param {Object} body body
|
|
83248
83672
|
*/
|
|
83249
|
-
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId,
|
|
83250
|
-
opts = opts || {};
|
|
83251
|
-
|
|
83673
|
+
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, body) {
|
|
83252
83674
|
// verify the required parameter 'managementUnitId' is set
|
|
83253
83675
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83254
83676
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
@@ -83257,6 +83679,10 @@ class WorkforceManagementApi {
|
|
|
83257
83679
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
83258
83680
|
throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
83259
83681
|
}
|
|
83682
|
+
// verify the required parameter 'body' is set
|
|
83683
|
+
if (body === undefined || body === null) {
|
|
83684
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
83685
|
+
}
|
|
83260
83686
|
|
|
83261
83687
|
return this.apiClient.callApi(
|
|
83262
83688
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
|
|
@@ -83265,7 +83691,7 @@ class WorkforceManagementApi {
|
|
|
83265
83691
|
{ },
|
|
83266
83692
|
{ },
|
|
83267
83693
|
{ },
|
|
83268
|
-
|
|
83694
|
+
body,
|
|
83269
83695
|
['PureCloud OAuth'],
|
|
83270
83696
|
['application/json'],
|
|
83271
83697
|
['application/json']
|
|
@@ -83277,12 +83703,9 @@ class WorkforceManagementApi {
|
|
|
83277
83703
|
*
|
|
83278
83704
|
* @param {String} managementUnitId The ID of the management unit
|
|
83279
83705
|
* @param {String} timeOffPlanId The ID of the time off plan to update
|
|
83280
|
-
* @param {Object}
|
|
83281
|
-
* @param {Object} opts.body body
|
|
83706
|
+
* @param {Object} body body
|
|
83282
83707
|
*/
|
|
83283
|
-
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId,
|
|
83284
|
-
opts = opts || {};
|
|
83285
|
-
|
|
83708
|
+
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, body) {
|
|
83286
83709
|
// verify the required parameter 'managementUnitId' is set
|
|
83287
83710
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83288
83711
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
@@ -83291,6 +83714,10 @@ class WorkforceManagementApi {
|
|
|
83291
83714
|
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
83292
83715
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
83293
83716
|
}
|
|
83717
|
+
// verify the required parameter 'body' is set
|
|
83718
|
+
if (body === undefined || body === null) {
|
|
83719
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
83720
|
+
}
|
|
83294
83721
|
|
|
83295
83722
|
return this.apiClient.callApi(
|
|
83296
83723
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
|
|
@@ -83299,7 +83726,7 @@ class WorkforceManagementApi {
|
|
|
83299
83726
|
{ },
|
|
83300
83727
|
{ },
|
|
83301
83728
|
{ },
|
|
83302
|
-
|
|
83729
|
+
body,
|
|
83303
83730
|
['PureCloud OAuth'],
|
|
83304
83731
|
['application/json'],
|
|
83305
83732
|
['application/json']
|
|
@@ -83312,12 +83739,9 @@ class WorkforceManagementApi {
|
|
|
83312
83739
|
* @param {String} managementUnitId The ID of the management unit.
|
|
83313
83740
|
* @param {String} timeOffRequestId The ID of the time off request.
|
|
83314
83741
|
* @param {String} userId The ID of user to whom the time off request belongs.
|
|
83315
|
-
* @param {Object}
|
|
83316
|
-
* @param {Object} opts.body body
|
|
83742
|
+
* @param {Object} body body
|
|
83317
83743
|
*/
|
|
83318
|
-
patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId,
|
|
83319
|
-
opts = opts || {};
|
|
83320
|
-
|
|
83744
|
+
patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, body) {
|
|
83321
83745
|
// verify the required parameter 'managementUnitId' is set
|
|
83322
83746
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83323
83747
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
@@ -83330,6 +83754,10 @@ class WorkforceManagementApi {
|
|
|
83330
83754
|
if (userId === undefined || userId === null) {
|
|
83331
83755
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
83332
83756
|
}
|
|
83757
|
+
// verify the required parameter 'body' is set
|
|
83758
|
+
if (body === undefined || body === null) {
|
|
83759
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
83760
|
+
}
|
|
83333
83761
|
|
|
83334
83762
|
return this.apiClient.callApi(
|
|
83335
83763
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus',
|
|
@@ -83338,7 +83766,7 @@ class WorkforceManagementApi {
|
|
|
83338
83766
|
{ },
|
|
83339
83767
|
{ },
|
|
83340
83768
|
{ },
|
|
83341
|
-
|
|
83769
|
+
body,
|
|
83342
83770
|
['PureCloud OAuth'],
|
|
83343
83771
|
['application/json'],
|
|
83344
83772
|
['application/json']
|
|
@@ -83351,12 +83779,9 @@ class WorkforceManagementApi {
|
|
|
83351
83779
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83352
83780
|
* @param {String} userId The id of the user the requested time off request belongs to
|
|
83353
83781
|
* @param {String} timeOffRequestId The id of the time off request to update
|
|
83354
|
-
* @param {Object}
|
|
83355
|
-
* @param {Object} opts.body body
|
|
83782
|
+
* @param {Object} body body
|
|
83356
83783
|
*/
|
|
83357
|
-
patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId,
|
|
83358
|
-
opts = opts || {};
|
|
83359
|
-
|
|
83784
|
+
patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, body) {
|
|
83360
83785
|
// verify the required parameter 'managementUnitId' is set
|
|
83361
83786
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83362
83787
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
@@ -83369,6 +83794,10 @@ class WorkforceManagementApi {
|
|
|
83369
83794
|
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
83370
83795
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
83371
83796
|
}
|
|
83797
|
+
// verify the required parameter 'body' is set
|
|
83798
|
+
if (body === undefined || body === null) {
|
|
83799
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
83800
|
+
}
|
|
83372
83801
|
|
|
83373
83802
|
return this.apiClient.callApi(
|
|
83374
83803
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}',
|
|
@@ -83377,7 +83806,7 @@ class WorkforceManagementApi {
|
|
|
83377
83806
|
{ },
|
|
83378
83807
|
{ },
|
|
83379
83808
|
{ },
|
|
83380
|
-
|
|
83809
|
+
body,
|
|
83381
83810
|
['PureCloud OAuth'],
|
|
83382
83811
|
['application/json'],
|
|
83383
83812
|
['application/json']
|
|
@@ -83429,11 +83858,11 @@ class WorkforceManagementApi {
|
|
|
83429
83858
|
*
|
|
83430
83859
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83431
83860
|
* @param {String} workPlanId The ID of the work plan to update
|
|
83861
|
+
* @param {Object} body body
|
|
83432
83862
|
* @param {Object} opts Optional parameters
|
|
83433
83863
|
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
83434
|
-
* @param {Object} opts.body body
|
|
83435
83864
|
*/
|
|
83436
|
-
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
83865
|
+
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, body, opts) {
|
|
83437
83866
|
opts = opts || {};
|
|
83438
83867
|
|
|
83439
83868
|
// verify the required parameter 'managementUnitId' is set
|
|
@@ -83444,6 +83873,10 @@ class WorkforceManagementApi {
|
|
|
83444
83873
|
if (workPlanId === undefined || workPlanId === null) {
|
|
83445
83874
|
throw 'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
83446
83875
|
}
|
|
83876
|
+
// verify the required parameter 'body' is set
|
|
83877
|
+
if (body === undefined || body === null) {
|
|
83878
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
83879
|
+
}
|
|
83447
83880
|
|
|
83448
83881
|
return this.apiClient.callApi(
|
|
83449
83882
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
@@ -83452,7 +83885,7 @@ class WorkforceManagementApi {
|
|
|
83452
83885
|
{ 'validationMode': opts['validationMode'] },
|
|
83453
83886
|
{ },
|
|
83454
83887
|
{ },
|
|
83455
|
-
|
|
83888
|
+
body,
|
|
83456
83889
|
['PureCloud OAuth'],
|
|
83457
83890
|
['application/json'],
|
|
83458
83891
|
['application/json']
|
|
@@ -83464,12 +83897,9 @@ class WorkforceManagementApi {
|
|
|
83464
83897
|
*
|
|
83465
83898
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83466
83899
|
* @param {String} workPlanRotationId The ID of the work plan rotation to update
|
|
83467
|
-
* @param {Object}
|
|
83468
|
-
* @param {Object} opts.body body
|
|
83900
|
+
* @param {Object} body body
|
|
83469
83901
|
*/
|
|
83470
|
-
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId,
|
|
83471
|
-
opts = opts || {};
|
|
83472
|
-
|
|
83902
|
+
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, body) {
|
|
83473
83903
|
// verify the required parameter 'managementUnitId' is set
|
|
83474
83904
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83475
83905
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
@@ -83478,6 +83908,10 @@ class WorkforceManagementApi {
|
|
|
83478
83908
|
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
83479
83909
|
throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
83480
83910
|
}
|
|
83911
|
+
// verify the required parameter 'body' is set
|
|
83912
|
+
if (body === undefined || body === null) {
|
|
83913
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
83914
|
+
}
|
|
83481
83915
|
|
|
83482
83916
|
return this.apiClient.callApi(
|
|
83483
83917
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
@@ -83486,7 +83920,7 @@ class WorkforceManagementApi {
|
|
|
83486
83920
|
{ },
|
|
83487
83921
|
{ },
|
|
83488
83922
|
{ },
|
|
83489
|
-
|
|
83923
|
+
body,
|
|
83490
83924
|
['PureCloud OAuth'],
|
|
83491
83925
|
['application/json'],
|
|
83492
83926
|
['application/json']
|
|
@@ -83497,16 +83931,17 @@ class WorkforceManagementApi {
|
|
|
83497
83931
|
* Update a time off request for the current user
|
|
83498
83932
|
*
|
|
83499
83933
|
* @param {String} timeOffRequestId The ID of the time off request
|
|
83500
|
-
* @param {Object}
|
|
83501
|
-
* @param {Object} opts.body body
|
|
83934
|
+
* @param {Object} body body
|
|
83502
83935
|
*/
|
|
83503
|
-
patchWorkforcemanagementTimeoffrequest(timeOffRequestId,
|
|
83504
|
-
opts = opts || {};
|
|
83505
|
-
|
|
83936
|
+
patchWorkforcemanagementTimeoffrequest(timeOffRequestId, body) {
|
|
83506
83937
|
// verify the required parameter 'timeOffRequestId' is set
|
|
83507
83938
|
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
83508
83939
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';
|
|
83509
83940
|
}
|
|
83941
|
+
// verify the required parameter 'body' is set
|
|
83942
|
+
if (body === undefined || body === null) {
|
|
83943
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementTimeoffrequest';
|
|
83944
|
+
}
|
|
83510
83945
|
|
|
83511
83946
|
return this.apiClient.callApi(
|
|
83512
83947
|
'/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}',
|
|
@@ -83515,7 +83950,7 @@ class WorkforceManagementApi {
|
|
|
83515
83950
|
{ },
|
|
83516
83951
|
{ },
|
|
83517
83952
|
{ },
|
|
83518
|
-
|
|
83953
|
+
body,
|
|
83519
83954
|
['PureCloud OAuth'],
|
|
83520
83955
|
['application/json'],
|
|
83521
83956
|
['application/json']
|
|
@@ -83526,16 +83961,17 @@ class WorkforceManagementApi {
|
|
|
83526
83961
|
* Update work plan bid ranks for a user
|
|
83527
83962
|
*
|
|
83528
83963
|
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
83529
|
-
* @param {Object}
|
|
83530
|
-
* @param {Object} opts.body body
|
|
83964
|
+
* @param {Object} body body
|
|
83531
83965
|
*/
|
|
83532
|
-
patchWorkforcemanagementUserWorkplanbidranks(userId,
|
|
83533
|
-
opts = opts || {};
|
|
83534
|
-
|
|
83966
|
+
patchWorkforcemanagementUserWorkplanbidranks(userId, body) {
|
|
83535
83967
|
// verify the required parameter 'userId' is set
|
|
83536
83968
|
if (userId === undefined || userId === null) {
|
|
83537
83969
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
83538
83970
|
}
|
|
83971
|
+
// verify the required parameter 'body' is set
|
|
83972
|
+
if (body === undefined || body === null) {
|
|
83973
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
83974
|
+
}
|
|
83539
83975
|
|
|
83540
83976
|
return this.apiClient.callApi(
|
|
83541
83977
|
'/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
|
|
@@ -83544,7 +83980,7 @@ class WorkforceManagementApi {
|
|
|
83544
83980
|
{ },
|
|
83545
83981
|
{ },
|
|
83546
83982
|
{ },
|
|
83547
|
-
|
|
83983
|
+
body,
|
|
83548
83984
|
['PureCloud OAuth'],
|
|
83549
83985
|
['application/json'],
|
|
83550
83986
|
['application/json']
|
|
@@ -83580,16 +84016,17 @@ class WorkforceManagementApi {
|
|
|
83580
84016
|
* Update an agent's work plan bidding preference
|
|
83581
84017
|
*
|
|
83582
84018
|
* @param {String} bidId The ID of the work plan bid
|
|
83583
|
-
* @param {Object}
|
|
83584
|
-
* @param {Object} opts.body body
|
|
84019
|
+
* @param {Object} body body
|
|
83585
84020
|
*/
|
|
83586
|
-
patchWorkforcemanagementWorkplanbidPreferences(bidId,
|
|
83587
|
-
opts = opts || {};
|
|
83588
|
-
|
|
84021
|
+
patchWorkforcemanagementWorkplanbidPreferences(bidId, body) {
|
|
83589
84022
|
// verify the required parameter 'bidId' is set
|
|
83590
84023
|
if (bidId === undefined || bidId === null) {
|
|
83591
84024
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
83592
84025
|
}
|
|
84026
|
+
// verify the required parameter 'body' is set
|
|
84027
|
+
if (body === undefined || body === null) {
|
|
84028
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
84029
|
+
}
|
|
83593
84030
|
|
|
83594
84031
|
return this.apiClient.callApi(
|
|
83595
84032
|
'/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
|
|
@@ -83598,7 +84035,7 @@ class WorkforceManagementApi {
|
|
|
83598
84035
|
{ },
|
|
83599
84036
|
{ },
|
|
83600
84037
|
{ },
|
|
83601
|
-
|
|
84038
|
+
body,
|
|
83602
84039
|
['PureCloud OAuth'],
|
|
83603
84040
|
['application/json'],
|
|
83604
84041
|
['application/json']
|
|
@@ -83688,12 +84125,13 @@ class WorkforceManagementApi {
|
|
|
83688
84125
|
/**
|
|
83689
84126
|
* Request a historical adherence report in bulk
|
|
83690
84127
|
*
|
|
83691
|
-
* @param {Object}
|
|
83692
|
-
* @param {Object} opts.body body
|
|
84128
|
+
* @param {Object} body body
|
|
83693
84129
|
*/
|
|
83694
|
-
postWorkforcemanagementAdherenceHistoricalBulk(
|
|
83695
|
-
|
|
83696
|
-
|
|
84130
|
+
postWorkforcemanagementAdherenceHistoricalBulk(body) {
|
|
84131
|
+
// verify the required parameter 'body' is set
|
|
84132
|
+
if (body === undefined || body === null) {
|
|
84133
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceHistoricalBulk';
|
|
84134
|
+
}
|
|
83697
84135
|
|
|
83698
84136
|
return this.apiClient.callApi(
|
|
83699
84137
|
'/api/v2/workforcemanagement/adherence/historical/bulk',
|
|
@@ -83702,7 +84140,7 @@ class WorkforceManagementApi {
|
|
|
83702
84140
|
{ },
|
|
83703
84141
|
{ },
|
|
83704
84142
|
{ },
|
|
83705
|
-
|
|
84143
|
+
body,
|
|
83706
84144
|
['PureCloud OAuth'],
|
|
83707
84145
|
['application/json'],
|
|
83708
84146
|
['application/json']
|
|
@@ -83777,12 +84215,13 @@ class WorkforceManagementApi {
|
|
|
83777
84215
|
/**
|
|
83778
84216
|
* Move agents in and out of management unit
|
|
83779
84217
|
*
|
|
83780
|
-
* @param {Object}
|
|
83781
|
-
* @param {Object} opts.body body
|
|
84218
|
+
* @param {Object} body body
|
|
83782
84219
|
*/
|
|
83783
|
-
postWorkforcemanagementAgents(
|
|
83784
|
-
|
|
83785
|
-
|
|
84220
|
+
postWorkforcemanagementAgents(body) {
|
|
84221
|
+
// verify the required parameter 'body' is set
|
|
84222
|
+
if (body === undefined || body === null) {
|
|
84223
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgents';
|
|
84224
|
+
}
|
|
83786
84225
|
|
|
83787
84226
|
return this.apiClient.callApi(
|
|
83788
84227
|
'/api/v2/workforcemanagement/agents',
|
|
@@ -83791,7 +84230,7 @@ class WorkforceManagementApi {
|
|
|
83791
84230
|
{ },
|
|
83792
84231
|
{ },
|
|
83793
84232
|
{ },
|
|
83794
|
-
|
|
84233
|
+
body,
|
|
83795
84234
|
['PureCloud OAuth'],
|
|
83796
84235
|
['application/json'],
|
|
83797
84236
|
['application/json']
|
|
@@ -83801,12 +84240,13 @@ class WorkforceManagementApi {
|
|
|
83801
84240
|
/**
|
|
83802
84241
|
* Query integrations for agents
|
|
83803
84242
|
*
|
|
83804
|
-
* @param {Object}
|
|
83805
|
-
* @param {Object} opts.body body
|
|
84243
|
+
* @param {Object} body body
|
|
83806
84244
|
*/
|
|
83807
|
-
postWorkforcemanagementAgentsIntegrationsHrisQuery(
|
|
83808
|
-
|
|
83809
|
-
|
|
84245
|
+
postWorkforcemanagementAgentsIntegrationsHrisQuery(body) {
|
|
84246
|
+
// verify the required parameter 'body' is set
|
|
84247
|
+
if (body === undefined || body === null) {
|
|
84248
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';
|
|
84249
|
+
}
|
|
83810
84250
|
|
|
83811
84251
|
return this.apiClient.callApi(
|
|
83812
84252
|
'/api/v2/workforcemanagement/agents/integrations/hris/query',
|
|
@@ -83815,7 +84255,7 @@ class WorkforceManagementApi {
|
|
|
83815
84255
|
{ },
|
|
83816
84256
|
{ },
|
|
83817
84257
|
{ },
|
|
83818
|
-
|
|
84258
|
+
body,
|
|
83819
84259
|
['PureCloud OAuth'],
|
|
83820
84260
|
['application/json'],
|
|
83821
84261
|
['application/json']
|
|
@@ -83850,12 +84290,13 @@ class WorkforceManagementApi {
|
|
|
83850
84290
|
/**
|
|
83851
84291
|
* Get published schedule for the current user
|
|
83852
84292
|
*
|
|
83853
|
-
* @param {Object}
|
|
83854
|
-
* @param {Object} opts.body body
|
|
84293
|
+
* @param {Object} body body
|
|
83855
84294
|
*/
|
|
83856
|
-
postWorkforcemanagementAgentschedulesMine(
|
|
83857
|
-
|
|
83858
|
-
|
|
84295
|
+
postWorkforcemanagementAgentschedulesMine(body) {
|
|
84296
|
+
// verify the required parameter 'body' is set
|
|
84297
|
+
if (body === undefined || body === null) {
|
|
84298
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesMine';
|
|
84299
|
+
}
|
|
83859
84300
|
|
|
83860
84301
|
return this.apiClient.callApi(
|
|
83861
84302
|
'/api/v2/workforcemanagement/agentschedules/mine',
|
|
@@ -83864,7 +84305,7 @@ class WorkforceManagementApi {
|
|
|
83864
84305
|
{ },
|
|
83865
84306
|
{ },
|
|
83866
84307
|
{ },
|
|
83867
|
-
|
|
84308
|
+
body,
|
|
83868
84309
|
['PureCloud OAuth'],
|
|
83869
84310
|
['application/json'],
|
|
83870
84311
|
['application/json']
|
|
@@ -83950,16 +84391,17 @@ class WorkforceManagementApi {
|
|
|
83950
84391
|
* Create a new activity code
|
|
83951
84392
|
*
|
|
83952
84393
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
83953
|
-
* @param {Object}
|
|
83954
|
-
* @param {Object} opts.body body
|
|
84394
|
+
* @param {Object} body body
|
|
83955
84395
|
*/
|
|
83956
|
-
postWorkforcemanagementBusinessunitActivitycodes(businessUnitId,
|
|
83957
|
-
opts = opts || {};
|
|
83958
|
-
|
|
84396
|
+
postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, body) {
|
|
83959
84397
|
// verify the required parameter 'businessUnitId' is set
|
|
83960
84398
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83961
84399
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';
|
|
83962
84400
|
}
|
|
84401
|
+
// verify the required parameter 'body' is set
|
|
84402
|
+
if (body === undefined || body === null) {
|
|
84403
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivitycodes';
|
|
84404
|
+
}
|
|
83963
84405
|
|
|
83964
84406
|
return this.apiClient.callApi(
|
|
83965
84407
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
|
|
@@ -83968,7 +84410,7 @@ class WorkforceManagementApi {
|
|
|
83968
84410
|
{ },
|
|
83969
84411
|
{ },
|
|
83970
84412
|
{ },
|
|
83971
|
-
|
|
84413
|
+
body,
|
|
83972
84414
|
['PureCloud OAuth'],
|
|
83973
84415
|
['application/json'],
|
|
83974
84416
|
['application/json']
|
|
@@ -84074,18 +84516,22 @@ class WorkforceManagementApi {
|
|
|
84074
84516
|
* Search published schedules
|
|
84075
84517
|
*
|
|
84076
84518
|
* @param {String} businessUnitId The ID of the business unit
|
|
84519
|
+
* @param {Object} body body
|
|
84077
84520
|
* @param {Object} opts Optional parameters
|
|
84078
84521
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
84079
84522
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
84080
|
-
* @param {Object} opts.body body
|
|
84081
84523
|
*/
|
|
84082
|
-
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
84524
|
+
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, body, opts) {
|
|
84083
84525
|
opts = opts || {};
|
|
84084
84526
|
|
|
84085
84527
|
// verify the required parameter 'businessUnitId' is set
|
|
84086
84528
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84087
84529
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
|
|
84088
84530
|
}
|
|
84531
|
+
// verify the required parameter 'body' is set
|
|
84532
|
+
if (body === undefined || body === null) {
|
|
84533
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
|
|
84534
|
+
}
|
|
84089
84535
|
|
|
84090
84536
|
return this.apiClient.callApi(
|
|
84091
84537
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search',
|
|
@@ -84094,7 +84540,7 @@ class WorkforceManagementApi {
|
|
|
84094
84540
|
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
84095
84541
|
{ },
|
|
84096
84542
|
{ },
|
|
84097
|
-
|
|
84543
|
+
body,
|
|
84098
84544
|
['PureCloud OAuth'],
|
|
84099
84545
|
['application/json'],
|
|
84100
84546
|
['application/json']
|
|
@@ -84139,17 +84585,21 @@ class WorkforceManagementApi {
|
|
|
84139
84585
|
* Get intraday data for the given date for the requested planningGroupIds
|
|
84140
84586
|
*
|
|
84141
84587
|
* @param {String} businessUnitId The ID of the business unit
|
|
84588
|
+
* @param {Object} body body
|
|
84142
84589
|
* @param {Object} opts Optional parameters
|
|
84143
84590
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
84144
|
-
* @param {Object} opts.body body
|
|
84145
84591
|
*/
|
|
84146
|
-
postWorkforcemanagementBusinessunitIntraday(businessUnitId, opts) {
|
|
84592
|
+
postWorkforcemanagementBusinessunitIntraday(businessUnitId, body, opts) {
|
|
84147
84593
|
opts = opts || {};
|
|
84148
84594
|
|
|
84149
84595
|
// verify the required parameter 'businessUnitId' is set
|
|
84150
84596
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84151
84597
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';
|
|
84152
84598
|
}
|
|
84599
|
+
// verify the required parameter 'body' is set
|
|
84600
|
+
if (body === undefined || body === null) {
|
|
84601
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitIntraday';
|
|
84602
|
+
}
|
|
84153
84603
|
|
|
84154
84604
|
return this.apiClient.callApi(
|
|
84155
84605
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday',
|
|
@@ -84158,7 +84608,7 @@ class WorkforceManagementApi {
|
|
|
84158
84608
|
{ 'forceAsync': opts['forceAsync'] },
|
|
84159
84609
|
{ },
|
|
84160
84610
|
{ },
|
|
84161
|
-
|
|
84611
|
+
body,
|
|
84162
84612
|
['PureCloud OAuth'],
|
|
84163
84613
|
['application/json'],
|
|
84164
84614
|
['application/json']
|
|
@@ -84169,16 +84619,17 @@ class WorkforceManagementApi {
|
|
|
84169
84619
|
* Adds a new planning group
|
|
84170
84620
|
*
|
|
84171
84621
|
* @param {String} businessUnitId The ID of the business unit.
|
|
84172
|
-
* @param {Object}
|
|
84173
|
-
* @param {Object} opts.body body
|
|
84622
|
+
* @param {Object} body body
|
|
84174
84623
|
*/
|
|
84175
|
-
postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId,
|
|
84176
|
-
opts = opts || {};
|
|
84177
|
-
|
|
84624
|
+
postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, body) {
|
|
84178
84625
|
// verify the required parameter 'businessUnitId' is set
|
|
84179
84626
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84180
84627
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';
|
|
84181
84628
|
}
|
|
84629
|
+
// verify the required parameter 'body' is set
|
|
84630
|
+
if (body === undefined || body === null) {
|
|
84631
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';
|
|
84632
|
+
}
|
|
84182
84633
|
|
|
84183
84634
|
return this.apiClient.callApi(
|
|
84184
84635
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups',
|
|
@@ -84187,7 +84638,7 @@ class WorkforceManagementApi {
|
|
|
84187
84638
|
{ },
|
|
84188
84639
|
{ },
|
|
84189
84640
|
{ },
|
|
84190
|
-
|
|
84641
|
+
body,
|
|
84191
84642
|
['PureCloud OAuth'],
|
|
84192
84643
|
['application/json'],
|
|
84193
84644
|
['application/json']
|
|
@@ -84198,16 +84649,17 @@ class WorkforceManagementApi {
|
|
|
84198
84649
|
* Adds a new service goal template
|
|
84199
84650
|
*
|
|
84200
84651
|
* @param {String} businessUnitId The ID of the business unit.
|
|
84201
|
-
* @param {Object}
|
|
84202
|
-
* @param {Object} opts.body body
|
|
84652
|
+
* @param {Object} body body
|
|
84203
84653
|
*/
|
|
84204
|
-
postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,
|
|
84205
|
-
opts = opts || {};
|
|
84206
|
-
|
|
84654
|
+
postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, body) {
|
|
84207
84655
|
// verify the required parameter 'businessUnitId' is set
|
|
84208
84656
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84209
84657
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
84210
84658
|
}
|
|
84659
|
+
// verify the required parameter 'body' is set
|
|
84660
|
+
if (body === undefined || body === null) {
|
|
84661
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
84662
|
+
}
|
|
84211
84663
|
|
|
84212
84664
|
return this.apiClient.callApi(
|
|
84213
84665
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates',
|
|
@@ -84216,7 +84668,7 @@ class WorkforceManagementApi {
|
|
|
84216
84668
|
{ },
|
|
84217
84669
|
{ },
|
|
84218
84670
|
{ },
|
|
84219
|
-
|
|
84671
|
+
body,
|
|
84220
84672
|
['PureCloud OAuth'],
|
|
84221
84673
|
['application/json'],
|
|
84222
84674
|
['application/json']
|
|
@@ -84227,16 +84679,17 @@ class WorkforceManagementApi {
|
|
|
84227
84679
|
* Creates a new staffing group
|
|
84228
84680
|
*
|
|
84229
84681
|
* @param {String} businessUnitId The ID of the business unit
|
|
84230
|
-
* @param {Object}
|
|
84231
|
-
* @param {Object} opts.body body
|
|
84682
|
+
* @param {Object} body body
|
|
84232
84683
|
*/
|
|
84233
|
-
postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId,
|
|
84234
|
-
opts = opts || {};
|
|
84235
|
-
|
|
84684
|
+
postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, body) {
|
|
84236
84685
|
// verify the required parameter 'businessUnitId' is set
|
|
84237
84686
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84238
84687
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';
|
|
84239
84688
|
}
|
|
84689
|
+
// verify the required parameter 'body' is set
|
|
84690
|
+
if (body === undefined || body === null) {
|
|
84691
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroups';
|
|
84692
|
+
}
|
|
84240
84693
|
|
|
84241
84694
|
return this.apiClient.callApi(
|
|
84242
84695
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups',
|
|
@@ -84245,7 +84698,7 @@ class WorkforceManagementApi {
|
|
|
84245
84698
|
{ },
|
|
84246
84699
|
{ },
|
|
84247
84700
|
{ },
|
|
84248
|
-
|
|
84701
|
+
body,
|
|
84249
84702
|
['PureCloud OAuth'],
|
|
84250
84703
|
['application/json'],
|
|
84251
84704
|
['application/json']
|
|
@@ -84256,16 +84709,17 @@ class WorkforceManagementApi {
|
|
|
84256
84709
|
* Gets staffing group associations for a list of user IDs
|
|
84257
84710
|
*
|
|
84258
84711
|
* @param {String} businessUnitId The ID of the business unit
|
|
84259
|
-
* @param {Object}
|
|
84260
|
-
* @param {Object} opts.body body
|
|
84712
|
+
* @param {Object} body body
|
|
84261
84713
|
*/
|
|
84262
|
-
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId,
|
|
84263
|
-
opts = opts || {};
|
|
84264
|
-
|
|
84714
|
+
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body) {
|
|
84265
84715
|
// verify the required parameter 'businessUnitId' is set
|
|
84266
84716
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84267
84717
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
84268
84718
|
}
|
|
84719
|
+
// verify the required parameter 'body' is set
|
|
84720
|
+
if (body === undefined || body === null) {
|
|
84721
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
84722
|
+
}
|
|
84269
84723
|
|
|
84270
84724
|
return this.apiClient.callApi(
|
|
84271
84725
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query',
|
|
@@ -84274,7 +84728,7 @@ class WorkforceManagementApi {
|
|
|
84274
84728
|
{ },
|
|
84275
84729
|
{ },
|
|
84276
84730
|
{ },
|
|
84277
|
-
|
|
84731
|
+
body,
|
|
84278
84732
|
['PureCloud OAuth'],
|
|
84279
84733
|
['application/json'],
|
|
84280
84734
|
['application/json']
|
|
@@ -84285,16 +84739,17 @@ class WorkforceManagementApi {
|
|
|
84285
84739
|
* Creates a new time-off limit object
|
|
84286
84740
|
*
|
|
84287
84741
|
* @param {String} businessUnitId The ID of the business unit
|
|
84288
|
-
* @param {Object}
|
|
84289
|
-
* @param {Object} opts.body body
|
|
84742
|
+
* @param {Object} body body
|
|
84290
84743
|
*/
|
|
84291
|
-
postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId,
|
|
84292
|
-
opts = opts || {};
|
|
84293
|
-
|
|
84744
|
+
postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, body) {
|
|
84294
84745
|
// verify the required parameter 'businessUnitId' is set
|
|
84295
84746
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84296
84747
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';
|
|
84297
84748
|
}
|
|
84749
|
+
// verify the required parameter 'body' is set
|
|
84750
|
+
if (body === undefined || body === null) {
|
|
84751
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimits';
|
|
84752
|
+
}
|
|
84298
84753
|
|
|
84299
84754
|
return this.apiClient.callApi(
|
|
84300
84755
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits',
|
|
@@ -84303,7 +84758,7 @@ class WorkforceManagementApi {
|
|
|
84303
84758
|
{ },
|
|
84304
84759
|
{ },
|
|
84305
84760
|
{ },
|
|
84306
|
-
|
|
84761
|
+
body,
|
|
84307
84762
|
['PureCloud OAuth'],
|
|
84308
84763
|
['application/json'],
|
|
84309
84764
|
['application/json']
|
|
@@ -84314,16 +84769,17 @@ class WorkforceManagementApi {
|
|
|
84314
84769
|
* Retrieves time-off limit related values based on a given set of filters.
|
|
84315
84770
|
*
|
|
84316
84771
|
* @param {String} businessUnitId The ID of the business unit
|
|
84317
|
-
* @param {Object}
|
|
84318
|
-
* @param {Object} opts.body body
|
|
84772
|
+
* @param {Object} body body
|
|
84319
84773
|
*/
|
|
84320
|
-
postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId,
|
|
84321
|
-
opts = opts || {};
|
|
84322
|
-
|
|
84774
|
+
postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, body) {
|
|
84323
84775
|
// verify the required parameter 'businessUnitId' is set
|
|
84324
84776
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84325
84777
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
|
|
84326
84778
|
}
|
|
84779
|
+
// verify the required parameter 'body' is set
|
|
84780
|
+
if (body === undefined || body === null) {
|
|
84781
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
|
|
84782
|
+
}
|
|
84327
84783
|
|
|
84328
84784
|
return this.apiClient.callApi(
|
|
84329
84785
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query',
|
|
@@ -84332,7 +84788,7 @@ class WorkforceManagementApi {
|
|
|
84332
84788
|
{ },
|
|
84333
84789
|
{ },
|
|
84334
84790
|
{ },
|
|
84335
|
-
|
|
84791
|
+
body,
|
|
84336
84792
|
['PureCloud OAuth'],
|
|
84337
84793
|
['application/json'],
|
|
84338
84794
|
['application/json']
|
|
@@ -84343,16 +84799,17 @@ class WorkforceManagementApi {
|
|
|
84343
84799
|
* Creates a new time-off plan
|
|
84344
84800
|
*
|
|
84345
84801
|
* @param {String} businessUnitId The ID of the business unit
|
|
84346
|
-
* @param {Object}
|
|
84347
|
-
* @param {Object} opts.body body
|
|
84802
|
+
* @param {Object} body body
|
|
84348
84803
|
*/
|
|
84349
|
-
postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,
|
|
84350
|
-
opts = opts || {};
|
|
84351
|
-
|
|
84804
|
+
postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, body) {
|
|
84352
84805
|
// verify the required parameter 'businessUnitId' is set
|
|
84353
84806
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84354
84807
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';
|
|
84355
84808
|
}
|
|
84809
|
+
// verify the required parameter 'body' is set
|
|
84810
|
+
if (body === undefined || body === null) {
|
|
84811
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeoffplans';
|
|
84812
|
+
}
|
|
84356
84813
|
|
|
84357
84814
|
return this.apiClient.callApi(
|
|
84358
84815
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans',
|
|
@@ -84361,7 +84818,7 @@ class WorkforceManagementApi {
|
|
|
84361
84818
|
{ },
|
|
84362
84819
|
{ },
|
|
84363
84820
|
{ },
|
|
84364
|
-
|
|
84821
|
+
body,
|
|
84365
84822
|
['PureCloud OAuth'],
|
|
84366
84823
|
['application/json'],
|
|
84367
84824
|
['application/json']
|
|
@@ -84459,12 +84916,9 @@ class WorkforceManagementApi {
|
|
|
84459
84916
|
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
84460
84917
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
84461
84918
|
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
84462
|
-
* @param {Object}
|
|
84463
|
-
* @param {Object} opts.body body
|
|
84919
|
+
* @param {Object} body body
|
|
84464
84920
|
*/
|
|
84465
|
-
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId,
|
|
84466
|
-
opts = opts || {};
|
|
84467
|
-
|
|
84921
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, body) {
|
|
84468
84922
|
// verify the required parameter 'businessUnitId' is set
|
|
84469
84923
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84470
84924
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
@@ -84477,6 +84931,10 @@ class WorkforceManagementApi {
|
|
|
84477
84931
|
if (scheduleId === undefined || scheduleId === null) {
|
|
84478
84932
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
84479
84933
|
}
|
|
84934
|
+
// verify the required parameter 'body' is set
|
|
84935
|
+
if (body === undefined || body === null) {
|
|
84936
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
84937
|
+
}
|
|
84480
84938
|
|
|
84481
84939
|
return this.apiClient.callApi(
|
|
84482
84940
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations',
|
|
@@ -84485,7 +84943,7 @@ class WorkforceManagementApi {
|
|
|
84485
84943
|
{ },
|
|
84486
84944
|
{ },
|
|
84487
84945
|
{ },
|
|
84488
|
-
|
|
84946
|
+
body,
|
|
84489
84947
|
['PureCloud OAuth'],
|
|
84490
84948
|
['application/json'],
|
|
84491
84949
|
['application/json']
|
|
@@ -84498,12 +84956,9 @@ class WorkforceManagementApi {
|
|
|
84498
84956
|
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
84499
84957
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
84500
84958
|
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
84501
|
-
* @param {Object}
|
|
84502
|
-
* @param {Object} opts.body body
|
|
84959
|
+
* @param {Object} body body
|
|
84503
84960
|
*/
|
|
84504
|
-
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId,
|
|
84505
|
-
opts = opts || {};
|
|
84506
|
-
|
|
84961
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, body) {
|
|
84507
84962
|
// verify the required parameter 'businessUnitId' is set
|
|
84508
84963
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84509
84964
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
@@ -84516,6 +84971,10 @@ class WorkforceManagementApi {
|
|
|
84516
84971
|
if (scheduleId === undefined || scheduleId === null) {
|
|
84517
84972
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
84518
84973
|
}
|
|
84974
|
+
// verify the required parameter 'body' is set
|
|
84975
|
+
if (body === undefined || body === null) {
|
|
84976
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
84977
|
+
}
|
|
84519
84978
|
|
|
84520
84979
|
return this.apiClient.callApi(
|
|
84521
84980
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl',
|
|
@@ -84524,7 +84983,7 @@ class WorkforceManagementApi {
|
|
|
84524
84983
|
{ },
|
|
84525
84984
|
{ },
|
|
84526
84985
|
{ },
|
|
84527
|
-
|
|
84986
|
+
body,
|
|
84528
84987
|
['PureCloud OAuth'],
|
|
84529
84988
|
['application/json'],
|
|
84530
84989
|
['application/json']
|
|
@@ -84983,12 +85442,9 @@ class WorkforceManagementApi {
|
|
|
84983
85442
|
*
|
|
84984
85443
|
* @param {String} businessUnitId The ID of the business unit
|
|
84985
85444
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
84986
|
-
* @param {Object}
|
|
84987
|
-
* @param {Object} opts.body body
|
|
85445
|
+
* @param {Object} body body
|
|
84988
85446
|
*/
|
|
84989
|
-
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId,
|
|
84990
|
-
opts = opts || {};
|
|
84991
|
-
|
|
85447
|
+
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, body) {
|
|
84992
85448
|
// verify the required parameter 'businessUnitId' is set
|
|
84993
85449
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84994
85450
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
@@ -84997,6 +85453,10 @@ class WorkforceManagementApi {
|
|
|
84997
85453
|
if (bidId === undefined || bidId === null) {
|
|
84998
85454
|
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
84999
85455
|
}
|
|
85456
|
+
// verify the required parameter 'body' is set
|
|
85457
|
+
if (body === undefined || body === null) {
|
|
85458
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
85459
|
+
}
|
|
85000
85460
|
|
|
85001
85461
|
return this.apiClient.callApi(
|
|
85002
85462
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups',
|
|
@@ -85005,7 +85465,7 @@ class WorkforceManagementApi {
|
|
|
85005
85465
|
{ },
|
|
85006
85466
|
{ },
|
|
85007
85467
|
{ },
|
|
85008
|
-
|
|
85468
|
+
body,
|
|
85009
85469
|
['PureCloud OAuth'],
|
|
85010
85470
|
['application/json'],
|
|
85011
85471
|
['application/json']
|
|
@@ -85016,16 +85476,17 @@ class WorkforceManagementApi {
|
|
|
85016
85476
|
* Create a new work plan bid
|
|
85017
85477
|
*
|
|
85018
85478
|
* @param {String} businessUnitId The ID of the business unit
|
|
85019
|
-
* @param {Object}
|
|
85020
|
-
* @param {Object} opts.body The work plan bid to be created
|
|
85479
|
+
* @param {Object} body The work plan bid to be created
|
|
85021
85480
|
*/
|
|
85022
|
-
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId,
|
|
85023
|
-
opts = opts || {};
|
|
85024
|
-
|
|
85481
|
+
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, body) {
|
|
85025
85482
|
// verify the required parameter 'businessUnitId' is set
|
|
85026
85483
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
85027
85484
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
85028
85485
|
}
|
|
85486
|
+
// verify the required parameter 'body' is set
|
|
85487
|
+
if (body === undefined || body === null) {
|
|
85488
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
85489
|
+
}
|
|
85029
85490
|
|
|
85030
85491
|
return this.apiClient.callApi(
|
|
85031
85492
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
|
|
@@ -85034,7 +85495,7 @@ class WorkforceManagementApi {
|
|
|
85034
85495
|
{ },
|
|
85035
85496
|
{ },
|
|
85036
85497
|
{ },
|
|
85037
|
-
|
|
85498
|
+
body,
|
|
85038
85499
|
['PureCloud OAuth'],
|
|
85039
85500
|
['application/json'],
|
|
85040
85501
|
['application/json']
|
|
@@ -85044,12 +85505,13 @@ class WorkforceManagementApi {
|
|
|
85044
85505
|
/**
|
|
85045
85506
|
* Add a new business unit
|
|
85046
85507
|
* It may take a minute or two for a new business unit to be available for api operations
|
|
85047
|
-
* @param {Object}
|
|
85048
|
-
* @param {Object} opts.body body
|
|
85508
|
+
* @param {Object} body body
|
|
85049
85509
|
*/
|
|
85050
|
-
postWorkforcemanagementBusinessunits(
|
|
85051
|
-
|
|
85052
|
-
|
|
85510
|
+
postWorkforcemanagementBusinessunits(body) {
|
|
85511
|
+
// verify the required parameter 'body' is set
|
|
85512
|
+
if (body === undefined || body === null) {
|
|
85513
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunits';
|
|
85514
|
+
}
|
|
85053
85515
|
|
|
85054
85516
|
return this.apiClient.callApi(
|
|
85055
85517
|
'/api/v2/workforcemanagement/businessunits',
|
|
@@ -85058,7 +85520,7 @@ class WorkforceManagementApi {
|
|
|
85058
85520
|
{ },
|
|
85059
85521
|
{ },
|
|
85060
85522
|
{ },
|
|
85061
|
-
|
|
85523
|
+
body,
|
|
85062
85524
|
['PureCloud OAuth'],
|
|
85063
85525
|
['application/json'],
|
|
85064
85526
|
['application/json']
|
|
@@ -85092,12 +85554,13 @@ class WorkforceManagementApi {
|
|
|
85092
85554
|
/**
|
|
85093
85555
|
* Delete the list of the historical data import entries
|
|
85094
85556
|
*
|
|
85095
|
-
* @param {Object}
|
|
85096
|
-
* @param {Object} opts.body body
|
|
85557
|
+
* @param {Object} body body
|
|
85097
85558
|
*/
|
|
85098
|
-
postWorkforcemanagementHistoricaldataBulkRemoveJobs(
|
|
85099
|
-
|
|
85100
|
-
|
|
85559
|
+
postWorkforcemanagementHistoricaldataBulkRemoveJobs(body) {
|
|
85560
|
+
// verify the required parameter 'body' is set
|
|
85561
|
+
if (body === undefined || body === null) {
|
|
85562
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';
|
|
85563
|
+
}
|
|
85101
85564
|
|
|
85102
85565
|
return this.apiClient.callApi(
|
|
85103
85566
|
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
@@ -85106,7 +85569,7 @@ class WorkforceManagementApi {
|
|
|
85106
85569
|
{ },
|
|
85107
85570
|
{ },
|
|
85108
85571
|
{ },
|
|
85109
|
-
|
|
85572
|
+
body,
|
|
85110
85573
|
['PureCloud OAuth'],
|
|
85111
85574
|
['application/json'],
|
|
85112
85575
|
['application/json']
|
|
@@ -85137,12 +85600,13 @@ class WorkforceManagementApi {
|
|
|
85137
85600
|
/**
|
|
85138
85601
|
* Trigger validation process for historical import
|
|
85139
85602
|
*
|
|
85140
|
-
* @param {Object}
|
|
85141
|
-
* @param {Object} opts.body body
|
|
85603
|
+
* @param {Object} body body
|
|
85142
85604
|
*/
|
|
85143
|
-
postWorkforcemanagementHistoricaldataValidate(
|
|
85144
|
-
|
|
85145
|
-
|
|
85605
|
+
postWorkforcemanagementHistoricaldataValidate(body) {
|
|
85606
|
+
// verify the required parameter 'body' is set
|
|
85607
|
+
if (body === undefined || body === null) {
|
|
85608
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataValidate';
|
|
85609
|
+
}
|
|
85146
85610
|
|
|
85147
85611
|
return this.apiClient.callApi(
|
|
85148
85612
|
'/api/v2/workforcemanagement/historicaldata/validate',
|
|
@@ -85151,7 +85615,7 @@ class WorkforceManagementApi {
|
|
|
85151
85615
|
{ },
|
|
85152
85616
|
{ },
|
|
85153
85617
|
{ },
|
|
85154
|
-
|
|
85618
|
+
body,
|
|
85155
85619
|
['PureCloud OAuth'],
|
|
85156
85620
|
['application/json'],
|
|
85157
85621
|
['application/json']
|
|
@@ -85187,17 +85651,21 @@ class WorkforceManagementApi {
|
|
|
85187
85651
|
* Get agents work plans configuration
|
|
85188
85652
|
*
|
|
85189
85653
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85654
|
+
* @param {Object} body body
|
|
85190
85655
|
* @param {Object} opts Optional parameters
|
|
85191
85656
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85192
|
-
* @param {Object} opts.body body
|
|
85193
85657
|
*/
|
|
85194
|
-
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
|
|
85658
|
+
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, body, opts) {
|
|
85195
85659
|
opts = opts || {};
|
|
85196
85660
|
|
|
85197
85661
|
// verify the required parameter 'managementUnitId' is set
|
|
85198
85662
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85199
85663
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
85200
85664
|
}
|
|
85665
|
+
// verify the required parameter 'body' is set
|
|
85666
|
+
if (body === undefined || body === null) {
|
|
85667
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
85668
|
+
}
|
|
85201
85669
|
|
|
85202
85670
|
return this.apiClient.callApi(
|
|
85203
85671
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
|
|
@@ -85206,7 +85674,7 @@ class WorkforceManagementApi {
|
|
|
85206
85674
|
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
85207
85675
|
{ },
|
|
85208
85676
|
{ },
|
|
85209
|
-
|
|
85677
|
+
body,
|
|
85210
85678
|
['PureCloud OAuth'],
|
|
85211
85679
|
['application/json'],
|
|
85212
85680
|
['application/json']
|
|
@@ -85217,18 +85685,22 @@ class WorkforceManagementApi {
|
|
|
85217
85685
|
* Query published schedules for given given time range for set of users
|
|
85218
85686
|
*
|
|
85219
85687
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85688
|
+
* @param {Object} body body
|
|
85220
85689
|
* @param {Object} opts Optional parameters
|
|
85221
85690
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
85222
85691
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85223
|
-
* @param {Object} opts.body body
|
|
85224
85692
|
*/
|
|
85225
|
-
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|
|
85693
|
+
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, body, opts) {
|
|
85226
85694
|
opts = opts || {};
|
|
85227
85695
|
|
|
85228
85696
|
// verify the required parameter 'managementUnitId' is set
|
|
85229
85697
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85230
85698
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
|
|
85231
85699
|
}
|
|
85700
|
+
// verify the required parameter 'body' is set
|
|
85701
|
+
if (body === undefined || body === null) {
|
|
85702
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
|
|
85703
|
+
}
|
|
85232
85704
|
|
|
85233
85705
|
return this.apiClient.callApi(
|
|
85234
85706
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search',
|
|
@@ -85237,7 +85709,7 @@ class WorkforceManagementApi {
|
|
|
85237
85709
|
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
85238
85710
|
{ },
|
|
85239
85711
|
{ },
|
|
85240
|
-
|
|
85712
|
+
body,
|
|
85241
85713
|
['PureCloud OAuth'],
|
|
85242
85714
|
['application/json'],
|
|
85243
85715
|
['application/json']
|
|
@@ -85248,16 +85720,17 @@ class WorkforceManagementApi {
|
|
|
85248
85720
|
* Request a historical adherence report
|
|
85249
85721
|
* The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
|
|
85250
85722
|
* @param {String} managementUnitId The ID of the management unit
|
|
85251
|
-
* @param {Object}
|
|
85252
|
-
* @param {Object} opts.body body
|
|
85723
|
+
* @param {Object} body body
|
|
85253
85724
|
*/
|
|
85254
|
-
postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId,
|
|
85255
|
-
opts = opts || {};
|
|
85256
|
-
|
|
85725
|
+
postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, body) {
|
|
85257
85726
|
// verify the required parameter 'managementUnitId' is set
|
|
85258
85727
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85259
85728
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
|
|
85260
85729
|
}
|
|
85730
|
+
// verify the required parameter 'body' is set
|
|
85731
|
+
if (body === undefined || body === null) {
|
|
85732
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
|
|
85733
|
+
}
|
|
85261
85734
|
|
|
85262
85735
|
return this.apiClient.callApi(
|
|
85263
85736
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/historicaladherencequery',
|
|
@@ -85266,7 +85739,7 @@ class WorkforceManagementApi {
|
|
|
85266
85739
|
{ },
|
|
85267
85740
|
{ },
|
|
85268
85741
|
{ },
|
|
85269
|
-
|
|
85742
|
+
body,
|
|
85270
85743
|
['PureCloud OAuth'],
|
|
85271
85744
|
['application/json'],
|
|
85272
85745
|
['application/json']
|
|
@@ -85277,16 +85750,17 @@ class WorkforceManagementApi {
|
|
|
85277
85750
|
* Move the requested management unit to a new business unit
|
|
85278
85751
|
* Returns status 200 if the management unit is already in the requested business unit
|
|
85279
85752
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85280
|
-
* @param {Object}
|
|
85281
|
-
* @param {Object} opts.body body
|
|
85753
|
+
* @param {Object} body body
|
|
85282
85754
|
*/
|
|
85283
|
-
postWorkforcemanagementManagementunitMove(managementUnitId,
|
|
85284
|
-
opts = opts || {};
|
|
85285
|
-
|
|
85755
|
+
postWorkforcemanagementManagementunitMove(managementUnitId, body) {
|
|
85286
85756
|
// verify the required parameter 'managementUnitId' is set
|
|
85287
85757
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85288
85758
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';
|
|
85289
85759
|
}
|
|
85760
|
+
// verify the required parameter 'body' is set
|
|
85761
|
+
if (body === undefined || body === null) {
|
|
85762
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitMove';
|
|
85763
|
+
}
|
|
85290
85764
|
|
|
85291
85765
|
return this.apiClient.callApi(
|
|
85292
85766
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/move',
|
|
@@ -85295,7 +85769,7 @@ class WorkforceManagementApi {
|
|
|
85295
85769
|
{ },
|
|
85296
85770
|
{ },
|
|
85297
85771
|
{ },
|
|
85298
|
-
|
|
85772
|
+
body,
|
|
85299
85773
|
['PureCloud OAuth'],
|
|
85300
85774
|
['application/json'],
|
|
85301
85775
|
['application/json']
|
|
@@ -85306,17 +85780,18 @@ class WorkforceManagementApi {
|
|
|
85306
85780
|
* Query published schedules for given given time range for set of users
|
|
85307
85781
|
*
|
|
85308
85782
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85309
|
-
* @param {Object}
|
|
85310
|
-
* @param {Object} opts.body body
|
|
85783
|
+
* @param {Object} body body
|
|
85311
85784
|
* @deprecated
|
|
85312
85785
|
*/
|
|
85313
|
-
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId,
|
|
85314
|
-
opts = opts || {};
|
|
85315
|
-
|
|
85786
|
+
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, body) {
|
|
85316
85787
|
// verify the required parameter 'managementUnitId' is set
|
|
85317
85788
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85318
85789
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';
|
|
85319
85790
|
}
|
|
85791
|
+
// verify the required parameter 'body' is set
|
|
85792
|
+
if (body === undefined || body === null) {
|
|
85793
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitSchedulesSearch';
|
|
85794
|
+
}
|
|
85320
85795
|
|
|
85321
85796
|
return this.apiClient.callApi(
|
|
85322
85797
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search',
|
|
@@ -85325,7 +85800,7 @@ class WorkforceManagementApi {
|
|
|
85325
85800
|
{ },
|
|
85326
85801
|
{ },
|
|
85327
85802
|
{ },
|
|
85328
|
-
|
|
85803
|
+
body,
|
|
85329
85804
|
['PureCloud OAuth'],
|
|
85330
85805
|
['application/json'],
|
|
85331
85806
|
['application/json']
|
|
@@ -85336,16 +85811,17 @@ class WorkforceManagementApi {
|
|
|
85336
85811
|
* Request a historical shrinkage report
|
|
85337
85812
|
* The maximum supported range for historical shrinkage queries is up to 32 days. Historical Shrinkage for a given date range can be queried in two modes - granular and aggregated. To see granular shrinkage information, provide granularity in the request body.
|
|
85338
85813
|
* @param {String} managementUnitId The ID of the management unit
|
|
85339
|
-
* @param {Object}
|
|
85340
|
-
* @param {Object} opts.body body
|
|
85814
|
+
* @param {Object} body body
|
|
85341
85815
|
*/
|
|
85342
|
-
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId,
|
|
85343
|
-
opts = opts || {};
|
|
85344
|
-
|
|
85816
|
+
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, body) {
|
|
85345
85817
|
// verify the required parameter 'managementUnitId' is set
|
|
85346
85818
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85347
85819
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
85348
85820
|
}
|
|
85821
|
+
// verify the required parameter 'body' is set
|
|
85822
|
+
if (body === undefined || body === null) {
|
|
85823
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
85824
|
+
}
|
|
85349
85825
|
|
|
85350
85826
|
return this.apiClient.callApi(
|
|
85351
85827
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs',
|
|
@@ -85354,7 +85830,7 @@ class WorkforceManagementApi {
|
|
|
85354
85830
|
{ },
|
|
85355
85831
|
{ },
|
|
85356
85832
|
{ },
|
|
85357
|
-
|
|
85833
|
+
body,
|
|
85358
85834
|
['PureCloud OAuth'],
|
|
85359
85835
|
['application/json'],
|
|
85360
85836
|
['application/json']
|
|
@@ -85365,16 +85841,17 @@ class WorkforceManagementApi {
|
|
|
85365
85841
|
* Creates a new time off limit object under management unit.
|
|
85366
85842
|
* Only one limit object is allowed under management unit, so an attempt to create second object will fail.
|
|
85367
85843
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85368
|
-
* @param {Object}
|
|
85369
|
-
* @param {Object} opts.body body
|
|
85844
|
+
* @param {Object} body body
|
|
85370
85845
|
*/
|
|
85371
|
-
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId,
|
|
85372
|
-
opts = opts || {};
|
|
85373
|
-
|
|
85846
|
+
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, body) {
|
|
85374
85847
|
// verify the required parameter 'managementUnitId' is set
|
|
85375
85848
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85376
85849
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
85377
85850
|
}
|
|
85851
|
+
// verify the required parameter 'body' is set
|
|
85852
|
+
if (body === undefined || body === null) {
|
|
85853
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
85854
|
+
}
|
|
85378
85855
|
|
|
85379
85856
|
return this.apiClient.callApi(
|
|
85380
85857
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
|
|
@@ -85383,7 +85860,7 @@ class WorkforceManagementApi {
|
|
|
85383
85860
|
{ },
|
|
85384
85861
|
{ },
|
|
85385
85862
|
{ },
|
|
85386
|
-
|
|
85863
|
+
body,
|
|
85387
85864
|
['PureCloud OAuth'],
|
|
85388
85865
|
['application/json'],
|
|
85389
85866
|
['application/json']
|
|
@@ -85394,16 +85871,17 @@ class WorkforceManagementApi {
|
|
|
85394
85871
|
* Retrieves time off limit related values based on a given set of filters.
|
|
85395
85872
|
*
|
|
85396
85873
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85397
|
-
* @param {Object}
|
|
85398
|
-
* @param {Object} opts.body body
|
|
85874
|
+
* @param {Object} body body
|
|
85399
85875
|
*/
|
|
85400
|
-
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId,
|
|
85401
|
-
opts = opts || {};
|
|
85402
|
-
|
|
85876
|
+
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, body) {
|
|
85403
85877
|
// verify the required parameter 'managementUnitId' is set
|
|
85404
85878
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85405
85879
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
85406
85880
|
}
|
|
85881
|
+
// verify the required parameter 'body' is set
|
|
85882
|
+
if (body === undefined || body === null) {
|
|
85883
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
85884
|
+
}
|
|
85407
85885
|
|
|
85408
85886
|
return this.apiClient.callApi(
|
|
85409
85887
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query',
|
|
@@ -85412,7 +85890,7 @@ class WorkforceManagementApi {
|
|
|
85412
85890
|
{ },
|
|
85413
85891
|
{ },
|
|
85414
85892
|
{ },
|
|
85415
|
-
|
|
85893
|
+
body,
|
|
85416
85894
|
['PureCloud OAuth'],
|
|
85417
85895
|
['application/json'],
|
|
85418
85896
|
['application/json']
|
|
@@ -85423,16 +85901,17 @@ class WorkforceManagementApi {
|
|
|
85423
85901
|
* Creates a new time off plan
|
|
85424
85902
|
*
|
|
85425
85903
|
* @param {String} managementUnitId The ID of the management unit
|
|
85426
|
-
* @param {Object}
|
|
85427
|
-
* @param {Object} opts.body body
|
|
85904
|
+
* @param {Object} body body
|
|
85428
85905
|
*/
|
|
85429
|
-
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId,
|
|
85430
|
-
opts = opts || {};
|
|
85431
|
-
|
|
85906
|
+
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, body) {
|
|
85432
85907
|
// verify the required parameter 'managementUnitId' is set
|
|
85433
85908
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85434
85909
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
85435
85910
|
}
|
|
85911
|
+
// verify the required parameter 'body' is set
|
|
85912
|
+
if (body === undefined || body === null) {
|
|
85913
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
85914
|
+
}
|
|
85436
85915
|
|
|
85437
85916
|
return this.apiClient.callApi(
|
|
85438
85917
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
|
|
@@ -85441,7 +85920,7 @@ class WorkforceManagementApi {
|
|
|
85441
85920
|
{ },
|
|
85442
85921
|
{ },
|
|
85443
85922
|
{ },
|
|
85444
|
-
|
|
85923
|
+
body,
|
|
85445
85924
|
['PureCloud OAuth'],
|
|
85446
85925
|
['application/json'],
|
|
85447
85926
|
['application/json']
|
|
@@ -85452,16 +85931,17 @@ class WorkforceManagementApi {
|
|
|
85452
85931
|
* Create a new time off request
|
|
85453
85932
|
*
|
|
85454
85933
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85455
|
-
* @param {Object}
|
|
85456
|
-
* @param {Object} opts.body body
|
|
85934
|
+
* @param {Object} body body
|
|
85457
85935
|
*/
|
|
85458
|
-
postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId,
|
|
85459
|
-
opts = opts || {};
|
|
85460
|
-
|
|
85936
|
+
postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, body) {
|
|
85461
85937
|
// verify the required parameter 'managementUnitId' is set
|
|
85462
85938
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85463
85939
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';
|
|
85464
85940
|
}
|
|
85941
|
+
// verify the required parameter 'body' is set
|
|
85942
|
+
if (body === undefined || body === null) {
|
|
85943
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequests';
|
|
85944
|
+
}
|
|
85465
85945
|
|
|
85466
85946
|
return this.apiClient.callApi(
|
|
85467
85947
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests',
|
|
@@ -85470,7 +85950,7 @@ class WorkforceManagementApi {
|
|
|
85470
85950
|
{ },
|
|
85471
85951
|
{ },
|
|
85472
85952
|
{ },
|
|
85473
|
-
|
|
85953
|
+
body,
|
|
85474
85954
|
['PureCloud OAuth'],
|
|
85475
85955
|
['application/json'],
|
|
85476
85956
|
['application/json']
|
|
@@ -85481,16 +85961,17 @@ class WorkforceManagementApi {
|
|
|
85481
85961
|
* Retrieves integration statuses for a list of time off requests
|
|
85482
85962
|
*
|
|
85483
85963
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85484
|
-
* @param {Object}
|
|
85485
|
-
* @param {Object} opts.body body
|
|
85964
|
+
* @param {Object} body body
|
|
85486
85965
|
*/
|
|
85487
|
-
postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId,
|
|
85488
|
-
opts = opts || {};
|
|
85489
|
-
|
|
85966
|
+
postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, body) {
|
|
85490
85967
|
// verify the required parameter 'managementUnitId' is set
|
|
85491
85968
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85492
85969
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
|
|
85493
85970
|
}
|
|
85971
|
+
// verify the required parameter 'body' is set
|
|
85972
|
+
if (body === undefined || body === null) {
|
|
85973
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
|
|
85974
|
+
}
|
|
85494
85975
|
|
|
85495
85976
|
return this.apiClient.callApi(
|
|
85496
85977
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/integrationstatus/query',
|
|
@@ -85499,7 +85980,7 @@ class WorkforceManagementApi {
|
|
|
85499
85980
|
{ },
|
|
85500
85981
|
{ },
|
|
85501
85982
|
{ },
|
|
85502
|
-
|
|
85983
|
+
body,
|
|
85503
85984
|
['PureCloud OAuth'],
|
|
85504
85985
|
['application/json'],
|
|
85505
85986
|
['application/json']
|
|
@@ -85510,17 +85991,21 @@ class WorkforceManagementApi {
|
|
|
85510
85991
|
* Fetches time off requests matching the conditions specified in the request body
|
|
85511
85992
|
* Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are filters
|
|
85512
85993
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85994
|
+
* @param {Object} body body
|
|
85513
85995
|
* @param {Object} opts Optional parameters
|
|
85514
85996
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85515
|
-
* @param {Object} opts.body body
|
|
85516
85997
|
*/
|
|
85517
|
-
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
|
|
85998
|
+
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, body, opts) {
|
|
85518
85999
|
opts = opts || {};
|
|
85519
86000
|
|
|
85520
86001
|
// verify the required parameter 'managementUnitId' is set
|
|
85521
86002
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85522
86003
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
|
|
85523
86004
|
}
|
|
86005
|
+
// verify the required parameter 'body' is set
|
|
86006
|
+
if (body === undefined || body === null) {
|
|
86007
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
|
|
86008
|
+
}
|
|
85524
86009
|
|
|
85525
86010
|
return this.apiClient.callApi(
|
|
85526
86011
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
|
|
@@ -85529,7 +86014,7 @@ class WorkforceManagementApi {
|
|
|
85529
86014
|
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
85530
86015
|
{ },
|
|
85531
86016
|
{ },
|
|
85532
|
-
|
|
86017
|
+
body,
|
|
85533
86018
|
['PureCloud OAuth'],
|
|
85534
86019
|
['application/json'],
|
|
85535
86020
|
['application/json']
|
|
@@ -85540,16 +86025,17 @@ class WorkforceManagementApi {
|
|
|
85540
86025
|
* Retrieves daily waitlist position for a list of time off requests
|
|
85541
86026
|
*
|
|
85542
86027
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85543
|
-
* @param {Object}
|
|
85544
|
-
* @param {Object} opts.body body
|
|
86028
|
+
* @param {Object} body body
|
|
85545
86029
|
*/
|
|
85546
|
-
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId,
|
|
85547
|
-
opts = opts || {};
|
|
85548
|
-
|
|
86030
|
+
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, body) {
|
|
85549
86031
|
// verify the required parameter 'managementUnitId' is set
|
|
85550
86032
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85551
86033
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
85552
86034
|
}
|
|
86035
|
+
// verify the required parameter 'body' is set
|
|
86036
|
+
if (body === undefined || body === null) {
|
|
86037
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
86038
|
+
}
|
|
85553
86039
|
|
|
85554
86040
|
return this.apiClient.callApi(
|
|
85555
86041
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query',
|
|
@@ -85558,7 +86044,7 @@ class WorkforceManagementApi {
|
|
|
85558
86044
|
{ },
|
|
85559
86045
|
{ },
|
|
85560
86046
|
{ },
|
|
85561
|
-
|
|
86047
|
+
body,
|
|
85562
86048
|
['PureCloud OAuth'],
|
|
85563
86049
|
['application/json'],
|
|
85564
86050
|
['application/json']
|
|
@@ -85640,12 +86126,9 @@ class WorkforceManagementApi {
|
|
|
85640
86126
|
*
|
|
85641
86127
|
* @param {String} managementUnitId The ID of the management unit
|
|
85642
86128
|
* @param {String} userId The id of the user for whom the time off request estimate is requested
|
|
85643
|
-
* @param {Object}
|
|
85644
|
-
* @param {Object} opts.body body
|
|
86129
|
+
* @param {Object} body body
|
|
85645
86130
|
*/
|
|
85646
|
-
postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId,
|
|
85647
|
-
opts = opts || {};
|
|
85648
|
-
|
|
86131
|
+
postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, body) {
|
|
85649
86132
|
// verify the required parameter 'managementUnitId' is set
|
|
85650
86133
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85651
86134
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
@@ -85654,6 +86137,10 @@ class WorkforceManagementApi {
|
|
|
85654
86137
|
if (userId === undefined || userId === null) {
|
|
85655
86138
|
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
85656
86139
|
}
|
|
86140
|
+
// verify the required parameter 'body' is set
|
|
86141
|
+
if (body === undefined || body === null) {
|
|
86142
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
86143
|
+
}
|
|
85657
86144
|
|
|
85658
86145
|
return this.apiClient.callApi(
|
|
85659
86146
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate',
|
|
@@ -85662,7 +86149,7 @@ class WorkforceManagementApi {
|
|
|
85662
86149
|
{ },
|
|
85663
86150
|
{ },
|
|
85664
86151
|
{ },
|
|
85665
|
-
|
|
86152
|
+
body,
|
|
85666
86153
|
['PureCloud OAuth'],
|
|
85667
86154
|
['application/json'],
|
|
85668
86155
|
['application/json']
|
|
@@ -85827,12 +86314,9 @@ class WorkforceManagementApi {
|
|
|
85827
86314
|
*
|
|
85828
86315
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85829
86316
|
* @param {String} workPlanId The ID of the work plan to create a copy
|
|
85830
|
-
* @param {Object}
|
|
85831
|
-
* @param {Object} opts.body body
|
|
86317
|
+
* @param {Object} body body
|
|
85832
86318
|
*/
|
|
85833
|
-
postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId,
|
|
85834
|
-
opts = opts || {};
|
|
85835
|
-
|
|
86319
|
+
postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, body) {
|
|
85836
86320
|
// verify the required parameter 'managementUnitId' is set
|
|
85837
86321
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85838
86322
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
@@ -85841,6 +86325,10 @@ class WorkforceManagementApi {
|
|
|
85841
86325
|
if (workPlanId === undefined || workPlanId === null) {
|
|
85842
86326
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
85843
86327
|
}
|
|
86328
|
+
// verify the required parameter 'body' is set
|
|
86329
|
+
if (body === undefined || body === null) {
|
|
86330
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
86331
|
+
}
|
|
85844
86332
|
|
|
85845
86333
|
return this.apiClient.callApi(
|
|
85846
86334
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy',
|
|
@@ -85849,7 +86337,7 @@ class WorkforceManagementApi {
|
|
|
85849
86337
|
{ },
|
|
85850
86338
|
{ },
|
|
85851
86339
|
{ },
|
|
85852
|
-
|
|
86340
|
+
body,
|
|
85853
86341
|
['PureCloud OAuth'],
|
|
85854
86342
|
['application/json'],
|
|
85855
86343
|
['application/json']
|
|
@@ -85861,11 +86349,11 @@ class WorkforceManagementApi {
|
|
|
85861
86349
|
*
|
|
85862
86350
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85863
86351
|
* @param {String} workPlanId The ID of the work plan to validate. For new work plan, use the word 'new' for the ID.
|
|
86352
|
+
* @param {Object} body body
|
|
85864
86353
|
* @param {Object} opts Optional parameters
|
|
85865
86354
|
* @param {Array.<String>} opts.expand
|
|
85866
|
-
* @param {Object} opts.body body
|
|
85867
86355
|
*/
|
|
85868
|
-
postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, opts) {
|
|
86356
|
+
postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, body, opts) {
|
|
85869
86357
|
opts = opts || {};
|
|
85870
86358
|
|
|
85871
86359
|
// verify the required parameter 'managementUnitId' is set
|
|
@@ -85876,6 +86364,10 @@ class WorkforceManagementApi {
|
|
|
85876
86364
|
if (workPlanId === undefined || workPlanId === null) {
|
|
85877
86365
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
85878
86366
|
}
|
|
86367
|
+
// verify the required parameter 'body' is set
|
|
86368
|
+
if (body === undefined || body === null) {
|
|
86369
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
86370
|
+
}
|
|
85879
86371
|
|
|
85880
86372
|
return this.apiClient.callApi(
|
|
85881
86373
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate',
|
|
@@ -85884,7 +86376,7 @@ class WorkforceManagementApi {
|
|
|
85884
86376
|
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
85885
86377
|
{ },
|
|
85886
86378
|
{ },
|
|
85887
|
-
|
|
86379
|
+
body,
|
|
85888
86380
|
['PureCloud OAuth'],
|
|
85889
86381
|
['application/json'],
|
|
85890
86382
|
['application/json']
|
|
@@ -85896,12 +86388,9 @@ class WorkforceManagementApi {
|
|
|
85896
86388
|
*
|
|
85897
86389
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85898
86390
|
* @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
|
|
85899
|
-
* @param {Object}
|
|
85900
|
-
* @param {Object} opts.body body
|
|
86391
|
+
* @param {Object} body body
|
|
85901
86392
|
*/
|
|
85902
|
-
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId,
|
|
85903
|
-
opts = opts || {};
|
|
85904
|
-
|
|
86393
|
+
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, body) {
|
|
85905
86394
|
// verify the required parameter 'managementUnitId' is set
|
|
85906
86395
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85907
86396
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
@@ -85910,6 +86399,10 @@ class WorkforceManagementApi {
|
|
|
85910
86399
|
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
85911
86400
|
throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
85912
86401
|
}
|
|
86402
|
+
// verify the required parameter 'body' is set
|
|
86403
|
+
if (body === undefined || body === null) {
|
|
86404
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
86405
|
+
}
|
|
85913
86406
|
|
|
85914
86407
|
return this.apiClient.callApi(
|
|
85915
86408
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
|
|
@@ -85918,7 +86411,7 @@ class WorkforceManagementApi {
|
|
|
85918
86411
|
{ },
|
|
85919
86412
|
{ },
|
|
85920
86413
|
{ },
|
|
85921
|
-
|
|
86414
|
+
body,
|
|
85922
86415
|
['PureCloud OAuth'],
|
|
85923
86416
|
['application/json'],
|
|
85924
86417
|
['application/json']
|
|
@@ -85929,16 +86422,17 @@ class WorkforceManagementApi {
|
|
|
85929
86422
|
* Create a new work plan rotation
|
|
85930
86423
|
*
|
|
85931
86424
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85932
|
-
* @param {Object}
|
|
85933
|
-
* @param {Object} opts.body body
|
|
86425
|
+
* @param {Object} body body
|
|
85934
86426
|
*/
|
|
85935
|
-
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId,
|
|
85936
|
-
opts = opts || {};
|
|
85937
|
-
|
|
86427
|
+
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, body) {
|
|
85938
86428
|
// verify the required parameter 'managementUnitId' is set
|
|
85939
86429
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85940
86430
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
85941
86431
|
}
|
|
86432
|
+
// verify the required parameter 'body' is set
|
|
86433
|
+
if (body === undefined || body === null) {
|
|
86434
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
86435
|
+
}
|
|
85942
86436
|
|
|
85943
86437
|
return this.apiClient.callApi(
|
|
85944
86438
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
@@ -85947,7 +86441,7 @@ class WorkforceManagementApi {
|
|
|
85947
86441
|
{ },
|
|
85948
86442
|
{ },
|
|
85949
86443
|
{ },
|
|
85950
|
-
|
|
86444
|
+
body,
|
|
85951
86445
|
['PureCloud OAuth'],
|
|
85952
86446
|
['application/json'],
|
|
85953
86447
|
['application/json']
|
|
@@ -85958,17 +86452,21 @@ class WorkforceManagementApi {
|
|
|
85958
86452
|
* Create a new work plan
|
|
85959
86453
|
*
|
|
85960
86454
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
86455
|
+
* @param {Object} body body
|
|
85961
86456
|
* @param {Object} opts Optional parameters
|
|
85962
86457
|
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
85963
|
-
* @param {Object} opts.body body
|
|
85964
86458
|
*/
|
|
85965
|
-
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
86459
|
+
postWorkforcemanagementManagementunitWorkplans(managementUnitId, body, opts) {
|
|
85966
86460
|
opts = opts || {};
|
|
85967
86461
|
|
|
85968
86462
|
// verify the required parameter 'managementUnitId' is set
|
|
85969
86463
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85970
86464
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';
|
|
85971
86465
|
}
|
|
86466
|
+
// verify the required parameter 'body' is set
|
|
86467
|
+
if (body === undefined || body === null) {
|
|
86468
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplans';
|
|
86469
|
+
}
|
|
85972
86470
|
|
|
85973
86471
|
return this.apiClient.callApi(
|
|
85974
86472
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
@@ -85977,7 +86475,7 @@ class WorkforceManagementApi {
|
|
|
85977
86475
|
{ 'validationMode': opts['validationMode'] },
|
|
85978
86476
|
{ },
|
|
85979
86477
|
{ },
|
|
85980
|
-
|
|
86478
|
+
body,
|
|
85981
86479
|
['PureCloud OAuth'],
|
|
85982
86480
|
['application/json'],
|
|
85983
86481
|
['application/json']
|
|
@@ -85987,12 +86485,13 @@ class WorkforceManagementApi {
|
|
|
85987
86485
|
/**
|
|
85988
86486
|
* Add a management unit
|
|
85989
86487
|
* It may take a minute or two for a new management unit to be available for api operations
|
|
85990
|
-
* @param {Object}
|
|
85991
|
-
* @param {Object} opts.body body
|
|
86488
|
+
* @param {Object} body body
|
|
85992
86489
|
*/
|
|
85993
|
-
postWorkforcemanagementManagementunits(
|
|
85994
|
-
|
|
85995
|
-
|
|
86490
|
+
postWorkforcemanagementManagementunits(body) {
|
|
86491
|
+
// verify the required parameter 'body' is set
|
|
86492
|
+
if (body === undefined || body === null) {
|
|
86493
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunits';
|
|
86494
|
+
}
|
|
85996
86495
|
|
|
85997
86496
|
return this.apiClient.callApi(
|
|
85998
86497
|
'/api/v2/workforcemanagement/managementunits',
|
|
@@ -86001,7 +86500,7 @@ class WorkforceManagementApi {
|
|
|
86001
86500
|
{ },
|
|
86002
86501
|
{ },
|
|
86003
86502
|
{ },
|
|
86004
|
-
|
|
86503
|
+
body,
|
|
86005
86504
|
['PureCloud OAuth'],
|
|
86006
86505
|
['application/json'],
|
|
86007
86506
|
['application/json']
|
|
@@ -86011,12 +86510,13 @@ class WorkforceManagementApi {
|
|
|
86011
86510
|
/**
|
|
86012
86511
|
* Mark a list of notifications as read or unread
|
|
86013
86512
|
*
|
|
86014
|
-
* @param {Object}
|
|
86015
|
-
* @param {Object} opts.body body
|
|
86513
|
+
* @param {Object} body body
|
|
86016
86514
|
*/
|
|
86017
|
-
postWorkforcemanagementNotificationsUpdate(
|
|
86018
|
-
|
|
86019
|
-
|
|
86515
|
+
postWorkforcemanagementNotificationsUpdate(body) {
|
|
86516
|
+
// verify the required parameter 'body' is set
|
|
86517
|
+
if (body === undefined || body === null) {
|
|
86518
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementNotificationsUpdate';
|
|
86519
|
+
}
|
|
86020
86520
|
|
|
86021
86521
|
return this.apiClient.callApi(
|
|
86022
86522
|
'/api/v2/workforcemanagement/notifications/update',
|
|
@@ -86025,7 +86525,7 @@ class WorkforceManagementApi {
|
|
|
86025
86525
|
{ },
|
|
86026
86526
|
{ },
|
|
86027
86527
|
{ },
|
|
86028
|
-
|
|
86528
|
+
body,
|
|
86029
86529
|
['PureCloud OAuth'],
|
|
86030
86530
|
['application/json'],
|
|
86031
86531
|
['application/json']
|
|
@@ -86061,16 +86561,17 @@ class WorkforceManagementApi {
|
|
|
86061
86561
|
* Request a teams historical adherence report
|
|
86062
86562
|
* The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
|
|
86063
86563
|
* @param {String} teamId The ID of the team
|
|
86064
|
-
* @param {Object}
|
|
86065
|
-
* @param {Object} opts.body body
|
|
86564
|
+
* @param {Object} body body
|
|
86066
86565
|
*/
|
|
86067
|
-
postWorkforcemanagementTeamAdherenceHistorical(teamId,
|
|
86068
|
-
opts = opts || {};
|
|
86069
|
-
|
|
86566
|
+
postWorkforcemanagementTeamAdherenceHistorical(teamId, body) {
|
|
86070
86567
|
// verify the required parameter 'teamId' is set
|
|
86071
86568
|
if (teamId === undefined || teamId === null) {
|
|
86072
86569
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
86073
86570
|
}
|
|
86571
|
+
// verify the required parameter 'body' is set
|
|
86572
|
+
if (body === undefined || body === null) {
|
|
86573
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
86574
|
+
}
|
|
86074
86575
|
|
|
86075
86576
|
return this.apiClient.callApi(
|
|
86076
86577
|
'/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
|
|
@@ -86079,7 +86580,7 @@ class WorkforceManagementApi {
|
|
|
86079
86580
|
{ },
|
|
86080
86581
|
{ },
|
|
86081
86582
|
{ },
|
|
86082
|
-
|
|
86583
|
+
body,
|
|
86083
86584
|
['PureCloud OAuth'],
|
|
86084
86585
|
['application/json'],
|
|
86085
86586
|
['application/json']
|
|
@@ -86090,16 +86591,17 @@ class WorkforceManagementApi {
|
|
|
86090
86591
|
* Request a historical shrinkage report
|
|
86091
86592
|
* The maximum supported range for historical shrinkage queries is up to 32 days
|
|
86092
86593
|
* @param {String} teamId The ID of the team
|
|
86093
|
-
* @param {Object}
|
|
86094
|
-
* @param {Object} opts.body body
|
|
86594
|
+
* @param {Object} body body
|
|
86095
86595
|
*/
|
|
86096
|
-
postWorkforcemanagementTeamShrinkageJobs(teamId,
|
|
86097
|
-
opts = opts || {};
|
|
86098
|
-
|
|
86596
|
+
postWorkforcemanagementTeamShrinkageJobs(teamId, body) {
|
|
86099
86597
|
// verify the required parameter 'teamId' is set
|
|
86100
86598
|
if (teamId === undefined || teamId === null) {
|
|
86101
86599
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
86102
86600
|
}
|
|
86601
|
+
// verify the required parameter 'body' is set
|
|
86602
|
+
if (body === undefined || body === null) {
|
|
86603
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
86604
|
+
}
|
|
86103
86605
|
|
|
86104
86606
|
return this.apiClient.callApi(
|
|
86105
86607
|
'/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
|
|
@@ -86108,7 +86610,7 @@ class WorkforceManagementApi {
|
|
|
86108
86610
|
{ },
|
|
86109
86611
|
{ },
|
|
86110
86612
|
{ },
|
|
86111
|
-
|
|
86613
|
+
body,
|
|
86112
86614
|
['PureCloud OAuth'],
|
|
86113
86615
|
['application/json'],
|
|
86114
86616
|
['application/json']
|
|
@@ -86143,12 +86645,13 @@ class WorkforceManagementApi {
|
|
|
86143
86645
|
/**
|
|
86144
86646
|
* Queries available time off for the current user
|
|
86145
86647
|
*
|
|
86146
|
-
* @param {Object}
|
|
86147
|
-
* @param {Object} opts.body body
|
|
86648
|
+
* @param {Object} body body
|
|
86148
86649
|
*/
|
|
86149
|
-
postWorkforcemanagementTimeofflimitsAvailableQuery(
|
|
86150
|
-
|
|
86151
|
-
|
|
86650
|
+
postWorkforcemanagementTimeofflimitsAvailableQuery(body) {
|
|
86651
|
+
// verify the required parameter 'body' is set
|
|
86652
|
+
if (body === undefined || body === null) {
|
|
86653
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeofflimitsAvailableQuery';
|
|
86654
|
+
}
|
|
86152
86655
|
|
|
86153
86656
|
return this.apiClient.callApi(
|
|
86154
86657
|
'/api/v2/workforcemanagement/timeofflimits/available/query',
|
|
@@ -86157,7 +86660,7 @@ class WorkforceManagementApi {
|
|
|
86157
86660
|
{ },
|
|
86158
86661
|
{ },
|
|
86159
86662
|
{ },
|
|
86160
|
-
|
|
86663
|
+
body,
|
|
86161
86664
|
['PureCloud OAuth'],
|
|
86162
86665
|
['application/json'],
|
|
86163
86666
|
['application/json']
|
|
@@ -86167,12 +86670,13 @@ class WorkforceManagementApi {
|
|
|
86167
86670
|
/**
|
|
86168
86671
|
* Create a time off request for the current user
|
|
86169
86672
|
*
|
|
86170
|
-
* @param {Object}
|
|
86171
|
-
* @param {Object} opts.body body
|
|
86673
|
+
* @param {Object} body body
|
|
86172
86674
|
*/
|
|
86173
|
-
postWorkforcemanagementTimeoffrequests(
|
|
86174
|
-
|
|
86175
|
-
|
|
86675
|
+
postWorkforcemanagementTimeoffrequests(body) {
|
|
86676
|
+
// verify the required parameter 'body' is set
|
|
86677
|
+
if (body === undefined || body === null) {
|
|
86678
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequests';
|
|
86679
|
+
}
|
|
86176
86680
|
|
|
86177
86681
|
return this.apiClient.callApi(
|
|
86178
86682
|
'/api/v2/workforcemanagement/timeoffrequests',
|
|
@@ -86181,7 +86685,7 @@ class WorkforceManagementApi {
|
|
|
86181
86685
|
{ },
|
|
86182
86686
|
{ },
|
|
86183
86687
|
{ },
|
|
86184
|
-
|
|
86688
|
+
body,
|
|
86185
86689
|
['PureCloud OAuth'],
|
|
86186
86690
|
['application/json'],
|
|
86187
86691
|
['application/json']
|
|
@@ -86191,12 +86695,13 @@ class WorkforceManagementApi {
|
|
|
86191
86695
|
/**
|
|
86192
86696
|
* Estimates available time off for current user
|
|
86193
86697
|
*
|
|
86194
|
-
* @param {Object}
|
|
86195
|
-
* @param {Object} opts.body body
|
|
86698
|
+
* @param {Object} body body
|
|
86196
86699
|
*/
|
|
86197
|
-
postWorkforcemanagementTimeoffrequestsEstimate(
|
|
86198
|
-
|
|
86199
|
-
|
|
86700
|
+
postWorkforcemanagementTimeoffrequestsEstimate(body) {
|
|
86701
|
+
// verify the required parameter 'body' is set
|
|
86702
|
+
if (body === undefined || body === null) {
|
|
86703
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';
|
|
86704
|
+
}
|
|
86200
86705
|
|
|
86201
86706
|
return this.apiClient.callApi(
|
|
86202
86707
|
'/api/v2/workforcemanagement/timeoffrequests/estimate',
|
|
@@ -86205,7 +86710,7 @@ class WorkforceManagementApi {
|
|
|
86205
86710
|
{ },
|
|
86206
86711
|
{ },
|
|
86207
86712
|
{ },
|
|
86208
|
-
|
|
86713
|
+
body,
|
|
86209
86714
|
['PureCloud OAuth'],
|
|
86210
86715
|
['application/json'],
|
|
86211
86716
|
['application/json']
|
|
@@ -86215,12 +86720,13 @@ class WorkforceManagementApi {
|
|
|
86215
86720
|
/**
|
|
86216
86721
|
* Retrieves integration statuses for a list of current user time off requests
|
|
86217
86722
|
*
|
|
86218
|
-
* @param {Object}
|
|
86219
|
-
* @param {Object} opts.body body
|
|
86723
|
+
* @param {Object} body body
|
|
86220
86724
|
*/
|
|
86221
|
-
postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(
|
|
86222
|
-
|
|
86223
|
-
|
|
86725
|
+
postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(body) {
|
|
86726
|
+
// verify the required parameter 'body' is set
|
|
86727
|
+
if (body === undefined || body === null) {
|
|
86728
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery';
|
|
86729
|
+
}
|
|
86224
86730
|
|
|
86225
86731
|
return this.apiClient.callApi(
|
|
86226
86732
|
'/api/v2/workforcemanagement/timeoffrequests/integrationstatus/query',
|
|
@@ -86229,7 +86735,7 @@ class WorkforceManagementApi {
|
|
|
86229
86735
|
{ },
|
|
86230
86736
|
{ },
|
|
86231
86737
|
{ },
|
|
86232
|
-
|
|
86738
|
+
body,
|
|
86233
86739
|
['PureCloud OAuth'],
|
|
86234
86740
|
['application/json'],
|
|
86235
86741
|
['application/json']
|
|
@@ -86271,12 +86777,9 @@ class WorkforceManagementApi {
|
|
|
86271
86777
|
* Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time-off limit API
|
|
86272
86778
|
* @param {String} businessUnitId The ID of the business unit
|
|
86273
86779
|
* @param {String} timeOffLimitId The ID of the time-off limit object to set values for
|
|
86274
|
-
* @param {Object}
|
|
86275
|
-
* @param {Object} opts.body body
|
|
86780
|
+
* @param {Object} body body
|
|
86276
86781
|
*/
|
|
86277
|
-
putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId,
|
|
86278
|
-
opts = opts || {};
|
|
86279
|
-
|
|
86782
|
+
putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, body) {
|
|
86280
86783
|
// verify the required parameter 'businessUnitId' is set
|
|
86281
86784
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
86282
86785
|
throw 'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
@@ -86285,6 +86788,10 @@ class WorkforceManagementApi {
|
|
|
86285
86788
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
86286
86789
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
86287
86790
|
}
|
|
86791
|
+
// verify the required parameter 'body' is set
|
|
86792
|
+
if (body === undefined || body === null) {
|
|
86793
|
+
throw 'Missing the required parameter "body" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
86794
|
+
}
|
|
86288
86795
|
|
|
86289
86796
|
return this.apiClient.callApi(
|
|
86290
86797
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values',
|
|
@@ -86293,7 +86800,7 @@ class WorkforceManagementApi {
|
|
|
86293
86800
|
{ },
|
|
86294
86801
|
{ },
|
|
86295
86802
|
{ },
|
|
86296
|
-
|
|
86803
|
+
body,
|
|
86297
86804
|
['PureCloud OAuth'],
|
|
86298
86805
|
['application/json'],
|
|
86299
86806
|
['application/json']
|
|
@@ -86305,12 +86812,9 @@ class WorkforceManagementApi {
|
|
|
86305
86812
|
* Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
|
|
86306
86813
|
* @param {String} managementUnitId The ID of the management unit.
|
|
86307
86814
|
* @param {String} timeOffLimitId The ID of the time off limit object to set values for
|
|
86308
|
-
* @param {Object}
|
|
86309
|
-
* @param {Object} opts.body body
|
|
86815
|
+
* @param {Object} body body
|
|
86310
86816
|
*/
|
|
86311
|
-
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId,
|
|
86312
|
-
opts = opts || {};
|
|
86313
|
-
|
|
86817
|
+
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, body) {
|
|
86314
86818
|
// verify the required parameter 'managementUnitId' is set
|
|
86315
86819
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
86316
86820
|
throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
@@ -86319,6 +86823,10 @@ class WorkforceManagementApi {
|
|
|
86319
86823
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
86320
86824
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
86321
86825
|
}
|
|
86826
|
+
// verify the required parameter 'body' is set
|
|
86827
|
+
if (body === undefined || body === null) {
|
|
86828
|
+
throw 'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
86829
|
+
}
|
|
86322
86830
|
|
|
86323
86831
|
return this.apiClient.callApi(
|
|
86324
86832
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values',
|
|
@@ -86327,7 +86835,7 @@ class WorkforceManagementApi {
|
|
|
86327
86835
|
{ },
|
|
86328
86836
|
{ },
|
|
86329
86837
|
{ },
|
|
86330
|
-
|
|
86838
|
+
body,
|
|
86331
86839
|
['PureCloud OAuth'],
|
|
86332
86840
|
['application/json'],
|
|
86333
86841
|
['application/json']
|
|
@@ -86365,7 +86873,7 @@ class WorkforceManagementApi {
|
|
|
86365
86873
|
* </pre>
|
|
86366
86874
|
* </p>
|
|
86367
86875
|
* @module purecloud-platform-client-v2/index
|
|
86368
|
-
* @version
|
|
86876
|
+
* @version 223.0.0
|
|
86369
86877
|
*/
|
|
86370
86878
|
class platformClient {
|
|
86371
86879
|
constructor() {
|