purecloud-platform-client-v2 218.0.0 → 219.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 +1362 -94
- package/dist/web-amd/purecloud-platform-client-v2.js +1362 -94
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +396 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +396 -97
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +701 -1
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- 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 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +54 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- 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 +36 -1
- 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 +65 -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 +396 -2
- 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 +366 -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 +31 -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 +1 -1
- 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 +54 -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 +60 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
- 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 +65 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +66 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -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 +7 -5
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6458,7 +6458,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6458
6458
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6459
6459
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6460
6460
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6461
|
-
* @version
|
|
6461
|
+
* @version 219.0.0
|
|
6462
6462
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6463
6463
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6464
6464
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6801,7 +6801,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6801
6801
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6802
6802
|
* AgentAssistants service.
|
|
6803
6803
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6804
|
-
* @version
|
|
6804
|
+
* @version 219.0.0
|
|
6805
6805
|
*//**
|
|
6806
6806
|
* Constructs a new AgentAssistantsApi.
|
|
6807
6807
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6902,7 +6902,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6902
6902
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
6903
6903
|
* AgentCopilot service.
|
|
6904
6904
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6905
|
-
* @version
|
|
6905
|
+
* @version 219.0.0
|
|
6906
6906
|
*//**
|
|
6907
6907
|
* Constructs a new AgentCopilotApi.
|
|
6908
6908
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6924,7 +6924,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6924
6924
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
6925
6925
|
* AgentUI service.
|
|
6926
6926
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6927
|
-
* @version
|
|
6927
|
+
* @version 219.0.0
|
|
6928
6928
|
*//**
|
|
6929
6929
|
* Constructs a new AgentUIApi.
|
|
6930
6930
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6958,7 +6958,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6958
6958
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6959
6959
|
* Alerting service.
|
|
6960
6960
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6961
|
-
* @version
|
|
6961
|
+
* @version 219.0.0
|
|
6962
6962
|
*//**
|
|
6963
6963
|
* Constructs a new AlertingApi.
|
|
6964
6964
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7047,7 +7047,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
7047
7047
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
7048
7048
|
* Analytics service.
|
|
7049
7049
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7050
|
-
* @version
|
|
7050
|
+
* @version 219.0.0
|
|
7051
7051
|
*//**
|
|
7052
7052
|
* Constructs a new AnalyticsApi.
|
|
7053
7053
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7082,7 +7082,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7082
7082
|
* Get an agent and their active sessions by user ID
|
|
7083
7083
|
*
|
|
7084
7084
|
* @param {String} userId userId
|
|
7085
|
-
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7086
7085
|
*/},{key:"getAnalyticsAgentStatus",value:function getAnalyticsAgentStatus(userId){// verify the required parameter 'userId' is set
|
|
7087
7086
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';}return this.apiClient.callApi('/api/v2/analytics/agents/{userId}/status','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7088
7087
|
* Get status for async query for agent copilot aggregates
|
|
@@ -7447,13 +7446,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7447
7446
|
* Count agents by segment type
|
|
7448
7447
|
*
|
|
7449
7448
|
* @param {Object} body query
|
|
7450
|
-
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7451
7449
|
*/},{key:"postAnalyticsAgentsStatusCounts",value:function postAnalyticsAgentsStatusCounts(body){// verify the required parameter 'body' is set
|
|
7452
7450
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';}return this.apiClient.callApi('/api/v2/analytics/agents/status/counts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7453
7451
|
* Retrieve the top 50 agents matching the query filters
|
|
7454
7452
|
*
|
|
7455
7453
|
* @param {Object} body query
|
|
7456
|
-
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7457
7454
|
*/},{key:"postAnalyticsAgentsStatusQuery",value:function postAnalyticsAgentsStatusQuery(body){// verify the required parameter 'body' is set
|
|
7458
7455
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';}return this.apiClient.callApi('/api/v2/analytics/agents/status/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7459
7456
|
* Query for bot aggregates asynchronously
|
|
@@ -7718,7 +7715,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7718
7715
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7719
7716
|
* Architect service.
|
|
7720
7717
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7721
|
-
* @version
|
|
7718
|
+
* @version 219.0.0
|
|
7722
7719
|
*//**
|
|
7723
7720
|
* Constructs a new ArchitectApi.
|
|
7724
7721
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8562,6 +8559,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8562
8559
|
* @param {String} promptId Prompt ID
|
|
8563
8560
|
*/},{key:"postArchitectPromptHistory",value:function postArchitectPromptHistory(promptId){// verify the required parameter 'promptId' is set
|
|
8564
8561
|
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptHistory';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8562
|
+
* Creates a presigned URL for uploading a user prompt file
|
|
8563
|
+
*
|
|
8564
|
+
* @param {String} promptId Prompt ID
|
|
8565
|
+
* @param {String} languageCode Language
|
|
8566
|
+
*/},{key:"postArchitectPromptResourceUploads",value:function postArchitectPromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
|
|
8567
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';}// verify the required parameter 'languageCode' is set
|
|
8568
|
+
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectPromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8565
8569
|
* Create a new user prompt resource
|
|
8566
8570
|
*
|
|
8567
8571
|
* @param {String} promptId Prompt ID
|
|
@@ -8589,6 +8593,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8589
8593
|
* @param {String} promptId promptId
|
|
8590
8594
|
*/},{key:"postArchitectSystempromptHistory",value:function postArchitectSystempromptHistory(promptId){// verify the required parameter 'promptId' is set
|
|
8591
8595
|
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/history','POST',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8596
|
+
* Creates a presigned URL for uploading a system prompt file
|
|
8597
|
+
*
|
|
8598
|
+
* @param {String} promptId Prompt ID
|
|
8599
|
+
* @param {String} languageCode Language
|
|
8600
|
+
*/},{key:"postArchitectSystempromptResourceUploads",value:function postArchitectSystempromptResourceUploads(promptId,languageCode){// verify the required parameter 'promptId' is set
|
|
8601
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';}// verify the required parameter 'languageCode' is set
|
|
8602
|
+
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postArchitectSystempromptResourceUploads';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}/uploads','POST',{'promptId':promptId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8592
8603
|
* Create system prompt resource override.
|
|
8593
8604
|
*
|
|
8594
8605
|
* @param {String} promptId Prompt ID
|
|
@@ -8836,7 +8847,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8836
8847
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8837
8848
|
* Audit service.
|
|
8838
8849
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8839
|
-
* @version
|
|
8850
|
+
* @version 219.0.0
|
|
8840
8851
|
*//**
|
|
8841
8852
|
* Constructs a new AuditApi.
|
|
8842
8853
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8886,7 +8897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8886
8897
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8887
8898
|
* Authorization service.
|
|
8888
8899
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8889
|
-
* @version
|
|
8900
|
+
* @version 219.0.0
|
|
8890
8901
|
*//**
|
|
8891
8902
|
* Constructs a new AuthorizationApi.
|
|
8892
8903
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8951,12 +8962,27 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
8951
8962
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
8952
8963
|
* @param {String} opts.name Search term to filter by division name
|
|
8953
8964
|
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8965
|
+
* Get a list of soft deleted divisions for the org
|
|
8966
|
+
*
|
|
8967
|
+
* @param {Object} opts Optional parameters
|
|
8968
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
8969
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
8970
|
+
*/},{key:"getAuthorizationDivisionsDeleted",value:function getAuthorizationDivisionsDeleted(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/deleted','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8954
8971
|
* Retrieve the home division for the organization.
|
|
8955
8972
|
* Will not include object counts.
|
|
8956
8973
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8957
8974
|
* Returns the maximum allowed number of divisions.
|
|
8958
8975
|
*
|
|
8959
8976
|
*/},{key:"getAuthorizationDivisionsLimit",value:function getAuthorizationDivisionsLimit(){return this.apiClient.callApi('/api/v2/authorization/divisions/limit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8977
|
+
* Retrieve a list of all divisions defined for the organization with cursor
|
|
8978
|
+
* Use "after" and "before" param to fetch next/previous page}
|
|
8979
|
+
* @param {Object} opts Optional parameters
|
|
8980
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
8981
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
8982
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
8983
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
8984
|
+
* @param {String} opts.name Optionally request specific divisions by division name
|
|
8985
|
+
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8960
8986
|
* Returns which divisions the current user has the given permission in.
|
|
8961
8987
|
* This route is deprecated, use authorization/divisionspermitted/paged/me instead.
|
|
8962
8988
|
* @param {String} permission The permission string, including the object to access, e.g. routing:queue:view
|
|
@@ -9306,7 +9332,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
9306
9332
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
9307
9333
|
* Billing service.
|
|
9308
9334
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9309
|
-
* @version
|
|
9335
|
+
* @version 219.0.0
|
|
9310
9336
|
*//**
|
|
9311
9337
|
* Constructs a new BillingApi.
|
|
9312
9338
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9330,7 +9356,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9330
9356
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
9331
9357
|
* CarrierServices service.
|
|
9332
9358
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9333
|
-
* @version
|
|
9359
|
+
* @version 219.0.0
|
|
9334
9360
|
*//**
|
|
9335
9361
|
* Constructs a new CarrierServicesApi.
|
|
9336
9362
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9350,7 +9376,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9350
9376
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
9351
9377
|
* Chat service.
|
|
9352
9378
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9353
|
-
* @version
|
|
9379
|
+
* @version 219.0.0
|
|
9354
9380
|
*//**
|
|
9355
9381
|
* Constructs a new ChatApi.
|
|
9356
9382
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9568,7 +9594,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9568
9594
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
9569
9595
|
* Coaching service.
|
|
9570
9596
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9571
|
-
* @version
|
|
9597
|
+
* @version 219.0.0
|
|
9572
9598
|
*//**
|
|
9573
9599
|
* Constructs a new CoachingApi.
|
|
9574
9600
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9721,7 +9747,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9721
9747
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9722
9748
|
* ContentManagement service.
|
|
9723
9749
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9724
|
-
* @version
|
|
9750
|
+
* @version 219.0.0
|
|
9725
9751
|
*//**
|
|
9726
9752
|
* Constructs a new ContentManagementApi.
|
|
9727
9753
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10003,7 +10029,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
10003
10029
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
10004
10030
|
* Conversations service.
|
|
10005
10031
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10006
|
-
* @version
|
|
10032
|
+
* @version 219.0.0
|
|
10007
10033
|
*//**
|
|
10008
10034
|
* Constructs a new ConversationsApi.
|
|
10009
10035
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10740,6 +10766,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10740
10766
|
*/},{key:"patchConversationSecureattributes",value:function patchConversationSecureattributes(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10741
10767
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';}// verify the required parameter 'body' is set
|
|
10742
10768
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10769
|
+
* Update the feedback for the summary.
|
|
10770
|
+
*
|
|
10771
|
+
* @param {String} conversationId Conversation ID
|
|
10772
|
+
* @param {String} summaryId Summary ID
|
|
10773
|
+
* @param {Object} opts Optional parameters
|
|
10774
|
+
* @param {Object} opts.body
|
|
10775
|
+
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10776
|
+
*/},{key:"patchConversationSummaryFeedback",value:function patchConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10777
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
|
|
10778
|
+
if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','PATCH',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10743
10779
|
* Update the utilization label on a conversation. When there is no value provided, the system default label is applied
|
|
10744
10780
|
*
|
|
10745
10781
|
* @param {String} conversationId conversation ID
|
|
@@ -11842,7 +11878,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11842
11878
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11843
11879
|
* DataExtensions service.
|
|
11844
11880
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11845
|
-
* @version
|
|
11881
|
+
* @version 219.0.0
|
|
11846
11882
|
*//**
|
|
11847
11883
|
* Constructs a new DataExtensionsApi.
|
|
11848
11884
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11863,7 +11899,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11863
11899
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
11864
11900
|
* DataPrivacy service.
|
|
11865
11901
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11866
|
-
* @version
|
|
11902
|
+
* @version 219.0.0
|
|
11867
11903
|
*//**
|
|
11868
11904
|
* Constructs a new DataPrivacyApi.
|
|
11869
11905
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -11903,7 +11939,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11903
11939
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11904
11940
|
* Downloads service.
|
|
11905
11941
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11906
|
-
* @version
|
|
11942
|
+
* @version 219.0.0
|
|
11907
11943
|
*//**
|
|
11908
11944
|
* Constructs a new DownloadsApi.
|
|
11909
11945
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11922,7 +11958,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11922
11958
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11923
11959
|
* Emails service.
|
|
11924
11960
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11925
|
-
* @version
|
|
11961
|
+
* @version 219.0.0
|
|
11926
11962
|
*//**
|
|
11927
11963
|
* Constructs a new EmailsApi.
|
|
11928
11964
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11930,17 +11966,28 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11930
11966
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11931
11967
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11932
11968
|
*/function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11969
|
+
* Reset email threading settings to default
|
|
11970
|
+
*
|
|
11971
|
+
*/return _createClass(EmailsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11933
11972
|
* Get email Contact Center settings
|
|
11934
11973
|
*
|
|
11935
|
-
*/
|
|
11974
|
+
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11975
|
+
* Get email threading settings
|
|
11976
|
+
*
|
|
11977
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11936
11978
|
* Patch email Contact Center settings
|
|
11937
11979
|
*
|
|
11938
11980
|
* @param {Object} opts Optional parameters
|
|
11939
11981
|
* @param {Object} opts.body
|
|
11940
|
-
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
11982
|
+
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11983
|
+
* Patch email threading settings
|
|
11984
|
+
*
|
|
11985
|
+
* @param {Object} opts Optional parameters
|
|
11986
|
+
* @param {Object} opts.body
|
|
11987
|
+
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11941
11988
|
* EmployeeEngagement service.
|
|
11942
11989
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11943
|
-
* @version
|
|
11990
|
+
* @version 219.0.0
|
|
11944
11991
|
*//**
|
|
11945
11992
|
* Constructs a new EmployeeEngagementApi.
|
|
11946
11993
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11978,7 +12025,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11978
12025
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11979
12026
|
* Events service.
|
|
11980
12027
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11981
|
-
* @version
|
|
12028
|
+
* @version 219.0.0
|
|
11982
12029
|
*//**
|
|
11983
12030
|
* Constructs a new EventsApi.
|
|
11984
12031
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12003,7 +12050,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12003
12050
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
12004
12051
|
* ExternalContacts service.
|
|
12005
12052
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12006
|
-
* @version
|
|
12053
|
+
* @version 219.0.0
|
|
12007
12054
|
*//**
|
|
12008
12055
|
* Constructs a new ExternalContactsApi.
|
|
12009
12056
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12154,6 +12201,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
12154
12201
|
* Get a list of schemas.
|
|
12155
12202
|
*
|
|
12156
12203
|
*/},{key:"getExternalcontactsContactsSchemas",value:function getExternalcontactsContactsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12204
|
+
* Get the core types from which all schemas are built.
|
|
12205
|
+
*
|
|
12206
|
+
* @param {String} coreTypeName Name of the core type
|
|
12207
|
+
*/},{key:"getExternalcontactsContactsSchemasCoretype",value:function getExternalcontactsContactsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
12208
|
+
if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsContactsSchemasCoretype';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12209
|
+
* Get the core types from which all schemas are built.
|
|
12210
|
+
*
|
|
12211
|
+
*/},{key:"getExternalcontactsContactsSchemasCoretypes",value:function getExternalcontactsContactsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12212
|
+
* Get quantitative limits on schemas
|
|
12213
|
+
*
|
|
12214
|
+
*/},{key:"getExternalcontactsContactsSchemasLimits",value:function getExternalcontactsContactsSchemasLimits(){return this.apiClient.callApi('/api/v2/externalcontacts/contacts/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12157
12215
|
* Fetch an External Source
|
|
12158
12216
|
*
|
|
12159
12217
|
* @param {String} externalSourceId External Source ID
|
|
@@ -12237,6 +12295,12 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
12237
12295
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
12238
12296
|
*/},{key:"getExternalcontactsOrganizationContacts",value:function getExternalcontactsOrganizationContacts(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
12239
12297
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12298
|
+
* List the identifiers for an external organization
|
|
12299
|
+
*
|
|
12300
|
+
* @param {String} externalOrganizationId External Organization ID
|
|
12301
|
+
* getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12302
|
+
*/},{key:"getExternalcontactsOrganizationIdentifiers",value:function getExternalcontactsOrganizationIdentifiers(externalOrganizationId){// verify the required parameter 'externalOrganizationId' is set
|
|
12303
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers','GET',{'externalOrganizationId':externalOrganizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12240
12304
|
* Fetch a note for an external organization
|
|
12241
12305
|
*
|
|
12242
12306
|
* @param {String} externalOrganizationId External Organization Id
|
|
@@ -12298,6 +12362,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
12298
12362
|
* Get a list of schemas.
|
|
12299
12363
|
*
|
|
12300
12364
|
*/},{key:"getExternalcontactsOrganizationsSchemas",value:function getExternalcontactsOrganizationsSchemas(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12365
|
+
* Get the core types from which all schemas are built.
|
|
12366
|
+
*
|
|
12367
|
+
* @param {String} coreTypeName Name of the core type
|
|
12368
|
+
*/},{key:"getExternalcontactsOrganizationsSchemasCoretype",value:function getExternalcontactsOrganizationsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
12369
|
+
if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getExternalcontactsOrganizationsSchemasCoretype';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12370
|
+
* Get the core types from which all schemas are built.
|
|
12371
|
+
*
|
|
12372
|
+
*/},{key:"getExternalcontactsOrganizationsSchemasCoretypes",value:function getExternalcontactsOrganizationsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12373
|
+
* Get quantitative limits on schemas
|
|
12374
|
+
*
|
|
12375
|
+
*/},{key:"getExternalcontactsOrganizationsSchemasLimits",value:function getExternalcontactsOrganizationsSchemasLimits(){return this.apiClient.callApi('/api/v2/externalcontacts/organizations/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12301
12376
|
* Fetch a relationship
|
|
12302
12377
|
*
|
|
12303
12378
|
* @param {String} relationshipId Relationship Id
|
|
@@ -12376,6 +12451,14 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
12376
12451
|
*/},{key:"patchExternalcontactsContactIdentifiers",value:function patchExternalcontactsContactIdentifiers(contactId,body){// verify the required parameter 'contactId' is set
|
|
12377
12452
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';}// verify the required parameter 'body' is set
|
|
12378
12453
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/identifiers','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12454
|
+
* Claim or release identifiers for an external organization
|
|
12455
|
+
*
|
|
12456
|
+
* @param {String} externalOrganizationId External Organization ID
|
|
12457
|
+
* @param {Object} body ClaimRequest
|
|
12458
|
+
* patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12459
|
+
*/},{key:"patchExternalcontactsOrganizationIdentifiers",value:function patchExternalcontactsOrganizationIdentifiers(externalOrganizationId,body){// verify the required parameter 'externalOrganizationId' is set
|
|
12460
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationIdentifiers';}// verify the required parameter 'body' is set
|
|
12461
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsOrganizationIdentifiers';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/identifiers','PATCH',{'externalOrganizationId':externalOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12379
12462
|
* Bulk fetch contacts
|
|
12380
12463
|
*
|
|
12381
12464
|
* @param {Object} body Contact ids
|
|
@@ -12392,6 +12475,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12392
12475
|
* postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12393
12476
|
*/},{key:"postExternalcontactsBulkContactsDivisionviews",value:function postExternalcontactsBulkContactsDivisionviews(body){// verify the required parameter 'body' is set
|
|
12394
12477
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12478
|
+
* Bulk Enrich Contacts - Run up to 10 Enrich operations per request
|
|
12479
|
+
* See the API endpoint /externalcontacts/contacts/enrich for docs on individual Enrich operations.
|
|
12480
|
+
* @param {Object} body Contact Enrich Requests
|
|
12481
|
+
* @param {Object} opts Optional parameters
|
|
12482
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
12483
|
+
* postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12484
|
+
*/},{key:"postExternalcontactsBulkContactsEnrich",value:function postExternalcontactsBulkContactsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
12485
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12395
12486
|
* Bulk remove contacts
|
|
12396
12487
|
*
|
|
12397
12488
|
* @param {Object} body Contact ids
|
|
@@ -12443,6 +12534,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12443
12534
|
* postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12444
12535
|
*/},{key:"postExternalcontactsBulkOrganizationsDivisionviews",value:function postExternalcontactsBulkOrganizationsDivisionviews(body){// verify the required parameter 'body' is set
|
|
12445
12536
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12537
|
+
* Bulk enrich external organizations - Run up to 10 Enrich operations per request
|
|
12538
|
+
* See the API endpoint /externalcontacts/organizations/enrich for docs on individual Enrich operations.
|
|
12539
|
+
* @param {Object} body External Organization Enrich Requests
|
|
12540
|
+
* @param {Object} opts Optional parameters
|
|
12541
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
12542
|
+
* postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12543
|
+
*/},{key:"postExternalcontactsBulkOrganizationsEnrich",value:function postExternalcontactsBulkOrganizationsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
12544
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12446
12545
|
* Bulk remove organizations
|
|
12447
12546
|
*
|
|
12448
12547
|
* @param {Object} body Organization ids
|
|
@@ -12490,11 +12589,25 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
12490
12589
|
* @param {Object} body ExternalContact
|
|
12491
12590
|
*/},{key:"postExternalcontactsContacts",value:function postExternalcontactsContacts(body){// verify the required parameter 'body' is set
|
|
12492
12591
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12592
|
+
* Modify or create an External Contact, with powerful behaviors for finding and combining data with pre-existing Contacts.
|
|
12593
|
+
* You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/contacts. A 201 response status indicates that a new Contact was created, whereas a 200 status indicates that a Contact was updated or a merge occurred.
|
|
12594
|
+
* @param {Object} body ContactEnrichRequest
|
|
12595
|
+
* @param {Object} opts Optional parameters
|
|
12596
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
12597
|
+
* postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12598
|
+
*/},{key:"postExternalcontactsContactsEnrich",value:function postExternalcontactsContactsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
12599
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12493
12600
|
* Create bulk export
|
|
12494
12601
|
*
|
|
12495
12602
|
* @param {Object} body Export
|
|
12496
12603
|
*/},{key:"postExternalcontactsContactsExports",value:function postExternalcontactsContactsExports(body){// verify the required parameter 'body' is set
|
|
12497
12604
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsExports';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12605
|
+
* Merge up to 25 contacts into a new contact record
|
|
12606
|
+
* Merge operation may fail if the resulting mergeset exceeds our default limit of 52. The valueOverride field lets you override any of the Contact fields post-merge. If any Contact field is left null in `valueOverride`, it will be taken from the most recently-modified contact in the merge set. Exception for *phone/*email fields: Conflicting data will be moved to any other available phone/email fields in the merged contact.
|
|
12607
|
+
* @param {Object} body MergeRequest
|
|
12608
|
+
* postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12609
|
+
*/},{key:"postExternalcontactsContactsMerge",value:function postExternalcontactsContactsMerge(body){// verify the required parameter 'body' is set
|
|
12610
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsContactsMerge';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/merge','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12498
12611
|
* Create a schema
|
|
12499
12612
|
*
|
|
12500
12613
|
* @param {Object} body Schema
|
|
@@ -12513,6 +12626,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12513
12626
|
* @deprecated
|
|
12514
12627
|
*/},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
12515
12628
|
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12629
|
+
* Fetch a contact using an identifier type and value.
|
|
12630
|
+
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
12631
|
+
* @param {Object} identifier
|
|
12632
|
+
* @param {Object} opts Optional parameters
|
|
12633
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
12634
|
+
* postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12635
|
+
*/},{key:"postExternalcontactsIdentifierlookupContacts",value:function postExternalcontactsIdentifierlookupContacts(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
12636
|
+
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup/contacts','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12637
|
+
* Fetch an external organization using an identifier type and value.
|
|
12638
|
+
* This endpoint will only accept ExternalId type identifiers.
|
|
12639
|
+
* @param {Object} identifier
|
|
12640
|
+
* @param {Object} opts Optional parameters
|
|
12641
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
12642
|
+
* postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12643
|
+
*/},{key:"postExternalcontactsIdentifierlookupOrganizations",value:function postExternalcontactsIdentifierlookupOrganizations(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
12644
|
+
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookupOrganizations';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup/organizations','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12516
12645
|
* Create CSV import job
|
|
12517
12646
|
*
|
|
12518
12647
|
* @param {Object} body ImportRequest
|
|
@@ -12539,8 +12668,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12539
12668
|
*/},{key:"postExternalcontactsImportSettings",value:function postExternalcontactsImportSettings(body){// verify the required parameter 'body' is set
|
|
12540
12669
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12541
12670
|
* Merge two contacts into a new contact record
|
|
12542
|
-
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
12671
|
+
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details. Deprecated: This API has been superseded by a new merge API. You are encouraged to instead use /api/v2/externalcontacts/contacts/merge, which supports merging up to 25 Contacts of any type, and overriding specific fields in the resulting Contact.
|
|
12543
12672
|
* @param {Object} body MergeRequest
|
|
12673
|
+
* @deprecated
|
|
12544
12674
|
*/},{key:"postExternalcontactsMergeContacts",value:function postExternalcontactsMergeContacts(body){// verify the required parameter 'body' is set
|
|
12545
12675
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/merge/contacts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12546
12676
|
* Create a note for an external organization
|
|
@@ -12555,6 +12685,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12555
12685
|
* @param {Object} body ExternalOrganization
|
|
12556
12686
|
*/},{key:"postExternalcontactsOrganizations",value:function postExternalcontactsOrganizations(body){// verify the required parameter 'body' is set
|
|
12557
12687
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsOrganizations';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12688
|
+
* Modify or create an External Org, with powerful behaviors for finding and combining data with pre-existing External Orgs.
|
|
12689
|
+
* You may also submit multiple Enrich operations in one request via the Bulk Enrich API at /externalcontacts/bulk/organizations. A 201 response status indicates that a new External Organization was created, whereas a 200 status indicates that an External Organization was updated
|
|
12690
|
+
* @param {Object} body ExternalOrgEnrichRequest
|
|
12691
|
+
* @param {Object} opts Optional parameters
|
|
12692
|
+
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
12693
|
+
* postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12694
|
+
*/},{key:"postExternalcontactsOrganizationsEnrich",value:function postExternalcontactsOrganizationsEnrich(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
12695
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsOrganizationsEnrich';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/enrich','POST',{},{'dryRun':opts['dryRun']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12558
12696
|
* Create a schema
|
|
12559
12697
|
*
|
|
12560
12698
|
* @param {Object} body Schema
|
|
@@ -12662,7 +12800,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12662
12800
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
12663
12801
|
* Fax service.
|
|
12664
12802
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12665
|
-
* @version
|
|
12803
|
+
* @version 219.0.0
|
|
12666
12804
|
*//**
|
|
12667
12805
|
* Constructs a new FaxApi.
|
|
12668
12806
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12711,7 +12849,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12711
12849
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
12712
12850
|
* Flows service.
|
|
12713
12851
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12714
|
-
* @version
|
|
12852
|
+
* @version 219.0.0
|
|
12715
12853
|
*//**
|
|
12716
12854
|
* Constructs a new FlowsApi.
|
|
12717
12855
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12759,7 +12897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12759
12897
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
12760
12898
|
* Gamification service.
|
|
12761
12899
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12762
|
-
* @version
|
|
12900
|
+
* @version 219.0.0
|
|
12763
12901
|
*//**
|
|
12764
12902
|
* Constructs a new GamificationApi.
|
|
12765
12903
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12772,6 +12910,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12772
12910
|
* @param {String} metricId Specifies the External Metric Definition ID
|
|
12773
12911
|
*/return _createClass(GamificationApi,[{key:"deleteEmployeeperformanceExternalmetricsDefinition",value:function deleteEmployeeperformanceExternalmetricsDefinition(metricId){// verify the required parameter 'metricId' is set
|
|
12774
12912
|
if(metricId===undefined||metricId===null){throw'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';}return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions/{metricId}','DELETE',{'metricId':metricId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12913
|
+
* Delete a Contest by Id
|
|
12914
|
+
*
|
|
12915
|
+
* @param {String} contestId The ID of the contest
|
|
12916
|
+
*/},{key:"deleteGamificationContest",value:function deleteGamificationContest(contestId){// verify the required parameter 'contestId' is set
|
|
12917
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling deleteGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','DELETE',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12775
12918
|
* Get an External Metric Definition
|
|
12776
12919
|
*
|
|
12777
12920
|
* @param {String} metricId Specifies the External Metric Definition ID
|
|
@@ -12783,6 +12926,71 @@ if(metricId===undefined||metricId===null){throw'Missing the required parameter "
|
|
|
12783
12926
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12784
12927
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12785
12928
|
*/},{key:"getEmployeeperformanceExternalmetricsDefinitions",value:function getEmployeeperformanceExternalmetricsDefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12929
|
+
* Get a Contest by Id
|
|
12930
|
+
*
|
|
12931
|
+
* @param {String} contestId The ID of the contest
|
|
12932
|
+
*/},{key:"getGamificationContest",value:function getGamificationContest(contestId){// verify the required parameter 'contestId' is set
|
|
12933
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12934
|
+
* Get Contest Scores (Admin)
|
|
12935
|
+
*
|
|
12936
|
+
* @param {String} contestId The ID of the contest
|
|
12937
|
+
* @param {Object} opts Optional parameters
|
|
12938
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
12939
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
12940
|
+
* @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12941
|
+
* @param {Object} opts.returnsView Desired response results (default to All)
|
|
12942
|
+
*/},{key:"getGamificationContestAgentsScores",value:function getGamificationContestAgentsScores(contestId,opts){opts=opts||{};// verify the required parameter 'contestId' is set
|
|
12943
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores','GET',{'contestId':contestId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'workday':opts['workday'],'returnsView':opts['returnsView']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12944
|
+
* Get Contest Scores for the requesting Agent/Supervisor
|
|
12945
|
+
*
|
|
12946
|
+
* @param {String} contestId The ID of the contest
|
|
12947
|
+
* @param {Object} opts Optional parameters
|
|
12948
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
12949
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
12950
|
+
* @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12951
|
+
* @param {Object} opts.returnsView Desired response results (Supervisor Only) (default to All)
|
|
12952
|
+
*/},{key:"getGamificationContestAgentsScoresMe",value:function getGamificationContestAgentsScoresMe(contestId,opts){opts=opts||{};// verify the required parameter 'contestId' is set
|
|
12953
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/me','GET',{'contestId':contestId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'workday':opts['workday'],'returnsView':opts['returnsView']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12954
|
+
* Get a Contest Score Trend (Average Trend)
|
|
12955
|
+
*
|
|
12956
|
+
* @param {String} contestId The ID of the contest
|
|
12957
|
+
*/},{key:"getGamificationContestAgentsScoresTrends",value:function getGamificationContestAgentsScoresTrends(contestId){// verify the required parameter 'contestId' is set
|
|
12958
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/trends','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12959
|
+
* Get a Contest Score Trend for the requesting Agent
|
|
12960
|
+
*
|
|
12961
|
+
* @param {String} contestId The ID of the contest
|
|
12962
|
+
*/},{key:"getGamificationContestAgentsScoresTrendsMe",value:function getGamificationContestAgentsScoresTrendsMe(contestId){// verify the required parameter 'contestId' is set
|
|
12963
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/agents/scores/trends/me','GET',{'contestId':contestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12964
|
+
* Get a Contest Prize Image by Id
|
|
12965
|
+
*
|
|
12966
|
+
* @param {String} contestId The ID of the contest
|
|
12967
|
+
* @param {String} prizeImageId The ID of the prize image
|
|
12968
|
+
*/},{key:"getGamificationContestPrizeimage",value:function getGamificationContestPrizeimage(contestId,prizeImageId){// verify the required parameter 'contestId' is set
|
|
12969
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';}// verify the required parameter 'prizeImageId' is set
|
|
12970
|
+
if(prizeImageId===undefined||prizeImageId===null){throw'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}','GET',{'contestId':contestId,'prizeImageId':prizeImageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12971
|
+
* Get a List of Contests (Admin)
|
|
12972
|
+
*
|
|
12973
|
+
* @param {Object} opts Optional parameters
|
|
12974
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
12975
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
12976
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12977
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12978
|
+
* @param {Array.<String>} opts.status
|
|
12979
|
+
* @param {Object} opts.sortBy (default to dateStart)
|
|
12980
|
+
* @param {Object} opts.sortOrder (default to desc)
|
|
12981
|
+
*/},{key:"getGamificationContests",value:function getGamificationContests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/gamification/contests','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd'],'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12982
|
+
* Get a List of Contests (Agent/Supervisor)
|
|
12983
|
+
*
|
|
12984
|
+
* @param {Object} opts Optional parameters
|
|
12985
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
12986
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
12987
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12988
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12989
|
+
* @param {Array.<String>} opts.status
|
|
12990
|
+
* @param {Object} opts.sortBy (default to dateStart)
|
|
12991
|
+
* @param {Object} opts.sortOrder (default to desc)
|
|
12992
|
+
* @param {Object} opts.view (default to participant)
|
|
12993
|
+
*/},{key:"getGamificationContestsMe",value:function getGamificationContestsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/gamification/contests/me','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd'],'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'view':opts['view']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12786
12994
|
* Get insights summary
|
|
12787
12995
|
*
|
|
12788
12996
|
* @param {Object} filterType Filter type for the query request.
|
|
@@ -13226,6 +13434,13 @@ if(templateId===undefined||templateId===null){throw'Missing the required paramet
|
|
|
13226
13434
|
*/},{key:"patchEmployeeperformanceExternalmetricsDefinition",value:function patchEmployeeperformanceExternalmetricsDefinition(metricId,body){// verify the required parameter 'metricId' is set
|
|
13227
13435
|
if(metricId===undefined||metricId===null){throw'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';}// verify the required parameter 'body' is set
|
|
13228
13436
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';}return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions/{metricId}','PATCH',{'metricId':metricId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13437
|
+
* Finalize a Contest by Id
|
|
13438
|
+
*
|
|
13439
|
+
* @param {String} contestId The ID of the contest
|
|
13440
|
+
* @param {Object} body Finalize Contest
|
|
13441
|
+
*/},{key:"patchGamificationContest",value:function patchGamificationContest(contestId,body){// verify the required parameter 'contestId' is set
|
|
13442
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling patchGamificationContest';}// verify the required parameter 'body' is set
|
|
13443
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','PATCH',{'contestId':contestId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13229
13444
|
* Write External Metric Data
|
|
13230
13445
|
*
|
|
13231
13446
|
* @param {Object} opts Optional parameters
|
|
@@ -13236,6 +13451,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13236
13451
|
* @param {Object} opts Optional parameters
|
|
13237
13452
|
* @param {Object} opts.body The External Metric Definition to be created
|
|
13238
13453
|
*/},{key:"postEmployeeperformanceExternalmetricsDefinitions",value:function postEmployeeperformanceExternalmetricsDefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13454
|
+
* Creates a Contest
|
|
13455
|
+
*
|
|
13456
|
+
* @param {Object} body Create Contest
|
|
13457
|
+
*/},{key:"postGamificationContests",value:function postGamificationContests(body){// verify the required parameter 'body' is set
|
|
13458
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContests';}return this.apiClient.callApi('/api/v2/gamification/contests','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13459
|
+
* Generates pre-signed URL to upload a prize image for gamification contests
|
|
13460
|
+
*
|
|
13461
|
+
* @param {Object} body query
|
|
13462
|
+
*/},{key:"postGamificationContestsUploadsPrizeimages",value:function postGamificationContestsUploadsPrizeimages(body){// verify the required parameter 'body' is set
|
|
13463
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';}return this.apiClient.callApi('/api/v2/gamification/contests/uploads/prizeimages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13239
13464
|
* Activate a performance profile
|
|
13240
13465
|
*
|
|
13241
13466
|
* @param {String} profileId performanceProfileId
|
|
@@ -13295,6 +13520,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13295
13520
|
* @param {Object} body The date range of work day.
|
|
13296
13521
|
*/},{key:"postGamificationProfilesUsersMeQuery",value:function postGamificationProfilesUsersMeQuery(body){// verify the required parameter 'body' is set
|
|
13297
13522
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';}return this.apiClient.callApi('/api/v2/gamification/profiles/users/me/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13523
|
+
* Update a Contest by Id
|
|
13524
|
+
*
|
|
13525
|
+
* @param {String} contestId The ID of the contest
|
|
13526
|
+
* @param {Object} body Contest
|
|
13527
|
+
*/},{key:"putGamificationContest",value:function putGamificationContest(contestId,body){// verify the required parameter 'contestId' is set
|
|
13528
|
+
if(contestId===undefined||contestId===null){throw'Missing the required parameter "contestId" when calling putGamificationContest';}// verify the required parameter 'body' is set
|
|
13529
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGamificationContest';}return this.apiClient.callApi('/api/v2/gamification/contests/{contestId}','PUT',{'contestId':contestId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13298
13530
|
* Updates a performance profile
|
|
13299
13531
|
*
|
|
13300
13532
|
* @param {String} profileId performanceProfileId
|
|
@@ -13318,7 +13550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13318
13550
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
13319
13551
|
* GeneralDataProtectionRegulation service.
|
|
13320
13552
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13321
|
-
* @version
|
|
13553
|
+
* @version 219.0.0
|
|
13322
13554
|
*//**
|
|
13323
13555
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
13324
13556
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -13353,7 +13585,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
13353
13585
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
13354
13586
|
* Geolocation service.
|
|
13355
13587
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
13356
|
-
* @version
|
|
13588
|
+
* @version 219.0.0
|
|
13357
13589
|
*//**
|
|
13358
13590
|
* Constructs a new GeolocationApi.
|
|
13359
13591
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -13387,7 +13619,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
13387
13619
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
13388
13620
|
* Greetings service.
|
|
13389
13621
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
13390
|
-
* @version
|
|
13622
|
+
* @version 219.0.0
|
|
13391
13623
|
*//**
|
|
13392
13624
|
* Constructs a new GreetingsApi.
|
|
13393
13625
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -13494,7 +13726,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13494
13726
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
13495
13727
|
* Groups service.
|
|
13496
13728
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
13497
|
-
* @version
|
|
13729
|
+
* @version 219.0.0
|
|
13498
13730
|
*//**
|
|
13499
13731
|
* Constructs a new GroupsApi.
|
|
13500
13732
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13627,7 +13859,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13627
13859
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
13628
13860
|
* IdentityProvider service.
|
|
13629
13861
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13630
|
-
* @version
|
|
13862
|
+
* @version 219.0.0
|
|
13631
13863
|
*//**
|
|
13632
13864
|
* Constructs a new IdentityProviderApi.
|
|
13633
13865
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13783,7 +14015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13783
14015
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
13784
14016
|
* InfrastructureAsCode service.
|
|
13785
14017
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13786
|
-
* @version
|
|
14018
|
+
* @version 219.0.0
|
|
13787
14019
|
*//**
|
|
13788
14020
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13789
14021
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13837,7 +14069,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13837
14069
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
13838
14070
|
* Integrations service.
|
|
13839
14071
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13840
|
-
* @version
|
|
14072
|
+
* @version 219.0.0
|
|
13841
14073
|
*//**
|
|
13842
14074
|
* Constructs a new IntegrationsApi.
|
|
13843
14075
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14420,6 +14652,13 @@ if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing th
|
|
|
14420
14652
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
|
|
14421
14653
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
|
|
14422
14654
|
if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14655
|
+
* Invoke Webhook
|
|
14656
|
+
*
|
|
14657
|
+
* @param {String} tokenId The token of the webhook to be invoked
|
|
14658
|
+
* @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
|
|
14659
|
+
*/},{key:"postIntegrationsWebhookEvents",value:function postIntegrationsWebhookEvents(tokenId,body){// verify the required parameter 'tokenId' is set
|
|
14660
|
+
if(tokenId===undefined||tokenId===null){throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';}// verify the required parameter 'body' is set
|
|
14661
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';}return this.apiClient.callApi('/api/v2/integrations/webhooks/{tokenId}/events','POST',{'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14423
14662
|
* Update integration configuration.
|
|
14424
14663
|
*
|
|
14425
14664
|
* @param {String} integrationId Integration Id
|
|
@@ -14469,7 +14708,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
14469
14708
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
14470
14709
|
* Journey service.
|
|
14471
14710
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
14472
|
-
* @version
|
|
14711
|
+
* @version 219.0.0
|
|
14473
14712
|
*//**
|
|
14474
14713
|
* Constructs a new JourneyApi.
|
|
14475
14714
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14949,7 +15188,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14949
15188
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14950
15189
|
* Knowledge service.
|
|
14951
15190
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14952
|
-
* @version
|
|
15191
|
+
* @version 219.0.0
|
|
14953
15192
|
*//**
|
|
14954
15193
|
* Constructs a new KnowledgeApi.
|
|
14955
15194
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16012,7 +16251,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
16012
16251
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
16013
16252
|
* LanguageUnderstanding service.
|
|
16014
16253
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
16015
|
-
* @version
|
|
16254
|
+
* @version 219.0.0
|
|
16016
16255
|
*//**
|
|
16017
16256
|
* Constructs a new LanguageUnderstandingApi.
|
|
16018
16257
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -16271,7 +16510,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
16271
16510
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
16272
16511
|
* Languages service.
|
|
16273
16512
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
16274
|
-
* @version
|
|
16513
|
+
* @version 219.0.0
|
|
16275
16514
|
*//**
|
|
16276
16515
|
* Constructs a new LanguagesApi.
|
|
16277
16516
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -16326,7 +16565,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16326
16565
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
16327
16566
|
* Learning service.
|
|
16328
16567
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
16329
|
-
* @version
|
|
16568
|
+
* @version 219.0.0
|
|
16330
16569
|
*//**
|
|
16331
16570
|
* Constructs a new LearningApi.
|
|
16332
16571
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16597,7 +16836,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
16597
16836
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16598
16837
|
* License service.
|
|
16599
16838
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16600
|
-
* @version
|
|
16839
|
+
* @version 219.0.0
|
|
16601
16840
|
*//**
|
|
16602
16841
|
* Constructs a new LicenseApi.
|
|
16603
16842
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16651,7 +16890,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16651
16890
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16652
16891
|
* Locations service.
|
|
16653
16892
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16654
|
-
* @version
|
|
16893
|
+
* @version 219.0.0
|
|
16655
16894
|
*//**
|
|
16656
16895
|
* Constructs a new LocationsApi.
|
|
16657
16896
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16710,7 +16949,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16710
16949
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16711
16950
|
* LogCapture service.
|
|
16712
16951
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16713
|
-
* @version
|
|
16952
|
+
* @version 219.0.0
|
|
16714
16953
|
*//**
|
|
16715
16954
|
* Constructs a new LogCaptureApi.
|
|
16716
16955
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16760,7 +16999,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16760
16999
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16761
17000
|
* Messaging service.
|
|
16762
17001
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16763
|
-
* @version
|
|
17002
|
+
* @version 219.0.0
|
|
16764
17003
|
*//**
|
|
16765
17004
|
* Constructs a new MessagingApi.
|
|
16766
17005
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16850,7 +17089,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16850
17089
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16851
17090
|
* MobileDevices service.
|
|
16852
17091
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16853
|
-
* @version
|
|
17092
|
+
* @version 219.0.0
|
|
16854
17093
|
*//**
|
|
16855
17094
|
* Constructs a new MobileDevicesApi.
|
|
16856
17095
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16889,7 +17128,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16889
17128
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16890
17129
|
* Notifications service.
|
|
16891
17130
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16892
|
-
* @version
|
|
17131
|
+
* @version 219.0.0
|
|
16893
17132
|
*//**
|
|
16894
17133
|
* Constructs a new NotificationsApi.
|
|
16895
17134
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16946,7 +17185,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16946
17185
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16947
17186
|
* OAuth service.
|
|
16948
17187
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16949
|
-
* @version
|
|
17188
|
+
* @version 219.0.0
|
|
16950
17189
|
*//**
|
|
16951
17190
|
* Constructs a new OAuthApi.
|
|
16952
17191
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -17031,7 +17270,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
17031
17270
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
17032
17271
|
* Objects service.
|
|
17033
17272
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
17034
|
-
* @version
|
|
17273
|
+
* @version 219.0.0
|
|
17035
17274
|
*//**
|
|
17036
17275
|
* Constructs a new ObjectsApi.
|
|
17037
17276
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -17066,12 +17305,27 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
17066
17305
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
17067
17306
|
* @param {String} opts.name Search term to filter by division name
|
|
17068
17307
|
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17308
|
+
* Get a list of soft deleted divisions for the org
|
|
17309
|
+
*
|
|
17310
|
+
* @param {Object} opts Optional parameters
|
|
17311
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17312
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
17313
|
+
*/},{key:"getAuthorizationDivisionsDeleted",value:function getAuthorizationDivisionsDeleted(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/deleted','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17069
17314
|
* Retrieve the home division for the organization.
|
|
17070
17315
|
* Will not include object counts.
|
|
17071
17316
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17072
17317
|
* Returns the maximum allowed number of divisions.
|
|
17073
17318
|
*
|
|
17074
17319
|
*/},{key:"getAuthorizationDivisionsLimit",value:function getAuthorizationDivisionsLimit(){return this.apiClient.callApi('/api/v2/authorization/divisions/limit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17320
|
+
* Retrieve a list of all divisions defined for the organization with cursor
|
|
17321
|
+
* Use "after" and "before" param to fetch next/previous page}
|
|
17322
|
+
* @param {Object} opts Optional parameters
|
|
17323
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
17324
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17325
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17326
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
17327
|
+
* @param {String} opts.name Optionally request specific divisions by division name
|
|
17328
|
+
*/},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17075
17329
|
* Assign a list of objects to a division
|
|
17076
17330
|
* Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
|
|
17077
17331
|
* @param {String} divisionId Division ID
|
|
@@ -17102,7 +17356,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
17102
17356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
17103
17357
|
* OperationalEvents service.
|
|
17104
17358
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
17105
|
-
* @version
|
|
17359
|
+
* @version 219.0.0
|
|
17106
17360
|
*//**
|
|
17107
17361
|
* Constructs a new OperationalEventsApi.
|
|
17108
17362
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17133,7 +17387,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
17133
17387
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
17134
17388
|
* Organization service.
|
|
17135
17389
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17136
|
-
* @version
|
|
17390
|
+
* @version 219.0.0
|
|
17137
17391
|
*//**
|
|
17138
17392
|
* Constructs a new OrganizationApi.
|
|
17139
17393
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17238,7 +17492,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17238
17492
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
17239
17493
|
* OrganizationAuthorization service.
|
|
17240
17494
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17241
|
-
* @version
|
|
17495
|
+
* @version 219.0.0
|
|
17242
17496
|
*//**
|
|
17243
17497
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17244
17498
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17572,7 +17826,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
17572
17826
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17573
17827
|
* Outbound service.
|
|
17574
17828
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17575
|
-
* @version
|
|
17829
|
+
* @version 219.0.0
|
|
17576
17830
|
*//**
|
|
17577
17831
|
* Constructs a new OutboundApi.
|
|
17578
17832
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17680,6 +17934,13 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
|
|
|
17680
17934
|
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
17681
17935
|
*/},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
17682
17936
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17937
|
+
* Deletes all or expired whatsApp numbers from a DNC list.
|
|
17938
|
+
* This operation is only for Internal DNC lists of whatsApp numbers
|
|
17939
|
+
* @param {String} dncListId DncList ID
|
|
17940
|
+
* @param {Object} opts Optional parameters
|
|
17941
|
+
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC whatsApp numbers that are expired (default to false)
|
|
17942
|
+
*/},{key:"deleteOutboundDnclistWhatsappnumbers",value:function deleteOutboundDnclistWhatsappnumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
17943
|
+
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistWhatsappnumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17683
17944
|
* Delete File Specification Template
|
|
17684
17945
|
*
|
|
17685
17946
|
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
@@ -18300,6 +18561,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18300
18561
|
*/},{key:"patchOutboundDnclistPhonenumbers",value:function patchOutboundDnclistPhonenumbers(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
18301
18562
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';}// verify the required parameter 'body' is set
|
|
18302
18563
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','PATCH',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18564
|
+
* Add entries to or delete entries from a DNC list.
|
|
18565
|
+
* Only Internal DNC lists may be deleted from
|
|
18566
|
+
* @param {String} dncListId DncList ID
|
|
18567
|
+
* @param {Object} body DNC whatsApp numbers
|
|
18568
|
+
*/},{key:"patchOutboundDnclistWhatsappnumbers",value:function patchOutboundDnclistWhatsappnumbers(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
18569
|
+
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling patchOutboundDnclistWhatsappnumbers';}// verify the required parameter 'body' is set
|
|
18570
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundDnclistWhatsappnumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/whatsappnumbers','PATCH',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18303
18571
|
* Update the outbound settings for this organization
|
|
18304
18572
|
*
|
|
18305
18573
|
* @param {Object} body outboundSettings
|
|
@@ -18689,7 +18957,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18689
18957
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
18690
18958
|
* Presence service.
|
|
18691
18959
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18692
|
-
* @version
|
|
18960
|
+
* @version 219.0.0
|
|
18693
18961
|
*//**
|
|
18694
18962
|
* Constructs a new PresenceApi.
|
|
18695
18963
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18862,7 +19130,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18862
19130
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
18863
19131
|
* ProcessAutomation service.
|
|
18864
19132
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18865
|
-
* @version
|
|
19133
|
+
* @version 219.0.0
|
|
18866
19134
|
*//**
|
|
18867
19135
|
* Constructs a new ProcessAutomationApi.
|
|
18868
19136
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18925,7 +19193,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18925
19193
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
18926
19194
|
* Quality service.
|
|
18927
19195
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18928
|
-
* @version
|
|
19196
|
+
* @version 219.0.0
|
|
18929
19197
|
*//**
|
|
18930
19198
|
* Constructs a new QualityApi.
|
|
18931
19199
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19403,7 +19671,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
19403
19671
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
19404
19672
|
* Recording service.
|
|
19405
19673
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
19406
|
-
* @version
|
|
19674
|
+
* @version 219.0.0
|
|
19407
19675
|
*//**
|
|
19408
19676
|
* Constructs a new RecordingApi.
|
|
19409
19677
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19482,7 +19750,7 @@ if(annotationId===undefined||annotationId===null){throw'Missing the required par
|
|
|
19482
19750
|
*/},{key:"getConversationRecordingAnnotations",value:function getConversationRecordingAnnotations(conversationId,recordingId){// verify the required parameter 'conversationId' is set
|
|
19483
19751
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
|
|
19484
19752
|
if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getConversationRecordingAnnotations';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations','GET',{'conversationId':conversationId,'recordingId':recordingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19485
|
-
* Get recording metadata for a conversation. Does not return playable media
|
|
19753
|
+
* Get recording metadata for a conversation. Does not return playable media nor system annotations. Bookmark annotations will be excluded if either recording:recording:view or recording:annotation:view permission is missing.
|
|
19486
19754
|
*
|
|
19487
19755
|
* @param {String} conversationId Conversation ID
|
|
19488
19756
|
*/},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId){// verify the required parameter 'conversationId' is set
|
|
@@ -19802,7 +20070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19802
20070
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
19803
20071
|
* ResponseManagement service.
|
|
19804
20072
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19805
|
-
* @version
|
|
20073
|
+
* @version 219.0.0
|
|
19806
20074
|
*//**
|
|
19807
20075
|
* Constructs a new ResponseManagementApi.
|
|
19808
20076
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19923,7 +20191,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19923
20191
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
19924
20192
|
* Routing service.
|
|
19925
20193
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19926
|
-
* @version
|
|
20194
|
+
* @version 219.0.0
|
|
19927
20195
|
*//**
|
|
19928
20196
|
* Constructs a new RoutingApi.
|
|
19929
20197
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20130,7 +20398,7 @@ if(domainName===undefined||domainName===null){throw'Missing the required paramet
|
|
|
20130
20398
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
20131
20399
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20132
20400
|
* @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
|
|
20133
|
-
* @param {String} opts.filter Optional search filter
|
|
20401
|
+
* @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
|
|
20134
20402
|
*/},{key:"getRoutingEmailDomains",value:function getRoutingEmailDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeStatus':opts['excludeStatus'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20135
20403
|
* Get domain
|
|
20136
20404
|
*
|
|
@@ -20150,8 +20418,10 @@ if(domainId===undefined||domainId===null){throw'Missing the required parameter "
|
|
|
20150
20418
|
* Get outbound domains
|
|
20151
20419
|
*
|
|
20152
20420
|
* @param {Object} opts Optional parameters
|
|
20153
|
-
* @param {
|
|
20154
|
-
|
|
20421
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
20422
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20423
|
+
* @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
|
|
20424
|
+
*/},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20155
20425
|
* Get email setup
|
|
20156
20426
|
*
|
|
20157
20427
|
*/},{key:"getRoutingEmailSetup",value:function getRoutingEmailSetup(){return this.apiClient.callApi('/api/v2/routing/email/setup','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -20968,7 +21238,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20968
21238
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
20969
21239
|
* SCIM service.
|
|
20970
21240
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20971
|
-
* @version
|
|
21241
|
+
* @version 219.0.0
|
|
20972
21242
|
*//**
|
|
20973
21243
|
* Constructs a new SCIMApi.
|
|
20974
21244
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -21193,7 +21463,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21193
21463
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
21194
21464
|
* ScreenRecording service.
|
|
21195
21465
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
21196
|
-
* @version
|
|
21466
|
+
* @version 219.0.0
|
|
21197
21467
|
*//**
|
|
21198
21468
|
* Constructs a new ScreenRecordingApi.
|
|
21199
21469
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -21208,7 +21478,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21208
21478
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
21209
21479
|
* Scripts service.
|
|
21210
21480
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
21211
|
-
* @version
|
|
21481
|
+
* @version 219.0.0
|
|
21212
21482
|
*//**
|
|
21213
21483
|
* Constructs a new ScriptsApi.
|
|
21214
21484
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -21344,7 +21614,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
21344
21614
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
21345
21615
|
* Search service.
|
|
21346
21616
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
21347
|
-
* @version
|
|
21617
|
+
* @version 219.0.0
|
|
21348
21618
|
*//**
|
|
21349
21619
|
* Constructs a new SearchApi.
|
|
21350
21620
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -21516,7 +21786,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21516
21786
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
21517
21787
|
* Settings service.
|
|
21518
21788
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
21519
|
-
* @version
|
|
21789
|
+
* @version 219.0.0
|
|
21520
21790
|
*//**
|
|
21521
21791
|
* Constructs a new SettingsApi.
|
|
21522
21792
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -21524,14 +21794,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21524
21794
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21525
21795
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21526
21796
|
*/function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
21797
|
+
* Reset email threading settings to default
|
|
21798
|
+
*
|
|
21799
|
+
*/return _createClass(SettingsApi,[{key:"deleteEmailsSettingsThreading",value:function deleteEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21527
21800
|
* Delete agent auto answer settings
|
|
21528
21801
|
*
|
|
21529
21802
|
* @param {String} agentId The agent to apply the auto answer settings to
|
|
21530
|
-
*/
|
|
21803
|
+
*/},{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
21531
21804
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21532
21805
|
* Get email Contact Center settings
|
|
21533
21806
|
*
|
|
21534
21807
|
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21808
|
+
* Get email threading settings
|
|
21809
|
+
*
|
|
21810
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21535
21811
|
* Get the execution history enabled setting.
|
|
21536
21812
|
* Get the execution history enabled setting.
|
|
21537
21813
|
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -21545,6 +21821,11 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21545
21821
|
* @param {Object} opts Optional parameters
|
|
21546
21822
|
* @param {Object} opts.body
|
|
21547
21823
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21824
|
+
* Patch email threading settings
|
|
21825
|
+
*
|
|
21826
|
+
* @param {Object} opts Optional parameters
|
|
21827
|
+
* @param {Object} opts.body
|
|
21828
|
+
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21548
21829
|
* Edit the execution history on off setting.
|
|
21549
21830
|
* Edit the execution history on off setting.
|
|
21550
21831
|
* @param {Object} body New Execution Data Setting
|
|
@@ -21566,7 +21847,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21566
21847
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
21567
21848
|
* SocialMedia service.
|
|
21568
21849
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21569
|
-
* @version
|
|
21850
|
+
* @version 219.0.0
|
|
21570
21851
|
*//**
|
|
21571
21852
|
* Constructs a new SocialMediaApi.
|
|
21572
21853
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21903,7 +22184,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21903
22184
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
21904
22185
|
* SpeechTextAnalytics service.
|
|
21905
22186
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21906
|
-
* @version
|
|
22187
|
+
* @version 219.0.0
|
|
21907
22188
|
*//**
|
|
21908
22189
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21909
22190
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -22226,7 +22507,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
22226
22507
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
22227
22508
|
* Stations service.
|
|
22228
22509
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
22229
|
-
* @version
|
|
22510
|
+
* @version 219.0.0
|
|
22230
22511
|
*//**
|
|
22231
22512
|
* Constructs a new StationsApi.
|
|
22232
22513
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -22258,7 +22539,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
22258
22539
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
22259
22540
|
* Suggest service.
|
|
22260
22541
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
22261
|
-
* @version
|
|
22542
|
+
* @version 219.0.0
|
|
22262
22543
|
*//**
|
|
22263
22544
|
* Constructs a new SuggestApi.
|
|
22264
22545
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -22298,7 +22579,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22298
22579
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
22299
22580
|
* TaskManagement service.
|
|
22300
22581
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
22301
|
-
* @version
|
|
22582
|
+
* @version 219.0.0
|
|
22302
22583
|
*//**
|
|
22303
22584
|
* Constructs a new TaskManagementApi.
|
|
22304
22585
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -22512,6 +22793,17 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22512
22793
|
* Get a list of schemas.
|
|
22513
22794
|
*
|
|
22514
22795
|
*/},{key:"getTaskmanagementWorkitemsSchemas",value:function getTaskmanagementWorkitemsSchemas(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22796
|
+
* Get the core types from which all schemas are built.
|
|
22797
|
+
*
|
|
22798
|
+
* @param {String} coreTypeName Name of the core type
|
|
22799
|
+
*/},{key:"getTaskmanagementWorkitemsSchemasCoretype",value:function getTaskmanagementWorkitemsSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
22800
|
+
if(coreTypeName===undefined||coreTypeName===null){throw'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22801
|
+
* Get the core types from which all schemas are built.
|
|
22802
|
+
*
|
|
22803
|
+
*/},{key:"getTaskmanagementWorkitemsSchemasCoretypes",value:function getTaskmanagementWorkitemsSchemasCoretypes(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22804
|
+
* Get quantitative limits on schemas
|
|
22805
|
+
*
|
|
22806
|
+
*/},{key:"getTaskmanagementWorkitemsSchemasLimits",value:function getTaskmanagementWorkitemsSchemasLimits(){return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22515
22807
|
* Get a worktype
|
|
22516
22808
|
*
|
|
22517
22809
|
* @param {String} worktypeId Worktype id
|
|
@@ -22804,7 +23096,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22804
23096
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
22805
23097
|
* Teams service.
|
|
22806
23098
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
22807
|
-
* @version
|
|
23099
|
+
* @version 219.0.0
|
|
22808
23100
|
*//**
|
|
22809
23101
|
* Constructs a new TeamsApi.
|
|
22810
23102
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22884,7 +23176,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22884
23176
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
22885
23177
|
* Telephony service.
|
|
22886
23178
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22887
|
-
* @version
|
|
23179
|
+
* @version 219.0.0
|
|
22888
23180
|
*//**
|
|
22889
23181
|
* Constructs a new TelephonyApi.
|
|
22890
23182
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22931,7 +23223,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22931
23223
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
22932
23224
|
* TelephonyProvidersEdge service.
|
|
22933
23225
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22934
|
-
* @version
|
|
23226
|
+
* @version 219.0.0
|
|
22935
23227
|
*//**
|
|
22936
23228
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22937
23229
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -23767,7 +24059,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
23767
24059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
23768
24060
|
* Textbots service.
|
|
23769
24061
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
23770
|
-
* @version
|
|
24062
|
+
* @version 219.0.0
|
|
23771
24063
|
*//**
|
|
23772
24064
|
* Constructs a new TextbotsApi.
|
|
23773
24065
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -23802,7 +24094,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
23802
24094
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
23803
24095
|
* Tokens service.
|
|
23804
24096
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
23805
|
-
* @version
|
|
24097
|
+
* @version 219.0.0
|
|
23806
24098
|
*//**
|
|
23807
24099
|
* Constructs a new TokensApi.
|
|
23808
24100
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23836,7 +24128,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23836
24128
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
23837
24129
|
* Uploads service.
|
|
23838
24130
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23839
|
-
* @version
|
|
24131
|
+
* @version 219.0.0
|
|
23840
24132
|
*//**
|
|
23841
24133
|
* Constructs a new UploadsApi.
|
|
23842
24134
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23851,6 +24143,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23851
24143
|
*/return _createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
23852
24144
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
23853
24145
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24146
|
+
* Generates pre-signed URL to upload a prize image for gamification contests
|
|
24147
|
+
*
|
|
24148
|
+
* @param {Object} body query
|
|
24149
|
+
*/},{key:"postGamificationContestsUploadsPrizeimages",value:function postGamificationContestsUploadsPrizeimages(body){// verify the required parameter 'body' is set
|
|
24150
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';}return this.apiClient.callApi('/api/v2/gamification/contests/uploads/prizeimages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23854
24151
|
* Create upload presigned URL for draft function package file.
|
|
23855
24152
|
*
|
|
23856
24153
|
* @param {String} actionId actionId
|
|
@@ -23899,7 +24196,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23899
24196
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
23900
24197
|
* Usage service.
|
|
23901
24198
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23902
|
-
* @version
|
|
24199
|
+
* @version 219.0.0
|
|
23903
24200
|
*//**
|
|
23904
24201
|
* Constructs a new UsageApi.
|
|
23905
24202
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23953,7 +24250,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23953
24250
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
23954
24251
|
* UserRecordings service.
|
|
23955
24252
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23956
|
-
* @version
|
|
24253
|
+
* @version 219.0.0
|
|
23957
24254
|
*//**
|
|
23958
24255
|
* Constructs a new UserRecordingsApi.
|
|
23959
24256
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -24010,7 +24307,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
24010
24307
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
24011
24308
|
* Users service.
|
|
24012
24309
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
24013
|
-
* @version
|
|
24310
|
+
* @version 219.0.0
|
|
24014
24311
|
*//**
|
|
24015
24312
|
* Constructs a new UsersApi.
|
|
24016
24313
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -24737,7 +25034,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
24737
25034
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
24738
25035
|
* Utilities service.
|
|
24739
25036
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
24740
|
-
* @version
|
|
25037
|
+
* @version 219.0.0
|
|
24741
25038
|
*//**
|
|
24742
25039
|
* Constructs a new UtilitiesApi.
|
|
24743
25040
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -24764,7 +25061,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24764
25061
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
24765
25062
|
* Voicemail service.
|
|
24766
25063
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
24767
|
-
* @version
|
|
25064
|
+
* @version 219.0.0
|
|
24768
25065
|
*//**
|
|
24769
25066
|
* Constructs a new VoicemailApi.
|
|
24770
25067
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24926,7 +25223,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24926
25223
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
24927
25224
|
* WebChat service.
|
|
24928
25225
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24929
|
-
* @version
|
|
25226
|
+
* @version 219.0.0
|
|
24930
25227
|
*//**
|
|
24931
25228
|
* Constructs a new WebChatApi.
|
|
24932
25229
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -25070,7 +25367,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25070
25367
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
25071
25368
|
* WebDeployments service.
|
|
25072
25369
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
25073
|
-
* @version
|
|
25370
|
+
* @version 219.0.0
|
|
25074
25371
|
*//**
|
|
25075
25372
|
* Constructs a new WebDeploymentsApi.
|
|
25076
25373
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -25205,7 +25502,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
25205
25502
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
25206
25503
|
* WebMessaging service.
|
|
25207
25504
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
25208
|
-
* @version
|
|
25505
|
+
* @version 219.0.0
|
|
25209
25506
|
*//**
|
|
25210
25507
|
* Constructs a new WebMessagingApi.
|
|
25211
25508
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -25221,7 +25518,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25221
25518
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
25222
25519
|
* Widgets service.
|
|
25223
25520
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
25224
|
-
* @version
|
|
25521
|
+
* @version 219.0.0
|
|
25225
25522
|
*//**
|
|
25226
25523
|
* Constructs a new WidgetsApi.
|
|
25227
25524
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -25261,7 +25558,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
25261
25558
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
25262
25559
|
* WorkforceManagement service.
|
|
25263
25560
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
25264
|
-
* @version
|
|
25561
|
+
* @version 219.0.0
|
|
25265
25562
|
*//**
|
|
25266
25563
|
* Constructs a new WorkforceManagementApi.
|
|
25267
25564
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -25873,8 +26170,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
25873
26170
|
* Retrieves all delete job status for historical data
|
|
25874
26171
|
*
|
|
25875
26172
|
*/},{key:"getWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function getWorkforcemanagementHistoricaldataBulkRemoveJobs(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25876
|
-
* Retrieves delete job status for historical data imports of the organization
|
|
25877
|
-
*
|
|
26173
|
+
* Retrieves delete job status for historical data imports of the organization.
|
|
26174
|
+
* Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
26175
|
+
* @deprecated
|
|
25878
26176
|
*/},{key:"getWorkforcemanagementHistoricaldataDeletejob",value:function getWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25879
26177
|
* Retrieves status of the historical data imports of the organization
|
|
25880
26178
|
*
|
|
@@ -26751,8 +27049,9 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
26751
27049
|
* @param {Object} opts Optional parameters
|
|
26752
27050
|
* @param {Object} opts.body body
|
|
26753
27051
|
*/},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26754
|
-
* Delete the entries of the historical data imports in the organization
|
|
26755
|
-
*
|
|
27052
|
+
* Delete the entries of the historical data imports in the organization.
|
|
27053
|
+
* Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
27054
|
+
* @deprecated
|
|
26756
27055
|
*/},{key:"postWorkforcemanagementHistoricaldataDeletejob",value:function postWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26757
27056
|
* Trigger validation process for historical import
|
|
26758
27057
|
*
|
|
@@ -27080,7 +27379,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
27080
27379
|
* </pre>
|
|
27081
27380
|
* </p>
|
|
27082
27381
|
* @module purecloud-platform-client-v2/index
|
|
27083
|
-
* @version
|
|
27382
|
+
* @version 219.0.0
|
|
27084
27383
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
27085
27384
|
* The ApiClient constructor.
|
|
27086
27385
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|