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
|
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* @module purecloud-platform-client-v2/ApiClient
|
|
690
|
-
* @version
|
|
690
|
+
* @version 223.0.0
|
|
691
691
|
*/
|
|
692
692
|
class ApiClient {
|
|
693
693
|
/**
|
|
@@ -2231,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2231
2231
|
/**
|
|
2232
2232
|
* AgentAssistants service.
|
|
2233
2233
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2234
|
-
* @version
|
|
2234
|
+
* @version 223.0.0
|
|
2235
2235
|
*/
|
|
2236
2236
|
|
|
2237
2237
|
/**
|
|
@@ -2434,6 +2434,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2434
2434
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
2435
2435
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
2436
2436
|
* @param {String} opts.name Return the assistant by the given name.
|
|
2437
|
+
* @param {Object} opts.expand Which fields, if any, to expand
|
|
2437
2438
|
*/
|
|
2438
2439
|
getAssistants(opts) {
|
|
2439
2440
|
opts = opts || {};
|
|
@@ -2443,7 +2444,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2443
2444
|
'/api/v2/assistants',
|
|
2444
2445
|
'GET',
|
|
2445
2446
|
{ },
|
|
2446
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
2447
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'expand': opts['expand'] },
|
|
2447
2448
|
{ },
|
|
2448
2449
|
{ },
|
|
2449
2450
|
null,
|
|
@@ -2607,7 +2608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2607
2608
|
/**
|
|
2608
2609
|
* AgentCopilot service.
|
|
2609
2610
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2610
|
-
* @version
|
|
2611
|
+
* @version 223.0.0
|
|
2611
2612
|
*/
|
|
2612
2613
|
|
|
2613
2614
|
/**
|
|
@@ -2683,7 +2684,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2683
2684
|
/**
|
|
2684
2685
|
* AgentUI service.
|
|
2685
2686
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2686
|
-
* @version
|
|
2687
|
+
* @version 223.0.0
|
|
2687
2688
|
*/
|
|
2688
2689
|
|
|
2689
2690
|
/**
|
|
@@ -2814,7 +2815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2814
2815
|
/**
|
|
2815
2816
|
* Alerting service.
|
|
2816
2817
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2817
|
-
* @version
|
|
2818
|
+
* @version 223.0.0
|
|
2818
2819
|
*/
|
|
2819
2820
|
|
|
2820
2821
|
/**
|
|
@@ -3215,7 +3216,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3215
3216
|
/**
|
|
3216
3217
|
* Analytics service.
|
|
3217
3218
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3218
|
-
* @version
|
|
3219
|
+
* @version 223.0.0
|
|
3219
3220
|
*/
|
|
3220
3221
|
|
|
3221
3222
|
/**
|
|
@@ -6036,7 +6037,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6036
6037
|
/**
|
|
6037
6038
|
* Architect service.
|
|
6038
6039
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6039
|
-
* @version
|
|
6040
|
+
* @version 223.0.0
|
|
6040
6041
|
*/
|
|
6041
6042
|
|
|
6042
6043
|
/**
|
|
@@ -8010,6 +8011,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8010
8011
|
* @param {Object} opts.secure Secure
|
|
8011
8012
|
* @param {Boolean} opts.deleted Include deleted (default to false)
|
|
8012
8013
|
* @param {Boolean} opts.includeSchemas Include variable schemas (default to false)
|
|
8014
|
+
* @param {Boolean} opts.virtualAgentEnabled Include/exclude virtual agent flows
|
|
8013
8015
|
* @param {String} opts.publishedAfter Published after
|
|
8014
8016
|
* @param {String} opts.publishedBefore Published before
|
|
8015
8017
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
@@ -8022,7 +8024,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8022
8024
|
'/api/v2/flows',
|
|
8023
8025
|
'GET',
|
|
8024
8026
|
{ },
|
|
8025
|
-
{ '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') },
|
|
8027
|
+
{ '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') },
|
|
8026
8028
|
{ },
|
|
8027
8029
|
{ },
|
|
8028
8030
|
null,
|
|
@@ -10328,7 +10330,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10328
10330
|
/**
|
|
10329
10331
|
* Audit service.
|
|
10330
10332
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10331
|
-
* @version
|
|
10333
|
+
* @version 223.0.0
|
|
10332
10334
|
*/
|
|
10333
10335
|
|
|
10334
10336
|
/**
|
|
@@ -10529,7 +10531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10529
10531
|
/**
|
|
10530
10532
|
* Authorization service.
|
|
10531
10533
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10532
|
-
* @version
|
|
10534
|
+
* @version 223.0.0
|
|
10533
10535
|
*/
|
|
10534
10536
|
|
|
10535
10537
|
/**
|
|
@@ -12244,7 +12246,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12244
12246
|
/**
|
|
12245
12247
|
* Billing service.
|
|
12246
12248
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
12247
|
-
* @version
|
|
12249
|
+
* @version 223.0.0
|
|
12248
12250
|
*/
|
|
12249
12251
|
|
|
12250
12252
|
/**
|
|
@@ -12500,7 +12502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12500
12502
|
/**
|
|
12501
12503
|
* BusinessRules service.
|
|
12502
12504
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
12503
|
-
* @version
|
|
12505
|
+
* @version 223.0.0
|
|
12504
12506
|
*/
|
|
12505
12507
|
|
|
12506
12508
|
/**
|
|
@@ -12773,7 +12775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12773
12775
|
* @param {String} tableId Table ID
|
|
12774
12776
|
* @param {Object} opts Optional parameters
|
|
12775
12777
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12776
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12778
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12777
12779
|
* @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.
|
|
12778
12780
|
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12779
12781
|
*/
|
|
@@ -12804,7 +12806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12804
12806
|
*
|
|
12805
12807
|
* @param {Object} opts Optional parameters
|
|
12806
12808
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12807
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12809
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12808
12810
|
* @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.
|
|
12809
12811
|
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12810
12812
|
*/
|
|
@@ -12830,9 +12832,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12830
12832
|
* Search for decision tables.
|
|
12831
12833
|
*
|
|
12832
12834
|
* @param {Object} opts Optional parameters
|
|
12833
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12834
12835
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12835
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
12836
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
12836
12837
|
* @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.
|
|
12837
12838
|
* @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.
|
|
12838
12839
|
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
@@ -12845,7 +12846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12845
12846
|
'/api/v2/businessrules/decisiontables/search',
|
|
12846
12847
|
'GET',
|
|
12847
12848
|
{ },
|
|
12848
|
-
{ '
|
|
12849
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
|
|
12849
12850
|
{ },
|
|
12850
12851
|
{ },
|
|
12851
12852
|
null,
|
|
@@ -13414,7 +13415,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13414
13415
|
/**
|
|
13415
13416
|
* CarrierServices service.
|
|
13416
13417
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
13417
|
-
* @version
|
|
13418
|
+
* @version 223.0.0
|
|
13418
13419
|
*/
|
|
13419
13420
|
|
|
13420
13421
|
/**
|
|
@@ -13484,7 +13485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13484
13485
|
/**
|
|
13485
13486
|
* Chat service.
|
|
13486
13487
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
13487
|
-
* @version
|
|
13488
|
+
* @version 223.0.0
|
|
13488
13489
|
*/
|
|
13489
13490
|
|
|
13490
13491
|
/**
|
|
@@ -14417,7 +14418,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14417
14418
|
/**
|
|
14418
14419
|
* Coaching service.
|
|
14419
14420
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
14420
|
-
* @version
|
|
14421
|
+
* @version 223.0.0
|
|
14421
14422
|
*/
|
|
14422
14423
|
|
|
14423
14424
|
/**
|
|
@@ -14994,7 +14995,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14994
14995
|
/**
|
|
14995
14996
|
* ContentManagement service.
|
|
14996
14997
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
14997
|
-
* @version
|
|
14998
|
+
* @version 223.0.0
|
|
14998
14999
|
*/
|
|
14999
15000
|
|
|
15000
15001
|
/**
|
|
@@ -16075,7 +16076,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16075
16076
|
/**
|
|
16076
16077
|
* Conversations service.
|
|
16077
16078
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
16078
|
-
* @version
|
|
16079
|
+
* @version 223.0.0
|
|
16079
16080
|
*/
|
|
16080
16081
|
|
|
16081
16082
|
/**
|
|
@@ -18005,7 +18006,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18005
18006
|
*
|
|
18006
18007
|
* @param {String} messageId messageId
|
|
18007
18008
|
* @param {Object} opts Optional parameters
|
|
18008
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
18009
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
18009
18010
|
*/
|
|
18010
18011
|
getConversationsMessageDetails(messageId, opts) {
|
|
18011
18012
|
opts = opts || {};
|
|
@@ -18035,7 +18036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18035
18036
|
* @param {String} conversationId conversationId
|
|
18036
18037
|
* @param {String} messageId messageId
|
|
18037
18038
|
* @param {Object} opts Optional parameters
|
|
18038
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
18039
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
18039
18040
|
*/
|
|
18040
18041
|
getConversationsMessageMessage(conversationId, messageId, opts) {
|
|
18041
18042
|
opts = opts || {};
|
|
@@ -18277,6 +18278,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18277
18278
|
);
|
|
18278
18279
|
}
|
|
18279
18280
|
|
|
18281
|
+
/**
|
|
18282
|
+
* Get Apple messaging integration identity resolution settings
|
|
18283
|
+
*
|
|
18284
|
+
* @param {String} integrationId Integration ID
|
|
18285
|
+
* getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18286
|
+
*/
|
|
18287
|
+
getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
|
|
18288
|
+
// verify the required parameter 'integrationId' is set
|
|
18289
|
+
if (integrationId === undefined || integrationId === null) {
|
|
18290
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
18291
|
+
}
|
|
18292
|
+
|
|
18293
|
+
return this.apiClient.callApi(
|
|
18294
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
18295
|
+
'GET',
|
|
18296
|
+
{ 'integrationId': integrationId },
|
|
18297
|
+
{ },
|
|
18298
|
+
{ },
|
|
18299
|
+
{ },
|
|
18300
|
+
null,
|
|
18301
|
+
['PureCloud OAuth'],
|
|
18302
|
+
['application/json'],
|
|
18303
|
+
['application/json']
|
|
18304
|
+
);
|
|
18305
|
+
}
|
|
18306
|
+
|
|
18280
18307
|
/**
|
|
18281
18308
|
* Get Facebook messaging integration identity resolution settings
|
|
18282
18309
|
*
|
|
@@ -18302,6 +18329,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18302
18329
|
);
|
|
18303
18330
|
}
|
|
18304
18331
|
|
|
18332
|
+
/**
|
|
18333
|
+
* Get an Instagram integration identity resolution settings
|
|
18334
|
+
*
|
|
18335
|
+
* @param {String} integrationId Integration ID
|
|
18336
|
+
*/
|
|
18337
|
+
getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId) {
|
|
18338
|
+
// verify the required parameter 'integrationId' is set
|
|
18339
|
+
if (integrationId === undefined || integrationId === null) {
|
|
18340
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
18341
|
+
}
|
|
18342
|
+
|
|
18343
|
+
return this.apiClient.callApi(
|
|
18344
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
18345
|
+
'GET',
|
|
18346
|
+
{ 'integrationId': integrationId },
|
|
18347
|
+
{ },
|
|
18348
|
+
{ },
|
|
18349
|
+
{ },
|
|
18350
|
+
null,
|
|
18351
|
+
['PureCloud OAuth'],
|
|
18352
|
+
['application/json'],
|
|
18353
|
+
['application/json']
|
|
18354
|
+
);
|
|
18355
|
+
}
|
|
18356
|
+
|
|
18305
18357
|
/**
|
|
18306
18358
|
* Get an open messaging integration Identity Resolution settings
|
|
18307
18359
|
*
|
|
@@ -20390,7 +20442,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20390
20442
|
|
|
20391
20443
|
/**
|
|
20392
20444
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
20393
|
-
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the
|
|
20445
|
+
* 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.
|
|
20394
20446
|
* @param {String} integrationId Integration ID
|
|
20395
20447
|
* @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
|
|
20396
20448
|
*/
|
|
@@ -22239,12 +22291,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22239
22291
|
|
|
22240
22292
|
/**
|
|
22241
22293
|
* Send message
|
|
22242
|
-
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId,
|
|
22294
|
+
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, or 1 messageTemplate.
|
|
22243
22295
|
* @param {String} conversationId conversationId
|
|
22244
22296
|
* @param {String} communicationId communicationId
|
|
22245
22297
|
* @param {Object} body Message
|
|
22246
22298
|
* @param {Object} opts Optional parameters
|
|
22247
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
22299
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
22248
22300
|
*/
|
|
22249
22301
|
postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
|
|
22250
22302
|
opts = opts || {};
|
|
@@ -22342,6 +22394,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22342
22394
|
);
|
|
22343
22395
|
}
|
|
22344
22396
|
|
|
22397
|
+
/**
|
|
22398
|
+
* Send a social media message
|
|
22399
|
+
* Send a social media message on existing conversation/communication.
|
|
22400
|
+
* @param {String} conversationId conversationId
|
|
22401
|
+
* @param {String} communicationId communicationId
|
|
22402
|
+
* @param {Object} body Message
|
|
22403
|
+
*/
|
|
22404
|
+
postConversationsMessageCommunicationSocialmediaMessages(conversationId, communicationId, body) {
|
|
22405
|
+
// verify the required parameter 'conversationId' is set
|
|
22406
|
+
if (conversationId === undefined || conversationId === null) {
|
|
22407
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22408
|
+
}
|
|
22409
|
+
// verify the required parameter 'communicationId' is set
|
|
22410
|
+
if (communicationId === undefined || communicationId === null) {
|
|
22411
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22412
|
+
}
|
|
22413
|
+
// verify the required parameter 'body' is set
|
|
22414
|
+
if (body === undefined || body === null) {
|
|
22415
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
22416
|
+
}
|
|
22417
|
+
|
|
22418
|
+
return this.apiClient.callApi(
|
|
22419
|
+
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages',
|
|
22420
|
+
'POST',
|
|
22421
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
22422
|
+
{ },
|
|
22423
|
+
{ },
|
|
22424
|
+
{ },
|
|
22425
|
+
body,
|
|
22426
|
+
['PureCloud OAuth'],
|
|
22427
|
+
['application/json'],
|
|
22428
|
+
['application/json']
|
|
22429
|
+
);
|
|
22430
|
+
}
|
|
22431
|
+
|
|
22345
22432
|
/**
|
|
22346
22433
|
* Send message typing event
|
|
22347
22434
|
* Send message typing event for existing conversation/communication.
|
|
@@ -22476,7 +22563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22476
22563
|
* 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"]
|
|
22477
22564
|
* @param {String} conversationId
|
|
22478
22565
|
* @param {Object} opts Optional parameters
|
|
22479
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
22566
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
22480
22567
|
* @param {Array.<String>} opts.body messageIds
|
|
22481
22568
|
*/
|
|
22482
22569
|
postConversationsMessageMessagesBulk(conversationId, opts) {
|
|
@@ -23458,6 +23545,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23458
23545
|
);
|
|
23459
23546
|
}
|
|
23460
23547
|
|
|
23548
|
+
/**
|
|
23549
|
+
* Create an identity resolution settings for a Apple messaging integration
|
|
23550
|
+
*
|
|
23551
|
+
* @param {String} integrationId Integration ID
|
|
23552
|
+
* @param {Object} body IdentityResolutionConfig
|
|
23553
|
+
* putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23554
|
+
*/
|
|
23555
|
+
putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
|
|
23556
|
+
// verify the required parameter 'integrationId' is set
|
|
23557
|
+
if (integrationId === undefined || integrationId === null) {
|
|
23558
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
23559
|
+
}
|
|
23560
|
+
// verify the required parameter 'body' is set
|
|
23561
|
+
if (body === undefined || body === null) {
|
|
23562
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
23563
|
+
}
|
|
23564
|
+
|
|
23565
|
+
return this.apiClient.callApi(
|
|
23566
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
23567
|
+
'PUT',
|
|
23568
|
+
{ 'integrationId': integrationId },
|
|
23569
|
+
{ },
|
|
23570
|
+
{ },
|
|
23571
|
+
{ },
|
|
23572
|
+
body,
|
|
23573
|
+
['PureCloud OAuth'],
|
|
23574
|
+
['application/json'],
|
|
23575
|
+
['application/json']
|
|
23576
|
+
);
|
|
23577
|
+
}
|
|
23578
|
+
|
|
23461
23579
|
/**
|
|
23462
23580
|
* Create an identity resolution settings for a Facebook messaging integration
|
|
23463
23581
|
*
|
|
@@ -23488,6 +23606,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23488
23606
|
);
|
|
23489
23607
|
}
|
|
23490
23608
|
|
|
23609
|
+
/**
|
|
23610
|
+
* Create identity resolution settings for an Instagram messaging integration
|
|
23611
|
+
*
|
|
23612
|
+
* @param {String} integrationId Integration ID
|
|
23613
|
+
* @param {Object} body IdentityResolutionConfig
|
|
23614
|
+
*/
|
|
23615
|
+
putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId, body) {
|
|
23616
|
+
// verify the required parameter 'integrationId' is set
|
|
23617
|
+
if (integrationId === undefined || integrationId === null) {
|
|
23618
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
23619
|
+
}
|
|
23620
|
+
// verify the required parameter 'body' is set
|
|
23621
|
+
if (body === undefined || body === null) {
|
|
23622
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
23623
|
+
}
|
|
23624
|
+
|
|
23625
|
+
return this.apiClient.callApi(
|
|
23626
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
23627
|
+
'PUT',
|
|
23628
|
+
{ 'integrationId': integrationId },
|
|
23629
|
+
{ },
|
|
23630
|
+
{ },
|
|
23631
|
+
{ },
|
|
23632
|
+
body,
|
|
23633
|
+
['PureCloud OAuth'],
|
|
23634
|
+
['application/json'],
|
|
23635
|
+
['application/json']
|
|
23636
|
+
);
|
|
23637
|
+
}
|
|
23638
|
+
|
|
23491
23639
|
/**
|
|
23492
23640
|
* Update an open messaging integration Identity Resolution settings
|
|
23493
23641
|
*
|
|
@@ -23720,7 +23868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23720
23868
|
/**
|
|
23721
23869
|
* DataExtensions service.
|
|
23722
23870
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23723
|
-
* @version
|
|
23871
|
+
* @version 223.0.0
|
|
23724
23872
|
*/
|
|
23725
23873
|
|
|
23726
23874
|
/**
|
|
@@ -23806,7 +23954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23806
23954
|
/**
|
|
23807
23955
|
* DataPrivacy service.
|
|
23808
23956
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
23809
|
-
* @version
|
|
23957
|
+
* @version 223.0.0
|
|
23810
23958
|
*/
|
|
23811
23959
|
|
|
23812
23960
|
/**
|
|
@@ -23976,7 +24124,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23976
24124
|
/**
|
|
23977
24125
|
* Downloads service.
|
|
23978
24126
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23979
|
-
* @version
|
|
24127
|
+
* @version 223.0.0
|
|
23980
24128
|
*/
|
|
23981
24129
|
|
|
23982
24130
|
/**
|
|
@@ -24028,7 +24176,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24028
24176
|
/**
|
|
24029
24177
|
* Emails service.
|
|
24030
24178
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
24031
|
-
* @version
|
|
24179
|
+
* @version 223.0.0
|
|
24032
24180
|
*/
|
|
24033
24181
|
|
|
24034
24182
|
/**
|
|
@@ -24157,7 +24305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24157
24305
|
/**
|
|
24158
24306
|
* EmployeeEngagement service.
|
|
24159
24307
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
24160
|
-
* @version
|
|
24308
|
+
* @version 223.0.0
|
|
24161
24309
|
*/
|
|
24162
24310
|
|
|
24163
24311
|
/**
|
|
@@ -24308,7 +24456,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24308
24456
|
/**
|
|
24309
24457
|
* Events service.
|
|
24310
24458
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
24311
|
-
* @version
|
|
24459
|
+
* @version 223.0.0
|
|
24312
24460
|
*/
|
|
24313
24461
|
|
|
24314
24462
|
/**
|
|
@@ -24404,7 +24552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24404
24552
|
/**
|
|
24405
24553
|
* ExternalContacts service.
|
|
24406
24554
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
24407
|
-
* @version
|
|
24555
|
+
* @version 223.0.0
|
|
24408
24556
|
*/
|
|
24409
24557
|
|
|
24410
24558
|
/**
|
|
@@ -25040,7 +25188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25040
25188
|
}
|
|
25041
25189
|
|
|
25042
25190
|
/**
|
|
25043
|
-
* Get
|
|
25191
|
+
* Get a specific named core type.
|
|
25044
25192
|
*
|
|
25045
25193
|
* @param {String} coreTypeName Name of the core type
|
|
25046
25194
|
*/
|
|
@@ -25684,7 +25832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25684
25832
|
}
|
|
25685
25833
|
|
|
25686
25834
|
/**
|
|
25687
|
-
* Get
|
|
25835
|
+
* Get a specific named core type.
|
|
25688
25836
|
*
|
|
25689
25837
|
* @param {String} coreTypeName Name of the core type
|
|
25690
25838
|
*/
|
|
@@ -27592,7 +27740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27592
27740
|
/**
|
|
27593
27741
|
* Fax service.
|
|
27594
27742
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
27595
|
-
* @version
|
|
27743
|
+
* @version 223.0.0
|
|
27596
27744
|
*/
|
|
27597
27745
|
|
|
27598
27746
|
/**
|
|
@@ -27807,7 +27955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27807
27955
|
/**
|
|
27808
27956
|
* Flows service.
|
|
27809
27957
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
27810
|
-
* @version
|
|
27958
|
+
* @version 223.0.0
|
|
27811
27959
|
*/
|
|
27812
27960
|
|
|
27813
27961
|
/**
|
|
@@ -27990,7 +28138,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27990
28138
|
/**
|
|
27991
28139
|
* Gamification service.
|
|
27992
28140
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
27993
|
-
* @version
|
|
28141
|
+
* @version 223.0.0
|
|
27994
28142
|
*/
|
|
27995
28143
|
|
|
27996
28144
|
/**
|
|
@@ -30497,7 +30645,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30497
30645
|
/**
|
|
30498
30646
|
* GeneralDataProtectionRegulation service.
|
|
30499
30647
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
30500
|
-
* @version
|
|
30648
|
+
* @version 223.0.0
|
|
30501
30649
|
*/
|
|
30502
30650
|
|
|
30503
30651
|
/**
|
|
@@ -30627,7 +30775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30627
30775
|
/**
|
|
30628
30776
|
* Geolocation service.
|
|
30629
30777
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
30630
|
-
* @version
|
|
30778
|
+
* @version 223.0.0
|
|
30631
30779
|
*/
|
|
30632
30780
|
|
|
30633
30781
|
/**
|
|
@@ -30758,7 +30906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30758
30906
|
/**
|
|
30759
30907
|
* Greetings service.
|
|
30760
30908
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
30761
|
-
* @version
|
|
30909
|
+
* @version 223.0.0
|
|
30762
30910
|
*/
|
|
30763
30911
|
|
|
30764
30912
|
/**
|
|
@@ -31213,7 +31361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31213
31361
|
/**
|
|
31214
31362
|
* Groups service.
|
|
31215
31363
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
31216
|
-
* @version
|
|
31364
|
+
* @version 223.0.0
|
|
31217
31365
|
*/
|
|
31218
31366
|
|
|
31219
31367
|
/**
|
|
@@ -31732,7 +31880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31732
31880
|
/**
|
|
31733
31881
|
* IdentityProvider service.
|
|
31734
31882
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
31735
|
-
* @version
|
|
31883
|
+
* @version 223.0.0
|
|
31736
31884
|
*/
|
|
31737
31885
|
|
|
31738
31886
|
/**
|
|
@@ -32593,7 +32741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32593
32741
|
/**
|
|
32594
32742
|
* InfrastructureAsCode service.
|
|
32595
32743
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
32596
|
-
* @version
|
|
32744
|
+
* @version 223.0.0
|
|
32597
32745
|
*/
|
|
32598
32746
|
|
|
32599
32747
|
/**
|
|
@@ -32760,7 +32908,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32760
32908
|
/**
|
|
32761
32909
|
* Integrations service.
|
|
32762
32910
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
32763
|
-
* @version
|
|
32911
|
+
* @version 223.0.0
|
|
32764
32912
|
*/
|
|
32765
32913
|
|
|
32766
32914
|
/**
|
|
@@ -33391,6 +33539,103 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33391
33539
|
);
|
|
33392
33540
|
}
|
|
33393
33541
|
|
|
33542
|
+
/**
|
|
33543
|
+
* Get a specific Bot details
|
|
33544
|
+
*
|
|
33545
|
+
* @param {String} integrationId The integration ID for this group of bots
|
|
33546
|
+
* @param {String} botId The bot ID for this bot
|
|
33547
|
+
* @param {Object} opts Optional parameters
|
|
33548
|
+
* @param {String} opts.version Specific Version
|
|
33549
|
+
* getIntegrationsBotconnectorBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33550
|
+
*/
|
|
33551
|
+
getIntegrationsBotconnectorBot(integrationId, botId, opts) {
|
|
33552
|
+
opts = opts || {};
|
|
33553
|
+
|
|
33554
|
+
// verify the required parameter 'integrationId' is set
|
|
33555
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33556
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';
|
|
33557
|
+
}
|
|
33558
|
+
// verify the required parameter 'botId' is set
|
|
33559
|
+
if (botId === undefined || botId === null) {
|
|
33560
|
+
throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';
|
|
33561
|
+
}
|
|
33562
|
+
|
|
33563
|
+
return this.apiClient.callApi(
|
|
33564
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}',
|
|
33565
|
+
'GET',
|
|
33566
|
+
{ 'integrationId': integrationId,'botId': botId },
|
|
33567
|
+
{ 'version': opts['version'] },
|
|
33568
|
+
{ },
|
|
33569
|
+
{ },
|
|
33570
|
+
null,
|
|
33571
|
+
['PureCloud OAuth'],
|
|
33572
|
+
['application/json'],
|
|
33573
|
+
['application/json']
|
|
33574
|
+
);
|
|
33575
|
+
}
|
|
33576
|
+
|
|
33577
|
+
/**
|
|
33578
|
+
* Get the list of bots for this integration.
|
|
33579
|
+
*
|
|
33580
|
+
* @param {String} integrationId The integration ID for this group of bots.
|
|
33581
|
+
* @param {Object} opts Optional parameters
|
|
33582
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
33583
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
33584
|
+
* getIntegrationsBotconnectorBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33585
|
+
*/
|
|
33586
|
+
getIntegrationsBotconnectorBots(integrationId, opts) {
|
|
33587
|
+
opts = opts || {};
|
|
33588
|
+
|
|
33589
|
+
// verify the required parameter 'integrationId' is set
|
|
33590
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33591
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';
|
|
33592
|
+
}
|
|
33593
|
+
|
|
33594
|
+
return this.apiClient.callApi(
|
|
33595
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots',
|
|
33596
|
+
'GET',
|
|
33597
|
+
{ 'integrationId': integrationId },
|
|
33598
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
33599
|
+
{ },
|
|
33600
|
+
{ },
|
|
33601
|
+
null,
|
|
33602
|
+
['PureCloud OAuth'],
|
|
33603
|
+
['application/json'],
|
|
33604
|
+
['application/json']
|
|
33605
|
+
);
|
|
33606
|
+
}
|
|
33607
|
+
|
|
33608
|
+
/**
|
|
33609
|
+
* Get the summary list of bots for this integration.
|
|
33610
|
+
*
|
|
33611
|
+
* @param {String} integrationId The integration ID for this group of bots.
|
|
33612
|
+
* @param {Object} opts Optional parameters
|
|
33613
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
33614
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
33615
|
+
* getIntegrationsBotconnectorBotsSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
33616
|
+
*/
|
|
33617
|
+
getIntegrationsBotconnectorBotsSummaries(integrationId, opts) {
|
|
33618
|
+
opts = opts || {};
|
|
33619
|
+
|
|
33620
|
+
// verify the required parameter 'integrationId' is set
|
|
33621
|
+
if (integrationId === undefined || integrationId === null) {
|
|
33622
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';
|
|
33623
|
+
}
|
|
33624
|
+
|
|
33625
|
+
return this.apiClient.callApi(
|
|
33626
|
+
'/api/v2/integrations/botconnectors/{integrationId}/bots/summaries',
|
|
33627
|
+
'GET',
|
|
33628
|
+
{ 'integrationId': integrationId },
|
|
33629
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
33630
|
+
{ },
|
|
33631
|
+
{ },
|
|
33632
|
+
null,
|
|
33633
|
+
['PureCloud OAuth'],
|
|
33634
|
+
['application/json'],
|
|
33635
|
+
['application/json']
|
|
33636
|
+
);
|
|
33637
|
+
}
|
|
33638
|
+
|
|
33394
33639
|
/**
|
|
33395
33640
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
33396
33641
|
*
|
|
@@ -34870,6 +35115,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34870
35115
|
);
|
|
34871
35116
|
}
|
|
34872
35117
|
|
|
35118
|
+
/**
|
|
35119
|
+
* Send an incoming message to the bot.
|
|
35120
|
+
*
|
|
35121
|
+
* @param {Object} body Incoming Message Request
|
|
35122
|
+
* postIntegrationsBotconnectorsIncomingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35123
|
+
*/
|
|
35124
|
+
postIntegrationsBotconnectorsIncomingMessages(body) {
|
|
35125
|
+
// verify the required parameter 'body' is set
|
|
35126
|
+
if (body === undefined || body === null) {
|
|
35127
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';
|
|
35128
|
+
}
|
|
35129
|
+
|
|
35130
|
+
return this.apiClient.callApi(
|
|
35131
|
+
'/api/v2/integrations/botconnectors/incoming/messages',
|
|
35132
|
+
'POST',
|
|
35133
|
+
{ },
|
|
35134
|
+
{ },
|
|
35135
|
+
{ },
|
|
35136
|
+
{ },
|
|
35137
|
+
body,
|
|
35138
|
+
['PureCloud OAuth'],
|
|
35139
|
+
['application/json'],
|
|
35140
|
+
['application/json']
|
|
35141
|
+
);
|
|
35142
|
+
}
|
|
35143
|
+
|
|
35144
|
+
/**
|
|
35145
|
+
* Send an outgoing message to the end user.
|
|
35146
|
+
*
|
|
35147
|
+
* @param {Object} body Outgoing Message Request
|
|
35148
|
+
* postIntegrationsBotconnectorsOutgoingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
35149
|
+
*/
|
|
35150
|
+
postIntegrationsBotconnectorsOutgoingMessages(body) {
|
|
35151
|
+
// verify the required parameter 'body' is set
|
|
35152
|
+
if (body === undefined || body === null) {
|
|
35153
|
+
throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';
|
|
35154
|
+
}
|
|
35155
|
+
|
|
35156
|
+
return this.apiClient.callApi(
|
|
35157
|
+
'/api/v2/integrations/botconnectors/outgoing/messages',
|
|
35158
|
+
'POST',
|
|
35159
|
+
{ },
|
|
35160
|
+
{ },
|
|
35161
|
+
{ },
|
|
35162
|
+
{ },
|
|
35163
|
+
body,
|
|
35164
|
+
['PureCloud OAuth'],
|
|
35165
|
+
['application/json'],
|
|
35166
|
+
['application/json']
|
|
35167
|
+
);
|
|
35168
|
+
}
|
|
35169
|
+
|
|
34873
35170
|
/**
|
|
34874
35171
|
* Create a set of credentials
|
|
34875
35172
|
*
|
|
@@ -35229,7 +35526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35229
35526
|
/**
|
|
35230
35527
|
* Journey service.
|
|
35231
35528
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
35232
|
-
* @version
|
|
35529
|
+
* @version 223.0.0
|
|
35233
35530
|
*/
|
|
35234
35531
|
|
|
35235
35532
|
/**
|
|
@@ -37214,7 +37511,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37214
37511
|
/**
|
|
37215
37512
|
* Knowledge service.
|
|
37216
37513
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
37217
|
-
* @version
|
|
37514
|
+
* @version 223.0.0
|
|
37218
37515
|
*/
|
|
37219
37516
|
|
|
37220
37517
|
/**
|
|
@@ -41087,7 +41384,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41087
41384
|
/**
|
|
41088
41385
|
* LanguageUnderstanding service.
|
|
41089
41386
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41090
|
-
* @version
|
|
41387
|
+
* @version 223.0.0
|
|
41091
41388
|
*/
|
|
41092
41389
|
|
|
41093
41390
|
/**
|
|
@@ -42120,7 +42417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42120
42417
|
/**
|
|
42121
42418
|
* Languages service.
|
|
42122
42419
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42123
|
-
* @version
|
|
42420
|
+
* @version 223.0.0
|
|
42124
42421
|
*/
|
|
42125
42422
|
|
|
42126
42423
|
/**
|
|
@@ -42342,7 +42639,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42342
42639
|
/**
|
|
42343
42640
|
* Learning service.
|
|
42344
42641
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42345
|
-
* @version
|
|
42642
|
+
* @version 223.0.0
|
|
42346
42643
|
*/
|
|
42347
42644
|
|
|
42348
42645
|
/**
|
|
@@ -43371,7 +43668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43371
43668
|
/**
|
|
43372
43669
|
* License service.
|
|
43373
43670
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43374
|
-
* @version
|
|
43671
|
+
* @version 223.0.0
|
|
43375
43672
|
*/
|
|
43376
43673
|
|
|
43377
43674
|
/**
|
|
@@ -43609,7 +43906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43609
43906
|
/**
|
|
43610
43907
|
* Locations service.
|
|
43611
43908
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43612
|
-
* @version
|
|
43909
|
+
* @version 223.0.0
|
|
43613
43910
|
*/
|
|
43614
43911
|
|
|
43615
43912
|
/**
|
|
@@ -43845,7 +44142,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43845
44142
|
/**
|
|
43846
44143
|
* LogCapture service.
|
|
43847
44144
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
43848
|
-
* @version
|
|
44145
|
+
* @version 223.0.0
|
|
43849
44146
|
*/
|
|
43850
44147
|
|
|
43851
44148
|
/**
|
|
@@ -43987,7 +44284,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43987
44284
|
* Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
|
|
43988
44285
|
*
|
|
43989
44286
|
* @param {Object} opts Optional parameters
|
|
43990
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
43991
44287
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
43992
44288
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
43993
44289
|
* @param {Object} opts.body
|
|
@@ -44000,7 +44296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44000
44296
|
'/api/v2/diagnostics/logcapture/browser/entries/query',
|
|
44001
44297
|
'POST',
|
|
44002
44298
|
{ },
|
|
44003
|
-
{ '
|
|
44299
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
44004
44300
|
{ },
|
|
44005
44301
|
{ },
|
|
44006
44302
|
opts['body'],
|
|
@@ -44045,7 +44341,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44045
44341
|
/**
|
|
44046
44342
|
* Messaging service.
|
|
44047
44343
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
44048
|
-
* @version
|
|
44344
|
+
* @version 223.0.0
|
|
44049
44345
|
*/
|
|
44050
44346
|
|
|
44051
44347
|
/**
|
|
@@ -44404,7 +44700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44404
44700
|
/**
|
|
44405
44701
|
* MobileDevices service.
|
|
44406
44702
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44407
|
-
* @version
|
|
44703
|
+
* @version 223.0.0
|
|
44408
44704
|
*/
|
|
44409
44705
|
|
|
44410
44706
|
/**
|
|
@@ -44555,7 +44851,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44555
44851
|
/**
|
|
44556
44852
|
* Notifications service.
|
|
44557
44853
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44558
|
-
* @version
|
|
44854
|
+
* @version 223.0.0
|
|
44559
44855
|
*/
|
|
44560
44856
|
|
|
44561
44857
|
/**
|
|
@@ -44788,7 +45084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44788
45084
|
/**
|
|
44789
45085
|
* OAuth service.
|
|
44790
45086
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
44791
|
-
* @version
|
|
45087
|
+
* @version 223.0.0
|
|
44792
45088
|
*/
|
|
44793
45089
|
|
|
44794
45090
|
/**
|
|
@@ -45154,7 +45450,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45154
45450
|
/**
|
|
45155
45451
|
* Objects service.
|
|
45156
45452
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
45157
|
-
* @version
|
|
45453
|
+
* @version 223.0.0
|
|
45158
45454
|
*/
|
|
45159
45455
|
|
|
45160
45456
|
/**
|
|
@@ -45478,7 +45774,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45478
45774
|
/**
|
|
45479
45775
|
* OperationalEvents service.
|
|
45480
45776
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
45481
|
-
* @version
|
|
45777
|
+
* @version 223.0.0
|
|
45482
45778
|
*/
|
|
45483
45779
|
|
|
45484
45780
|
/**
|
|
@@ -45595,7 +45891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45595
45891
|
/**
|
|
45596
45892
|
* Organization service.
|
|
45597
45893
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45598
|
-
* @version
|
|
45894
|
+
* @version 223.0.0
|
|
45599
45895
|
*/
|
|
45600
45896
|
|
|
45601
45897
|
/**
|
|
@@ -46070,7 +46366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46070
46366
|
/**
|
|
46071
46367
|
* OrganizationAuthorization service.
|
|
46072
46368
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
46073
|
-
* @version
|
|
46369
|
+
* @version 223.0.0
|
|
46074
46370
|
*/
|
|
46075
46371
|
|
|
46076
46372
|
/**
|
|
@@ -47464,7 +47760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47464
47760
|
/**
|
|
47465
47761
|
* Outbound service.
|
|
47466
47762
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
47467
|
-
* @version
|
|
47763
|
+
* @version 223.0.0
|
|
47468
47764
|
*/
|
|
47469
47765
|
|
|
47470
47766
|
/**
|
|
@@ -52086,7 +52382,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52086
52382
|
/**
|
|
52087
52383
|
* Presence service.
|
|
52088
52384
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
52089
|
-
* @version
|
|
52385
|
+
* @version 223.0.0
|
|
52090
52386
|
*/
|
|
52091
52387
|
|
|
52092
52388
|
/**
|
|
@@ -52830,7 +53126,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52830
53126
|
/**
|
|
52831
53127
|
* ProcessAutomation service.
|
|
52832
53128
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
52833
|
-
* @version
|
|
53129
|
+
* @version 223.0.0
|
|
52834
53130
|
*/
|
|
52835
53131
|
|
|
52836
53132
|
/**
|
|
@@ -53069,7 +53365,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53069
53365
|
/**
|
|
53070
53366
|
* Quality service.
|
|
53071
53367
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
53072
|
-
* @version
|
|
53368
|
+
* @version 223.0.0
|
|
53073
53369
|
*/
|
|
53074
53370
|
|
|
53075
53371
|
/**
|
|
@@ -54856,7 +55152,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
54856
55152
|
/**
|
|
54857
55153
|
* Recording service.
|
|
54858
55154
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
54859
|
-
* @version
|
|
55155
|
+
* @version 223.0.0
|
|
54860
55156
|
*/
|
|
54861
55157
|
|
|
54862
55158
|
/**
|
|
@@ -56461,7 +56757,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56461
56757
|
/**
|
|
56462
56758
|
* ResponseManagement service.
|
|
56463
56759
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
56464
|
-
* @version
|
|
56760
|
+
* @version 223.0.0
|
|
56465
56761
|
*/
|
|
56466
56762
|
|
|
56467
56763
|
/**
|
|
@@ -56971,7 +57267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56971
57267
|
/**
|
|
56972
57268
|
* Routing service.
|
|
56973
57269
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
56974
|
-
* @version
|
|
57270
|
+
* @version 223.0.0
|
|
56975
57271
|
*/
|
|
56976
57272
|
|
|
56977
57273
|
/**
|
|
@@ -61281,7 +61577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61281
61577
|
/**
|
|
61282
61578
|
* SCIM service.
|
|
61283
61579
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
61284
|
-
* @version
|
|
61580
|
+
* @version 223.0.0
|
|
61285
61581
|
*/
|
|
61286
61582
|
|
|
61287
61583
|
/**
|
|
@@ -62158,7 +62454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62158
62454
|
/**
|
|
62159
62455
|
* ScreenRecording service.
|
|
62160
62456
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
62161
|
-
* @version
|
|
62457
|
+
* @version 223.0.0
|
|
62162
62458
|
*/
|
|
62163
62459
|
|
|
62164
62460
|
/**
|
|
@@ -62203,7 +62499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62203
62499
|
/**
|
|
62204
62500
|
* Scripts service.
|
|
62205
62501
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
62206
|
-
* @version
|
|
62502
|
+
* @version 223.0.0
|
|
62207
62503
|
*/
|
|
62208
62504
|
|
|
62209
62505
|
/**
|
|
@@ -62679,7 +62975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
62679
62975
|
/**
|
|
62680
62976
|
* Search service.
|
|
62681
62977
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
62682
|
-
* @version
|
|
62978
|
+
* @version 223.0.0
|
|
62683
62979
|
*/
|
|
62684
62980
|
|
|
62685
62981
|
/**
|
|
@@ -63422,7 +63718,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
63422
63718
|
/**
|
|
63423
63719
|
* Settings service.
|
|
63424
63720
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
63425
|
-
* @version
|
|
63721
|
+
* @version 223.0.0
|
|
63426
63722
|
*/
|
|
63427
63723
|
|
|
63428
63724
|
/**
|
|
@@ -63770,7 +64066,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
63770
64066
|
/**
|
|
63771
64067
|
* SocialMedia service.
|
|
63772
64068
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
63773
|
-
* @version
|
|
64069
|
+
* @version 223.0.0
|
|
63774
64070
|
*/
|
|
63775
64071
|
|
|
63776
64072
|
/**
|
|
@@ -63906,7 +64202,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
63906
64202
|
* @param {String} openId openId
|
|
63907
64203
|
* @param {Object} opts Optional parameters
|
|
63908
64204
|
* @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)
|
|
63909
|
-
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
63910
64205
|
*/
|
|
63911
64206
|
deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
63912
64207
|
opts = opts || {};
|
|
@@ -64307,7 +64602,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64307
64602
|
* @param {String} openId openId
|
|
64308
64603
|
* @param {Object} opts Optional parameters
|
|
64309
64604
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
64310
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64311
64605
|
*/
|
|
64312
64606
|
getSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64313
64607
|
opts = opts || {};
|
|
@@ -64343,7 +64637,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64343
64637
|
* @param {String} dataIngestionRuleVersion version
|
|
64344
64638
|
* @param {Object} opts Optional parameters
|
|
64345
64639
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
64346
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64347
64640
|
*/
|
|
64348
64641
|
getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId, openId, dataIngestionRuleVersion, opts) {
|
|
64349
64642
|
opts = opts || {};
|
|
@@ -64384,7 +64677,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64384
64677
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
64385
64678
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
64386
64679
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
64387
|
-
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64388
64680
|
*/
|
|
64389
64681
|
getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId, openId, opts) {
|
|
64390
64682
|
opts = opts || {};
|
|
@@ -64618,7 +64910,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64618
64910
|
* @param {String} openId openId
|
|
64619
64911
|
* @param {Object} opts Optional parameters
|
|
64620
64912
|
* @param {Object} opts.body
|
|
64621
|
-
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64622
64913
|
*/
|
|
64623
64914
|
patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64624
64915
|
opts = opts || {};
|
|
@@ -64818,7 +65109,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64818
65109
|
* @param {String} topicId topicId
|
|
64819
65110
|
* @param {Object} opts Optional parameters
|
|
64820
65111
|
* @param {Object} opts.body
|
|
64821
|
-
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64822
65112
|
*/
|
|
64823
65113
|
postSocialmediaTopicDataingestionrulesOpen(topicId, opts) {
|
|
64824
65114
|
opts = opts || {};
|
|
@@ -64842,6 +65132,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64842
65132
|
);
|
|
64843
65133
|
}
|
|
64844
65134
|
|
|
65135
|
+
/**
|
|
65136
|
+
* Ingest a list of Open Social Messages
|
|
65137
|
+
* 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.
|
|
65138
|
+
* @param {String} topicId Topic ID
|
|
65139
|
+
* @param {String} ruleId Data Ingestion Rule ID
|
|
65140
|
+
* @param {Array.<Object>} body NormalizedMessage
|
|
65141
|
+
*/
|
|
65142
|
+
postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
|
|
65143
|
+
// verify the required parameter 'topicId' is set
|
|
65144
|
+
if (topicId === undefined || topicId === null) {
|
|
65145
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65146
|
+
}
|
|
65147
|
+
// verify the required parameter 'ruleId' is set
|
|
65148
|
+
if (ruleId === undefined || ruleId === null) {
|
|
65149
|
+
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65150
|
+
}
|
|
65151
|
+
// verify the required parameter 'body' is set
|
|
65152
|
+
if (body === undefined || body === null) {
|
|
65153
|
+
throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
65154
|
+
}
|
|
65155
|
+
|
|
65156
|
+
return this.apiClient.callApi(
|
|
65157
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk',
|
|
65158
|
+
'POST',
|
|
65159
|
+
{ 'topicId': topicId,'ruleId': ruleId },
|
|
65160
|
+
{ },
|
|
65161
|
+
{ },
|
|
65162
|
+
{ },
|
|
65163
|
+
body,
|
|
65164
|
+
['PureCloud OAuth'],
|
|
65165
|
+
['application/json'],
|
|
65166
|
+
['application/json']
|
|
65167
|
+
);
|
|
65168
|
+
}
|
|
65169
|
+
|
|
65170
|
+
/**
|
|
65171
|
+
* Ingest a list of Open Social Reactions
|
|
65172
|
+
* 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.
|
|
65173
|
+
* @param {String} topicId Topic ID
|
|
65174
|
+
* @param {String} ruleId Data Ingestion Rule ID
|
|
65175
|
+
* @param {Object} body NormalizedEvent
|
|
65176
|
+
*/
|
|
65177
|
+
postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
|
|
65178
|
+
// verify the required parameter 'topicId' is set
|
|
65179
|
+
if (topicId === undefined || topicId === null) {
|
|
65180
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65181
|
+
}
|
|
65182
|
+
// verify the required parameter 'ruleId' is set
|
|
65183
|
+
if (ruleId === undefined || ruleId === null) {
|
|
65184
|
+
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65185
|
+
}
|
|
65186
|
+
// verify the required parameter 'body' is set
|
|
65187
|
+
if (body === undefined || body === null) {
|
|
65188
|
+
throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
65189
|
+
}
|
|
65190
|
+
|
|
65191
|
+
return this.apiClient.callApi(
|
|
65192
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk',
|
|
65193
|
+
'POST',
|
|
65194
|
+
{ 'topicId': topicId,'ruleId': ruleId },
|
|
65195
|
+
{ },
|
|
65196
|
+
{ },
|
|
65197
|
+
{ },
|
|
65198
|
+
body,
|
|
65199
|
+
['PureCloud OAuth'],
|
|
65200
|
+
['application/json'],
|
|
65201
|
+
['application/json']
|
|
65202
|
+
);
|
|
65203
|
+
}
|
|
65204
|
+
|
|
64845
65205
|
/**
|
|
64846
65206
|
* Create an twitter data ingestion rule.
|
|
64847
65207
|
*
|
|
@@ -64990,7 +65350,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64990
65350
|
* @param {String} openId openId
|
|
64991
65351
|
* @param {Object} opts Optional parameters
|
|
64992
65352
|
* @param {Object} opts.body
|
|
64993
|
-
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64994
65353
|
*/
|
|
64995
65354
|
putSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
|
|
64996
65355
|
opts = opts || {};
|
|
@@ -65058,7 +65417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65058
65417
|
/**
|
|
65059
65418
|
* SpeechTextAnalytics service.
|
|
65060
65419
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
65061
|
-
* @version
|
|
65420
|
+
* @version 223.0.0
|
|
65062
65421
|
*/
|
|
65063
65422
|
|
|
65064
65423
|
/**
|
|
@@ -65952,6 +66311,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
65952
66311
|
);
|
|
65953
66312
|
}
|
|
65954
66313
|
|
|
66314
|
+
/**
|
|
66315
|
+
* Get a Speech and Text Analytics test topics phrase job by id
|
|
66316
|
+
*
|
|
66317
|
+
* @param {String} jobId the id of the test topic phrase job
|
|
66318
|
+
*/
|
|
66319
|
+
getSpeechandtextanalyticsTopicsTestphraseJob(jobId) {
|
|
66320
|
+
// verify the required parameter 'jobId' is set
|
|
66321
|
+
if (jobId === undefined || jobId === null) {
|
|
66322
|
+
throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';
|
|
66323
|
+
}
|
|
66324
|
+
|
|
66325
|
+
return this.apiClient.callApi(
|
|
66326
|
+
'/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}',
|
|
66327
|
+
'GET',
|
|
66328
|
+
{ 'jobId': jobId },
|
|
66329
|
+
{ },
|
|
66330
|
+
{ },
|
|
66331
|
+
{ },
|
|
66332
|
+
null,
|
|
66333
|
+
['PureCloud OAuth'],
|
|
66334
|
+
['application/json'],
|
|
66335
|
+
['application/json']
|
|
66336
|
+
);
|
|
66337
|
+
}
|
|
66338
|
+
|
|
65955
66339
|
/**
|
|
65956
66340
|
* Translate a single interaction recording (or an email conversation)
|
|
65957
66341
|
*
|
|
@@ -66232,6 +66616,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66232
66616
|
);
|
|
66233
66617
|
}
|
|
66234
66618
|
|
|
66619
|
+
/**
|
|
66620
|
+
* Create new Speech and Text Analytics publish topics job
|
|
66621
|
+
*
|
|
66622
|
+
* @param {Object} body The publish test topic phrase job to create
|
|
66623
|
+
*/
|
|
66624
|
+
postSpeechandtextanalyticsTopicsTestphraseJobs(body) {
|
|
66625
|
+
// verify the required parameter 'body' is set
|
|
66626
|
+
if (body === undefined || body === null) {
|
|
66627
|
+
throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';
|
|
66628
|
+
}
|
|
66629
|
+
|
|
66630
|
+
return this.apiClient.callApi(
|
|
66631
|
+
'/api/v2/speechandtextanalytics/topics/testphrase/jobs',
|
|
66632
|
+
'POST',
|
|
66633
|
+
{ },
|
|
66634
|
+
{ },
|
|
66635
|
+
{ },
|
|
66636
|
+
{ },
|
|
66637
|
+
body,
|
|
66638
|
+
['PureCloud OAuth'],
|
|
66639
|
+
['application/json'],
|
|
66640
|
+
['application/json']
|
|
66641
|
+
);
|
|
66642
|
+
}
|
|
66643
|
+
|
|
66235
66644
|
/**
|
|
66236
66645
|
* Search resources.
|
|
66237
66646
|
*
|
|
@@ -66497,7 +66906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66497
66906
|
/**
|
|
66498
66907
|
* Stations service.
|
|
66499
66908
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
66500
|
-
* @version
|
|
66909
|
+
* @version 223.0.0
|
|
66501
66910
|
*/
|
|
66502
66911
|
|
|
66503
66912
|
/**
|
|
@@ -66599,7 +67008,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66599
67008
|
/**
|
|
66600
67009
|
* Suggest service.
|
|
66601
67010
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
66602
|
-
* @version
|
|
67011
|
+
* @version 223.0.0
|
|
66603
67012
|
*/
|
|
66604
67013
|
|
|
66605
67014
|
/**
|
|
@@ -66738,7 +67147,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66738
67147
|
/**
|
|
66739
67148
|
* TaskManagement service.
|
|
66740
67149
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
66741
|
-
* @version
|
|
67150
|
+
* @version 223.0.0
|
|
66742
67151
|
*/
|
|
66743
67152
|
|
|
66744
67153
|
/**
|
|
@@ -67608,7 +68017,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
67608
68017
|
}
|
|
67609
68018
|
|
|
67610
68019
|
/**
|
|
67611
|
-
* Get
|
|
68020
|
+
* Get a specific named core type.
|
|
67612
68021
|
*
|
|
67613
68022
|
* @param {String} coreTypeName Name of the core type
|
|
67614
68023
|
*/
|
|
@@ -68900,7 +69309,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68900
69309
|
/**
|
|
68901
69310
|
* Teams service.
|
|
68902
69311
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
68903
|
-
* @version
|
|
69312
|
+
* @version 223.0.0
|
|
68904
69313
|
*/
|
|
68905
69314
|
|
|
68906
69315
|
/**
|
|
@@ -69205,7 +69614,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69205
69614
|
/**
|
|
69206
69615
|
* Telephony service.
|
|
69207
69616
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
69208
|
-
* @version
|
|
69617
|
+
* @version 223.0.0
|
|
69209
69618
|
*/
|
|
69210
69619
|
|
|
69211
69620
|
/**
|
|
@@ -69387,7 +69796,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69387
69796
|
/**
|
|
69388
69797
|
* TelephonyProvidersEdge service.
|
|
69389
69798
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
69390
|
-
* @version
|
|
69799
|
+
* @version 223.0.0
|
|
69391
69800
|
*/
|
|
69392
69801
|
|
|
69393
69802
|
/**
|
|
@@ -72839,7 +73248,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
72839
73248
|
/**
|
|
72840
73249
|
* Textbots service.
|
|
72841
73250
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
72842
|
-
* @version
|
|
73251
|
+
* @version 223.0.0
|
|
72843
73252
|
*/
|
|
72844
73253
|
|
|
72845
73254
|
/**
|
|
@@ -72861,6 +73270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
72861
73270
|
* @param {Array.<String>} opts.botType Bot types
|
|
72862
73271
|
* @param {String} opts.botName Bot name
|
|
72863
73272
|
* @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
|
|
73273
|
+
* @param {Boolean} opts.virtualAgentEnabled Include or exclude virtual agent flows, only applies to GenesysBotFlows or GenesysDigitalBotFlows
|
|
72864
73274
|
* @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
|
|
72865
73275
|
*/
|
|
72866
73276
|
getTextbotsBotsSearch(opts) {
|
|
@@ -72871,7 +73281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
72871
73281
|
'/api/v2/textbots/bots/search',
|
|
72872
73282
|
'GET',
|
|
72873
73283
|
{ },
|
|
72874
|
-
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
73284
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'virtualAgentEnabled': opts['virtualAgentEnabled'],'pageSize': opts['pageSize'] },
|
|
72875
73285
|
{ },
|
|
72876
73286
|
{ },
|
|
72877
73287
|
null,
|
|
@@ -72967,7 +73377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
72967
73377
|
/**
|
|
72968
73378
|
* Tokens service.
|
|
72969
73379
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
72970
|
-
* @version
|
|
73380
|
+
* @version 223.0.0
|
|
72971
73381
|
*/
|
|
72972
73382
|
|
|
72973
73383
|
/**
|
|
@@ -73121,7 +73531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73121
73531
|
/**
|
|
73122
73532
|
* Uploads service.
|
|
73123
73533
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
73124
|
-
* @version
|
|
73534
|
+
* @version 223.0.0
|
|
73125
73535
|
*/
|
|
73126
73536
|
|
|
73127
73537
|
/**
|
|
@@ -73412,7 +73822,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73412
73822
|
/**
|
|
73413
73823
|
* Usage service.
|
|
73414
73824
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
73415
|
-
* @version
|
|
73825
|
+
* @version 223.0.0
|
|
73416
73826
|
*/
|
|
73417
73827
|
|
|
73418
73828
|
/**
|
|
@@ -73627,7 +74037,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73627
74037
|
/**
|
|
73628
74038
|
* UserRecordings service.
|
|
73629
74039
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
73630
|
-
* @version
|
|
74040
|
+
* @version 223.0.0
|
|
73631
74041
|
*/
|
|
73632
74042
|
|
|
73633
74043
|
/**
|
|
@@ -73842,7 +74252,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
73842
74252
|
/**
|
|
73843
74253
|
* Users service.
|
|
73844
74254
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
73845
|
-
* @version
|
|
74255
|
+
* @version 223.0.0
|
|
73846
74256
|
*/
|
|
73847
74257
|
|
|
73848
74258
|
/**
|
|
@@ -76795,7 +77205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
76795
77205
|
/**
|
|
76796
77206
|
* Utilities service.
|
|
76797
77207
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
76798
|
-
* @version
|
|
77208
|
+
* @version 223.0.0
|
|
76799
77209
|
*/
|
|
76800
77210
|
|
|
76801
77211
|
/**
|
|
@@ -76906,7 +77316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
76906
77316
|
/**
|
|
76907
77317
|
* Voicemail service.
|
|
76908
77318
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
76909
|
-
* @version
|
|
77319
|
+
* @version 223.0.0
|
|
76910
77320
|
*/
|
|
76911
77321
|
|
|
76912
77322
|
/**
|
|
@@ -77628,7 +78038,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
77628
78038
|
/**
|
|
77629
78039
|
* WebChat service.
|
|
77630
78040
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
77631
|
-
* @version
|
|
78041
|
+
* @version 223.0.0
|
|
77632
78042
|
*/
|
|
77633
78043
|
|
|
77634
78044
|
/**
|
|
@@ -78188,7 +78598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78188
78598
|
/**
|
|
78189
78599
|
* WebDeployments service.
|
|
78190
78600
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
78191
|
-
* @version
|
|
78601
|
+
* @version 223.0.0
|
|
78192
78602
|
*/
|
|
78193
78603
|
|
|
78194
78604
|
/**
|
|
@@ -78770,7 +79180,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78770
79180
|
/**
|
|
78771
79181
|
* WebMessaging service.
|
|
78772
79182
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
78773
|
-
* @version
|
|
79183
|
+
* @version 223.0.0
|
|
78774
79184
|
*/
|
|
78775
79185
|
|
|
78776
79186
|
/**
|
|
@@ -78816,7 +79226,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78816
79226
|
/**
|
|
78817
79227
|
* Widgets service.
|
|
78818
79228
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
78819
|
-
* @version
|
|
79229
|
+
* @version 223.0.0
|
|
78820
79230
|
*/
|
|
78821
79231
|
|
|
78822
79232
|
/**
|
|
@@ -78967,7 +79377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78967
79377
|
/**
|
|
78968
79378
|
* WorkforceManagement service.
|
|
78969
79379
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
78970
|
-
* @version
|
|
79380
|
+
* @version 223.0.0
|
|
78971
79381
|
*/
|
|
78972
79382
|
|
|
78973
79383
|
/**
|
|
@@ -82166,6 +82576,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82166
82576
|
* @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
|
|
82167
82577
|
* @param {Object} opts Optional parameters
|
|
82168
82578
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
82579
|
+
* @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)
|
|
82169
82580
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
82170
82581
|
*/
|
|
82171
82582
|
getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
|
|
@@ -82184,7 +82595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82184
82595
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
|
|
82185
82596
|
'GET',
|
|
82186
82597
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
82187
|
-
{ 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
|
|
82598
|
+
{ 'evaluateMatches': opts['evaluateMatches'],'includeCrossWeekShifts': opts['includeCrossWeekShifts'],'forceDownloadService': opts['forceDownloadService'] },
|
|
82188
82599
|
{ },
|
|
82189
82600
|
{ },
|
|
82190
82601
|
null,
|
|
@@ -82688,16 +83099,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82688
83099
|
* Update my alternative shifts trade by trade ID
|
|
82689
83100
|
*
|
|
82690
83101
|
* @param {String} tradeId The ID of the alternative shift trade
|
|
82691
|
-
* @param {Object}
|
|
82692
|
-
* @param {Object} opts.body body
|
|
83102
|
+
* @param {Object} body body
|
|
82693
83103
|
*/
|
|
82694
|
-
patchWorkforcemanagementAlternativeshiftsTrade(tradeId,
|
|
82695
|
-
opts = opts || {};
|
|
82696
|
-
|
|
83104
|
+
patchWorkforcemanagementAlternativeshiftsTrade(tradeId, body) {
|
|
82697
83105
|
// verify the required parameter 'tradeId' is set
|
|
82698
83106
|
if (tradeId === undefined || tradeId === null) {
|
|
82699
83107
|
throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
82700
83108
|
}
|
|
83109
|
+
// verify the required parameter 'body' is set
|
|
83110
|
+
if (body === undefined || body === null) {
|
|
83111
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
83112
|
+
}
|
|
82701
83113
|
|
|
82702
83114
|
return this.apiClient.callApi(
|
|
82703
83115
|
'/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
|
|
@@ -82706,7 +83118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82706
83118
|
{ },
|
|
82707
83119
|
{ },
|
|
82708
83120
|
{ },
|
|
82709
|
-
|
|
83121
|
+
body,
|
|
82710
83122
|
['PureCloud OAuth'],
|
|
82711
83123
|
['application/json'],
|
|
82712
83124
|
['application/json']
|
|
@@ -82742,16 +83154,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82742
83154
|
* Update business unit
|
|
82743
83155
|
*
|
|
82744
83156
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
82745
|
-
* @param {Object}
|
|
82746
|
-
* @param {Object} opts.body body
|
|
83157
|
+
* @param {Object} body body
|
|
82747
83158
|
*/
|
|
82748
|
-
patchWorkforcemanagementBusinessunit(businessUnitId,
|
|
82749
|
-
opts = opts || {};
|
|
82750
|
-
|
|
83159
|
+
patchWorkforcemanagementBusinessunit(businessUnitId, body) {
|
|
82751
83160
|
// verify the required parameter 'businessUnitId' is set
|
|
82752
83161
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82753
83162
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';
|
|
82754
83163
|
}
|
|
83164
|
+
// verify the required parameter 'body' is set
|
|
83165
|
+
if (body === undefined || body === null) {
|
|
83166
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunit';
|
|
83167
|
+
}
|
|
82755
83168
|
|
|
82756
83169
|
return this.apiClient.callApi(
|
|
82757
83170
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}',
|
|
@@ -82760,7 +83173,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82760
83173
|
{ },
|
|
82761
83174
|
{ },
|
|
82762
83175
|
{ },
|
|
82763
|
-
|
|
83176
|
+
body,
|
|
82764
83177
|
['PureCloud OAuth'],
|
|
82765
83178
|
['application/json'],
|
|
82766
83179
|
['application/json']
|
|
@@ -82772,12 +83185,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82772
83185
|
*
|
|
82773
83186
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
82774
83187
|
* @param {String} activityCodeId The ID of the activity code to update
|
|
82775
|
-
* @param {Object}
|
|
82776
|
-
* @param {Object} opts.body body
|
|
83188
|
+
* @param {Object} body body
|
|
82777
83189
|
*/
|
|
82778
|
-
patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId,
|
|
82779
|
-
opts = opts || {};
|
|
82780
|
-
|
|
83190
|
+
patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, body) {
|
|
82781
83191
|
// verify the required parameter 'businessUnitId' is set
|
|
82782
83192
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82783
83193
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
@@ -82786,6 +83196,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82786
83196
|
if (activityCodeId === undefined || activityCodeId === null) {
|
|
82787
83197
|
throw 'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
82788
83198
|
}
|
|
83199
|
+
// verify the required parameter 'body' is set
|
|
83200
|
+
if (body === undefined || body === null) {
|
|
83201
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
83202
|
+
}
|
|
82789
83203
|
|
|
82790
83204
|
return this.apiClient.callApi(
|
|
82791
83205
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}',
|
|
@@ -82794,7 +83208,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82794
83208
|
{ },
|
|
82795
83209
|
{ },
|
|
82796
83210
|
{ },
|
|
82797
|
-
|
|
83211
|
+
body,
|
|
82798
83212
|
['PureCloud OAuth'],
|
|
82799
83213
|
['application/json'],
|
|
82800
83214
|
['application/json']
|
|
@@ -82840,16 +83254,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82840
83254
|
* Update alternative shifts settings for a business unit
|
|
82841
83255
|
*
|
|
82842
83256
|
* @param {String} businessUnitId The ID of the business unit
|
|
82843
|
-
* @param {Object}
|
|
82844
|
-
* @param {Object} opts.body body
|
|
83257
|
+
* @param {Object} body body
|
|
82845
83258
|
*/
|
|
82846
|
-
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId,
|
|
82847
|
-
opts = opts || {};
|
|
82848
|
-
|
|
83259
|
+
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, body) {
|
|
82849
83260
|
// verify the required parameter 'businessUnitId' is set
|
|
82850
83261
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82851
83262
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
82852
83263
|
}
|
|
83264
|
+
// verify the required parameter 'body' is set
|
|
83265
|
+
if (body === undefined || body === null) {
|
|
83266
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
83267
|
+
}
|
|
82853
83268
|
|
|
82854
83269
|
return this.apiClient.callApi(
|
|
82855
83270
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
|
|
@@ -82858,7 +83273,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82858
83273
|
{ },
|
|
82859
83274
|
{ },
|
|
82860
83275
|
{ },
|
|
82861
|
-
|
|
83276
|
+
body,
|
|
82862
83277
|
['PureCloud OAuth'],
|
|
82863
83278
|
['application/json'],
|
|
82864
83279
|
['application/json']
|
|
@@ -82870,12 +83285,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82870
83285
|
*
|
|
82871
83286
|
* @param {String} businessUnitId The ID of the business unit.
|
|
82872
83287
|
* @param {String} planningGroupId The ID of a planning group to update
|
|
82873
|
-
* @param {Object}
|
|
82874
|
-
* @param {Object} opts.body body
|
|
83288
|
+
* @param {Object} body body
|
|
82875
83289
|
*/
|
|
82876
|
-
patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId,
|
|
82877
|
-
opts = opts || {};
|
|
82878
|
-
|
|
83290
|
+
patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, body) {
|
|
82879
83291
|
// verify the required parameter 'businessUnitId' is set
|
|
82880
83292
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82881
83293
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
@@ -82884,6 +83296,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82884
83296
|
if (planningGroupId === undefined || planningGroupId === null) {
|
|
82885
83297
|
throw 'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
82886
83298
|
}
|
|
83299
|
+
// verify the required parameter 'body' is set
|
|
83300
|
+
if (body === undefined || body === null) {
|
|
83301
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
83302
|
+
}
|
|
82887
83303
|
|
|
82888
83304
|
return this.apiClient.callApi(
|
|
82889
83305
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}',
|
|
@@ -82892,7 +83308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82892
83308
|
{ },
|
|
82893
83309
|
{ },
|
|
82894
83310
|
{ },
|
|
82895
|
-
|
|
83311
|
+
body,
|
|
82896
83312
|
['PureCloud OAuth'],
|
|
82897
83313
|
['application/json'],
|
|
82898
83314
|
['application/json']
|
|
@@ -82904,12 +83320,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82904
83320
|
*
|
|
82905
83321
|
* @param {String} businessUnitId The ID of the business unit
|
|
82906
83322
|
* @param {String} runId The ID of the schedule run
|
|
82907
|
-
* @param {Object}
|
|
82908
|
-
* @param {Object} opts.body body
|
|
83323
|
+
* @param {Object} body body
|
|
82909
83324
|
*/
|
|
82910
|
-
patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId,
|
|
82911
|
-
opts = opts || {};
|
|
82912
|
-
|
|
83325
|
+
patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, body) {
|
|
82913
83326
|
// verify the required parameter 'businessUnitId' is set
|
|
82914
83327
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82915
83328
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
@@ -82918,6 +83331,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82918
83331
|
if (runId === undefined || runId === null) {
|
|
82919
83332
|
throw 'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
82920
83333
|
}
|
|
83334
|
+
// verify the required parameter 'body' is set
|
|
83335
|
+
if (body === undefined || body === null) {
|
|
83336
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
83337
|
+
}
|
|
82921
83338
|
|
|
82922
83339
|
return this.apiClient.callApi(
|
|
82923
83340
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}',
|
|
@@ -82926,7 +83343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82926
83343
|
{ },
|
|
82927
83344
|
{ },
|
|
82928
83345
|
{ },
|
|
82929
|
-
|
|
83346
|
+
body,
|
|
82930
83347
|
['PureCloud OAuth'],
|
|
82931
83348
|
['application/json'],
|
|
82932
83349
|
['application/json']
|
|
@@ -82938,12 +83355,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82938
83355
|
*
|
|
82939
83356
|
* @param {String} businessUnitId The ID of the business unit.
|
|
82940
83357
|
* @param {String} serviceGoalTemplateId The ID of a service goal template to update
|
|
82941
|
-
* @param {Object}
|
|
82942
|
-
* @param {Object} opts.body body
|
|
83358
|
+
* @param {Object} body body
|
|
82943
83359
|
*/
|
|
82944
|
-
patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId,
|
|
82945
|
-
opts = opts || {};
|
|
82946
|
-
|
|
83360
|
+
patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, body) {
|
|
82947
83361
|
// verify the required parameter 'businessUnitId' is set
|
|
82948
83362
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82949
83363
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
@@ -82952,6 +83366,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82952
83366
|
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
|
|
82953
83367
|
throw 'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
82954
83368
|
}
|
|
83369
|
+
// verify the required parameter 'body' is set
|
|
83370
|
+
if (body === undefined || body === null) {
|
|
83371
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
83372
|
+
}
|
|
82955
83373
|
|
|
82956
83374
|
return this.apiClient.callApi(
|
|
82957
83375
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}',
|
|
@@ -82960,7 +83378,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82960
83378
|
{ },
|
|
82961
83379
|
{ },
|
|
82962
83380
|
{ },
|
|
82963
|
-
|
|
83381
|
+
body,
|
|
82964
83382
|
['PureCloud OAuth'],
|
|
82965
83383
|
['application/json'],
|
|
82966
83384
|
['application/json']
|
|
@@ -82972,12 +83390,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82972
83390
|
*
|
|
82973
83391
|
* @param {String} businessUnitId The ID of the business unit
|
|
82974
83392
|
* @param {String} staffingGroupId The ID of the staffing group to update
|
|
82975
|
-
* @param {Object}
|
|
82976
|
-
* @param {Object} opts.body body
|
|
83393
|
+
* @param {Object} body body
|
|
82977
83394
|
*/
|
|
82978
|
-
patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId,
|
|
82979
|
-
opts = opts || {};
|
|
82980
|
-
|
|
83395
|
+
patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, body) {
|
|
82981
83396
|
// verify the required parameter 'businessUnitId' is set
|
|
82982
83397
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
82983
83398
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
@@ -82986,6 +83401,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82986
83401
|
if (staffingGroupId === undefined || staffingGroupId === null) {
|
|
82987
83402
|
throw 'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
82988
83403
|
}
|
|
83404
|
+
// verify the required parameter 'body' is set
|
|
83405
|
+
if (body === undefined || body === null) {
|
|
83406
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
83407
|
+
}
|
|
82989
83408
|
|
|
82990
83409
|
return this.apiClient.callApi(
|
|
82991
83410
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}',
|
|
@@ -82994,7 +83413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82994
83413
|
{ },
|
|
82995
83414
|
{ },
|
|
82996
83415
|
{ },
|
|
82997
|
-
|
|
83416
|
+
body,
|
|
82998
83417
|
['PureCloud OAuth'],
|
|
82999
83418
|
['application/json'],
|
|
83000
83419
|
['application/json']
|
|
@@ -83006,12 +83425,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83006
83425
|
*
|
|
83007
83426
|
* @param {String} businessUnitId The ID of the business unit
|
|
83008
83427
|
* @param {String} timeOffPlanId The ID of the time-off plan to update
|
|
83009
|
-
* @param {Object}
|
|
83010
|
-
* @param {Object} opts.body body
|
|
83428
|
+
* @param {Object} body body
|
|
83011
83429
|
*/
|
|
83012
|
-
patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId,
|
|
83013
|
-
opts = opts || {};
|
|
83014
|
-
|
|
83430
|
+
patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, body) {
|
|
83015
83431
|
// verify the required parameter 'businessUnitId' is set
|
|
83016
83432
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83017
83433
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
@@ -83020,6 +83436,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83020
83436
|
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
83021
83437
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
83022
83438
|
}
|
|
83439
|
+
// verify the required parameter 'body' is set
|
|
83440
|
+
if (body === undefined || body === null) {
|
|
83441
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
83442
|
+
}
|
|
83023
83443
|
|
|
83024
83444
|
return this.apiClient.callApi(
|
|
83025
83445
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}',
|
|
@@ -83028,7 +83448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83028
83448
|
{ },
|
|
83029
83449
|
{ },
|
|
83030
83450
|
{ },
|
|
83031
|
-
|
|
83451
|
+
body,
|
|
83032
83452
|
['PureCloud OAuth'],
|
|
83033
83453
|
['application/json'],
|
|
83034
83454
|
['application/json']
|
|
@@ -83076,12 +83496,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83076
83496
|
* @param {String} businessUnitId The ID of the business unit
|
|
83077
83497
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
83078
83498
|
* @param {String} bidGroupId Work Plan Bid Group id
|
|
83079
|
-
* @param {Object}
|
|
83080
|
-
* @param {Object} opts.body body
|
|
83499
|
+
* @param {Object} body body
|
|
83081
83500
|
*/
|
|
83082
|
-
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId,
|
|
83083
|
-
opts = opts || {};
|
|
83084
|
-
|
|
83501
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, body) {
|
|
83085
83502
|
// verify the required parameter 'businessUnitId' is set
|
|
83086
83503
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83087
83504
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
@@ -83094,6 +83511,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83094
83511
|
if (bidGroupId === undefined || bidGroupId === null) {
|
|
83095
83512
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
83096
83513
|
}
|
|
83514
|
+
// verify the required parameter 'body' is set
|
|
83515
|
+
if (body === undefined || body === null) {
|
|
83516
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
83517
|
+
}
|
|
83097
83518
|
|
|
83098
83519
|
return this.apiClient.callApi(
|
|
83099
83520
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
|
|
@@ -83102,7 +83523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83102
83523
|
{ },
|
|
83103
83524
|
{ },
|
|
83104
83525
|
{ },
|
|
83105
|
-
|
|
83526
|
+
body,
|
|
83106
83527
|
['PureCloud OAuth'],
|
|
83107
83528
|
['application/json'],
|
|
83108
83529
|
['application/json']
|
|
@@ -83115,12 +83536,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83115
83536
|
* @param {String} businessUnitId The ID of the business unit
|
|
83116
83537
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
83117
83538
|
* @param {String} bidGroupId The ID of the work plan bid group
|
|
83118
|
-
* @param {Object}
|
|
83119
|
-
* @param {Object} opts.body body
|
|
83539
|
+
* @param {Object} body body
|
|
83120
83540
|
*/
|
|
83121
|
-
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId,
|
|
83122
|
-
opts = opts || {};
|
|
83123
|
-
|
|
83541
|
+
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, body) {
|
|
83124
83542
|
// verify the required parameter 'businessUnitId' is set
|
|
83125
83543
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83126
83544
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
@@ -83133,6 +83551,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83133
83551
|
if (bidGroupId === undefined || bidGroupId === null) {
|
|
83134
83552
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
83135
83553
|
}
|
|
83554
|
+
// verify the required parameter 'body' is set
|
|
83555
|
+
if (body === undefined || body === null) {
|
|
83556
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
83557
|
+
}
|
|
83136
83558
|
|
|
83137
83559
|
return this.apiClient.callApi(
|
|
83138
83560
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
|
|
@@ -83141,7 +83563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83141
83563
|
{ },
|
|
83142
83564
|
{ },
|
|
83143
83565
|
{ },
|
|
83144
|
-
|
|
83566
|
+
body,
|
|
83145
83567
|
['PureCloud OAuth'],
|
|
83146
83568
|
['application/json'],
|
|
83147
83569
|
['application/json']
|
|
@@ -83152,16 +83574,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83152
83574
|
* Update the requested management unit
|
|
83153
83575
|
*
|
|
83154
83576
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83155
|
-
* @param {Object}
|
|
83156
|
-
* @param {Object} opts.body body
|
|
83577
|
+
* @param {Object} body body
|
|
83157
83578
|
*/
|
|
83158
|
-
patchWorkforcemanagementManagementunit(managementUnitId,
|
|
83159
|
-
opts = opts || {};
|
|
83160
|
-
|
|
83579
|
+
patchWorkforcemanagementManagementunit(managementUnitId, body) {
|
|
83161
83580
|
// verify the required parameter 'managementUnitId' is set
|
|
83162
83581
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83163
83582
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';
|
|
83164
83583
|
}
|
|
83584
|
+
// verify the required parameter 'body' is set
|
|
83585
|
+
if (body === undefined || body === null) {
|
|
83586
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunit';
|
|
83587
|
+
}
|
|
83165
83588
|
|
|
83166
83589
|
return this.apiClient.callApi(
|
|
83167
83590
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}',
|
|
@@ -83170,7 +83593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83170
83593
|
{ },
|
|
83171
83594
|
{ },
|
|
83172
83595
|
{ },
|
|
83173
|
-
|
|
83596
|
+
body,
|
|
83174
83597
|
['PureCloud OAuth'],
|
|
83175
83598
|
['application/json'],
|
|
83176
83599
|
['application/json']
|
|
@@ -83181,16 +83604,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83181
83604
|
* Update agent configurations
|
|
83182
83605
|
*
|
|
83183
83606
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83184
|
-
* @param {Object}
|
|
83185
|
-
* @param {Object} opts.body body
|
|
83607
|
+
* @param {Object} body body
|
|
83186
83608
|
*/
|
|
83187
|
-
patchWorkforcemanagementManagementunitAgents(managementUnitId,
|
|
83188
|
-
opts = opts || {};
|
|
83189
|
-
|
|
83609
|
+
patchWorkforcemanagementManagementunitAgents(managementUnitId, body) {
|
|
83190
83610
|
// verify the required parameter 'managementUnitId' is set
|
|
83191
83611
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83192
83612
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
|
|
83193
83613
|
}
|
|
83614
|
+
// verify the required parameter 'body' is set
|
|
83615
|
+
if (body === undefined || body === null) {
|
|
83616
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgents';
|
|
83617
|
+
}
|
|
83194
83618
|
|
|
83195
83619
|
return this.apiClient.callApi(
|
|
83196
83620
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents',
|
|
@@ -83199,7 +83623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83199
83623
|
{ },
|
|
83200
83624
|
{ },
|
|
83201
83625
|
{ },
|
|
83202
|
-
|
|
83626
|
+
body,
|
|
83203
83627
|
['PureCloud OAuth'],
|
|
83204
83628
|
['application/json'],
|
|
83205
83629
|
['application/json']
|
|
@@ -83210,16 +83634,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83210
83634
|
* Updates agent work plan configuration
|
|
83211
83635
|
*
|
|
83212
83636
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83213
|
-
* @param {Object}
|
|
83214
|
-
* @param {Object} opts.body body
|
|
83637
|
+
* @param {Object} body body
|
|
83215
83638
|
*/
|
|
83216
|
-
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId,
|
|
83217
|
-
opts = opts || {};
|
|
83218
|
-
|
|
83639
|
+
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, body) {
|
|
83219
83640
|
// verify the required parameter 'managementUnitId' is set
|
|
83220
83641
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83221
83642
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
83222
83643
|
}
|
|
83644
|
+
// verify the required parameter 'body' is set
|
|
83645
|
+
if (body === undefined || body === null) {
|
|
83646
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
83647
|
+
}
|
|
83223
83648
|
|
|
83224
83649
|
return this.apiClient.callApi(
|
|
83225
83650
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
|
|
@@ -83228,7 +83653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83228
83653
|
{ },
|
|
83229
83654
|
{ },
|
|
83230
83655
|
{ },
|
|
83231
|
-
|
|
83656
|
+
body,
|
|
83232
83657
|
['PureCloud OAuth'],
|
|
83233
83658
|
['application/json'],
|
|
83234
83659
|
['application/json']
|
|
@@ -83240,12 +83665,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83240
83665
|
* Updates time off limit object properties, but not daily values.
|
|
83241
83666
|
* @param {String} managementUnitId The ID of the management unit.
|
|
83242
83667
|
* @param {String} timeOffLimitId The id of time off limit object to update
|
|
83243
|
-
* @param {Object}
|
|
83244
|
-
* @param {Object} opts.body body
|
|
83668
|
+
* @param {Object} body body
|
|
83245
83669
|
*/
|
|
83246
|
-
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId,
|
|
83247
|
-
opts = opts || {};
|
|
83248
|
-
|
|
83670
|
+
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, body) {
|
|
83249
83671
|
// verify the required parameter 'managementUnitId' is set
|
|
83250
83672
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83251
83673
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
@@ -83254,6 +83676,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83254
83676
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
83255
83677
|
throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
83256
83678
|
}
|
|
83679
|
+
// verify the required parameter 'body' is set
|
|
83680
|
+
if (body === undefined || body === null) {
|
|
83681
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
83682
|
+
}
|
|
83257
83683
|
|
|
83258
83684
|
return this.apiClient.callApi(
|
|
83259
83685
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
|
|
@@ -83262,7 +83688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83262
83688
|
{ },
|
|
83263
83689
|
{ },
|
|
83264
83690
|
{ },
|
|
83265
|
-
|
|
83691
|
+
body,
|
|
83266
83692
|
['PureCloud OAuth'],
|
|
83267
83693
|
['application/json'],
|
|
83268
83694
|
['application/json']
|
|
@@ -83274,12 +83700,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83274
83700
|
*
|
|
83275
83701
|
* @param {String} managementUnitId The ID of the management unit
|
|
83276
83702
|
* @param {String} timeOffPlanId The ID of the time off plan to update
|
|
83277
|
-
* @param {Object}
|
|
83278
|
-
* @param {Object} opts.body body
|
|
83703
|
+
* @param {Object} body body
|
|
83279
83704
|
*/
|
|
83280
|
-
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId,
|
|
83281
|
-
opts = opts || {};
|
|
83282
|
-
|
|
83705
|
+
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, body) {
|
|
83283
83706
|
// verify the required parameter 'managementUnitId' is set
|
|
83284
83707
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83285
83708
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
@@ -83288,6 +83711,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83288
83711
|
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
83289
83712
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
83290
83713
|
}
|
|
83714
|
+
// verify the required parameter 'body' is set
|
|
83715
|
+
if (body === undefined || body === null) {
|
|
83716
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
83717
|
+
}
|
|
83291
83718
|
|
|
83292
83719
|
return this.apiClient.callApi(
|
|
83293
83720
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
|
|
@@ -83296,7 +83723,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83296
83723
|
{ },
|
|
83297
83724
|
{ },
|
|
83298
83725
|
{ },
|
|
83299
|
-
|
|
83726
|
+
body,
|
|
83300
83727
|
['PureCloud OAuth'],
|
|
83301
83728
|
['application/json'],
|
|
83302
83729
|
['application/json']
|
|
@@ -83309,12 +83736,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83309
83736
|
* @param {String} managementUnitId The ID of the management unit.
|
|
83310
83737
|
* @param {String} timeOffRequestId The ID of the time off request.
|
|
83311
83738
|
* @param {String} userId The ID of user to whom the time off request belongs.
|
|
83312
|
-
* @param {Object}
|
|
83313
|
-
* @param {Object} opts.body body
|
|
83739
|
+
* @param {Object} body body
|
|
83314
83740
|
*/
|
|
83315
|
-
patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId,
|
|
83316
|
-
opts = opts || {};
|
|
83317
|
-
|
|
83741
|
+
patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, body) {
|
|
83318
83742
|
// verify the required parameter 'managementUnitId' is set
|
|
83319
83743
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83320
83744
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
@@ -83327,6 +83751,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83327
83751
|
if (userId === undefined || userId === null) {
|
|
83328
83752
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
83329
83753
|
}
|
|
83754
|
+
// verify the required parameter 'body' is set
|
|
83755
|
+
if (body === undefined || body === null) {
|
|
83756
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
83757
|
+
}
|
|
83330
83758
|
|
|
83331
83759
|
return this.apiClient.callApi(
|
|
83332
83760
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus',
|
|
@@ -83335,7 +83763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83335
83763
|
{ },
|
|
83336
83764
|
{ },
|
|
83337
83765
|
{ },
|
|
83338
|
-
|
|
83766
|
+
body,
|
|
83339
83767
|
['PureCloud OAuth'],
|
|
83340
83768
|
['application/json'],
|
|
83341
83769
|
['application/json']
|
|
@@ -83348,12 +83776,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83348
83776
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83349
83777
|
* @param {String} userId The id of the user the requested time off request belongs to
|
|
83350
83778
|
* @param {String} timeOffRequestId The id of the time off request to update
|
|
83351
|
-
* @param {Object}
|
|
83352
|
-
* @param {Object} opts.body body
|
|
83779
|
+
* @param {Object} body body
|
|
83353
83780
|
*/
|
|
83354
|
-
patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId,
|
|
83355
|
-
opts = opts || {};
|
|
83356
|
-
|
|
83781
|
+
patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, body) {
|
|
83357
83782
|
// verify the required parameter 'managementUnitId' is set
|
|
83358
83783
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83359
83784
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
@@ -83366,6 +83791,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83366
83791
|
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
83367
83792
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
83368
83793
|
}
|
|
83794
|
+
// verify the required parameter 'body' is set
|
|
83795
|
+
if (body === undefined || body === null) {
|
|
83796
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
83797
|
+
}
|
|
83369
83798
|
|
|
83370
83799
|
return this.apiClient.callApi(
|
|
83371
83800
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}',
|
|
@@ -83374,7 +83803,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83374
83803
|
{ },
|
|
83375
83804
|
{ },
|
|
83376
83805
|
{ },
|
|
83377
|
-
|
|
83806
|
+
body,
|
|
83378
83807
|
['PureCloud OAuth'],
|
|
83379
83808
|
['application/json'],
|
|
83380
83809
|
['application/json']
|
|
@@ -83426,11 +83855,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83426
83855
|
*
|
|
83427
83856
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83428
83857
|
* @param {String} workPlanId The ID of the work plan to update
|
|
83858
|
+
* @param {Object} body body
|
|
83429
83859
|
* @param {Object} opts Optional parameters
|
|
83430
83860
|
* @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
|
|
83431
|
-
* @param {Object} opts.body body
|
|
83432
83861
|
*/
|
|
83433
|
-
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
|
|
83862
|
+
patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, body, opts) {
|
|
83434
83863
|
opts = opts || {};
|
|
83435
83864
|
|
|
83436
83865
|
// verify the required parameter 'managementUnitId' is set
|
|
@@ -83441,6 +83870,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83441
83870
|
if (workPlanId === undefined || workPlanId === null) {
|
|
83442
83871
|
throw 'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
83443
83872
|
}
|
|
83873
|
+
// verify the required parameter 'body' is set
|
|
83874
|
+
if (body === undefined || body === null) {
|
|
83875
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
83876
|
+
}
|
|
83444
83877
|
|
|
83445
83878
|
return this.apiClient.callApi(
|
|
83446
83879
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
|
|
@@ -83449,7 +83882,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83449
83882
|
{ 'validationMode': opts['validationMode'] },
|
|
83450
83883
|
{ },
|
|
83451
83884
|
{ },
|
|
83452
|
-
|
|
83885
|
+
body,
|
|
83453
83886
|
['PureCloud OAuth'],
|
|
83454
83887
|
['application/json'],
|
|
83455
83888
|
['application/json']
|
|
@@ -83461,12 +83894,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83461
83894
|
*
|
|
83462
83895
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
83463
83896
|
* @param {String} workPlanRotationId The ID of the work plan rotation to update
|
|
83464
|
-
* @param {Object}
|
|
83465
|
-
* @param {Object} opts.body body
|
|
83897
|
+
* @param {Object} body body
|
|
83466
83898
|
*/
|
|
83467
|
-
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId,
|
|
83468
|
-
opts = opts || {};
|
|
83469
|
-
|
|
83899
|
+
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, body) {
|
|
83470
83900
|
// verify the required parameter 'managementUnitId' is set
|
|
83471
83901
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
83472
83902
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
@@ -83475,6 +83905,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83475
83905
|
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
83476
83906
|
throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
83477
83907
|
}
|
|
83908
|
+
// verify the required parameter 'body' is set
|
|
83909
|
+
if (body === undefined || body === null) {
|
|
83910
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
83911
|
+
}
|
|
83478
83912
|
|
|
83479
83913
|
return this.apiClient.callApi(
|
|
83480
83914
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
|
|
@@ -83483,7 +83917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83483
83917
|
{ },
|
|
83484
83918
|
{ },
|
|
83485
83919
|
{ },
|
|
83486
|
-
|
|
83920
|
+
body,
|
|
83487
83921
|
['PureCloud OAuth'],
|
|
83488
83922
|
['application/json'],
|
|
83489
83923
|
['application/json']
|
|
@@ -83494,16 +83928,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83494
83928
|
* Update a time off request for the current user
|
|
83495
83929
|
*
|
|
83496
83930
|
* @param {String} timeOffRequestId The ID of the time off request
|
|
83497
|
-
* @param {Object}
|
|
83498
|
-
* @param {Object} opts.body body
|
|
83931
|
+
* @param {Object} body body
|
|
83499
83932
|
*/
|
|
83500
|
-
patchWorkforcemanagementTimeoffrequest(timeOffRequestId,
|
|
83501
|
-
opts = opts || {};
|
|
83502
|
-
|
|
83933
|
+
patchWorkforcemanagementTimeoffrequest(timeOffRequestId, body) {
|
|
83503
83934
|
// verify the required parameter 'timeOffRequestId' is set
|
|
83504
83935
|
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
83505
83936
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';
|
|
83506
83937
|
}
|
|
83938
|
+
// verify the required parameter 'body' is set
|
|
83939
|
+
if (body === undefined || body === null) {
|
|
83940
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementTimeoffrequest';
|
|
83941
|
+
}
|
|
83507
83942
|
|
|
83508
83943
|
return this.apiClient.callApi(
|
|
83509
83944
|
'/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}',
|
|
@@ -83512,7 +83947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83512
83947
|
{ },
|
|
83513
83948
|
{ },
|
|
83514
83949
|
{ },
|
|
83515
|
-
|
|
83950
|
+
body,
|
|
83516
83951
|
['PureCloud OAuth'],
|
|
83517
83952
|
['application/json'],
|
|
83518
83953
|
['application/json']
|
|
@@ -83523,16 +83958,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83523
83958
|
* Update work plan bid ranks for a user
|
|
83524
83959
|
*
|
|
83525
83960
|
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
83526
|
-
* @param {Object}
|
|
83527
|
-
* @param {Object} opts.body body
|
|
83961
|
+
* @param {Object} body body
|
|
83528
83962
|
*/
|
|
83529
|
-
patchWorkforcemanagementUserWorkplanbidranks(userId,
|
|
83530
|
-
opts = opts || {};
|
|
83531
|
-
|
|
83963
|
+
patchWorkforcemanagementUserWorkplanbidranks(userId, body) {
|
|
83532
83964
|
// verify the required parameter 'userId' is set
|
|
83533
83965
|
if (userId === undefined || userId === null) {
|
|
83534
83966
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
83535
83967
|
}
|
|
83968
|
+
// verify the required parameter 'body' is set
|
|
83969
|
+
if (body === undefined || body === null) {
|
|
83970
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
83971
|
+
}
|
|
83536
83972
|
|
|
83537
83973
|
return this.apiClient.callApi(
|
|
83538
83974
|
'/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
|
|
@@ -83541,7 +83977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83541
83977
|
{ },
|
|
83542
83978
|
{ },
|
|
83543
83979
|
{ },
|
|
83544
|
-
|
|
83980
|
+
body,
|
|
83545
83981
|
['PureCloud OAuth'],
|
|
83546
83982
|
['application/json'],
|
|
83547
83983
|
['application/json']
|
|
@@ -83577,16 +84013,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83577
84013
|
* Update an agent's work plan bidding preference
|
|
83578
84014
|
*
|
|
83579
84015
|
* @param {String} bidId The ID of the work plan bid
|
|
83580
|
-
* @param {Object}
|
|
83581
|
-
* @param {Object} opts.body body
|
|
84016
|
+
* @param {Object} body body
|
|
83582
84017
|
*/
|
|
83583
|
-
patchWorkforcemanagementWorkplanbidPreferences(bidId,
|
|
83584
|
-
opts = opts || {};
|
|
83585
|
-
|
|
84018
|
+
patchWorkforcemanagementWorkplanbidPreferences(bidId, body) {
|
|
83586
84019
|
// verify the required parameter 'bidId' is set
|
|
83587
84020
|
if (bidId === undefined || bidId === null) {
|
|
83588
84021
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
83589
84022
|
}
|
|
84023
|
+
// verify the required parameter 'body' is set
|
|
84024
|
+
if (body === undefined || body === null) {
|
|
84025
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
84026
|
+
}
|
|
83590
84027
|
|
|
83591
84028
|
return this.apiClient.callApi(
|
|
83592
84029
|
'/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
|
|
@@ -83595,7 +84032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83595
84032
|
{ },
|
|
83596
84033
|
{ },
|
|
83597
84034
|
{ },
|
|
83598
|
-
|
|
84035
|
+
body,
|
|
83599
84036
|
['PureCloud OAuth'],
|
|
83600
84037
|
['application/json'],
|
|
83601
84038
|
['application/json']
|
|
@@ -83685,12 +84122,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83685
84122
|
/**
|
|
83686
84123
|
* Request a historical adherence report in bulk
|
|
83687
84124
|
*
|
|
83688
|
-
* @param {Object}
|
|
83689
|
-
* @param {Object} opts.body body
|
|
84125
|
+
* @param {Object} body body
|
|
83690
84126
|
*/
|
|
83691
|
-
postWorkforcemanagementAdherenceHistoricalBulk(
|
|
83692
|
-
|
|
83693
|
-
|
|
84127
|
+
postWorkforcemanagementAdherenceHistoricalBulk(body) {
|
|
84128
|
+
// verify the required parameter 'body' is set
|
|
84129
|
+
if (body === undefined || body === null) {
|
|
84130
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceHistoricalBulk';
|
|
84131
|
+
}
|
|
83694
84132
|
|
|
83695
84133
|
return this.apiClient.callApi(
|
|
83696
84134
|
'/api/v2/workforcemanagement/adherence/historical/bulk',
|
|
@@ -83699,7 +84137,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83699
84137
|
{ },
|
|
83700
84138
|
{ },
|
|
83701
84139
|
{ },
|
|
83702
|
-
|
|
84140
|
+
body,
|
|
83703
84141
|
['PureCloud OAuth'],
|
|
83704
84142
|
['application/json'],
|
|
83705
84143
|
['application/json']
|
|
@@ -83774,12 +84212,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83774
84212
|
/**
|
|
83775
84213
|
* Move agents in and out of management unit
|
|
83776
84214
|
*
|
|
83777
|
-
* @param {Object}
|
|
83778
|
-
* @param {Object} opts.body body
|
|
84215
|
+
* @param {Object} body body
|
|
83779
84216
|
*/
|
|
83780
|
-
postWorkforcemanagementAgents(
|
|
83781
|
-
|
|
83782
|
-
|
|
84217
|
+
postWorkforcemanagementAgents(body) {
|
|
84218
|
+
// verify the required parameter 'body' is set
|
|
84219
|
+
if (body === undefined || body === null) {
|
|
84220
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgents';
|
|
84221
|
+
}
|
|
83783
84222
|
|
|
83784
84223
|
return this.apiClient.callApi(
|
|
83785
84224
|
'/api/v2/workforcemanagement/agents',
|
|
@@ -83788,7 +84227,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83788
84227
|
{ },
|
|
83789
84228
|
{ },
|
|
83790
84229
|
{ },
|
|
83791
|
-
|
|
84230
|
+
body,
|
|
83792
84231
|
['PureCloud OAuth'],
|
|
83793
84232
|
['application/json'],
|
|
83794
84233
|
['application/json']
|
|
@@ -83798,12 +84237,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83798
84237
|
/**
|
|
83799
84238
|
* Query integrations for agents
|
|
83800
84239
|
*
|
|
83801
|
-
* @param {Object}
|
|
83802
|
-
* @param {Object} opts.body body
|
|
84240
|
+
* @param {Object} body body
|
|
83803
84241
|
*/
|
|
83804
|
-
postWorkforcemanagementAgentsIntegrationsHrisQuery(
|
|
83805
|
-
|
|
83806
|
-
|
|
84242
|
+
postWorkforcemanagementAgentsIntegrationsHrisQuery(body) {
|
|
84243
|
+
// verify the required parameter 'body' is set
|
|
84244
|
+
if (body === undefined || body === null) {
|
|
84245
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';
|
|
84246
|
+
}
|
|
83807
84247
|
|
|
83808
84248
|
return this.apiClient.callApi(
|
|
83809
84249
|
'/api/v2/workforcemanagement/agents/integrations/hris/query',
|
|
@@ -83812,7 +84252,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83812
84252
|
{ },
|
|
83813
84253
|
{ },
|
|
83814
84254
|
{ },
|
|
83815
|
-
|
|
84255
|
+
body,
|
|
83816
84256
|
['PureCloud OAuth'],
|
|
83817
84257
|
['application/json'],
|
|
83818
84258
|
['application/json']
|
|
@@ -83847,12 +84287,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83847
84287
|
/**
|
|
83848
84288
|
* Get published schedule for the current user
|
|
83849
84289
|
*
|
|
83850
|
-
* @param {Object}
|
|
83851
|
-
* @param {Object} opts.body body
|
|
84290
|
+
* @param {Object} body body
|
|
83852
84291
|
*/
|
|
83853
|
-
postWorkforcemanagementAgentschedulesMine(
|
|
83854
|
-
|
|
83855
|
-
|
|
84292
|
+
postWorkforcemanagementAgentschedulesMine(body) {
|
|
84293
|
+
// verify the required parameter 'body' is set
|
|
84294
|
+
if (body === undefined || body === null) {
|
|
84295
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesMine';
|
|
84296
|
+
}
|
|
83856
84297
|
|
|
83857
84298
|
return this.apiClient.callApi(
|
|
83858
84299
|
'/api/v2/workforcemanagement/agentschedules/mine',
|
|
@@ -83861,7 +84302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83861
84302
|
{ },
|
|
83862
84303
|
{ },
|
|
83863
84304
|
{ },
|
|
83864
|
-
|
|
84305
|
+
body,
|
|
83865
84306
|
['PureCloud OAuth'],
|
|
83866
84307
|
['application/json'],
|
|
83867
84308
|
['application/json']
|
|
@@ -83947,16 +84388,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83947
84388
|
* Create a new activity code
|
|
83948
84389
|
*
|
|
83949
84390
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
83950
|
-
* @param {Object}
|
|
83951
|
-
* @param {Object} opts.body body
|
|
84391
|
+
* @param {Object} body body
|
|
83952
84392
|
*/
|
|
83953
|
-
postWorkforcemanagementBusinessunitActivitycodes(businessUnitId,
|
|
83954
|
-
opts = opts || {};
|
|
83955
|
-
|
|
84393
|
+
postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, body) {
|
|
83956
84394
|
// verify the required parameter 'businessUnitId' is set
|
|
83957
84395
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
83958
84396
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';
|
|
83959
84397
|
}
|
|
84398
|
+
// verify the required parameter 'body' is set
|
|
84399
|
+
if (body === undefined || body === null) {
|
|
84400
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivitycodes';
|
|
84401
|
+
}
|
|
83960
84402
|
|
|
83961
84403
|
return this.apiClient.callApi(
|
|
83962
84404
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
|
|
@@ -83965,7 +84407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83965
84407
|
{ },
|
|
83966
84408
|
{ },
|
|
83967
84409
|
{ },
|
|
83968
|
-
|
|
84410
|
+
body,
|
|
83969
84411
|
['PureCloud OAuth'],
|
|
83970
84412
|
['application/json'],
|
|
83971
84413
|
['application/json']
|
|
@@ -84071,18 +84513,22 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84071
84513
|
* Search published schedules
|
|
84072
84514
|
*
|
|
84073
84515
|
* @param {String} businessUnitId The ID of the business unit
|
|
84516
|
+
* @param {Object} body body
|
|
84074
84517
|
* @param {Object} opts Optional parameters
|
|
84075
84518
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
84076
84519
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
84077
|
-
* @param {Object} opts.body body
|
|
84078
84520
|
*/
|
|
84079
|
-
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
|
|
84521
|
+
postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, body, opts) {
|
|
84080
84522
|
opts = opts || {};
|
|
84081
84523
|
|
|
84082
84524
|
// verify the required parameter 'businessUnitId' is set
|
|
84083
84525
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84084
84526
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
|
|
84085
84527
|
}
|
|
84528
|
+
// verify the required parameter 'body' is set
|
|
84529
|
+
if (body === undefined || body === null) {
|
|
84530
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
|
|
84531
|
+
}
|
|
84086
84532
|
|
|
84087
84533
|
return this.apiClient.callApi(
|
|
84088
84534
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search',
|
|
@@ -84091,7 +84537,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84091
84537
|
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
84092
84538
|
{ },
|
|
84093
84539
|
{ },
|
|
84094
|
-
|
|
84540
|
+
body,
|
|
84095
84541
|
['PureCloud OAuth'],
|
|
84096
84542
|
['application/json'],
|
|
84097
84543
|
['application/json']
|
|
@@ -84136,17 +84582,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84136
84582
|
* Get intraday data for the given date for the requested planningGroupIds
|
|
84137
84583
|
*
|
|
84138
84584
|
* @param {String} businessUnitId The ID of the business unit
|
|
84585
|
+
* @param {Object} body body
|
|
84139
84586
|
* @param {Object} opts Optional parameters
|
|
84140
84587
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
84141
|
-
* @param {Object} opts.body body
|
|
84142
84588
|
*/
|
|
84143
|
-
postWorkforcemanagementBusinessunitIntraday(businessUnitId, opts) {
|
|
84589
|
+
postWorkforcemanagementBusinessunitIntraday(businessUnitId, body, opts) {
|
|
84144
84590
|
opts = opts || {};
|
|
84145
84591
|
|
|
84146
84592
|
// verify the required parameter 'businessUnitId' is set
|
|
84147
84593
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84148
84594
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';
|
|
84149
84595
|
}
|
|
84596
|
+
// verify the required parameter 'body' is set
|
|
84597
|
+
if (body === undefined || body === null) {
|
|
84598
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitIntraday';
|
|
84599
|
+
}
|
|
84150
84600
|
|
|
84151
84601
|
return this.apiClient.callApi(
|
|
84152
84602
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday',
|
|
@@ -84155,7 +84605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84155
84605
|
{ 'forceAsync': opts['forceAsync'] },
|
|
84156
84606
|
{ },
|
|
84157
84607
|
{ },
|
|
84158
|
-
|
|
84608
|
+
body,
|
|
84159
84609
|
['PureCloud OAuth'],
|
|
84160
84610
|
['application/json'],
|
|
84161
84611
|
['application/json']
|
|
@@ -84166,16 +84616,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84166
84616
|
* Adds a new planning group
|
|
84167
84617
|
*
|
|
84168
84618
|
* @param {String} businessUnitId The ID of the business unit.
|
|
84169
|
-
* @param {Object}
|
|
84170
|
-
* @param {Object} opts.body body
|
|
84619
|
+
* @param {Object} body body
|
|
84171
84620
|
*/
|
|
84172
|
-
postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId,
|
|
84173
|
-
opts = opts || {};
|
|
84174
|
-
|
|
84621
|
+
postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, body) {
|
|
84175
84622
|
// verify the required parameter 'businessUnitId' is set
|
|
84176
84623
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84177
84624
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';
|
|
84178
84625
|
}
|
|
84626
|
+
// verify the required parameter 'body' is set
|
|
84627
|
+
if (body === undefined || body === null) {
|
|
84628
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';
|
|
84629
|
+
}
|
|
84179
84630
|
|
|
84180
84631
|
return this.apiClient.callApi(
|
|
84181
84632
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups',
|
|
@@ -84184,7 +84635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84184
84635
|
{ },
|
|
84185
84636
|
{ },
|
|
84186
84637
|
{ },
|
|
84187
|
-
|
|
84638
|
+
body,
|
|
84188
84639
|
['PureCloud OAuth'],
|
|
84189
84640
|
['application/json'],
|
|
84190
84641
|
['application/json']
|
|
@@ -84195,16 +84646,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84195
84646
|
* Adds a new service goal template
|
|
84196
84647
|
*
|
|
84197
84648
|
* @param {String} businessUnitId The ID of the business unit.
|
|
84198
|
-
* @param {Object}
|
|
84199
|
-
* @param {Object} opts.body body
|
|
84649
|
+
* @param {Object} body body
|
|
84200
84650
|
*/
|
|
84201
|
-
postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,
|
|
84202
|
-
opts = opts || {};
|
|
84203
|
-
|
|
84651
|
+
postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, body) {
|
|
84204
84652
|
// verify the required parameter 'businessUnitId' is set
|
|
84205
84653
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84206
84654
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
84207
84655
|
}
|
|
84656
|
+
// verify the required parameter 'body' is set
|
|
84657
|
+
if (body === undefined || body === null) {
|
|
84658
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
84659
|
+
}
|
|
84208
84660
|
|
|
84209
84661
|
return this.apiClient.callApi(
|
|
84210
84662
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates',
|
|
@@ -84213,7 +84665,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84213
84665
|
{ },
|
|
84214
84666
|
{ },
|
|
84215
84667
|
{ },
|
|
84216
|
-
|
|
84668
|
+
body,
|
|
84217
84669
|
['PureCloud OAuth'],
|
|
84218
84670
|
['application/json'],
|
|
84219
84671
|
['application/json']
|
|
@@ -84224,16 +84676,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84224
84676
|
* Creates a new staffing group
|
|
84225
84677
|
*
|
|
84226
84678
|
* @param {String} businessUnitId The ID of the business unit
|
|
84227
|
-
* @param {Object}
|
|
84228
|
-
* @param {Object} opts.body body
|
|
84679
|
+
* @param {Object} body body
|
|
84229
84680
|
*/
|
|
84230
|
-
postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId,
|
|
84231
|
-
opts = opts || {};
|
|
84232
|
-
|
|
84681
|
+
postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, body) {
|
|
84233
84682
|
// verify the required parameter 'businessUnitId' is set
|
|
84234
84683
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84235
84684
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';
|
|
84236
84685
|
}
|
|
84686
|
+
// verify the required parameter 'body' is set
|
|
84687
|
+
if (body === undefined || body === null) {
|
|
84688
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroups';
|
|
84689
|
+
}
|
|
84237
84690
|
|
|
84238
84691
|
return this.apiClient.callApi(
|
|
84239
84692
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups',
|
|
@@ -84242,7 +84695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84242
84695
|
{ },
|
|
84243
84696
|
{ },
|
|
84244
84697
|
{ },
|
|
84245
|
-
|
|
84698
|
+
body,
|
|
84246
84699
|
['PureCloud OAuth'],
|
|
84247
84700
|
['application/json'],
|
|
84248
84701
|
['application/json']
|
|
@@ -84253,16 +84706,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84253
84706
|
* Gets staffing group associations for a list of user IDs
|
|
84254
84707
|
*
|
|
84255
84708
|
* @param {String} businessUnitId The ID of the business unit
|
|
84256
|
-
* @param {Object}
|
|
84257
|
-
* @param {Object} opts.body body
|
|
84709
|
+
* @param {Object} body body
|
|
84258
84710
|
*/
|
|
84259
|
-
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId,
|
|
84260
|
-
opts = opts || {};
|
|
84261
|
-
|
|
84711
|
+
postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body) {
|
|
84262
84712
|
// verify the required parameter 'businessUnitId' is set
|
|
84263
84713
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84264
84714
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
84265
84715
|
}
|
|
84716
|
+
// verify the required parameter 'body' is set
|
|
84717
|
+
if (body === undefined || body === null) {
|
|
84718
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
84719
|
+
}
|
|
84266
84720
|
|
|
84267
84721
|
return this.apiClient.callApi(
|
|
84268
84722
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query',
|
|
@@ -84271,7 +84725,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84271
84725
|
{ },
|
|
84272
84726
|
{ },
|
|
84273
84727
|
{ },
|
|
84274
|
-
|
|
84728
|
+
body,
|
|
84275
84729
|
['PureCloud OAuth'],
|
|
84276
84730
|
['application/json'],
|
|
84277
84731
|
['application/json']
|
|
@@ -84282,16 +84736,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84282
84736
|
* Creates a new time-off limit object
|
|
84283
84737
|
*
|
|
84284
84738
|
* @param {String} businessUnitId The ID of the business unit
|
|
84285
|
-
* @param {Object}
|
|
84286
|
-
* @param {Object} opts.body body
|
|
84739
|
+
* @param {Object} body body
|
|
84287
84740
|
*/
|
|
84288
|
-
postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId,
|
|
84289
|
-
opts = opts || {};
|
|
84290
|
-
|
|
84741
|
+
postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, body) {
|
|
84291
84742
|
// verify the required parameter 'businessUnitId' is set
|
|
84292
84743
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84293
84744
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';
|
|
84294
84745
|
}
|
|
84746
|
+
// verify the required parameter 'body' is set
|
|
84747
|
+
if (body === undefined || body === null) {
|
|
84748
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimits';
|
|
84749
|
+
}
|
|
84295
84750
|
|
|
84296
84751
|
return this.apiClient.callApi(
|
|
84297
84752
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits',
|
|
@@ -84300,7 +84755,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84300
84755
|
{ },
|
|
84301
84756
|
{ },
|
|
84302
84757
|
{ },
|
|
84303
|
-
|
|
84758
|
+
body,
|
|
84304
84759
|
['PureCloud OAuth'],
|
|
84305
84760
|
['application/json'],
|
|
84306
84761
|
['application/json']
|
|
@@ -84311,16 +84766,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84311
84766
|
* Retrieves time-off limit related values based on a given set of filters.
|
|
84312
84767
|
*
|
|
84313
84768
|
* @param {String} businessUnitId The ID of the business unit
|
|
84314
|
-
* @param {Object}
|
|
84315
|
-
* @param {Object} opts.body body
|
|
84769
|
+
* @param {Object} body body
|
|
84316
84770
|
*/
|
|
84317
|
-
postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId,
|
|
84318
|
-
opts = opts || {};
|
|
84319
|
-
|
|
84771
|
+
postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, body) {
|
|
84320
84772
|
// verify the required parameter 'businessUnitId' is set
|
|
84321
84773
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84322
84774
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
|
|
84323
84775
|
}
|
|
84776
|
+
// verify the required parameter 'body' is set
|
|
84777
|
+
if (body === undefined || body === null) {
|
|
84778
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
|
|
84779
|
+
}
|
|
84324
84780
|
|
|
84325
84781
|
return this.apiClient.callApi(
|
|
84326
84782
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query',
|
|
@@ -84329,7 +84785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84329
84785
|
{ },
|
|
84330
84786
|
{ },
|
|
84331
84787
|
{ },
|
|
84332
|
-
|
|
84788
|
+
body,
|
|
84333
84789
|
['PureCloud OAuth'],
|
|
84334
84790
|
['application/json'],
|
|
84335
84791
|
['application/json']
|
|
@@ -84340,16 +84796,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84340
84796
|
* Creates a new time-off plan
|
|
84341
84797
|
*
|
|
84342
84798
|
* @param {String} businessUnitId The ID of the business unit
|
|
84343
|
-
* @param {Object}
|
|
84344
|
-
* @param {Object} opts.body body
|
|
84799
|
+
* @param {Object} body body
|
|
84345
84800
|
*/
|
|
84346
|
-
postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,
|
|
84347
|
-
opts = opts || {};
|
|
84348
|
-
|
|
84801
|
+
postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, body) {
|
|
84349
84802
|
// verify the required parameter 'businessUnitId' is set
|
|
84350
84803
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84351
84804
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';
|
|
84352
84805
|
}
|
|
84806
|
+
// verify the required parameter 'body' is set
|
|
84807
|
+
if (body === undefined || body === null) {
|
|
84808
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeoffplans';
|
|
84809
|
+
}
|
|
84353
84810
|
|
|
84354
84811
|
return this.apiClient.callApi(
|
|
84355
84812
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans',
|
|
@@ -84358,7 +84815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84358
84815
|
{ },
|
|
84359
84816
|
{ },
|
|
84360
84817
|
{ },
|
|
84361
|
-
|
|
84818
|
+
body,
|
|
84362
84819
|
['PureCloud OAuth'],
|
|
84363
84820
|
['application/json'],
|
|
84364
84821
|
['application/json']
|
|
@@ -84456,12 +84913,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84456
84913
|
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
84457
84914
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
84458
84915
|
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
84459
|
-
* @param {Object}
|
|
84460
|
-
* @param {Object} opts.body body
|
|
84916
|
+
* @param {Object} body body
|
|
84461
84917
|
*/
|
|
84462
|
-
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId,
|
|
84463
|
-
opts = opts || {};
|
|
84464
|
-
|
|
84918
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, body) {
|
|
84465
84919
|
// verify the required parameter 'businessUnitId' is set
|
|
84466
84920
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84467
84921
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
@@ -84474,6 +84928,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84474
84928
|
if (scheduleId === undefined || scheduleId === null) {
|
|
84475
84929
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
84476
84930
|
}
|
|
84931
|
+
// verify the required parameter 'body' is set
|
|
84932
|
+
if (body === undefined || body === null) {
|
|
84933
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
84934
|
+
}
|
|
84477
84935
|
|
|
84478
84936
|
return this.apiClient.callApi(
|
|
84479
84937
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations',
|
|
@@ -84482,7 +84940,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84482
84940
|
{ },
|
|
84483
84941
|
{ },
|
|
84484
84942
|
{ },
|
|
84485
|
-
|
|
84943
|
+
body,
|
|
84486
84944
|
['PureCloud OAuth'],
|
|
84487
84945
|
['application/json'],
|
|
84488
84946
|
['application/json']
|
|
@@ -84495,12 +84953,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84495
84953
|
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
84496
84954
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
84497
84955
|
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
84498
|
-
* @param {Object}
|
|
84499
|
-
* @param {Object} opts.body body
|
|
84956
|
+
* @param {Object} body body
|
|
84500
84957
|
*/
|
|
84501
|
-
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId,
|
|
84502
|
-
opts = opts || {};
|
|
84503
|
-
|
|
84958
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, body) {
|
|
84504
84959
|
// verify the required parameter 'businessUnitId' is set
|
|
84505
84960
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84506
84961
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
@@ -84513,6 +84968,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84513
84968
|
if (scheduleId === undefined || scheduleId === null) {
|
|
84514
84969
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
84515
84970
|
}
|
|
84971
|
+
// verify the required parameter 'body' is set
|
|
84972
|
+
if (body === undefined || body === null) {
|
|
84973
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
84974
|
+
}
|
|
84516
84975
|
|
|
84517
84976
|
return this.apiClient.callApi(
|
|
84518
84977
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl',
|
|
@@ -84521,7 +84980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84521
84980
|
{ },
|
|
84522
84981
|
{ },
|
|
84523
84982
|
{ },
|
|
84524
|
-
|
|
84983
|
+
body,
|
|
84525
84984
|
['PureCloud OAuth'],
|
|
84526
84985
|
['application/json'],
|
|
84527
84986
|
['application/json']
|
|
@@ -84980,12 +85439,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84980
85439
|
*
|
|
84981
85440
|
* @param {String} businessUnitId The ID of the business unit
|
|
84982
85441
|
* @param {String} bidId The work plan bid id of the bid groups
|
|
84983
|
-
* @param {Object}
|
|
84984
|
-
* @param {Object} opts.body body
|
|
85442
|
+
* @param {Object} body body
|
|
84985
85443
|
*/
|
|
84986
|
-
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId,
|
|
84987
|
-
opts = opts || {};
|
|
84988
|
-
|
|
85444
|
+
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, body) {
|
|
84989
85445
|
// verify the required parameter 'businessUnitId' is set
|
|
84990
85446
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
84991
85447
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
@@ -84994,6 +85450,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84994
85450
|
if (bidId === undefined || bidId === null) {
|
|
84995
85451
|
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
84996
85452
|
}
|
|
85453
|
+
// verify the required parameter 'body' is set
|
|
85454
|
+
if (body === undefined || body === null) {
|
|
85455
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
85456
|
+
}
|
|
84997
85457
|
|
|
84998
85458
|
return this.apiClient.callApi(
|
|
84999
85459
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups',
|
|
@@ -85002,7 +85462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85002
85462
|
{ },
|
|
85003
85463
|
{ },
|
|
85004
85464
|
{ },
|
|
85005
|
-
|
|
85465
|
+
body,
|
|
85006
85466
|
['PureCloud OAuth'],
|
|
85007
85467
|
['application/json'],
|
|
85008
85468
|
['application/json']
|
|
@@ -85013,16 +85473,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85013
85473
|
* Create a new work plan bid
|
|
85014
85474
|
*
|
|
85015
85475
|
* @param {String} businessUnitId The ID of the business unit
|
|
85016
|
-
* @param {Object}
|
|
85017
|
-
* @param {Object} opts.body The work plan bid to be created
|
|
85476
|
+
* @param {Object} body The work plan bid to be created
|
|
85018
85477
|
*/
|
|
85019
|
-
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId,
|
|
85020
|
-
opts = opts || {};
|
|
85021
|
-
|
|
85478
|
+
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, body) {
|
|
85022
85479
|
// verify the required parameter 'businessUnitId' is set
|
|
85023
85480
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
85024
85481
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
85025
85482
|
}
|
|
85483
|
+
// verify the required parameter 'body' is set
|
|
85484
|
+
if (body === undefined || body === null) {
|
|
85485
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
85486
|
+
}
|
|
85026
85487
|
|
|
85027
85488
|
return this.apiClient.callApi(
|
|
85028
85489
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
|
|
@@ -85031,7 +85492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85031
85492
|
{ },
|
|
85032
85493
|
{ },
|
|
85033
85494
|
{ },
|
|
85034
|
-
|
|
85495
|
+
body,
|
|
85035
85496
|
['PureCloud OAuth'],
|
|
85036
85497
|
['application/json'],
|
|
85037
85498
|
['application/json']
|
|
@@ -85041,12 +85502,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85041
85502
|
/**
|
|
85042
85503
|
* Add a new business unit
|
|
85043
85504
|
* It may take a minute or two for a new business unit to be available for api operations
|
|
85044
|
-
* @param {Object}
|
|
85045
|
-
* @param {Object} opts.body body
|
|
85505
|
+
* @param {Object} body body
|
|
85046
85506
|
*/
|
|
85047
|
-
postWorkforcemanagementBusinessunits(
|
|
85048
|
-
|
|
85049
|
-
|
|
85507
|
+
postWorkforcemanagementBusinessunits(body) {
|
|
85508
|
+
// verify the required parameter 'body' is set
|
|
85509
|
+
if (body === undefined || body === null) {
|
|
85510
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunits';
|
|
85511
|
+
}
|
|
85050
85512
|
|
|
85051
85513
|
return this.apiClient.callApi(
|
|
85052
85514
|
'/api/v2/workforcemanagement/businessunits',
|
|
@@ -85055,7 +85517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85055
85517
|
{ },
|
|
85056
85518
|
{ },
|
|
85057
85519
|
{ },
|
|
85058
|
-
|
|
85520
|
+
body,
|
|
85059
85521
|
['PureCloud OAuth'],
|
|
85060
85522
|
['application/json'],
|
|
85061
85523
|
['application/json']
|
|
@@ -85089,12 +85551,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85089
85551
|
/**
|
|
85090
85552
|
* Delete the list of the historical data import entries
|
|
85091
85553
|
*
|
|
85092
|
-
* @param {Object}
|
|
85093
|
-
* @param {Object} opts.body body
|
|
85554
|
+
* @param {Object} body body
|
|
85094
85555
|
*/
|
|
85095
|
-
postWorkforcemanagementHistoricaldataBulkRemoveJobs(
|
|
85096
|
-
|
|
85097
|
-
|
|
85556
|
+
postWorkforcemanagementHistoricaldataBulkRemoveJobs(body) {
|
|
85557
|
+
// verify the required parameter 'body' is set
|
|
85558
|
+
if (body === undefined || body === null) {
|
|
85559
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';
|
|
85560
|
+
}
|
|
85098
85561
|
|
|
85099
85562
|
return this.apiClient.callApi(
|
|
85100
85563
|
'/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
|
|
@@ -85103,7 +85566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85103
85566
|
{ },
|
|
85104
85567
|
{ },
|
|
85105
85568
|
{ },
|
|
85106
|
-
|
|
85569
|
+
body,
|
|
85107
85570
|
['PureCloud OAuth'],
|
|
85108
85571
|
['application/json'],
|
|
85109
85572
|
['application/json']
|
|
@@ -85134,12 +85597,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85134
85597
|
/**
|
|
85135
85598
|
* Trigger validation process for historical import
|
|
85136
85599
|
*
|
|
85137
|
-
* @param {Object}
|
|
85138
|
-
* @param {Object} opts.body body
|
|
85600
|
+
* @param {Object} body body
|
|
85139
85601
|
*/
|
|
85140
|
-
postWorkforcemanagementHistoricaldataValidate(
|
|
85141
|
-
|
|
85142
|
-
|
|
85602
|
+
postWorkforcemanagementHistoricaldataValidate(body) {
|
|
85603
|
+
// verify the required parameter 'body' is set
|
|
85604
|
+
if (body === undefined || body === null) {
|
|
85605
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataValidate';
|
|
85606
|
+
}
|
|
85143
85607
|
|
|
85144
85608
|
return this.apiClient.callApi(
|
|
85145
85609
|
'/api/v2/workforcemanagement/historicaldata/validate',
|
|
@@ -85148,7 +85612,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85148
85612
|
{ },
|
|
85149
85613
|
{ },
|
|
85150
85614
|
{ },
|
|
85151
|
-
|
|
85615
|
+
body,
|
|
85152
85616
|
['PureCloud OAuth'],
|
|
85153
85617
|
['application/json'],
|
|
85154
85618
|
['application/json']
|
|
@@ -85184,17 +85648,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85184
85648
|
* Get agents work plans configuration
|
|
85185
85649
|
*
|
|
85186
85650
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85651
|
+
* @param {Object} body body
|
|
85187
85652
|
* @param {Object} opts Optional parameters
|
|
85188
85653
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85189
|
-
* @param {Object} opts.body body
|
|
85190
85654
|
*/
|
|
85191
|
-
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
|
|
85655
|
+
postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, body, opts) {
|
|
85192
85656
|
opts = opts || {};
|
|
85193
85657
|
|
|
85194
85658
|
// verify the required parameter 'managementUnitId' is set
|
|
85195
85659
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85196
85660
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
85197
85661
|
}
|
|
85662
|
+
// verify the required parameter 'body' is set
|
|
85663
|
+
if (body === undefined || body === null) {
|
|
85664
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
85665
|
+
}
|
|
85198
85666
|
|
|
85199
85667
|
return this.apiClient.callApi(
|
|
85200
85668
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
|
|
@@ -85203,7 +85671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85203
85671
|
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
85204
85672
|
{ },
|
|
85205
85673
|
{ },
|
|
85206
|
-
|
|
85674
|
+
body,
|
|
85207
85675
|
['PureCloud OAuth'],
|
|
85208
85676
|
['application/json'],
|
|
85209
85677
|
['application/json']
|
|
@@ -85214,18 +85682,22 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85214
85682
|
* Query published schedules for given given time range for set of users
|
|
85215
85683
|
*
|
|
85216
85684
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85685
|
+
* @param {Object} body body
|
|
85217
85686
|
* @param {Object} opts Optional parameters
|
|
85218
85687
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
85219
85688
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85220
|
-
* @param {Object} opts.body body
|
|
85221
85689
|
*/
|
|
85222
|
-
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
|
|
85690
|
+
postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, body, opts) {
|
|
85223
85691
|
opts = opts || {};
|
|
85224
85692
|
|
|
85225
85693
|
// verify the required parameter 'managementUnitId' is set
|
|
85226
85694
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85227
85695
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
|
|
85228
85696
|
}
|
|
85697
|
+
// verify the required parameter 'body' is set
|
|
85698
|
+
if (body === undefined || body === null) {
|
|
85699
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
|
|
85700
|
+
}
|
|
85229
85701
|
|
|
85230
85702
|
return this.apiClient.callApi(
|
|
85231
85703
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search',
|
|
@@ -85234,7 +85706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85234
85706
|
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
85235
85707
|
{ },
|
|
85236
85708
|
{ },
|
|
85237
|
-
|
|
85709
|
+
body,
|
|
85238
85710
|
['PureCloud OAuth'],
|
|
85239
85711
|
['application/json'],
|
|
85240
85712
|
['application/json']
|
|
@@ -85245,16 +85717,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85245
85717
|
* Request a historical adherence report
|
|
85246
85718
|
* The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
|
|
85247
85719
|
* @param {String} managementUnitId The ID of the management unit
|
|
85248
|
-
* @param {Object}
|
|
85249
|
-
* @param {Object} opts.body body
|
|
85720
|
+
* @param {Object} body body
|
|
85250
85721
|
*/
|
|
85251
|
-
postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId,
|
|
85252
|
-
opts = opts || {};
|
|
85253
|
-
|
|
85722
|
+
postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, body) {
|
|
85254
85723
|
// verify the required parameter 'managementUnitId' is set
|
|
85255
85724
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85256
85725
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
|
|
85257
85726
|
}
|
|
85727
|
+
// verify the required parameter 'body' is set
|
|
85728
|
+
if (body === undefined || body === null) {
|
|
85729
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
|
|
85730
|
+
}
|
|
85258
85731
|
|
|
85259
85732
|
return this.apiClient.callApi(
|
|
85260
85733
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/historicaladherencequery',
|
|
@@ -85263,7 +85736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85263
85736
|
{ },
|
|
85264
85737
|
{ },
|
|
85265
85738
|
{ },
|
|
85266
|
-
|
|
85739
|
+
body,
|
|
85267
85740
|
['PureCloud OAuth'],
|
|
85268
85741
|
['application/json'],
|
|
85269
85742
|
['application/json']
|
|
@@ -85274,16 +85747,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85274
85747
|
* Move the requested management unit to a new business unit
|
|
85275
85748
|
* Returns status 200 if the management unit is already in the requested business unit
|
|
85276
85749
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85277
|
-
* @param {Object}
|
|
85278
|
-
* @param {Object} opts.body body
|
|
85750
|
+
* @param {Object} body body
|
|
85279
85751
|
*/
|
|
85280
|
-
postWorkforcemanagementManagementunitMove(managementUnitId,
|
|
85281
|
-
opts = opts || {};
|
|
85282
|
-
|
|
85752
|
+
postWorkforcemanagementManagementunitMove(managementUnitId, body) {
|
|
85283
85753
|
// verify the required parameter 'managementUnitId' is set
|
|
85284
85754
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85285
85755
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';
|
|
85286
85756
|
}
|
|
85757
|
+
// verify the required parameter 'body' is set
|
|
85758
|
+
if (body === undefined || body === null) {
|
|
85759
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitMove';
|
|
85760
|
+
}
|
|
85287
85761
|
|
|
85288
85762
|
return this.apiClient.callApi(
|
|
85289
85763
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/move',
|
|
@@ -85292,7 +85766,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85292
85766
|
{ },
|
|
85293
85767
|
{ },
|
|
85294
85768
|
{ },
|
|
85295
|
-
|
|
85769
|
+
body,
|
|
85296
85770
|
['PureCloud OAuth'],
|
|
85297
85771
|
['application/json'],
|
|
85298
85772
|
['application/json']
|
|
@@ -85303,17 +85777,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85303
85777
|
* Query published schedules for given given time range for set of users
|
|
85304
85778
|
*
|
|
85305
85779
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85306
|
-
* @param {Object}
|
|
85307
|
-
* @param {Object} opts.body body
|
|
85780
|
+
* @param {Object} body body
|
|
85308
85781
|
* @deprecated
|
|
85309
85782
|
*/
|
|
85310
|
-
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId,
|
|
85311
|
-
opts = opts || {};
|
|
85312
|
-
|
|
85783
|
+
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, body) {
|
|
85313
85784
|
// verify the required parameter 'managementUnitId' is set
|
|
85314
85785
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85315
85786
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';
|
|
85316
85787
|
}
|
|
85788
|
+
// verify the required parameter 'body' is set
|
|
85789
|
+
if (body === undefined || body === null) {
|
|
85790
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitSchedulesSearch';
|
|
85791
|
+
}
|
|
85317
85792
|
|
|
85318
85793
|
return this.apiClient.callApi(
|
|
85319
85794
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search',
|
|
@@ -85322,7 +85797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85322
85797
|
{ },
|
|
85323
85798
|
{ },
|
|
85324
85799
|
{ },
|
|
85325
|
-
|
|
85800
|
+
body,
|
|
85326
85801
|
['PureCloud OAuth'],
|
|
85327
85802
|
['application/json'],
|
|
85328
85803
|
['application/json']
|
|
@@ -85333,16 +85808,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85333
85808
|
* Request a historical shrinkage report
|
|
85334
85809
|
* 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.
|
|
85335
85810
|
* @param {String} managementUnitId The ID of the management unit
|
|
85336
|
-
* @param {Object}
|
|
85337
|
-
* @param {Object} opts.body body
|
|
85811
|
+
* @param {Object} body body
|
|
85338
85812
|
*/
|
|
85339
|
-
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId,
|
|
85340
|
-
opts = opts || {};
|
|
85341
|
-
|
|
85813
|
+
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, body) {
|
|
85342
85814
|
// verify the required parameter 'managementUnitId' is set
|
|
85343
85815
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85344
85816
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
85345
85817
|
}
|
|
85818
|
+
// verify the required parameter 'body' is set
|
|
85819
|
+
if (body === undefined || body === null) {
|
|
85820
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
85821
|
+
}
|
|
85346
85822
|
|
|
85347
85823
|
return this.apiClient.callApi(
|
|
85348
85824
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs',
|
|
@@ -85351,7 +85827,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85351
85827
|
{ },
|
|
85352
85828
|
{ },
|
|
85353
85829
|
{ },
|
|
85354
|
-
|
|
85830
|
+
body,
|
|
85355
85831
|
['PureCloud OAuth'],
|
|
85356
85832
|
['application/json'],
|
|
85357
85833
|
['application/json']
|
|
@@ -85362,16 +85838,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85362
85838
|
* Creates a new time off limit object under management unit.
|
|
85363
85839
|
* Only one limit object is allowed under management unit, so an attempt to create second object will fail.
|
|
85364
85840
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85365
|
-
* @param {Object}
|
|
85366
|
-
* @param {Object} opts.body body
|
|
85841
|
+
* @param {Object} body body
|
|
85367
85842
|
*/
|
|
85368
|
-
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId,
|
|
85369
|
-
opts = opts || {};
|
|
85370
|
-
|
|
85843
|
+
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, body) {
|
|
85371
85844
|
// verify the required parameter 'managementUnitId' is set
|
|
85372
85845
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85373
85846
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
85374
85847
|
}
|
|
85848
|
+
// verify the required parameter 'body' is set
|
|
85849
|
+
if (body === undefined || body === null) {
|
|
85850
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
85851
|
+
}
|
|
85375
85852
|
|
|
85376
85853
|
return this.apiClient.callApi(
|
|
85377
85854
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
|
|
@@ -85380,7 +85857,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85380
85857
|
{ },
|
|
85381
85858
|
{ },
|
|
85382
85859
|
{ },
|
|
85383
|
-
|
|
85860
|
+
body,
|
|
85384
85861
|
['PureCloud OAuth'],
|
|
85385
85862
|
['application/json'],
|
|
85386
85863
|
['application/json']
|
|
@@ -85391,16 +85868,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85391
85868
|
* Retrieves time off limit related values based on a given set of filters.
|
|
85392
85869
|
*
|
|
85393
85870
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85394
|
-
* @param {Object}
|
|
85395
|
-
* @param {Object} opts.body body
|
|
85871
|
+
* @param {Object} body body
|
|
85396
85872
|
*/
|
|
85397
|
-
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId,
|
|
85398
|
-
opts = opts || {};
|
|
85399
|
-
|
|
85873
|
+
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, body) {
|
|
85400
85874
|
// verify the required parameter 'managementUnitId' is set
|
|
85401
85875
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85402
85876
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
85403
85877
|
}
|
|
85878
|
+
// verify the required parameter 'body' is set
|
|
85879
|
+
if (body === undefined || body === null) {
|
|
85880
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
85881
|
+
}
|
|
85404
85882
|
|
|
85405
85883
|
return this.apiClient.callApi(
|
|
85406
85884
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query',
|
|
@@ -85409,7 +85887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85409
85887
|
{ },
|
|
85410
85888
|
{ },
|
|
85411
85889
|
{ },
|
|
85412
|
-
|
|
85890
|
+
body,
|
|
85413
85891
|
['PureCloud OAuth'],
|
|
85414
85892
|
['application/json'],
|
|
85415
85893
|
['application/json']
|
|
@@ -85420,16 +85898,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85420
85898
|
* Creates a new time off plan
|
|
85421
85899
|
*
|
|
85422
85900
|
* @param {String} managementUnitId The ID of the management unit
|
|
85423
|
-
* @param {Object}
|
|
85424
|
-
* @param {Object} opts.body body
|
|
85901
|
+
* @param {Object} body body
|
|
85425
85902
|
*/
|
|
85426
|
-
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId,
|
|
85427
|
-
opts = opts || {};
|
|
85428
|
-
|
|
85903
|
+
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, body) {
|
|
85429
85904
|
// verify the required parameter 'managementUnitId' is set
|
|
85430
85905
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85431
85906
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
85432
85907
|
}
|
|
85908
|
+
// verify the required parameter 'body' is set
|
|
85909
|
+
if (body === undefined || body === null) {
|
|
85910
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
85911
|
+
}
|
|
85433
85912
|
|
|
85434
85913
|
return this.apiClient.callApi(
|
|
85435
85914
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
|
|
@@ -85438,7 +85917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85438
85917
|
{ },
|
|
85439
85918
|
{ },
|
|
85440
85919
|
{ },
|
|
85441
|
-
|
|
85920
|
+
body,
|
|
85442
85921
|
['PureCloud OAuth'],
|
|
85443
85922
|
['application/json'],
|
|
85444
85923
|
['application/json']
|
|
@@ -85449,16 +85928,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85449
85928
|
* Create a new time off request
|
|
85450
85929
|
*
|
|
85451
85930
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85452
|
-
* @param {Object}
|
|
85453
|
-
* @param {Object} opts.body body
|
|
85931
|
+
* @param {Object} body body
|
|
85454
85932
|
*/
|
|
85455
|
-
postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId,
|
|
85456
|
-
opts = opts || {};
|
|
85457
|
-
|
|
85933
|
+
postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, body) {
|
|
85458
85934
|
// verify the required parameter 'managementUnitId' is set
|
|
85459
85935
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85460
85936
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';
|
|
85461
85937
|
}
|
|
85938
|
+
// verify the required parameter 'body' is set
|
|
85939
|
+
if (body === undefined || body === null) {
|
|
85940
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequests';
|
|
85941
|
+
}
|
|
85462
85942
|
|
|
85463
85943
|
return this.apiClient.callApi(
|
|
85464
85944
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests',
|
|
@@ -85467,7 +85947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85467
85947
|
{ },
|
|
85468
85948
|
{ },
|
|
85469
85949
|
{ },
|
|
85470
|
-
|
|
85950
|
+
body,
|
|
85471
85951
|
['PureCloud OAuth'],
|
|
85472
85952
|
['application/json'],
|
|
85473
85953
|
['application/json']
|
|
@@ -85478,16 +85958,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85478
85958
|
* Retrieves integration statuses for a list of time off requests
|
|
85479
85959
|
*
|
|
85480
85960
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85481
|
-
* @param {Object}
|
|
85482
|
-
* @param {Object} opts.body body
|
|
85961
|
+
* @param {Object} body body
|
|
85483
85962
|
*/
|
|
85484
|
-
postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId,
|
|
85485
|
-
opts = opts || {};
|
|
85486
|
-
|
|
85963
|
+
postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, body) {
|
|
85487
85964
|
// verify the required parameter 'managementUnitId' is set
|
|
85488
85965
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85489
85966
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
|
|
85490
85967
|
}
|
|
85968
|
+
// verify the required parameter 'body' is set
|
|
85969
|
+
if (body === undefined || body === null) {
|
|
85970
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
|
|
85971
|
+
}
|
|
85491
85972
|
|
|
85492
85973
|
return this.apiClient.callApi(
|
|
85493
85974
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/integrationstatus/query',
|
|
@@ -85496,7 +85977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85496
85977
|
{ },
|
|
85497
85978
|
{ },
|
|
85498
85979
|
{ },
|
|
85499
|
-
|
|
85980
|
+
body,
|
|
85500
85981
|
['PureCloud OAuth'],
|
|
85501
85982
|
['application/json'],
|
|
85502
85983
|
['application/json']
|
|
@@ -85507,17 +85988,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85507
85988
|
* Fetches time off requests matching the conditions specified in the request body
|
|
85508
85989
|
* 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
|
|
85509
85990
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85991
|
+
* @param {Object} body body
|
|
85510
85992
|
* @param {Object} opts Optional parameters
|
|
85511
85993
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
85512
|
-
* @param {Object} opts.body body
|
|
85513
85994
|
*/
|
|
85514
|
-
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
|
|
85995
|
+
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, body, opts) {
|
|
85515
85996
|
opts = opts || {};
|
|
85516
85997
|
|
|
85517
85998
|
// verify the required parameter 'managementUnitId' is set
|
|
85518
85999
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85519
86000
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
|
|
85520
86001
|
}
|
|
86002
|
+
// verify the required parameter 'body' is set
|
|
86003
|
+
if (body === undefined || body === null) {
|
|
86004
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
|
|
86005
|
+
}
|
|
85521
86006
|
|
|
85522
86007
|
return this.apiClient.callApi(
|
|
85523
86008
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
|
|
@@ -85526,7 +86011,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85526
86011
|
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
85527
86012
|
{ },
|
|
85528
86013
|
{ },
|
|
85529
|
-
|
|
86014
|
+
body,
|
|
85530
86015
|
['PureCloud OAuth'],
|
|
85531
86016
|
['application/json'],
|
|
85532
86017
|
['application/json']
|
|
@@ -85537,16 +86022,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85537
86022
|
* Retrieves daily waitlist position for a list of time off requests
|
|
85538
86023
|
*
|
|
85539
86024
|
* @param {String} managementUnitId The ID of the management unit.
|
|
85540
|
-
* @param {Object}
|
|
85541
|
-
* @param {Object} opts.body body
|
|
86025
|
+
* @param {Object} body body
|
|
85542
86026
|
*/
|
|
85543
|
-
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId,
|
|
85544
|
-
opts = opts || {};
|
|
85545
|
-
|
|
86027
|
+
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, body) {
|
|
85546
86028
|
// verify the required parameter 'managementUnitId' is set
|
|
85547
86029
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85548
86030
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
85549
86031
|
}
|
|
86032
|
+
// verify the required parameter 'body' is set
|
|
86033
|
+
if (body === undefined || body === null) {
|
|
86034
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
86035
|
+
}
|
|
85550
86036
|
|
|
85551
86037
|
return this.apiClient.callApi(
|
|
85552
86038
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query',
|
|
@@ -85555,7 +86041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85555
86041
|
{ },
|
|
85556
86042
|
{ },
|
|
85557
86043
|
{ },
|
|
85558
|
-
|
|
86044
|
+
body,
|
|
85559
86045
|
['PureCloud OAuth'],
|
|
85560
86046
|
['application/json'],
|
|
85561
86047
|
['application/json']
|
|
@@ -85637,12 +86123,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85637
86123
|
*
|
|
85638
86124
|
* @param {String} managementUnitId The ID of the management unit
|
|
85639
86125
|
* @param {String} userId The id of the user for whom the time off request estimate is requested
|
|
85640
|
-
* @param {Object}
|
|
85641
|
-
* @param {Object} opts.body body
|
|
86126
|
+
* @param {Object} body body
|
|
85642
86127
|
*/
|
|
85643
|
-
postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId,
|
|
85644
|
-
opts = opts || {};
|
|
85645
|
-
|
|
86128
|
+
postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, body) {
|
|
85646
86129
|
// verify the required parameter 'managementUnitId' is set
|
|
85647
86130
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85648
86131
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
@@ -85651,6 +86134,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85651
86134
|
if (userId === undefined || userId === null) {
|
|
85652
86135
|
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
85653
86136
|
}
|
|
86137
|
+
// verify the required parameter 'body' is set
|
|
86138
|
+
if (body === undefined || body === null) {
|
|
86139
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
86140
|
+
}
|
|
85654
86141
|
|
|
85655
86142
|
return this.apiClient.callApi(
|
|
85656
86143
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate',
|
|
@@ -85659,7 +86146,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85659
86146
|
{ },
|
|
85660
86147
|
{ },
|
|
85661
86148
|
{ },
|
|
85662
|
-
|
|
86149
|
+
body,
|
|
85663
86150
|
['PureCloud OAuth'],
|
|
85664
86151
|
['application/json'],
|
|
85665
86152
|
['application/json']
|
|
@@ -85824,12 +86311,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85824
86311
|
*
|
|
85825
86312
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85826
86313
|
* @param {String} workPlanId The ID of the work plan to create a copy
|
|
85827
|
-
* @param {Object}
|
|
85828
|
-
* @param {Object} opts.body body
|
|
86314
|
+
* @param {Object} body body
|
|
85829
86315
|
*/
|
|
85830
|
-
postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId,
|
|
85831
|
-
opts = opts || {};
|
|
85832
|
-
|
|
86316
|
+
postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, body) {
|
|
85833
86317
|
// verify the required parameter 'managementUnitId' is set
|
|
85834
86318
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85835
86319
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
@@ -85838,6 +86322,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85838
86322
|
if (workPlanId === undefined || workPlanId === null) {
|
|
85839
86323
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
85840
86324
|
}
|
|
86325
|
+
// verify the required parameter 'body' is set
|
|
86326
|
+
if (body === undefined || body === null) {
|
|
86327
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
86328
|
+
}
|
|
85841
86329
|
|
|
85842
86330
|
return this.apiClient.callApi(
|
|
85843
86331
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy',
|
|
@@ -85846,7 +86334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85846
86334
|
{ },
|
|
85847
86335
|
{ },
|
|
85848
86336
|
{ },
|
|
85849
|
-
|
|
86337
|
+
body,
|
|
85850
86338
|
['PureCloud OAuth'],
|
|
85851
86339
|
['application/json'],
|
|
85852
86340
|
['application/json']
|
|
@@ -85858,11 +86346,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85858
86346
|
*
|
|
85859
86347
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85860
86348
|
* @param {String} workPlanId The ID of the work plan to validate. For new work plan, use the word 'new' for the ID.
|
|
86349
|
+
* @param {Object} body body
|
|
85861
86350
|
* @param {Object} opts Optional parameters
|
|
85862
86351
|
* @param {Array.<String>} opts.expand
|
|
85863
|
-
* @param {Object} opts.body body
|
|
85864
86352
|
*/
|
|
85865
|
-
postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, opts) {
|
|
86353
|
+
postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, body, opts) {
|
|
85866
86354
|
opts = opts || {};
|
|
85867
86355
|
|
|
85868
86356
|
// verify the required parameter 'managementUnitId' is set
|
|
@@ -85873,6 +86361,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85873
86361
|
if (workPlanId === undefined || workPlanId === null) {
|
|
85874
86362
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
85875
86363
|
}
|
|
86364
|
+
// verify the required parameter 'body' is set
|
|
86365
|
+
if (body === undefined || body === null) {
|
|
86366
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
86367
|
+
}
|
|
85876
86368
|
|
|
85877
86369
|
return this.apiClient.callApi(
|
|
85878
86370
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate',
|
|
@@ -85881,7 +86373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85881
86373
|
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
85882
86374
|
{ },
|
|
85883
86375
|
{ },
|
|
85884
|
-
|
|
86376
|
+
body,
|
|
85885
86377
|
['PureCloud OAuth'],
|
|
85886
86378
|
['application/json'],
|
|
85887
86379
|
['application/json']
|
|
@@ -85893,12 +86385,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85893
86385
|
*
|
|
85894
86386
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85895
86387
|
* @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
|
|
85896
|
-
* @param {Object}
|
|
85897
|
-
* @param {Object} opts.body body
|
|
86388
|
+
* @param {Object} body body
|
|
85898
86389
|
*/
|
|
85899
|
-
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId,
|
|
85900
|
-
opts = opts || {};
|
|
85901
|
-
|
|
86390
|
+
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, body) {
|
|
85902
86391
|
// verify the required parameter 'managementUnitId' is set
|
|
85903
86392
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85904
86393
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
@@ -85907,6 +86396,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85907
86396
|
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
85908
86397
|
throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
85909
86398
|
}
|
|
86399
|
+
// verify the required parameter 'body' is set
|
|
86400
|
+
if (body === undefined || body === null) {
|
|
86401
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
86402
|
+
}
|
|
85910
86403
|
|
|
85911
86404
|
return this.apiClient.callApi(
|
|
85912
86405
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
|
|
@@ -85915,7 +86408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85915
86408
|
{ },
|
|
85916
86409
|
{ },
|
|
85917
86410
|
{ },
|
|
85918
|
-
|
|
86411
|
+
body,
|
|
85919
86412
|
['PureCloud OAuth'],
|
|
85920
86413
|
['application/json'],
|
|
85921
86414
|
['application/json']
|
|
@@ -85926,16 +86419,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85926
86419
|
* Create a new work plan rotation
|
|
85927
86420
|
*
|
|
85928
86421
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
85929
|
-
* @param {Object}
|
|
85930
|
-
* @param {Object} opts.body body
|
|
86422
|
+
* @param {Object} body body
|
|
85931
86423
|
*/
|
|
85932
|
-
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId,
|
|
85933
|
-
opts = opts || {};
|
|
85934
|
-
|
|
86424
|
+
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, body) {
|
|
85935
86425
|
// verify the required parameter 'managementUnitId' is set
|
|
85936
86426
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85937
86427
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
85938
86428
|
}
|
|
86429
|
+
// verify the required parameter 'body' is set
|
|
86430
|
+
if (body === undefined || body === null) {
|
|
86431
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
86432
|
+
}
|
|
85939
86433
|
|
|
85940
86434
|
return this.apiClient.callApi(
|
|
85941
86435
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
|
|
@@ -85944,7 +86438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85944
86438
|
{ },
|
|
85945
86439
|
{ },
|
|
85946
86440
|
{ },
|
|
85947
|
-
|
|
86441
|
+
body,
|
|
85948
86442
|
['PureCloud OAuth'],
|
|
85949
86443
|
['application/json'],
|
|
85950
86444
|
['application/json']
|
|
@@ -85955,17 +86449,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85955
86449
|
* Create a new work plan
|
|
85956
86450
|
*
|
|
85957
86451
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
86452
|
+
* @param {Object} body body
|
|
85958
86453
|
* @param {Object} opts Optional parameters
|
|
85959
86454
|
* @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
|
|
85960
|
-
* @param {Object} opts.body body
|
|
85961
86455
|
*/
|
|
85962
|
-
postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
86456
|
+
postWorkforcemanagementManagementunitWorkplans(managementUnitId, body, opts) {
|
|
85963
86457
|
opts = opts || {};
|
|
85964
86458
|
|
|
85965
86459
|
// verify the required parameter 'managementUnitId' is set
|
|
85966
86460
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
85967
86461
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';
|
|
85968
86462
|
}
|
|
86463
|
+
// verify the required parameter 'body' is set
|
|
86464
|
+
if (body === undefined || body === null) {
|
|
86465
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplans';
|
|
86466
|
+
}
|
|
85969
86467
|
|
|
85970
86468
|
return this.apiClient.callApi(
|
|
85971
86469
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
|
|
@@ -85974,7 +86472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85974
86472
|
{ 'validationMode': opts['validationMode'] },
|
|
85975
86473
|
{ },
|
|
85976
86474
|
{ },
|
|
85977
|
-
|
|
86475
|
+
body,
|
|
85978
86476
|
['PureCloud OAuth'],
|
|
85979
86477
|
['application/json'],
|
|
85980
86478
|
['application/json']
|
|
@@ -85984,12 +86482,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85984
86482
|
/**
|
|
85985
86483
|
* Add a management unit
|
|
85986
86484
|
* It may take a minute or two for a new management unit to be available for api operations
|
|
85987
|
-
* @param {Object}
|
|
85988
|
-
* @param {Object} opts.body body
|
|
86485
|
+
* @param {Object} body body
|
|
85989
86486
|
*/
|
|
85990
|
-
postWorkforcemanagementManagementunits(
|
|
85991
|
-
|
|
85992
|
-
|
|
86487
|
+
postWorkforcemanagementManagementunits(body) {
|
|
86488
|
+
// verify the required parameter 'body' is set
|
|
86489
|
+
if (body === undefined || body === null) {
|
|
86490
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunits';
|
|
86491
|
+
}
|
|
85993
86492
|
|
|
85994
86493
|
return this.apiClient.callApi(
|
|
85995
86494
|
'/api/v2/workforcemanagement/managementunits',
|
|
@@ -85998,7 +86497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85998
86497
|
{ },
|
|
85999
86498
|
{ },
|
|
86000
86499
|
{ },
|
|
86001
|
-
|
|
86500
|
+
body,
|
|
86002
86501
|
['PureCloud OAuth'],
|
|
86003
86502
|
['application/json'],
|
|
86004
86503
|
['application/json']
|
|
@@ -86008,12 +86507,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86008
86507
|
/**
|
|
86009
86508
|
* Mark a list of notifications as read or unread
|
|
86010
86509
|
*
|
|
86011
|
-
* @param {Object}
|
|
86012
|
-
* @param {Object} opts.body body
|
|
86510
|
+
* @param {Object} body body
|
|
86013
86511
|
*/
|
|
86014
|
-
postWorkforcemanagementNotificationsUpdate(
|
|
86015
|
-
|
|
86016
|
-
|
|
86512
|
+
postWorkforcemanagementNotificationsUpdate(body) {
|
|
86513
|
+
// verify the required parameter 'body' is set
|
|
86514
|
+
if (body === undefined || body === null) {
|
|
86515
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementNotificationsUpdate';
|
|
86516
|
+
}
|
|
86017
86517
|
|
|
86018
86518
|
return this.apiClient.callApi(
|
|
86019
86519
|
'/api/v2/workforcemanagement/notifications/update',
|
|
@@ -86022,7 +86522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86022
86522
|
{ },
|
|
86023
86523
|
{ },
|
|
86024
86524
|
{ },
|
|
86025
|
-
|
|
86525
|
+
body,
|
|
86026
86526
|
['PureCloud OAuth'],
|
|
86027
86527
|
['application/json'],
|
|
86028
86528
|
['application/json']
|
|
@@ -86058,16 +86558,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86058
86558
|
* Request a teams historical adherence report
|
|
86059
86559
|
* The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
|
|
86060
86560
|
* @param {String} teamId The ID of the team
|
|
86061
|
-
* @param {Object}
|
|
86062
|
-
* @param {Object} opts.body body
|
|
86561
|
+
* @param {Object} body body
|
|
86063
86562
|
*/
|
|
86064
|
-
postWorkforcemanagementTeamAdherenceHistorical(teamId,
|
|
86065
|
-
opts = opts || {};
|
|
86066
|
-
|
|
86563
|
+
postWorkforcemanagementTeamAdherenceHistorical(teamId, body) {
|
|
86067
86564
|
// verify the required parameter 'teamId' is set
|
|
86068
86565
|
if (teamId === undefined || teamId === null) {
|
|
86069
86566
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
86070
86567
|
}
|
|
86568
|
+
// verify the required parameter 'body' is set
|
|
86569
|
+
if (body === undefined || body === null) {
|
|
86570
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
86571
|
+
}
|
|
86071
86572
|
|
|
86072
86573
|
return this.apiClient.callApi(
|
|
86073
86574
|
'/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
|
|
@@ -86076,7 +86577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86076
86577
|
{ },
|
|
86077
86578
|
{ },
|
|
86078
86579
|
{ },
|
|
86079
|
-
|
|
86580
|
+
body,
|
|
86080
86581
|
['PureCloud OAuth'],
|
|
86081
86582
|
['application/json'],
|
|
86082
86583
|
['application/json']
|
|
@@ -86087,16 +86588,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86087
86588
|
* Request a historical shrinkage report
|
|
86088
86589
|
* The maximum supported range for historical shrinkage queries is up to 32 days
|
|
86089
86590
|
* @param {String} teamId The ID of the team
|
|
86090
|
-
* @param {Object}
|
|
86091
|
-
* @param {Object} opts.body body
|
|
86591
|
+
* @param {Object} body body
|
|
86092
86592
|
*/
|
|
86093
|
-
postWorkforcemanagementTeamShrinkageJobs(teamId,
|
|
86094
|
-
opts = opts || {};
|
|
86095
|
-
|
|
86593
|
+
postWorkforcemanagementTeamShrinkageJobs(teamId, body) {
|
|
86096
86594
|
// verify the required parameter 'teamId' is set
|
|
86097
86595
|
if (teamId === undefined || teamId === null) {
|
|
86098
86596
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
86099
86597
|
}
|
|
86598
|
+
// verify the required parameter 'body' is set
|
|
86599
|
+
if (body === undefined || body === null) {
|
|
86600
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
86601
|
+
}
|
|
86100
86602
|
|
|
86101
86603
|
return this.apiClient.callApi(
|
|
86102
86604
|
'/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
|
|
@@ -86105,7 +86607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86105
86607
|
{ },
|
|
86106
86608
|
{ },
|
|
86107
86609
|
{ },
|
|
86108
|
-
|
|
86610
|
+
body,
|
|
86109
86611
|
['PureCloud OAuth'],
|
|
86110
86612
|
['application/json'],
|
|
86111
86613
|
['application/json']
|
|
@@ -86140,12 +86642,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86140
86642
|
/**
|
|
86141
86643
|
* Queries available time off for the current user
|
|
86142
86644
|
*
|
|
86143
|
-
* @param {Object}
|
|
86144
|
-
* @param {Object} opts.body body
|
|
86645
|
+
* @param {Object} body body
|
|
86145
86646
|
*/
|
|
86146
|
-
postWorkforcemanagementTimeofflimitsAvailableQuery(
|
|
86147
|
-
|
|
86148
|
-
|
|
86647
|
+
postWorkforcemanagementTimeofflimitsAvailableQuery(body) {
|
|
86648
|
+
// verify the required parameter 'body' is set
|
|
86649
|
+
if (body === undefined || body === null) {
|
|
86650
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeofflimitsAvailableQuery';
|
|
86651
|
+
}
|
|
86149
86652
|
|
|
86150
86653
|
return this.apiClient.callApi(
|
|
86151
86654
|
'/api/v2/workforcemanagement/timeofflimits/available/query',
|
|
@@ -86154,7 +86657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86154
86657
|
{ },
|
|
86155
86658
|
{ },
|
|
86156
86659
|
{ },
|
|
86157
|
-
|
|
86660
|
+
body,
|
|
86158
86661
|
['PureCloud OAuth'],
|
|
86159
86662
|
['application/json'],
|
|
86160
86663
|
['application/json']
|
|
@@ -86164,12 +86667,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86164
86667
|
/**
|
|
86165
86668
|
* Create a time off request for the current user
|
|
86166
86669
|
*
|
|
86167
|
-
* @param {Object}
|
|
86168
|
-
* @param {Object} opts.body body
|
|
86670
|
+
* @param {Object} body body
|
|
86169
86671
|
*/
|
|
86170
|
-
postWorkforcemanagementTimeoffrequests(
|
|
86171
|
-
|
|
86172
|
-
|
|
86672
|
+
postWorkforcemanagementTimeoffrequests(body) {
|
|
86673
|
+
// verify the required parameter 'body' is set
|
|
86674
|
+
if (body === undefined || body === null) {
|
|
86675
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequests';
|
|
86676
|
+
}
|
|
86173
86677
|
|
|
86174
86678
|
return this.apiClient.callApi(
|
|
86175
86679
|
'/api/v2/workforcemanagement/timeoffrequests',
|
|
@@ -86178,7 +86682,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86178
86682
|
{ },
|
|
86179
86683
|
{ },
|
|
86180
86684
|
{ },
|
|
86181
|
-
|
|
86685
|
+
body,
|
|
86182
86686
|
['PureCloud OAuth'],
|
|
86183
86687
|
['application/json'],
|
|
86184
86688
|
['application/json']
|
|
@@ -86188,12 +86692,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86188
86692
|
/**
|
|
86189
86693
|
* Estimates available time off for current user
|
|
86190
86694
|
*
|
|
86191
|
-
* @param {Object}
|
|
86192
|
-
* @param {Object} opts.body body
|
|
86695
|
+
* @param {Object} body body
|
|
86193
86696
|
*/
|
|
86194
|
-
postWorkforcemanagementTimeoffrequestsEstimate(
|
|
86195
|
-
|
|
86196
|
-
|
|
86697
|
+
postWorkforcemanagementTimeoffrequestsEstimate(body) {
|
|
86698
|
+
// verify the required parameter 'body' is set
|
|
86699
|
+
if (body === undefined || body === null) {
|
|
86700
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';
|
|
86701
|
+
}
|
|
86197
86702
|
|
|
86198
86703
|
return this.apiClient.callApi(
|
|
86199
86704
|
'/api/v2/workforcemanagement/timeoffrequests/estimate',
|
|
@@ -86202,7 +86707,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86202
86707
|
{ },
|
|
86203
86708
|
{ },
|
|
86204
86709
|
{ },
|
|
86205
|
-
|
|
86710
|
+
body,
|
|
86206
86711
|
['PureCloud OAuth'],
|
|
86207
86712
|
['application/json'],
|
|
86208
86713
|
['application/json']
|
|
@@ -86212,12 +86717,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86212
86717
|
/**
|
|
86213
86718
|
* Retrieves integration statuses for a list of current user time off requests
|
|
86214
86719
|
*
|
|
86215
|
-
* @param {Object}
|
|
86216
|
-
* @param {Object} opts.body body
|
|
86720
|
+
* @param {Object} body body
|
|
86217
86721
|
*/
|
|
86218
|
-
postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(
|
|
86219
|
-
|
|
86220
|
-
|
|
86722
|
+
postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(body) {
|
|
86723
|
+
// verify the required parameter 'body' is set
|
|
86724
|
+
if (body === undefined || body === null) {
|
|
86725
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery';
|
|
86726
|
+
}
|
|
86221
86727
|
|
|
86222
86728
|
return this.apiClient.callApi(
|
|
86223
86729
|
'/api/v2/workforcemanagement/timeoffrequests/integrationstatus/query',
|
|
@@ -86226,7 +86732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86226
86732
|
{ },
|
|
86227
86733
|
{ },
|
|
86228
86734
|
{ },
|
|
86229
|
-
|
|
86735
|
+
body,
|
|
86230
86736
|
['PureCloud OAuth'],
|
|
86231
86737
|
['application/json'],
|
|
86232
86738
|
['application/json']
|
|
@@ -86268,12 +86774,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86268
86774
|
* Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time-off limit API
|
|
86269
86775
|
* @param {String} businessUnitId The ID of the business unit
|
|
86270
86776
|
* @param {String} timeOffLimitId The ID of the time-off limit object to set values for
|
|
86271
|
-
* @param {Object}
|
|
86272
|
-
* @param {Object} opts.body body
|
|
86777
|
+
* @param {Object} body body
|
|
86273
86778
|
*/
|
|
86274
|
-
putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId,
|
|
86275
|
-
opts = opts || {};
|
|
86276
|
-
|
|
86779
|
+
putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, body) {
|
|
86277
86780
|
// verify the required parameter 'businessUnitId' is set
|
|
86278
86781
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
86279
86782
|
throw 'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
@@ -86282,6 +86785,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86282
86785
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
86283
86786
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
86284
86787
|
}
|
|
86788
|
+
// verify the required parameter 'body' is set
|
|
86789
|
+
if (body === undefined || body === null) {
|
|
86790
|
+
throw 'Missing the required parameter "body" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
86791
|
+
}
|
|
86285
86792
|
|
|
86286
86793
|
return this.apiClient.callApi(
|
|
86287
86794
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values',
|
|
@@ -86290,7 +86797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86290
86797
|
{ },
|
|
86291
86798
|
{ },
|
|
86292
86799
|
{ },
|
|
86293
|
-
|
|
86800
|
+
body,
|
|
86294
86801
|
['PureCloud OAuth'],
|
|
86295
86802
|
['application/json'],
|
|
86296
86803
|
['application/json']
|
|
@@ -86302,12 +86809,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86302
86809
|
* Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
|
|
86303
86810
|
* @param {String} managementUnitId The ID of the management unit.
|
|
86304
86811
|
* @param {String} timeOffLimitId The ID of the time off limit object to set values for
|
|
86305
|
-
* @param {Object}
|
|
86306
|
-
* @param {Object} opts.body body
|
|
86812
|
+
* @param {Object} body body
|
|
86307
86813
|
*/
|
|
86308
|
-
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId,
|
|
86309
|
-
opts = opts || {};
|
|
86310
|
-
|
|
86814
|
+
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, body) {
|
|
86311
86815
|
// verify the required parameter 'managementUnitId' is set
|
|
86312
86816
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
86313
86817
|
throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
@@ -86316,6 +86820,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86316
86820
|
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
86317
86821
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
86318
86822
|
}
|
|
86823
|
+
// verify the required parameter 'body' is set
|
|
86824
|
+
if (body === undefined || body === null) {
|
|
86825
|
+
throw 'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
86826
|
+
}
|
|
86319
86827
|
|
|
86320
86828
|
return this.apiClient.callApi(
|
|
86321
86829
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values',
|
|
@@ -86324,7 +86832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86324
86832
|
{ },
|
|
86325
86833
|
{ },
|
|
86326
86834
|
{ },
|
|
86327
|
-
|
|
86835
|
+
body,
|
|
86328
86836
|
['PureCloud OAuth'],
|
|
86329
86837
|
['application/json'],
|
|
86330
86838
|
['application/json']
|
|
@@ -86362,7 +86870,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
86362
86870
|
* </pre>
|
|
86363
86871
|
* </p>
|
|
86364
86872
|
* @module purecloud-platform-client-v2/index
|
|
86365
|
-
* @version
|
|
86873
|
+
* @version 223.0.0
|
|
86366
86874
|
*/
|
|
86367
86875
|
class platformClient {
|
|
86368
86876
|
constructor() {
|