purecloud-platform-client-v2 218.0.0 → 218.1.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 +346 -96
- package/dist/web-amd/purecloud-platform-client-v2.js +346 -96
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +149 -99
- package/dist/web-cjs/purecloud-platform-client-v2.js +149 -99
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +216 -7
- 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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -11
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- 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 218.
|
|
6461
|
+
* @version 218.1.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 218.
|
|
6804
|
+
* @version 218.1.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 218.
|
|
6905
|
+
* @version 218.1.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 218.
|
|
6927
|
+
* @version 218.1.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 218.
|
|
6961
|
+
* @version 218.1.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 218.
|
|
7050
|
+
* @version 218.1.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 218.
|
|
7718
|
+
* @version 218.1.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 218.
|
|
8850
|
+
* @version 218.1.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 218.
|
|
8900
|
+
* @version 218.1.0
|
|
8890
8901
|
*//**
|
|
8891
8902
|
* Constructs a new AuthorizationApi.
|
|
8892
8903
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9306,7 +9317,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
9306
9317
|
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
9318
|
* Billing service.
|
|
9308
9319
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9309
|
-
* @version 218.
|
|
9320
|
+
* @version 218.1.0
|
|
9310
9321
|
*//**
|
|
9311
9322
|
* Constructs a new BillingApi.
|
|
9312
9323
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9330,7 +9341,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9330
9341
|
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
9342
|
* CarrierServices service.
|
|
9332
9343
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9333
|
-
* @version 218.
|
|
9344
|
+
* @version 218.1.0
|
|
9334
9345
|
*//**
|
|
9335
9346
|
* Constructs a new CarrierServicesApi.
|
|
9336
9347
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9350,7 +9361,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9350
9361
|
*/},{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
9362
|
* Chat service.
|
|
9352
9363
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9353
|
-
* @version 218.
|
|
9364
|
+
* @version 218.1.0
|
|
9354
9365
|
*//**
|
|
9355
9366
|
* Constructs a new ChatApi.
|
|
9356
9367
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9568,7 +9579,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9568
9579
|
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
9580
|
* Coaching service.
|
|
9570
9581
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9571
|
-
* @version 218.
|
|
9582
|
+
* @version 218.1.0
|
|
9572
9583
|
*//**
|
|
9573
9584
|
* Constructs a new CoachingApi.
|
|
9574
9585
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9721,7 +9732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9721
9732
|
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
9733
|
* ContentManagement service.
|
|
9723
9734
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9724
|
-
* @version 218.
|
|
9735
|
+
* @version 218.1.0
|
|
9725
9736
|
*//**
|
|
9726
9737
|
* Constructs a new ContentManagementApi.
|
|
9727
9738
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10003,7 +10014,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
10003
10014
|
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
10015
|
* Conversations service.
|
|
10005
10016
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10006
|
-
* @version 218.
|
|
10017
|
+
* @version 218.1.0
|
|
10007
10018
|
*//**
|
|
10008
10019
|
* Constructs a new ConversationsApi.
|
|
10009
10020
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10740,6 +10751,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10740
10751
|
*/},{key:"patchConversationSecureattributes",value:function patchConversationSecureattributes(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10741
10752
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';}// verify the required parameter 'body' is set
|
|
10742
10753
|
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']);}/**
|
|
10754
|
+
* Update the feedback for the summary.
|
|
10755
|
+
*
|
|
10756
|
+
* @param {String} conversationId Conversation ID
|
|
10757
|
+
* @param {String} summaryId Summary ID
|
|
10758
|
+
* @param {Object} opts Optional parameters
|
|
10759
|
+
* @param {Object} opts.body
|
|
10760
|
+
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10761
|
+
*/},{key:"patchConversationSummaryFeedback",value:function patchConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10762
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
|
|
10763
|
+
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
10764
|
* Update the utilization label on a conversation. When there is no value provided, the system default label is applied
|
|
10744
10765
|
*
|
|
10745
10766
|
* @param {String} conversationId conversation ID
|
|
@@ -11842,7 +11863,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11842
11863
|
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
11864
|
* DataExtensions service.
|
|
11844
11865
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11845
|
-
* @version 218.
|
|
11866
|
+
* @version 218.1.0
|
|
11846
11867
|
*//**
|
|
11847
11868
|
* Constructs a new DataExtensionsApi.
|
|
11848
11869
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11863,7 +11884,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11863
11884
|
*/},{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
11885
|
* DataPrivacy service.
|
|
11865
11886
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11866
|
-
* @version 218.
|
|
11887
|
+
* @version 218.1.0
|
|
11867
11888
|
*//**
|
|
11868
11889
|
* Constructs a new DataPrivacyApi.
|
|
11869
11890
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -11903,7 +11924,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11903
11924
|
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
11925
|
* Downloads service.
|
|
11905
11926
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11906
|
-
* @version 218.
|
|
11927
|
+
* @version 218.1.0
|
|
11907
11928
|
*//**
|
|
11908
11929
|
* Constructs a new DownloadsApi.
|
|
11909
11930
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11922,7 +11943,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11922
11943
|
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
11944
|
* Emails service.
|
|
11924
11945
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11925
|
-
* @version 218.
|
|
11946
|
+
* @version 218.1.0
|
|
11926
11947
|
*//**
|
|
11927
11948
|
* Constructs a new EmailsApi.
|
|
11928
11949
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11930,17 +11951,28 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11930
11951
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11931
11952
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11932
11953
|
*/function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11954
|
+
* Reset email threading settings to default
|
|
11955
|
+
*
|
|
11956
|
+
*/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
11957
|
* Get email Contact Center settings
|
|
11934
11958
|
*
|
|
11935
|
-
*/
|
|
11959
|
+
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11960
|
+
* Get email threading settings
|
|
11961
|
+
*
|
|
11962
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11936
11963
|
* Patch email Contact Center settings
|
|
11937
11964
|
*
|
|
11938
11965
|
* @param {Object} opts Optional parameters
|
|
11939
11966
|
* @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']);}
|
|
11967
|
+
*/},{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']);}/**
|
|
11968
|
+
* Patch email threading settings
|
|
11969
|
+
*
|
|
11970
|
+
* @param {Object} opts Optional parameters
|
|
11971
|
+
* @param {Object} opts.body
|
|
11972
|
+
*/},{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
11973
|
* EmployeeEngagement service.
|
|
11942
11974
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11943
|
-
* @version 218.
|
|
11975
|
+
* @version 218.1.0
|
|
11944
11976
|
*//**
|
|
11945
11977
|
* Constructs a new EmployeeEngagementApi.
|
|
11946
11978
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11978,7 +12010,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11978
12010
|
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
12011
|
* Events service.
|
|
11980
12012
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11981
|
-
* @version 218.
|
|
12013
|
+
* @version 218.1.0
|
|
11982
12014
|
*//**
|
|
11983
12015
|
* Constructs a new EventsApi.
|
|
11984
12016
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12003,7 +12035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12003
12035
|
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
12036
|
* ExternalContacts service.
|
|
12005
12037
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12006
|
-
* @version 218.
|
|
12038
|
+
* @version 218.1.0
|
|
12007
12039
|
*//**
|
|
12008
12040
|
* Constructs a new ExternalContactsApi.
|
|
12009
12041
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12662,7 +12694,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12662
12694
|
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
12695
|
* Fax service.
|
|
12664
12696
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12665
|
-
* @version 218.
|
|
12697
|
+
* @version 218.1.0
|
|
12666
12698
|
*//**
|
|
12667
12699
|
* Constructs a new FaxApi.
|
|
12668
12700
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12711,7 +12743,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12711
12743
|
*/},{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
12744
|
* Flows service.
|
|
12713
12745
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12714
|
-
* @version 218.
|
|
12746
|
+
* @version 218.1.0
|
|
12715
12747
|
*//**
|
|
12716
12748
|
* Constructs a new FlowsApi.
|
|
12717
12749
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12759,7 +12791,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12759
12791
|
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
12792
|
* Gamification service.
|
|
12761
12793
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12762
|
-
* @version 218.
|
|
12794
|
+
* @version 218.1.0
|
|
12763
12795
|
*//**
|
|
12764
12796
|
* Constructs a new GamificationApi.
|
|
12765
12797
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -13318,7 +13350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13318
13350
|
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
13351
|
* GeneralDataProtectionRegulation service.
|
|
13320
13352
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13321
|
-
* @version 218.
|
|
13353
|
+
* @version 218.1.0
|
|
13322
13354
|
*//**
|
|
13323
13355
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
13324
13356
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -13353,7 +13385,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
13353
13385
|
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
13386
|
* Geolocation service.
|
|
13355
13387
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
13356
|
-
* @version 218.
|
|
13388
|
+
* @version 218.1.0
|
|
13357
13389
|
*//**
|
|
13358
13390
|
* Constructs a new GeolocationApi.
|
|
13359
13391
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -13387,7 +13419,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
13387
13419
|
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
13420
|
* Greetings service.
|
|
13389
13421
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
13390
|
-
* @version 218.
|
|
13422
|
+
* @version 218.1.0
|
|
13391
13423
|
*//**
|
|
13392
13424
|
* Constructs a new GreetingsApi.
|
|
13393
13425
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -13494,7 +13526,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13494
13526
|
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
13527
|
* Groups service.
|
|
13496
13528
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
13497
|
-
* @version 218.
|
|
13529
|
+
* @version 218.1.0
|
|
13498
13530
|
*//**
|
|
13499
13531
|
* Constructs a new GroupsApi.
|
|
13500
13532
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13627,7 +13659,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13627
13659
|
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
13660
|
* IdentityProvider service.
|
|
13629
13661
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13630
|
-
* @version 218.
|
|
13662
|
+
* @version 218.1.0
|
|
13631
13663
|
*//**
|
|
13632
13664
|
* Constructs a new IdentityProviderApi.
|
|
13633
13665
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13783,7 +13815,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13783
13815
|
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
13816
|
* InfrastructureAsCode service.
|
|
13785
13817
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13786
|
-
* @version 218.
|
|
13818
|
+
* @version 218.1.0
|
|
13787
13819
|
*//**
|
|
13788
13820
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13789
13821
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13837,7 +13869,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13837
13869
|
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
13870
|
* Integrations service.
|
|
13839
13871
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13840
|
-
* @version 218.
|
|
13872
|
+
* @version 218.1.0
|
|
13841
13873
|
*//**
|
|
13842
13874
|
* Constructs a new IntegrationsApi.
|
|
13843
13875
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14420,6 +14452,13 @@ if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing th
|
|
|
14420
14452
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
|
|
14421
14453
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
|
|
14422
14454
|
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']);}/**
|
|
14455
|
+
* Invoke Webhook
|
|
14456
|
+
*
|
|
14457
|
+
* @param {String} tokenId The token of the webhook to be invoked
|
|
14458
|
+
* @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
|
|
14459
|
+
*/},{key:"postIntegrationsWebhookEvents",value:function postIntegrationsWebhookEvents(tokenId,body){// verify the required parameter 'tokenId' is set
|
|
14460
|
+
if(tokenId===undefined||tokenId===null){throw'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';}// verify the required parameter 'body' is set
|
|
14461
|
+
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
14462
|
* Update integration configuration.
|
|
14424
14463
|
*
|
|
14425
14464
|
* @param {String} integrationId Integration Id
|
|
@@ -14469,7 +14508,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
14469
14508
|
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
14509
|
* Journey service.
|
|
14471
14510
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
14472
|
-
* @version 218.
|
|
14511
|
+
* @version 218.1.0
|
|
14473
14512
|
*//**
|
|
14474
14513
|
* Constructs a new JourneyApi.
|
|
14475
14514
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14949,7 +14988,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14949
14988
|
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
14989
|
* Knowledge service.
|
|
14951
14990
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14952
|
-
* @version 218.
|
|
14991
|
+
* @version 218.1.0
|
|
14953
14992
|
*//**
|
|
14954
14993
|
* Constructs a new KnowledgeApi.
|
|
14955
14994
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16012,7 +16051,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
16012
16051
|
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
16052
|
* LanguageUnderstanding service.
|
|
16014
16053
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
16015
|
-
* @version 218.
|
|
16054
|
+
* @version 218.1.0
|
|
16016
16055
|
*//**
|
|
16017
16056
|
* Constructs a new LanguageUnderstandingApi.
|
|
16018
16057
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -16271,7 +16310,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
16271
16310
|
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
16311
|
* Languages service.
|
|
16273
16312
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
16274
|
-
* @version 218.
|
|
16313
|
+
* @version 218.1.0
|
|
16275
16314
|
*//**
|
|
16276
16315
|
* Constructs a new LanguagesApi.
|
|
16277
16316
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -16326,7 +16365,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16326
16365
|
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
16366
|
* Learning service.
|
|
16328
16367
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
16329
|
-
* @version 218.
|
|
16368
|
+
* @version 218.1.0
|
|
16330
16369
|
*//**
|
|
16331
16370
|
* Constructs a new LearningApi.
|
|
16332
16371
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16597,7 +16636,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
16597
16636
|
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
16637
|
* License service.
|
|
16599
16638
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16600
|
-
* @version 218.
|
|
16639
|
+
* @version 218.1.0
|
|
16601
16640
|
*//**
|
|
16602
16641
|
* Constructs a new LicenseApi.
|
|
16603
16642
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16651,7 +16690,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16651
16690
|
*/},{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
16691
|
* Locations service.
|
|
16653
16692
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16654
|
-
* @version 218.
|
|
16693
|
+
* @version 218.1.0
|
|
16655
16694
|
*//**
|
|
16656
16695
|
* Constructs a new LocationsApi.
|
|
16657
16696
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16710,7 +16749,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16710
16749
|
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
16750
|
* LogCapture service.
|
|
16712
16751
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16713
|
-
* @version 218.
|
|
16752
|
+
* @version 218.1.0
|
|
16714
16753
|
*//**
|
|
16715
16754
|
* Constructs a new LogCaptureApi.
|
|
16716
16755
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16760,7 +16799,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16760
16799
|
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
16800
|
* Messaging service.
|
|
16762
16801
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16763
|
-
* @version 218.
|
|
16802
|
+
* @version 218.1.0
|
|
16764
16803
|
*//**
|
|
16765
16804
|
* Constructs a new MessagingApi.
|
|
16766
16805
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16850,7 +16889,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16850
16889
|
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
16890
|
* MobileDevices service.
|
|
16852
16891
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16853
|
-
* @version 218.
|
|
16892
|
+
* @version 218.1.0
|
|
16854
16893
|
*//**
|
|
16855
16894
|
* Constructs a new MobileDevicesApi.
|
|
16856
16895
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16889,7 +16928,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16889
16928
|
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
16929
|
* Notifications service.
|
|
16891
16930
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16892
|
-
* @version 218.
|
|
16931
|
+
* @version 218.1.0
|
|
16893
16932
|
*//**
|
|
16894
16933
|
* Constructs a new NotificationsApi.
|
|
16895
16934
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16946,7 +16985,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16946
16985
|
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
16986
|
* OAuth service.
|
|
16948
16987
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16949
|
-
* @version 218.
|
|
16988
|
+
* @version 218.1.0
|
|
16950
16989
|
*//**
|
|
16951
16990
|
* Constructs a new OAuthApi.
|
|
16952
16991
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -17031,7 +17070,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
17031
17070
|
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
17071
|
* Objects service.
|
|
17033
17072
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
17034
|
-
* @version 218.
|
|
17073
|
+
* @version 218.1.0
|
|
17035
17074
|
*//**
|
|
17036
17075
|
* Constructs a new ObjectsApi.
|
|
17037
17076
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -17102,7 +17141,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
17102
17141
|
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
17142
|
* OperationalEvents service.
|
|
17104
17143
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
17105
|
-
* @version 218.
|
|
17144
|
+
* @version 218.1.0
|
|
17106
17145
|
*//**
|
|
17107
17146
|
* Constructs a new OperationalEventsApi.
|
|
17108
17147
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17133,7 +17172,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
17133
17172
|
*/},{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
17173
|
* Organization service.
|
|
17135
17174
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17136
|
-
* @version 218.
|
|
17175
|
+
* @version 218.1.0
|
|
17137
17176
|
*//**
|
|
17138
17177
|
* Constructs a new OrganizationApi.
|
|
17139
17178
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17238,7 +17277,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17238
17277
|
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
17278
|
* OrganizationAuthorization service.
|
|
17240
17279
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17241
|
-
* @version 218.
|
|
17280
|
+
* @version 218.1.0
|
|
17242
17281
|
*//**
|
|
17243
17282
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17244
17283
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17572,7 +17611,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
17572
17611
|
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
17612
|
* Outbound service.
|
|
17574
17613
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17575
|
-
* @version 218.
|
|
17614
|
+
* @version 218.1.0
|
|
17576
17615
|
*//**
|
|
17577
17616
|
* Constructs a new OutboundApi.
|
|
17578
17617
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18689,7 +18728,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18689
18728
|
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
18729
|
* Presence service.
|
|
18691
18730
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18692
|
-
* @version 218.
|
|
18731
|
+
* @version 218.1.0
|
|
18693
18732
|
*//**
|
|
18694
18733
|
* Constructs a new PresenceApi.
|
|
18695
18734
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18700,8 +18739,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18700
18739
|
* Delete a Presence Definition
|
|
18701
18740
|
*
|
|
18702
18741
|
* @param {String} definitionId Presence Definition ID
|
|
18703
|
-
*/return _createClass(PresenceApi,[{key:"
|
|
18704
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
18742
|
+
*/return _createClass(PresenceApi,[{key:"deleteDivisionBasedPresenceDefinition",value:function deleteDivisionBasedPresenceDefinition(definitionId){// verify the required parameter 'definitionId' is set
|
|
18743
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling deleteDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','DELETE',{'definitionId':definitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18705
18744
|
* Delete a Presence Source
|
|
18706
18745
|
*
|
|
18707
18746
|
* @param {String} sourceId Presence Source ID
|
|
@@ -18718,15 +18757,15 @@ if(presenceId===undefined||presenceId===null){throw'Missing the required paramet
|
|
|
18718
18757
|
* @param {String} definitionId Presence Definition ID
|
|
18719
18758
|
* @param {Object} opts Optional parameters
|
|
18720
18759
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
18721
|
-
*/},{key:"
|
|
18722
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
18760
|
+
*/},{key:"getDivisionBasedPresenceDefinition",value:function getDivisionBasedPresenceDefinition(definitionId,opts){opts=opts||{};// verify the required parameter 'definitionId' is set
|
|
18761
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling getDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','GET',{'definitionId':definitionId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18723
18762
|
* Get a list of Presence Definitions
|
|
18724
18763
|
*
|
|
18725
18764
|
* @param {Object} opts Optional parameters
|
|
18726
18765
|
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
18727
18766
|
* @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
|
|
18728
18767
|
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
18729
|
-
*/},{key:"
|
|
18768
|
+
*/},{key:"getDivisionBasedPresenceDefinitions",value:function getDivisionBasedPresenceDefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presence/definitions','GET',{},{'deactivated':opts['deactivated'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18730
18769
|
* Get the presence settings
|
|
18731
18770
|
*
|
|
18732
18771
|
*/},{key:"getPresenceSettings",value:function getPresenceSettings(){return this.apiClient.callApi('/api/v2/presence/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -18808,8 +18847,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18808
18847
|
* Create a Presence Definition
|
|
18809
18848
|
*
|
|
18810
18849
|
* @param {Object} body The Presence Definition to create
|
|
18811
|
-
*/},{key:"
|
|
18812
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
18850
|
+
*/},{key:"postDivisionBasedPresenceDefinitions",value:function postDivisionBasedPresenceDefinitions(body){// verify the required parameter 'body' is set
|
|
18851
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDivisionBasedPresenceDefinitions';}return this.apiClient.callApi('/api/v2/presence/definitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18813
18852
|
* Create a Presence Source
|
|
18814
18853
|
*
|
|
18815
18854
|
* @param {Object} body The Presence Source to create
|
|
@@ -18825,9 +18864,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18825
18864
|
*
|
|
18826
18865
|
* @param {String} definitionId Presence Definition ID
|
|
18827
18866
|
* @param {Object} body The updated Presence Definition
|
|
18828
|
-
*/},{key:"
|
|
18829
|
-
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling
|
|
18830
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
18867
|
+
*/},{key:"putDivisionBasedPresenceDefinition",value:function putDivisionBasedPresenceDefinition(definitionId,body){// verify the required parameter 'definitionId' is set
|
|
18868
|
+
if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling putDivisionBasedPresenceDefinition';}// verify the required parameter 'body' is set
|
|
18869
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putDivisionBasedPresenceDefinition';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','PUT',{'definitionId':definitionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18831
18870
|
* Update the presence settings
|
|
18832
18871
|
*
|
|
18833
18872
|
* @param {Object} body Presence Settings
|
|
@@ -18862,7 +18901,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18862
18901
|
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
18902
|
* ProcessAutomation service.
|
|
18864
18903
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18865
|
-
* @version 218.
|
|
18904
|
+
* @version 218.1.0
|
|
18866
18905
|
*//**
|
|
18867
18906
|
* Constructs a new ProcessAutomationApi.
|
|
18868
18907
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18925,7 +18964,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18925
18964
|
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
18965
|
* Quality service.
|
|
18927
18966
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18928
|
-
* @version 218.
|
|
18967
|
+
* @version 218.1.0
|
|
18929
18968
|
*//**
|
|
18930
18969
|
* Constructs a new QualityApi.
|
|
18931
18970
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19403,7 +19442,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
19403
19442
|
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
19443
|
* Recording service.
|
|
19405
19444
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
19406
|
-
* @version 218.
|
|
19445
|
+
* @version 218.1.0
|
|
19407
19446
|
*//**
|
|
19408
19447
|
* Constructs a new RecordingApi.
|
|
19409
19448
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19482,7 +19521,7 @@ if(annotationId===undefined||annotationId===null){throw'Missing the required par
|
|
|
19482
19521
|
*/},{key:"getConversationRecordingAnnotations",value:function getConversationRecordingAnnotations(conversationId,recordingId){// verify the required parameter 'conversationId' is set
|
|
19483
19522
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordingAnnotations';}// verify the required parameter 'recordingId' is set
|
|
19484
19523
|
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
|
|
19524
|
+
* 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
19525
|
*
|
|
19487
19526
|
* @param {String} conversationId Conversation ID
|
|
19488
19527
|
*/},{key:"getConversationRecordingmetadata",value:function getConversationRecordingmetadata(conversationId){// verify the required parameter 'conversationId' is set
|
|
@@ -19802,7 +19841,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19802
19841
|
*/},{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
19842
|
* ResponseManagement service.
|
|
19804
19843
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19805
|
-
* @version 218.
|
|
19844
|
+
* @version 218.1.0
|
|
19806
19845
|
*//**
|
|
19807
19846
|
* Constructs a new ResponseManagementApi.
|
|
19808
19847
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19923,7 +19962,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19923
19962
|
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
19963
|
* Routing service.
|
|
19925
19964
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19926
|
-
* @version 218.
|
|
19965
|
+
* @version 218.1.0
|
|
19927
19966
|
*//**
|
|
19928
19967
|
* Constructs a new RoutingApi.
|
|
19929
19968
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20968,7 +21007,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20968
21007
|
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
21008
|
* SCIM service.
|
|
20970
21009
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20971
|
-
* @version 218.
|
|
21010
|
+
* @version 218.1.0
|
|
20972
21011
|
*//**
|
|
20973
21012
|
* Constructs a new SCIMApi.
|
|
20974
21013
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -21193,7 +21232,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21193
21232
|
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
21233
|
* ScreenRecording service.
|
|
21195
21234
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
21196
|
-
* @version 218.
|
|
21235
|
+
* @version 218.1.0
|
|
21197
21236
|
*//**
|
|
21198
21237
|
* Constructs a new ScreenRecordingApi.
|
|
21199
21238
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -21208,7 +21247,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21208
21247
|
*/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
21248
|
* Scripts service.
|
|
21210
21249
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
21211
|
-
* @version 218.
|
|
21250
|
+
* @version 218.1.0
|
|
21212
21251
|
*//**
|
|
21213
21252
|
* Constructs a new ScriptsApi.
|
|
21214
21253
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -21344,7 +21383,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
21344
21383
|
*/},{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
21384
|
* Search service.
|
|
21346
21385
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
21347
|
-
* @version 218.
|
|
21386
|
+
* @version 218.1.0
|
|
21348
21387
|
*//**
|
|
21349
21388
|
* Constructs a new SearchApi.
|
|
21350
21389
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -21516,7 +21555,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21516
21555
|
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
21556
|
* Settings service.
|
|
21518
21557
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
21519
|
-
* @version 218.
|
|
21558
|
+
* @version 218.1.0
|
|
21520
21559
|
*//**
|
|
21521
21560
|
* Constructs a new SettingsApi.
|
|
21522
21561
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -21524,14 +21563,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21524
21563
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21525
21564
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21526
21565
|
*/function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
21566
|
+
* Reset email threading settings to default
|
|
21567
|
+
*
|
|
21568
|
+
*/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
21569
|
* Delete agent auto answer settings
|
|
21528
21570
|
*
|
|
21529
21571
|
* @param {String} agentId The agent to apply the auto answer settings to
|
|
21530
|
-
*/
|
|
21572
|
+
*/},{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
21531
21573
|
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
21574
|
* Get email Contact Center settings
|
|
21533
21575
|
*
|
|
21534
21576
|
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21577
|
+
* Get email threading settings
|
|
21578
|
+
*
|
|
21579
|
+
*/},{key:"getEmailsSettingsThreading",value:function getEmailsSettingsThreading(){return this.apiClient.callApi('/api/v2/emails/settings/threading','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21535
21580
|
* Get the execution history enabled setting.
|
|
21536
21581
|
* Get the execution history enabled setting.
|
|
21537
21582
|
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -21545,6 +21590,11 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21545
21590
|
* @param {Object} opts Optional parameters
|
|
21546
21591
|
* @param {Object} opts.body
|
|
21547
21592
|
*/},{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']);}/**
|
|
21593
|
+
* Patch email threading settings
|
|
21594
|
+
*
|
|
21595
|
+
* @param {Object} opts Optional parameters
|
|
21596
|
+
* @param {Object} opts.body
|
|
21597
|
+
*/},{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
21598
|
* Edit the execution history on off setting.
|
|
21549
21599
|
* Edit the execution history on off setting.
|
|
21550
21600
|
* @param {Object} body New Execution Data Setting
|
|
@@ -21566,7 +21616,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21566
21616
|
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
21617
|
* SocialMedia service.
|
|
21568
21618
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21569
|
-
* @version 218.
|
|
21619
|
+
* @version 218.1.0
|
|
21570
21620
|
*//**
|
|
21571
21621
|
* Constructs a new SocialMediaApi.
|
|
21572
21622
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21903,7 +21953,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21903
21953
|
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
21954
|
* SpeechTextAnalytics service.
|
|
21905
21955
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21906
|
-
* @version 218.
|
|
21956
|
+
* @version 218.1.0
|
|
21907
21957
|
*//**
|
|
21908
21958
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21909
21959
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -22226,7 +22276,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
22226
22276
|
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
22277
|
* Stations service.
|
|
22228
22278
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
22229
|
-
* @version 218.
|
|
22279
|
+
* @version 218.1.0
|
|
22230
22280
|
*//**
|
|
22231
22281
|
* Constructs a new StationsApi.
|
|
22232
22282
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -22258,7 +22308,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
22258
22308
|
*/},{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
22309
|
* Suggest service.
|
|
22260
22310
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
22261
|
-
* @version 218.
|
|
22311
|
+
* @version 218.1.0
|
|
22262
22312
|
*//**
|
|
22263
22313
|
* Constructs a new SuggestApi.
|
|
22264
22314
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -22298,7 +22348,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22298
22348
|
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
22349
|
* TaskManagement service.
|
|
22300
22350
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
22301
|
-
* @version 218.
|
|
22351
|
+
* @version 218.1.0
|
|
22302
22352
|
*//**
|
|
22303
22353
|
* Constructs a new TaskManagementApi.
|
|
22304
22354
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -22804,7 +22854,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22804
22854
|
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
22855
|
* Teams service.
|
|
22806
22856
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
22807
|
-
* @version 218.
|
|
22857
|
+
* @version 218.1.0
|
|
22808
22858
|
*//**
|
|
22809
22859
|
* Constructs a new TeamsApi.
|
|
22810
22860
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22884,7 +22934,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22884
22934
|
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
22935
|
* Telephony service.
|
|
22886
22936
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22887
|
-
* @version 218.
|
|
22937
|
+
* @version 218.1.0
|
|
22888
22938
|
*//**
|
|
22889
22939
|
* Constructs a new TelephonyApi.
|
|
22890
22940
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22931,7 +22981,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22931
22981
|
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
22982
|
* TelephonyProvidersEdge service.
|
|
22933
22983
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22934
|
-
* @version 218.
|
|
22984
|
+
* @version 218.1.0
|
|
22935
22985
|
*//**
|
|
22936
22986
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22937
22987
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -23767,7 +23817,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
23767
23817
|
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
23818
|
* Textbots service.
|
|
23769
23819
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
23770
|
-
* @version 218.
|
|
23820
|
+
* @version 218.1.0
|
|
23771
23821
|
*//**
|
|
23772
23822
|
* Constructs a new TextbotsApi.
|
|
23773
23823
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -23802,7 +23852,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
23802
23852
|
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
23853
|
* Tokens service.
|
|
23804
23854
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
23805
|
-
* @version 218.
|
|
23855
|
+
* @version 218.1.0
|
|
23806
23856
|
*//**
|
|
23807
23857
|
* Constructs a new TokensApi.
|
|
23808
23858
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23836,7 +23886,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23836
23886
|
*/},{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
23887
|
* Uploads service.
|
|
23838
23888
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23839
|
-
* @version 218.
|
|
23889
|
+
* @version 218.1.0
|
|
23840
23890
|
*//**
|
|
23841
23891
|
* Constructs a new UploadsApi.
|
|
23842
23892
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23899,7 +23949,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23899
23949
|
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
23950
|
* Usage service.
|
|
23901
23951
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23902
|
-
* @version 218.
|
|
23952
|
+
* @version 218.1.0
|
|
23903
23953
|
*//**
|
|
23904
23954
|
* Constructs a new UsageApi.
|
|
23905
23955
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23953,7 +24003,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23953
24003
|
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
24004
|
* UserRecordings service.
|
|
23955
24005
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23956
|
-
* @version 218.
|
|
24006
|
+
* @version 218.1.0
|
|
23957
24007
|
*//**
|
|
23958
24008
|
* Constructs a new UserRecordingsApi.
|
|
23959
24009
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -24010,7 +24060,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
24010
24060
|
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
24061
|
* Users service.
|
|
24012
24062
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
24013
|
-
* @version 218.
|
|
24063
|
+
* @version 218.1.0
|
|
24014
24064
|
*//**
|
|
24015
24065
|
* Constructs a new UsersApi.
|
|
24016
24066
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -24737,7 +24787,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
24737
24787
|
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
24788
|
* Utilities service.
|
|
24739
24789
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
24740
|
-
* @version 218.
|
|
24790
|
+
* @version 218.1.0
|
|
24741
24791
|
*//**
|
|
24742
24792
|
* Constructs a new UtilitiesApi.
|
|
24743
24793
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -24764,7 +24814,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24764
24814
|
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
24815
|
* Voicemail service.
|
|
24766
24816
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
24767
|
-
* @version 218.
|
|
24817
|
+
* @version 218.1.0
|
|
24768
24818
|
*//**
|
|
24769
24819
|
* Constructs a new VoicemailApi.
|
|
24770
24820
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24926,7 +24976,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24926
24976
|
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
24977
|
* WebChat service.
|
|
24928
24978
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24929
|
-
* @version 218.
|
|
24979
|
+
* @version 218.1.0
|
|
24930
24980
|
*//**
|
|
24931
24981
|
* Constructs a new WebChatApi.
|
|
24932
24982
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -25070,7 +25120,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25070
25120
|
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
25121
|
* WebDeployments service.
|
|
25072
25122
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
25073
|
-
* @version 218.
|
|
25123
|
+
* @version 218.1.0
|
|
25074
25124
|
*//**
|
|
25075
25125
|
* Constructs a new WebDeploymentsApi.
|
|
25076
25126
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -25205,7 +25255,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
25205
25255
|
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
25256
|
* WebMessaging service.
|
|
25207
25257
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
25208
|
-
* @version 218.
|
|
25258
|
+
* @version 218.1.0
|
|
25209
25259
|
*//**
|
|
25210
25260
|
* Constructs a new WebMessagingApi.
|
|
25211
25261
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -25221,7 +25271,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25221
25271
|
*/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
25272
|
* Widgets service.
|
|
25223
25273
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
25224
|
-
* @version 218.
|
|
25274
|
+
* @version 218.1.0
|
|
25225
25275
|
*//**
|
|
25226
25276
|
* Constructs a new WidgetsApi.
|
|
25227
25277
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -25261,7 +25311,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
25261
25311
|
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
25312
|
* WorkforceManagement service.
|
|
25263
25313
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
25264
|
-
* @version 218.
|
|
25314
|
+
* @version 218.1.0
|
|
25265
25315
|
*//**
|
|
25266
25316
|
* Constructs a new WorkforceManagementApi.
|
|
25267
25317
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -27080,7 +27130,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
27080
27130
|
* </pre>
|
|
27081
27131
|
* </p>
|
|
27082
27132
|
* @module purecloud-platform-client-v2/index
|
|
27083
|
-
* @version 218.
|
|
27133
|
+
* @version 218.1.0
|
|
27084
27134
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
27085
27135
|
* The ApiClient constructor.
|
|
27086
27136
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|