purecloud-platform-client-v2 253.0.0 → 254.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1159 -304
- package/dist/web-amd/purecloud-platform-client-v2.js +1159 -304
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +438 -304
- package/dist/web-cjs/purecloud-platform-client-v2.js +438 -304
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +462 -15
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.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 -62
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +435 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +207 -125
- 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 +2 -6
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -5
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -5
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -9
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +155 -3
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -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 +268 -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 -5
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.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 +10 -5
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1082,7 +1082,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
1082
1082
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
1083
1083
|
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];}}}]);}();/**
|
|
1084
1084
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1085
|
-
* @version
|
|
1085
|
+
* @version 254.0.0
|
|
1086
1086
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
1087
1087
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
1088
1088
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1451,7 +1451,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1451
1451
|
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 AIStudioApi=/*#__PURE__*/function(){/**
|
|
1452
1452
|
* AIStudio service.
|
|
1453
1453
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1454
|
-
* @version
|
|
1454
|
+
* @version 254.0.0
|
|
1455
1455
|
*//**
|
|
1456
1456
|
* Constructs a new AIStudioApi.
|
|
1457
1457
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1642,7 +1642,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1642
1642
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1643
1643
|
* AgentAssistants service.
|
|
1644
1644
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1645
|
-
* @version
|
|
1645
|
+
* @version 254.0.0
|
|
1646
1646
|
*//**
|
|
1647
1647
|
* Constructs a new AgentAssistantsApi.
|
|
1648
1648
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1868,7 +1868,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1868
1868
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1869
1869
|
* AgentCopilot service.
|
|
1870
1870
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1871
|
-
* @version
|
|
1871
|
+
* @version 254.0.0
|
|
1872
1872
|
*//**
|
|
1873
1873
|
* Constructs a new AgentCopilotApi.
|
|
1874
1874
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1900,7 +1900,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1900
1900
|
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'],opts['customHeaders']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1901
1901
|
* AgentUI service.
|
|
1902
1902
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1903
|
-
* @version
|
|
1903
|
+
* @version 254.0.0
|
|
1904
1904
|
*//**
|
|
1905
1905
|
* Constructs a new AgentUIApi.
|
|
1906
1906
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1942,7 +1942,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1942
1942
|
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'],opts['customHeaders']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1943
1943
|
* Alerting service.
|
|
1944
1944
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1945
|
-
* @version
|
|
1945
|
+
* @version 254.0.0
|
|
1946
1946
|
*//**
|
|
1947
1947
|
* Constructs a new AlertingApi.
|
|
1948
1948
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -2056,7 +2056,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
2056
2056
|
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'],opts['customHeaders']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
2057
2057
|
* Analytics service.
|
|
2058
2058
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2059
|
-
* @version
|
|
2059
|
+
* @version 254.0.0
|
|
2060
2060
|
*//**
|
|
2061
2061
|
* Constructs a new AnalyticsApi.
|
|
2062
2062
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2069,7 +2069,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2069
2069
|
* @param {String} jobId jobId
|
|
2070
2070
|
* @param {Object} opts Optional parameters
|
|
2071
2071
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2072
|
-
* deleteAnalyticsActionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2073
2072
|
*/return _createClass(AnalyticsApi,[{key:"deleteAnalyticsActionsAggregatesJob",value:function deleteAnalyticsActionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2074
2073
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsActionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2075
2074
|
* Delete/cancel an async request for agent copilot aggregates
|
|
@@ -2093,7 +2092,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2093
2092
|
* @param {String} jobId jobId
|
|
2094
2093
|
* @param {Object} opts Optional parameters
|
|
2095
2094
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2096
|
-
* deleteAnalyticsBotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2097
2095
|
*/},{key:"deleteAnalyticsBotsAggregatesJob",value:function deleteAnalyticsBotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2098
2096
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsBotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2099
2097
|
* Delete/cancel an async request for case management aggregates
|
|
@@ -2101,7 +2099,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2101
2099
|
* @param {String} jobId jobId
|
|
2102
2100
|
* @param {Object} opts Optional parameters
|
|
2103
2101
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2104
|
-
* deleteAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2105
2102
|
*/},{key:"deleteAnalyticsCasemanagementAggregatesJob",value:function deleteAnalyticsCasemanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2106
2103
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2107
2104
|
* Delete/cancel an async request for conversation aggregates
|
|
@@ -2109,7 +2106,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2109
2106
|
* @param {String} jobId jobId
|
|
2110
2107
|
* @param {Object} opts Optional parameters
|
|
2111
2108
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2112
|
-
* deleteAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2113
2109
|
*/},{key:"deleteAnalyticsConversationsAggregatesJob",value:function deleteAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2114
2110
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2115
2111
|
* Delete/cancel an async details job
|
|
@@ -2132,7 +2128,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2132
2128
|
* @param {String} jobId jobId
|
|
2133
2129
|
* @param {Object} opts Optional parameters
|
|
2134
2130
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2135
|
-
* deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2136
2131
|
*/},{key:"deleteAnalyticsEvaluationsAggregatesJob",value:function deleteAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2137
2132
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2138
2133
|
* Delete/cancel an async request for flow execution aggregates
|
|
@@ -2140,7 +2135,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2140
2135
|
* @param {String} jobId jobId
|
|
2141
2136
|
* @param {Object} opts Optional parameters
|
|
2142
2137
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2143
|
-
* deleteAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2144
2138
|
*/},{key:"deleteAnalyticsFlowexecutionsAggregatesJob",value:function deleteAnalyticsFlowexecutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2145
2139
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowexecutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2146
2140
|
* Delete/cancel an async request for flow aggregates
|
|
@@ -2148,7 +2142,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2148
2142
|
* @param {String} jobId jobId
|
|
2149
2143
|
* @param {Object} opts Optional parameters
|
|
2150
2144
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2151
|
-
* deleteAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2152
2145
|
*/},{key:"deleteAnalyticsFlowsAggregatesJob",value:function deleteAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2153
2146
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2154
2147
|
* Delete/cancel an async request for journey aggregates
|
|
@@ -2156,7 +2149,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2156
2149
|
* @param {String} jobId jobId
|
|
2157
2150
|
* @param {Object} opts Optional parameters
|
|
2158
2151
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2159
|
-
* deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2160
2152
|
*/},{key:"deleteAnalyticsJourneysAggregatesJob",value:function deleteAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2161
2153
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2162
2154
|
* Delete/cancel an async request for knowledge aggregates
|
|
@@ -2164,7 +2156,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2164
2156
|
* @param {String} jobId jobId
|
|
2165
2157
|
* @param {Object} opts Optional parameters
|
|
2166
2158
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2167
|
-
* deleteAnalyticsKnowledgeAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2168
2159
|
*/},{key:"deleteAnalyticsKnowledgeAggregatesJob",value:function deleteAnalyticsKnowledgeAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2169
2160
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsKnowledgeAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2170
2161
|
* Delete/cancel an async request for resolution aggregates
|
|
@@ -2172,7 +2163,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2172
2163
|
* @param {String} jobId jobId
|
|
2173
2164
|
* @param {Object} opts Optional parameters
|
|
2174
2165
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2175
|
-
* deleteAnalyticsResolutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2176
2166
|
*/},{key:"deleteAnalyticsResolutionsAggregatesJob",value:function deleteAnalyticsResolutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2177
2167
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsResolutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2178
2168
|
* Delete/cancel an async request for summary aggregates
|
|
@@ -2180,7 +2170,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2180
2170
|
* @param {String} jobId jobId
|
|
2181
2171
|
* @param {Object} opts Optional parameters
|
|
2182
2172
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2183
|
-
* deleteAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2184
2173
|
*/},{key:"deleteAnalyticsSummariesAggregatesJob",value:function deleteAnalyticsSummariesAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2185
2174
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSummariesAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2186
2175
|
* Delete/cancel an async request for survey aggregates
|
|
@@ -2188,7 +2177,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2188
2177
|
* @param {String} jobId jobId
|
|
2189
2178
|
* @param {Object} opts Optional parameters
|
|
2190
2179
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2191
|
-
* deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2192
2180
|
*/},{key:"deleteAnalyticsSurveysAggregatesJob",value:function deleteAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2193
2181
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2194
2182
|
* Delete/cancel an async request for task management aggregates
|
|
@@ -2196,7 +2184,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2196
2184
|
* @param {String} jobId jobId
|
|
2197
2185
|
* @param {Object} opts Optional parameters
|
|
2198
2186
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2199
|
-
* deleteAnalyticsTaskmanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2200
2187
|
*/},{key:"deleteAnalyticsTaskmanagementAggregatesJob",value:function deleteAnalyticsTaskmanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2201
2188
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsTaskmanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2202
2189
|
* Delete/cancel an async request for transcript aggregates
|
|
@@ -2204,7 +2191,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2204
2191
|
* @param {String} jobId jobId
|
|
2205
2192
|
* @param {Object} opts Optional parameters
|
|
2206
2193
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2207
|
-
* deleteAnalyticsTranscriptsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2208
2194
|
*/},{key:"deleteAnalyticsTranscriptsAggregatesJob",value:function deleteAnalyticsTranscriptsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2209
2195
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsTranscriptsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2210
2196
|
* Delete/cancel an async request for user aggregates
|
|
@@ -2212,7 +2198,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2212
2198
|
* @param {String} jobId jobId
|
|
2213
2199
|
* @param {Object} opts Optional parameters
|
|
2214
2200
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2215
|
-
* deleteAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2216
2201
|
*/},{key:"deleteAnalyticsUsersAggregatesJob",value:function deleteAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2217
2202
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2218
2203
|
* Delete/cancel an async request
|
|
@@ -2227,7 +2212,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2227
2212
|
* @param {String} jobId jobId
|
|
2228
2213
|
* @param {Object} opts Optional parameters
|
|
2229
2214
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2230
|
-
* getAnalyticsActionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2231
2215
|
*/},{key:"getAnalyticsActionsAggregatesJob",value:function getAnalyticsActionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2232
2216
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2233
2217
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2236,7 +2220,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2236
2220
|
* @param {Object} opts Optional parameters
|
|
2237
2221
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2238
2222
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2239
|
-
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2240
2223
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2241
2224
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2242
2225
|
* Get an agent and their active sessions by user ID
|
|
@@ -2326,7 +2309,6 @@ if(botFlowId===undefined||botFlowId===null||botFlowId===''){throw'Missing the re
|
|
|
2326
2309
|
* @param {String} jobId jobId
|
|
2327
2310
|
* @param {Object} opts Optional parameters
|
|
2328
2311
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2329
|
-
* getAnalyticsBotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2330
2312
|
*/},{key:"getAnalyticsBotsAggregatesJob",value:function getAnalyticsBotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2331
2313
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2332
2314
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2335,7 +2317,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2335
2317
|
* @param {Object} opts Optional parameters
|
|
2336
2318
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2337
2319
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2338
|
-
* getAnalyticsBotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2339
2320
|
*/},{key:"getAnalyticsBotsAggregatesJobResults",value:function getAnalyticsBotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2340
2321
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2341
2322
|
* Get status for async query for case management aggregates
|
|
@@ -2343,7 +2324,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2343
2324
|
* @param {String} jobId jobId
|
|
2344
2325
|
* @param {Object} opts Optional parameters
|
|
2345
2326
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2346
|
-
* getAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2347
2327
|
*/},{key:"getAnalyticsCasemanagementAggregatesJob",value:function getAnalyticsCasemanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2348
2328
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2349
2329
|
* Fetch a page of results for an async case management query
|
|
@@ -2352,7 +2332,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2352
2332
|
* @param {Object} opts Optional parameters
|
|
2353
2333
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2354
2334
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2355
|
-
* getAnalyticsCasemanagementAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2356
2335
|
*/},{key:"getAnalyticsCasemanagementAggregatesJobResults",value:function getAnalyticsCasemanagementAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2357
2336
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2358
2337
|
* Get a conversation by id
|
|
@@ -2367,7 +2346,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
2367
2346
|
* @param {String} jobId jobId
|
|
2368
2347
|
* @param {Object} opts Optional parameters
|
|
2369
2348
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2370
|
-
* getAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2371
2349
|
*/},{key:"getAnalyticsConversationsAggregatesJob",value:function getAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2372
2350
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2373
2351
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2376,7 +2354,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2376
2354
|
* @param {Object} opts Optional parameters
|
|
2377
2355
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2378
2356
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2379
|
-
* getAnalyticsConversationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2380
2357
|
*/},{key:"getAnalyticsConversationsAggregatesJobResults",value:function getAnalyticsConversationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2381
2358
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2382
2359
|
* Gets multiple conversations by id
|
|
@@ -2453,7 +2430,6 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
2453
2430
|
* @param {String} jobId jobId
|
|
2454
2431
|
* @param {Object} opts Optional parameters
|
|
2455
2432
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2456
|
-
* getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2457
2433
|
*/},{key:"getAnalyticsEvaluationsAggregatesJob",value:function getAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2458
2434
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2459
2435
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2462,7 +2438,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2462
2438
|
* @param {Object} opts Optional parameters
|
|
2463
2439
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2464
2440
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2465
|
-
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2466
2441
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2467
2442
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2468
2443
|
* Get status for async query for flow execution aggregates
|
|
@@ -2470,7 +2445,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2470
2445
|
* @param {String} jobId jobId
|
|
2471
2446
|
* @param {Object} opts Optional parameters
|
|
2472
2447
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2473
|
-
* getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2474
2448
|
*/},{key:"getAnalyticsFlowexecutionsAggregatesJob",value:function getAnalyticsFlowexecutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2475
2449
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2476
2450
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2479,7 +2453,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2479
2453
|
* @param {Object} opts Optional parameters
|
|
2480
2454
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2481
2455
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2482
|
-
* getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2483
2456
|
*/},{key:"getAnalyticsFlowexecutionsAggregatesJobResults",value:function getAnalyticsFlowexecutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2484
2457
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2485
2458
|
* Get status for async query for Flow aggregates
|
|
@@ -2487,7 +2460,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2487
2460
|
* @param {String} jobId jobId
|
|
2488
2461
|
* @param {Object} opts Optional parameters
|
|
2489
2462
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2490
|
-
* getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2491
2463
|
*/},{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2492
2464
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2493
2465
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2496,7 +2468,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2496
2468
|
* @param {Object} opts Optional parameters
|
|
2497
2469
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2498
2470
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2499
|
-
* getAnalyticsFlowsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2500
2471
|
*/},{key:"getAnalyticsFlowsAggregatesJobResults",value:function getAnalyticsFlowsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2501
2472
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2502
2473
|
* Get status for async query for journey aggregates
|
|
@@ -2504,7 +2475,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2504
2475
|
* @param {String} jobId jobId
|
|
2505
2476
|
* @param {Object} opts Optional parameters
|
|
2506
2477
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2507
|
-
* getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2508
2478
|
*/},{key:"getAnalyticsJourneysAggregatesJob",value:function getAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2509
2479
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2510
2480
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2513,7 +2483,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2513
2483
|
* @param {Object} opts Optional parameters
|
|
2514
2484
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2515
2485
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2516
|
-
* getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2517
2486
|
*/},{key:"getAnalyticsJourneysAggregatesJobResults",value:function getAnalyticsJourneysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2518
2487
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2519
2488
|
* Get status for async query for knowledge aggregates
|
|
@@ -2521,7 +2490,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2521
2490
|
* @param {String} jobId jobId
|
|
2522
2491
|
* @param {Object} opts Optional parameters
|
|
2523
2492
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2524
|
-
* getAnalyticsKnowledgeAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2525
2493
|
*/},{key:"getAnalyticsKnowledgeAggregatesJob",value:function getAnalyticsKnowledgeAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2526
2494
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2527
2495
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2530,7 +2498,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2530
2498
|
* @param {Object} opts Optional parameters
|
|
2531
2499
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2532
2500
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2533
|
-
* getAnalyticsKnowledgeAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2534
2501
|
*/},{key:"getAnalyticsKnowledgeAggregatesJobResults",value:function getAnalyticsKnowledgeAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2535
2502
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2536
2503
|
* Get dashboards summary for a user
|
|
@@ -2601,7 +2568,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
2601
2568
|
* @param {String} jobId jobId
|
|
2602
2569
|
* @param {Object} opts Optional parameters
|
|
2603
2570
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2604
|
-
* getAnalyticsResolutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2605
2571
|
*/},{key:"getAnalyticsResolutionsAggregatesJob",value:function getAnalyticsResolutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2606
2572
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2607
2573
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2610,7 +2576,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2610
2576
|
* @param {Object} opts Optional parameters
|
|
2611
2577
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2612
2578
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2613
|
-
* getAnalyticsResolutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2614
2579
|
*/},{key:"getAnalyticsResolutionsAggregatesJobResults",value:function getAnalyticsResolutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2615
2580
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2616
2581
|
* Get status for async query for summary aggregates
|
|
@@ -2618,7 +2583,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2618
2583
|
* @param {String} jobId jobId
|
|
2619
2584
|
* @param {Object} opts Optional parameters
|
|
2620
2585
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2621
|
-
* getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2622
2586
|
*/},{key:"getAnalyticsSummariesAggregatesJob",value:function getAnalyticsSummariesAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2623
2587
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2624
2588
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2627,7 +2591,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2627
2591
|
* @param {Object} opts Optional parameters
|
|
2628
2592
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2629
2593
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2630
|
-
* getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2631
2594
|
*/},{key:"getAnalyticsSummariesAggregatesJobResults",value:function getAnalyticsSummariesAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2632
2595
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2633
2596
|
* Get status for async query for survey aggregates
|
|
@@ -2635,7 +2598,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2635
2598
|
* @param {String} jobId jobId
|
|
2636
2599
|
* @param {Object} opts Optional parameters
|
|
2637
2600
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2638
|
-
* getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2639
2601
|
*/},{key:"getAnalyticsSurveysAggregatesJob",value:function getAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2640
2602
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2641
2603
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2644,7 +2606,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2644
2606
|
* @param {Object} opts Optional parameters
|
|
2645
2607
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2646
2608
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2647
|
-
* getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2648
2609
|
*/},{key:"getAnalyticsSurveysAggregatesJobResults",value:function getAnalyticsSurveysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2649
2610
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2650
2611
|
* Get status for async query for task management aggregates
|
|
@@ -2652,7 +2613,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2652
2613
|
* @param {String} jobId jobId
|
|
2653
2614
|
* @param {Object} opts Optional parameters
|
|
2654
2615
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2655
|
-
* getAnalyticsTaskmanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2656
2616
|
*/},{key:"getAnalyticsTaskmanagementAggregatesJob",value:function getAnalyticsTaskmanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2657
2617
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2658
2618
|
* Fetch a page of results for an async task management query
|
|
@@ -2661,7 +2621,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2661
2621
|
* @param {Object} opts Optional parameters
|
|
2662
2622
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2663
2623
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2664
|
-
* getAnalyticsTaskmanagementAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2665
2624
|
*/},{key:"getAnalyticsTaskmanagementAggregatesJobResults",value:function getAnalyticsTaskmanagementAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2666
2625
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2667
2626
|
* Get status for async query for transcript aggregates
|
|
@@ -2669,7 +2628,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2669
2628
|
* @param {String} jobId jobId
|
|
2670
2629
|
* @param {Object} opts Optional parameters
|
|
2671
2630
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2672
|
-
* getAnalyticsTranscriptsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2673
2631
|
*/},{key:"getAnalyticsTranscriptsAggregatesJob",value:function getAnalyticsTranscriptsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2674
2632
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2675
2633
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2678,7 +2636,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2678
2636
|
* @param {Object} opts Optional parameters
|
|
2679
2637
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2680
2638
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2681
|
-
* getAnalyticsTranscriptsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2682
2639
|
*/},{key:"getAnalyticsTranscriptsAggregatesJobResults",value:function getAnalyticsTranscriptsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2683
2640
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2684
2641
|
* Get status for async query for user aggregates
|
|
@@ -2686,7 +2643,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2686
2643
|
* @param {String} jobId jobId
|
|
2687
2644
|
* @param {Object} opts Optional parameters
|
|
2688
2645
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2689
|
-
* getAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2690
2646
|
*/},{key:"getAnalyticsUsersAggregatesJob",value:function getAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2691
2647
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2692
2648
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2695,7 +2651,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2695
2651
|
* @param {Object} opts Optional parameters
|
|
2696
2652
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2697
2653
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2698
|
-
* getAnalyticsUsersAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2699
2654
|
*/},{key:"getAnalyticsUsersAggregatesJobResults",value:function getAnalyticsUsersAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2700
2655
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2701
2656
|
* Get status for async query for user details
|
|
@@ -2731,7 +2686,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2731
2686
|
* @param {Object} body query
|
|
2732
2687
|
* @param {Object} opts Optional parameters
|
|
2733
2688
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2734
|
-
* postAnalyticsActionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2735
2689
|
*/},{key:"postAnalyticsActionsAggregatesJobs",value:function postAnalyticsActionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2736
2690
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2737
2691
|
* Query for action aggregates
|
|
@@ -2792,7 +2746,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2792
2746
|
* @param {Object} body query
|
|
2793
2747
|
* @param {Object} opts Optional parameters
|
|
2794
2748
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2795
|
-
* postAnalyticsBotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2796
2749
|
*/},{key:"postAnalyticsBotsAggregatesJobs",value:function postAnalyticsBotsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2797
2750
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2798
2751
|
* Query for bot aggregates
|
|
@@ -2807,7 +2760,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2807
2760
|
* @param {Object} body query
|
|
2808
2761
|
* @param {Object} opts Optional parameters
|
|
2809
2762
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2810
|
-
* postAnalyticsCasemanagementAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2811
2763
|
*/},{key:"postAnalyticsCasemanagementAggregatesJobs",value:function postAnalyticsCasemanagementAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2812
2764
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2813
2765
|
* Query for case management aggregates
|
|
@@ -2815,7 +2767,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2815
2767
|
* @param {Object} body query
|
|
2816
2768
|
* @param {Object} opts Optional parameters
|
|
2817
2769
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2818
|
-
* postAnalyticsCasemanagementAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2819
2770
|
*/},{key:"postAnalyticsCasemanagementAggregatesQuery",value:function postAnalyticsCasemanagementAggregatesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2820
2771
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2821
2772
|
* Index conversation properties
|
|
@@ -2841,7 +2792,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2841
2792
|
* @param {Object} body query
|
|
2842
2793
|
* @param {Object} opts Optional parameters
|
|
2843
2794
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2844
|
-
* postAnalyticsConversationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2845
2795
|
*/},{key:"postAnalyticsConversationsAggregatesJobs",value:function postAnalyticsConversationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2846
2796
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2847
2797
|
* Query for conversation aggregates
|
|
@@ -2894,7 +2844,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2894
2844
|
* @param {Object} body query
|
|
2895
2845
|
* @param {Object} opts Optional parameters
|
|
2896
2846
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2897
|
-
* postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2898
2847
|
*/},{key:"postAnalyticsEvaluationsAggregatesJobs",value:function postAnalyticsEvaluationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2899
2848
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2900
2849
|
* Query for evaluation aggregates
|
|
@@ -2909,7 +2858,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2909
2858
|
* @param {Object} body query
|
|
2910
2859
|
* @param {Object} opts Optional parameters
|
|
2911
2860
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2912
|
-
* postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2913
2861
|
*/},{key:"postAnalyticsFlowexecutionsAggregatesJobs",value:function postAnalyticsFlowexecutionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2914
2862
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2915
2863
|
* Query for flow execution aggregates
|
|
@@ -2933,7 +2881,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2933
2881
|
* @param {Object} body query
|
|
2934
2882
|
* @param {Object} opts Optional parameters
|
|
2935
2883
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2936
|
-
* postAnalyticsFlowsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2937
2884
|
*/},{key:"postAnalyticsFlowsAggregatesJobs",value:function postAnalyticsFlowsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2938
2885
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2939
2886
|
* Query for flow aggregates
|
|
@@ -2955,7 +2902,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2955
2902
|
* @param {Object} body query
|
|
2956
2903
|
* @param {Object} opts Optional parameters
|
|
2957
2904
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2958
|
-
* postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2959
2905
|
*/},{key:"postAnalyticsJourneysAggregatesJobs",value:function postAnalyticsJourneysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2960
2906
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2961
2907
|
* Query for journey aggregates
|
|
@@ -2970,7 +2916,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2970
2916
|
* @param {Object} body query
|
|
2971
2917
|
* @param {Object} opts Optional parameters
|
|
2972
2918
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2973
|
-
* postAnalyticsKnowledgeAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2974
2919
|
*/},{key:"postAnalyticsKnowledgeAggregatesJobs",value:function postAnalyticsKnowledgeAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2975
2920
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2976
2921
|
* Query for knowledge aggregates
|
|
@@ -3027,7 +2972,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3027
2972
|
* @param {Object} body query
|
|
3028
2973
|
* @param {Object} opts Optional parameters
|
|
3029
2974
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3030
|
-
* postAnalyticsResolutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3031
2975
|
*/},{key:"postAnalyticsResolutionsAggregatesJobs",value:function postAnalyticsResolutionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3032
2976
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3033
2977
|
* Query for resolution aggregates
|
|
@@ -3051,7 +2995,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3051
2995
|
* @param {Object} body query
|
|
3052
2996
|
* @param {Object} opts Optional parameters
|
|
3053
2997
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3054
|
-
* postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3055
2998
|
*/},{key:"postAnalyticsSummariesAggregatesJobs",value:function postAnalyticsSummariesAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3056
2999
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3057
3000
|
* Query for summary aggregates
|
|
@@ -3066,7 +3009,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3066
3009
|
* @param {Object} body query
|
|
3067
3010
|
* @param {Object} opts Optional parameters
|
|
3068
3011
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3069
|
-
* postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3070
3012
|
*/},{key:"postAnalyticsSurveysAggregatesJobs",value:function postAnalyticsSurveysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3071
3013
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3072
3014
|
* Query for survey aggregates
|
|
@@ -3081,7 +3023,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3081
3023
|
* @param {Object} body query
|
|
3082
3024
|
* @param {Object} opts Optional parameters
|
|
3083
3025
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3084
|
-
* postAnalyticsTaskmanagementAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3085
3026
|
*/},{key:"postAnalyticsTaskmanagementAggregatesJobs",value:function postAnalyticsTaskmanagementAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3086
3027
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3087
3028
|
* Query for task management aggregates
|
|
@@ -3114,7 +3055,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3114
3055
|
* @param {Object} body query
|
|
3115
3056
|
* @param {Object} opts Optional parameters
|
|
3116
3057
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3117
|
-
* postAnalyticsTranscriptsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3118
3058
|
*/},{key:"postAnalyticsTranscriptsAggregatesJobs",value:function postAnalyticsTranscriptsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3119
3059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3120
3060
|
* Query for transcript aggregates
|
|
@@ -3138,7 +3078,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3138
3078
|
* @param {Object} body query
|
|
3139
3079
|
* @param {Object} opts Optional parameters
|
|
3140
3080
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3141
|
-
* postAnalyticsUsersAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3142
3081
|
*/},{key:"postAnalyticsUsersAggregatesJobs",value:function postAnalyticsUsersAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3143
3082
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3144
3083
|
* Query for user aggregates
|
|
@@ -3178,7 +3117,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3178
3117
|
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'],opts['customHeaders']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
3179
3118
|
* Architect service.
|
|
3180
3119
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3181
|
-
* @version
|
|
3120
|
+
* @version 254.0.0
|
|
3182
3121
|
*//**
|
|
3183
3122
|
* Constructs a new ArchitectApi.
|
|
3184
3123
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -4548,7 +4487,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
4548
4487
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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'],opts['customHeaders']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
4549
4488
|
* AssistantCopilotVariations service.
|
|
4550
4489
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
4551
|
-
* @version
|
|
4490
|
+
* @version 254.0.0
|
|
4552
4491
|
*//**
|
|
4553
4492
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
4554
4493
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -4603,7 +4542,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
4603
4542
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
4604
4543
|
* Audit service.
|
|
4605
4544
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
4606
|
-
* @version
|
|
4545
|
+
* @version 254.0.0
|
|
4607
4546
|
*//**
|
|
4608
4547
|
* Constructs a new AuditApi.
|
|
4609
4548
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -4664,7 +4603,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4664
4603
|
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'],opts['customHeaders']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
4665
4604
|
* Authorization service.
|
|
4666
4605
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
4667
|
-
* @version
|
|
4606
|
+
* @version 254.0.0
|
|
4668
4607
|
*//**
|
|
4669
4608
|
* Constructs a new AuthorizationApi.
|
|
4670
4609
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -5182,7 +5121,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
5182
5121
|
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'],opts['customHeaders']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
5183
5122
|
* BackgroundAssistant service.
|
|
5184
5123
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
5185
|
-
* @version
|
|
5124
|
+
* @version 254.0.0
|
|
5186
5125
|
*//**
|
|
5187
5126
|
* Constructs a new BackgroundAssistantApi.
|
|
5188
5127
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -5205,7 +5144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5205
5144
|
*/},{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'],opts['customHeaders']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
5206
5145
|
* Billing service.
|
|
5207
5146
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
5208
|
-
* @version
|
|
5147
|
+
* @version 254.0.0
|
|
5209
5148
|
*//**
|
|
5210
5149
|
* Constructs a new BillingApi.
|
|
5211
5150
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -5294,7 +5233,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
5294
5233
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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'],opts['customHeaders']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
5295
5234
|
* BusinessRules service.
|
|
5296
5235
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
5297
|
-
* @version
|
|
5236
|
+
* @version 254.0.0
|
|
5298
5237
|
*//**
|
|
5299
5238
|
* Constructs a new BusinessRulesApi.
|
|
5300
5239
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -5310,6 +5249,24 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
5310
5249
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5311
5250
|
*/return _createClass(BusinessRulesApi,[{key:"deleteBusinessrulesDecisiontable",value:function deleteBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5312
5251
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','DELETE',{'tableId':tableId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5252
|
+
* Delete an export job for a decision table
|
|
5253
|
+
*
|
|
5254
|
+
* @param {String} tableId Table ID
|
|
5255
|
+
* @param {String} exportJobId Export Job ID
|
|
5256
|
+
* @param {Object} opts Optional parameters
|
|
5257
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5258
|
+
*/},{key:"deleteBusinessrulesDecisiontableExport",value:function deleteBusinessrulesDecisiontableExport(tableId,exportJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5259
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableExport';}// verify the required parameter 'exportJobId' is set
|
|
5260
|
+
if(exportJobId===undefined||exportJobId===null||exportJobId===''){throw'Missing the required parameter "exportJobId" when calling deleteBusinessrulesDecisiontableExport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}','DELETE',{'tableId':tableId,'exportJobId':exportJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5261
|
+
* Delete decision table row import job
|
|
5262
|
+
*
|
|
5263
|
+
* @param {String} tableId Table ID
|
|
5264
|
+
* @param {String} importJobId Import job ID
|
|
5265
|
+
* @param {Object} opts Optional parameters
|
|
5266
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5267
|
+
*/},{key:"deleteBusinessrulesDecisiontableImport",value:function deleteBusinessrulesDecisiontableImport(tableId,importJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5268
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5269
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling deleteBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','DELETE',{'tableId':tableId,'importJobId':importJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5313
5270
|
* Delete a decision table version
|
|
5314
5271
|
*
|
|
5315
5272
|
* @param {String} tableId Table ID
|
|
@@ -5344,6 +5301,42 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
5344
5301
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5345
5302
|
*/},{key:"getBusinessrulesDecisiontable",value:function getBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5346
5303
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','GET',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5304
|
+
* Get an export job for a decision table
|
|
5305
|
+
*
|
|
5306
|
+
* @param {String} tableId Table ID
|
|
5307
|
+
* @param {String} exportJobId Export Job ID
|
|
5308
|
+
* @param {Object} opts Optional parameters
|
|
5309
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5310
|
+
*/},{key:"getBusinessrulesDecisiontableExport",value:function getBusinessrulesDecisiontableExport(tableId,exportJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5311
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExport';}// verify the required parameter 'exportJobId' is set
|
|
5312
|
+
if(exportJobId===undefined||exportJobId===null||exportJobId===''){throw'Missing the required parameter "exportJobId" when calling getBusinessrulesDecisiontableExport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}','GET',{'tableId':tableId,'exportJobId':exportJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5313
|
+
* List export jobs for a decision table
|
|
5314
|
+
*
|
|
5315
|
+
* @param {String} tableId Table ID
|
|
5316
|
+
* @param {Object} opts Optional parameters
|
|
5317
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5318
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
5319
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5320
|
+
*/},{key:"getBusinessrulesDecisiontableExports",value:function getBusinessrulesDecisiontableExports(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5321
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5322
|
+
* Get decision table row import job
|
|
5323
|
+
*
|
|
5324
|
+
* @param {String} tableId Table ID
|
|
5325
|
+
* @param {String} importJobId Import job ID
|
|
5326
|
+
* @param {Object} opts Optional parameters
|
|
5327
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5328
|
+
*/},{key:"getBusinessrulesDecisiontableImport",value:function getBusinessrulesDecisiontableImport(tableId,importJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5329
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5330
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling getBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','GET',{'tableId':tableId,'importJobId':importJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5331
|
+
* List decision table row import jobs
|
|
5332
|
+
*
|
|
5333
|
+
* @param {String} tableId Table ID
|
|
5334
|
+
* @param {Object} opts Optional parameters
|
|
5335
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5336
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
5337
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5338
|
+
*/},{key:"getBusinessrulesDecisiontableImports",value:function getBusinessrulesDecisiontableImports(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5339
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5347
5340
|
* Get a decision table version
|
|
5348
5341
|
*
|
|
5349
5342
|
* @param {String} tableId Table ID
|
|
@@ -5438,6 +5431,17 @@ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missi
|
|
|
5438
5431
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5439
5432
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';}// verify the required parameter 'body' is set
|
|
5440
5433
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','PATCH',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5434
|
+
* Update decision table row import job
|
|
5435
|
+
*
|
|
5436
|
+
* @param {String} tableId Table ID
|
|
5437
|
+
* @param {String} importJobId Import job ID
|
|
5438
|
+
* @param {Object} body Import job update request
|
|
5439
|
+
* @param {Object} opts Optional parameters
|
|
5440
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5441
|
+
*/},{key:"patchBusinessrulesDecisiontableImport",value:function patchBusinessrulesDecisiontableImport(tableId,importJobId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5442
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5443
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling patchBusinessrulesDecisiontableImport';}// verify the required parameter 'body' is set
|
|
5444
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','PATCH',{'tableId':tableId,'importJobId':importJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5441
5445
|
* Update a decision table version
|
|
5442
5446
|
*
|
|
5443
5447
|
* @param {String} tableId Table ID
|
|
@@ -5458,6 +5462,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5458
5462
|
*/},{key:"postBusinessrulesDecisiontableExecute",value:function postBusinessrulesDecisiontableExecute(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5459
5463
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';}// verify the required parameter 'body' is set
|
|
5460
5464
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/execute','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5465
|
+
* Create an export job for a decision table version
|
|
5466
|
+
*
|
|
5467
|
+
* @param {String} tableId Table ID
|
|
5468
|
+
* @param {Object} body Export job request
|
|
5469
|
+
* @param {Object} opts Optional parameters
|
|
5470
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5471
|
+
*/},{key:"postBusinessrulesDecisiontableExports",value:function postBusinessrulesDecisiontableExports(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5472
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExports';}// verify the required parameter 'body' is set
|
|
5473
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5474
|
+
* Create a decision table row import job
|
|
5475
|
+
*
|
|
5476
|
+
* @param {String} tableId Table ID
|
|
5477
|
+
* @param {Object} body Import job create request
|
|
5478
|
+
* @param {Object} opts Optional parameters
|
|
5479
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5480
|
+
*/},{key:"postBusinessrulesDecisiontableImports",value:function postBusinessrulesDecisiontableImports(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5481
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableImports';}// verify the required parameter 'body' is set
|
|
5482
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableImports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5461
5483
|
* Copy a decision table version
|
|
5462
5484
|
*
|
|
5463
5485
|
* @param {String} tableId Table ID
|
|
@@ -5491,6 +5513,39 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5491
5513
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
5492
5514
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'body' is set
|
|
5493
5515
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5516
|
+
* Bulk add decision table rows
|
|
5517
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
5518
|
+
* @param {String} tableId Table ID
|
|
5519
|
+
* @param {Number} tableVersion Table Version
|
|
5520
|
+
* @param {Object} body Bulk add decision table rows request
|
|
5521
|
+
* @param {Object} opts Optional parameters
|
|
5522
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5523
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkAdd",value:function postBusinessrulesDecisiontableVersionRowsBulkAdd(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5524
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}// verify the required parameter 'tableVersion' is set
|
|
5525
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}// verify the required parameter 'body' is set
|
|
5526
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/add','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5527
|
+
* Bulk delete decision table rows
|
|
5528
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
5529
|
+
* @param {String} tableId Table ID
|
|
5530
|
+
* @param {Number} tableVersion Table Version
|
|
5531
|
+
* @param {Object} body
|
|
5532
|
+
* @param {Object} opts Optional parameters
|
|
5533
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5534
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkRemove",value:function postBusinessrulesDecisiontableVersionRowsBulkRemove(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5535
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}// verify the required parameter 'tableVersion' is set
|
|
5536
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}// verify the required parameter 'body' is set
|
|
5537
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/remove','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5538
|
+
* Bulk update decision table rows
|
|
5539
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
5540
|
+
* @param {String} tableId Table ID
|
|
5541
|
+
* @param {Number} tableVersion Table Version
|
|
5542
|
+
* @param {Object} body Bulk update decision table rows request
|
|
5543
|
+
* @param {Object} opts Optional parameters
|
|
5544
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5545
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkUpdate",value:function postBusinessrulesDecisiontableVersionRowsBulkUpdate(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5546
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}// verify the required parameter 'tableVersion' is set
|
|
5547
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}// verify the required parameter 'body' is set
|
|
5548
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/update','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5494
5549
|
* Search for decision table rows
|
|
5495
5550
|
*
|
|
5496
5551
|
* @param {String} tableId Table ID
|
|
@@ -5567,7 +5622,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
5567
5622
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
5568
5623
|
* CarrierServices service.
|
|
5569
5624
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
5570
|
-
* @version
|
|
5625
|
+
* @version 254.0.0
|
|
5571
5626
|
*//**
|
|
5572
5627
|
* Constructs a new CarrierServicesApi.
|
|
5573
5628
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -5590,7 +5645,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
5590
5645
|
*/},{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'],opts['customHeaders']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
|
|
5591
5646
|
* CaseManagement service.
|
|
5592
5647
|
* @module purecloud-platform-client-v2/api/CaseManagementApi
|
|
5593
|
-
* @version
|
|
5648
|
+
* @version 254.0.0
|
|
5594
5649
|
*//**
|
|
5595
5650
|
* Constructs a new CaseManagementApi.
|
|
5596
5651
|
* @alias module:purecloud-platform-client-v2/api/CaseManagementApi
|
|
@@ -5600,167 +5655,160 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
5600
5655
|
*/function CaseManagementApi(apiClient){_classCallCheck(this,CaseManagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
5601
5656
|
* Delete a Case.
|
|
5602
5657
|
*
|
|
5603
|
-
* @param {String} caseId Case
|
|
5658
|
+
* @param {String} caseId Case identifier.
|
|
5604
5659
|
* @param {Object} opts Optional parameters
|
|
5605
5660
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5606
|
-
* deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5607
5661
|
*/return _createClass(CaseManagementApi,[{key:"deleteCasemanagementCase",value:function deleteCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5608
5662
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','DELETE',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5609
5663
|
* Delete a Caseplan.
|
|
5610
5664
|
*
|
|
5611
|
-
* @param {String} caseplanId Caseplan
|
|
5665
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5612
5666
|
* @param {Object} opts Optional parameters
|
|
5613
5667
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5614
|
-
* deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5615
5668
|
*/},{key:"deleteCasemanagementCaseplan",value:function deleteCasemanagementCaseplan(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5616
5669
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','DELETE',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5670
|
+
* Remove a data schema from a draft Caseplan.
|
|
5671
|
+
*
|
|
5672
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5673
|
+
* @param {String} schemaKeyName Schema key (for example default).
|
|
5674
|
+
* @param {Object} opts Optional parameters
|
|
5675
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5676
|
+
*/},{key:"deleteCasemanagementCaseplanDataschema",value:function deleteCasemanagementCaseplanDataschema(caseplanId,schemaKeyName,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5677
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanDataschema';}// verify the required parameter 'schemaKeyName' is set
|
|
5678
|
+
if(schemaKeyName===undefined||schemaKeyName===null||schemaKeyName===''){throw'Missing the required parameter "schemaKeyName" when calling deleteCasemanagementCaseplanDataschema';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}','DELETE',{'caseplanId':caseplanId,'schemaKeyName':schemaKeyName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5617
5679
|
* Get a Case.
|
|
5618
5680
|
*
|
|
5619
|
-
* @param {String} caseId Case
|
|
5681
|
+
* @param {String} caseId Case identifier.
|
|
5620
5682
|
* @param {Object} opts Optional parameters
|
|
5621
|
-
* @param {Object} opts.expands
|
|
5683
|
+
* @param {Object} opts.expands Fields to expand.
|
|
5622
5684
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5623
|
-
* getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5624
5685
|
*/},{key:"getCasemanagementCase",value:function getCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5625
5686
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','GET',{'caseId':caseId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5626
5687
|
* Get a Case Association.
|
|
5627
5688
|
*
|
|
5628
|
-
* @param {String} caseId Case
|
|
5629
|
-
* @param {String} associationId Case
|
|
5689
|
+
* @param {String} caseId Case identifier.
|
|
5690
|
+
* @param {String} associationId Case association identifier.
|
|
5630
5691
|
* @param {Object} opts Optional parameters
|
|
5631
5692
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5632
|
-
* getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5633
5693
|
*/},{key:"getCasemanagementCaseAssociation",value:function getCasemanagementCaseAssociation(caseId,associationId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5634
5694
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';}// verify the required parameter 'associationId' is set
|
|
5635
5695
|
if(associationId===undefined||associationId===null||associationId===''){throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations/{associationId}','GET',{'caseId':caseId,'associationId':associationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5636
|
-
* Get a list of
|
|
5696
|
+
* Get a list of Case associations for the Case.
|
|
5637
5697
|
*
|
|
5638
|
-
* @param {String} caseId Case
|
|
5698
|
+
* @param {String} caseId Case identifier.
|
|
5639
5699
|
* @param {Object} opts Optional parameters
|
|
5640
5700
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5641
5701
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5642
5702
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5643
5703
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5644
|
-
* getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5645
5704
|
*/},{key:"getCasemanagementCaseAssociations",value:function getCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5646
5705
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5647
5706
|
* Get a Stage.
|
|
5648
5707
|
*
|
|
5649
|
-
* @param {String} caseId Case
|
|
5650
|
-
* @param {String} stageId Stage
|
|
5708
|
+
* @param {String} caseId Case identifier.
|
|
5709
|
+
* @param {String} stageId Stage identifier.
|
|
5651
5710
|
* @param {Object} opts Optional parameters
|
|
5652
5711
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5653
|
-
* getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5654
5712
|
*/},{key:"getCasemanagementCaseStage",value:function getCasemanagementCaseStage(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5655
5713
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';}// verify the required parameter 'stageId' is set
|
|
5656
5714
|
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}','GET',{'caseId':caseId,'stageId':stageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5657
5715
|
* Get a Step.
|
|
5658
5716
|
*
|
|
5659
|
-
* @param {String} caseId Case
|
|
5660
|
-
* @param {String} stageId Stage
|
|
5661
|
-
* @param {String} stepId Step
|
|
5717
|
+
* @param {String} caseId Case identifier.
|
|
5718
|
+
* @param {String} stageId Stage identifier.
|
|
5719
|
+
* @param {String} stepId Step identifier.
|
|
5662
5720
|
* @param {Object} opts Optional parameters
|
|
5663
5721
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5664
|
-
* getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5665
5722
|
*/},{key:"getCasemanagementCaseStageStep",value:function getCasemanagementCaseStageStep(caseId,stageId,stepId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5666
5723
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stageId' is set
|
|
5667
5724
|
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stepId' is set
|
|
5668
5725
|
if(stepId===undefined||stepId===null||stepId===''){throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}','GET',{'caseId':caseId,'stageId':stageId,'stepId':stepId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5669
5726
|
* Get a list of Steps.
|
|
5670
5727
|
*
|
|
5671
|
-
* @param {String} caseId Case
|
|
5672
|
-
* @param {String} stageId Stage
|
|
5728
|
+
* @param {String} caseId Case identifier.
|
|
5729
|
+
* @param {String} stageId Stage identifier.
|
|
5673
5730
|
* @param {Object} opts Optional parameters
|
|
5674
5731
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5675
5732
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5676
5733
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5677
5734
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5678
|
-
* getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5679
5735
|
*/},{key:"getCasemanagementCaseStageSteps",value:function getCasemanagementCaseStageSteps(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5680
5736
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';}// verify the required parameter 'stageId' is set
|
|
5681
5737
|
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps','GET',{'caseId':caseId,'stageId':stageId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5682
5738
|
* Get a list of Stages.
|
|
5683
5739
|
*
|
|
5684
|
-
* @param {String} caseId Case
|
|
5740
|
+
* @param {String} caseId Case identifier.
|
|
5685
5741
|
* @param {Object} opts Optional parameters
|
|
5686
5742
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5687
5743
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5688
5744
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5689
5745
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5690
|
-
* getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5691
5746
|
*/},{key:"getCasemanagementCaseStages",value:function getCasemanagementCaseStages(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5692
5747
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5693
5748
|
* Get a Terminate Job for a Case.
|
|
5694
5749
|
*
|
|
5695
|
-
* @param {String} caseId Case
|
|
5696
|
-
* @param {String} jobId Job
|
|
5750
|
+
* @param {String} caseId Case identifier.
|
|
5751
|
+
* @param {String} jobId Terminate Job identifier.
|
|
5697
5752
|
* @param {Object} opts Optional parameters
|
|
5698
5753
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5699
|
-
* getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5700
5754
|
*/},{key:"getCasemanagementCaseTerminateJob",value:function getCasemanagementCaseTerminateJob(caseId,jobId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5701
5755
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';}// verify the required parameter 'jobId' is set
|
|
5702
5756
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}','GET',{'caseId':caseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5703
5757
|
* Get a Caseplan.
|
|
5704
5758
|
*
|
|
5705
|
-
* @param {String} caseplanId Caseplan
|
|
5759
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5706
5760
|
* @param {Object} opts Optional parameters
|
|
5707
5761
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5708
|
-
* getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5709
5762
|
*/},{key:"getCasemanagementCaseplan",value:function getCasemanagementCaseplan(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5710
5763
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','GET',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5711
5764
|
* Get a Caseplan version.
|
|
5712
5765
|
*
|
|
5713
|
-
* @param {String} caseplanId Caseplan
|
|
5714
|
-
* @param {String} versionId
|
|
5766
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5767
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5715
5768
|
* @param {Object} opts Optional parameters
|
|
5716
5769
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5717
|
-
* getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5718
5770
|
*/},{key:"getCasemanagementCaseplanVersion",value:function getCasemanagementCaseplanVersion(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5719
5771
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';}// verify the required parameter 'versionId' is set
|
|
5720
5772
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5721
|
-
* Get the
|
|
5773
|
+
* Get the data schemas for a Caseplan version.
|
|
5722
5774
|
*
|
|
5723
|
-
* @param {String} caseplanId Caseplan
|
|
5724
|
-
* @param {String} versionId
|
|
5775
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5776
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5725
5777
|
* @param {Object} opts Optional parameters
|
|
5726
5778
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5727
|
-
* getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5728
5779
|
*/},{key:"getCasemanagementCaseplanVersionDataschemas",value:function getCasemanagementCaseplanVersionDataschemas(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5729
5780
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';}// verify the required parameter 'versionId' is set
|
|
5730
5781
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5731
5782
|
* Get the intake settings for a Caseplan version.
|
|
5732
5783
|
*
|
|
5733
|
-
* @param {String} caseplanId Caseplan
|
|
5734
|
-
* @param {String} versionId
|
|
5784
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5785
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5735
5786
|
* @param {Object} opts Optional parameters
|
|
5736
5787
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5737
|
-
* getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5738
5788
|
*/},{key:"getCasemanagementCaseplanVersionIntakesettings",value:function getCasemanagementCaseplanVersionIntakesettings(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5739
5789
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';}// verify the required parameter 'versionId' is set
|
|
5740
5790
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5741
5791
|
* Get a Stageplan.
|
|
5742
5792
|
*
|
|
5743
|
-
* @param {String} caseplanId Caseplan
|
|
5744
|
-
* @param {String} versionId
|
|
5745
|
-
* @param {String} stageplanId Stageplan
|
|
5793
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5794
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5795
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5746
5796
|
* @param {Object} opts Optional parameters
|
|
5747
|
-
* @param {Array.<String>} opts.expands
|
|
5797
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5748
5798
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5749
|
-
* getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5750
5799
|
*/},{key:"getCasemanagementCaseplanVersionStageplan",value:function getCasemanagementCaseplanVersionStageplan(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5751
5800
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'versionId' is set
|
|
5752
5801
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'stageplanId' is set
|
|
5753
5802
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5754
5803
|
* Get a Stepplan.
|
|
5755
5804
|
*
|
|
5756
|
-
* @param {String} caseplanId Caseplan
|
|
5757
|
-
* @param {String} versionId
|
|
5758
|
-
* @param {String} stageplanId Stageplan
|
|
5759
|
-
* @param {String} stepplanId Stepplan
|
|
5805
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5806
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5807
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5808
|
+
* @param {String} stepplanId Stepplan identifier.
|
|
5760
5809
|
* @param {Object} opts Optional parameters
|
|
5761
|
-
* @param {Array.<String>} opts.expands
|
|
5810
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5762
5811
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5763
|
-
* getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5764
5812
|
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplan",value:function getCasemanagementCaseplanVersionStageplanStepplan(caseplanId,versionId,stageplanId,stepplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5765
5813
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'versionId' is set
|
|
5766
5814
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
@@ -5768,208 +5816,210 @@ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing
|
|
|
5768
5816
|
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId,'stepplanId':stepplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5769
5817
|
* Get a list of Stepplans.
|
|
5770
5818
|
*
|
|
5771
|
-
* @param {String} caseplanId Caseplan
|
|
5772
|
-
* @param {String} versionId
|
|
5773
|
-
* @param {String} stageplanId Stageplan
|
|
5819
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5820
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5821
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5774
5822
|
* @param {Object} opts Optional parameters
|
|
5775
5823
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5776
5824
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5777
5825
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5778
|
-
* @param {Array.<String>} opts.expands
|
|
5826
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5779
5827
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5780
|
-
* getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5781
5828
|
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplans",value:function getCasemanagementCaseplanVersionStageplanStepplans(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5782
5829
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'versionId' is set
|
|
5783
5830
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'stageplanId' is set
|
|
5784
5831
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5785
5832
|
* Get a list of Stageplans.
|
|
5786
5833
|
*
|
|
5787
|
-
* @param {String} caseplanId Caseplan
|
|
5788
|
-
* @param {String} versionId
|
|
5834
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5835
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5789
5836
|
* @param {Object} opts Optional parameters
|
|
5790
5837
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5791
5838
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5792
5839
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5793
|
-
* @param {Array.<String>} opts.expands
|
|
5840
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5794
5841
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5795
|
-
* getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5796
5842
|
*/},{key:"getCasemanagementCaseplanVersionStageplans",value:function getCasemanagementCaseplanVersionStageplans(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5797
5843
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';}// verify the required parameter 'versionId' is set
|
|
5798
5844
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans','GET',{'caseplanId':caseplanId,'versionId':versionId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5799
5845
|
* Get a list of Caseplans.
|
|
5800
5846
|
*
|
|
5801
5847
|
* @param {Object} opts Optional parameters
|
|
5802
|
-
* @param {String} opts.after
|
|
5803
|
-
* @param {Number} opts.pageSize Number of
|
|
5804
|
-
* @param {String} opts.customerIntentId Filter by
|
|
5805
|
-
* @param {String} opts.divisionIds Filter by
|
|
5848
|
+
* @param {String} opts.after Cursor that points to the end of the previously returned set of Caseplans.
|
|
5849
|
+
* @param {Number} opts.pageSize Number of Caseplans to return. Maximum is 200.
|
|
5850
|
+
* @param {String} opts.customerIntentId Filter by customer intent.
|
|
5851
|
+
* @param {String} opts.divisionIds Filter by divisions.
|
|
5806
5852
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5807
|
-
* getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5808
5853
|
*/},{key:"getCasemanagementCaseplans",value:function getCasemanagementCaseplans(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/caseplans','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'customerIntentId':opts['customerIntentId'],'divisionIds':opts['divisionIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5809
|
-
* Get a list of
|
|
5854
|
+
* Get a list of Cases for an External Contact.
|
|
5810
5855
|
*
|
|
5811
|
-
* @param {String} externalContactId External
|
|
5856
|
+
* @param {String} externalContactId External contact identifier.
|
|
5812
5857
|
* @param {Object} opts Optional parameters
|
|
5813
|
-
* @param {String} opts.after
|
|
5814
|
-
* @param {Number} opts.pageSize Number of
|
|
5815
|
-
* @param {String} opts.divisionIds Filter by
|
|
5816
|
-
* @param {Array.<String>} opts.expands
|
|
5858
|
+
* @param {String} opts.after Cursor pointing to the end of the previously returned page of Cases.
|
|
5859
|
+
* @param {Number} opts.pageSize Number of Cases to return (maximum 200).
|
|
5860
|
+
* @param {String} opts.divisionIds Filter by divisions.
|
|
5861
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5817
5862
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5818
|
-
* getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5819
5863
|
*/},{key:"getCasemanagementCasesExternalcontact",value:function getCasemanagementCasesExternalcontact(externalContactId,opts){opts=opts||{};// verify the required parameter 'externalContactId' is set
|
|
5820
5864
|
if(externalContactId===undefined||externalContactId===null||externalContactId===''){throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';}return this.apiClient.callApi('/api/v2/casemanagement/cases/externalcontacts/{externalContactId}','GET',{'externalContactId':externalContactId},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':opts['divisionIds'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5821
5865
|
* Get a Case by reference.
|
|
5822
5866
|
*
|
|
5823
|
-
* @param {String} referenceId
|
|
5867
|
+
* @param {String} referenceId Case reference.
|
|
5824
5868
|
* @param {Object} opts Optional parameters
|
|
5825
|
-
* @param {Object} opts.expands
|
|
5869
|
+
* @param {Object} opts.expands Fields to expand.
|
|
5826
5870
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5827
|
-
* getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5828
5871
|
*/},{key:"getCasemanagementCasesReference",value:function getCasemanagementCasesReference(referenceId,opts){opts=opts||{};// verify the required parameter 'referenceId' is set
|
|
5829
5872
|
if(referenceId===undefined||referenceId===null||referenceId===''){throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';}return this.apiClient.callApi('/api/v2/casemanagement/cases/references/{referenceId}','GET',{'referenceId':referenceId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5830
|
-
* Update
|
|
5873
|
+
* Update the due date of a Case.
|
|
5831
5874
|
*
|
|
5832
|
-
* @param {String} caseId Case
|
|
5833
|
-
* @param {Object} body
|
|
5875
|
+
* @param {String} caseId Case identifier.
|
|
5876
|
+
* @param {Object} body Due date update.
|
|
5834
5877
|
* @param {Object} opts Optional parameters
|
|
5835
5878
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5836
|
-
* patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5837
5879
|
*/},{key:"patchCasemanagementCaseDatedue",value:function patchCasemanagementCaseDatedue(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5838
5880
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';}// verify the required parameter 'body' is set
|
|
5839
5881
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/datedue','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5840
5882
|
* Update priority of a Case.
|
|
5841
5883
|
*
|
|
5842
|
-
* @param {String} caseId Case
|
|
5843
|
-
* @param {Object} body Priority
|
|
5884
|
+
* @param {String} caseId Case identifier.
|
|
5885
|
+
* @param {Object} body Priority update.
|
|
5844
5886
|
* @param {Object} opts Optional parameters
|
|
5845
5887
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5846
|
-
* patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5847
5888
|
*/},{key:"patchCasemanagementCasePriority",value:function patchCasemanagementCasePriority(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5848
5889
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';}// verify the required parameter 'body' is set
|
|
5849
5890
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/priority','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5850
5891
|
* Update summary of a Case.
|
|
5851
5892
|
*
|
|
5852
|
-
* @param {String} caseId Case
|
|
5853
|
-
* @param {Object} body Summary
|
|
5893
|
+
* @param {String} caseId Case identifier.
|
|
5894
|
+
* @param {Object} body Summary update.
|
|
5854
5895
|
* @param {Object} opts Optional parameters
|
|
5855
5896
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5856
|
-
* patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5857
5897
|
*/},{key:"patchCasemanagementCaseSummary",value:function patchCasemanagementCaseSummary(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5858
5898
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';}// verify the required parameter 'body' is set
|
|
5859
5899
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/summary','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5860
5900
|
* Update the attributes of a Caseplan.
|
|
5861
5901
|
*
|
|
5862
|
-
* @param {String} caseplanId Caseplan
|
|
5863
|
-
* @param {Object} body Caseplan
|
|
5902
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5903
|
+
* @param {Object} body Caseplan update.
|
|
5864
5904
|
* @param {Object} opts Optional parameters
|
|
5865
5905
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5866
|
-
* patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5867
5906
|
*/},{key:"patchCasemanagementCaseplan",value:function patchCasemanagementCaseplan(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5868
5907
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';}// verify the required parameter 'body' is set
|
|
5869
5908
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','PATCH',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5870
5909
|
* Update the attributes of a Stageplan.
|
|
5871
5910
|
*
|
|
5872
|
-
* @param {String} caseplanId Caseplan
|
|
5873
|
-
* @param {String} stageplanId Stageplan
|
|
5874
|
-
* @param {Object} body Stageplan
|
|
5911
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5912
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5913
|
+
* @param {Object} body Stageplan update.
|
|
5875
5914
|
* @param {Object} opts Optional parameters
|
|
5876
5915
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5877
|
-
* patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5878
5916
|
*/},{key:"patchCasemanagementCaseplanStageplan",value:function patchCasemanagementCaseplanStageplan(caseplanId,stageplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5879
5917
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'stageplanId' is set
|
|
5880
5918
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'body' is set
|
|
5881
5919
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5882
5920
|
* Update the attributes of a Stepplan.
|
|
5883
5921
|
*
|
|
5884
|
-
* @param {String} caseplanId Caseplan
|
|
5885
|
-
* @param {String} stageplanId Stageplan
|
|
5886
|
-
* @param {String} stepplanId Stepplan
|
|
5887
|
-
* @param {Object} body Stepplan
|
|
5922
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5923
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5924
|
+
* @param {String} stepplanId Stepplan identifier.
|
|
5925
|
+
* @param {Object} body Stepplan update.
|
|
5888
5926
|
* @param {Object} opts Optional parameters
|
|
5889
5927
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5890
|
-
* patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5891
5928
|
*/},{key:"patchCasemanagementCaseplanStageplanStepplan",value:function patchCasemanagementCaseplanStageplanStepplan(caseplanId,stageplanId,stepplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5892
5929
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
5893
5930
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
5894
5931
|
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'body' is set
|
|
5895
5932
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId,'stepplanId':stepplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5896
|
-
* Create a
|
|
5933
|
+
* Create a Case association.
|
|
5897
5934
|
*
|
|
5898
|
-
* @param {String} caseId Case
|
|
5935
|
+
* @param {String} caseId Case identifier.
|
|
5936
|
+
* @param {Object} body Case association create request.
|
|
5899
5937
|
* @param {Object} opts Optional parameters
|
|
5900
|
-
* @param {Object} opts.body Case Association
|
|
5901
5938
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
if(
|
|
5939
|
+
*/},{key:"postCasemanagementCaseAssociations",value:function postCasemanagementCaseAssociations(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5940
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';}// verify the required parameter 'body' is set
|
|
5941
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','POST',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5905
5942
|
* Create a Terminate Job for a Case.
|
|
5906
5943
|
*
|
|
5907
|
-
* @param {String} caseId Case
|
|
5944
|
+
* @param {String} caseId Case identifier.
|
|
5908
5945
|
* @param {Object} opts Optional parameters
|
|
5909
5946
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5910
|
-
* postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5911
5947
|
*/},{key:"postCasemanagementCaseTerminateJobs",value:function postCasemanagementCaseTerminateJobs(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5912
5948
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs','POST',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5949
|
+
* Add a data schema to a draft Caseplan.
|
|
5950
|
+
*
|
|
5951
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5952
|
+
* @param {Object} body Data schema reference.
|
|
5953
|
+
* @param {Object} opts Optional parameters
|
|
5954
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5955
|
+
*/},{key:"postCasemanagementCaseplanDataschemas",value:function postCasemanagementCaseplanDataschemas(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5956
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanDataschemas';}// verify the required parameter 'body' is set
|
|
5957
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplanDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas','POST',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5913
5958
|
* Publish Caseplan.
|
|
5914
5959
|
*
|
|
5915
|
-
* @param {String} caseplanId Caseplan
|
|
5960
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5916
5961
|
* @param {Object} opts Optional parameters
|
|
5917
5962
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5918
|
-
* postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5919
5963
|
*/},{key:"postCasemanagementCaseplanPublish",value:function postCasemanagementCaseplanPublish(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5920
5964
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/publish','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5921
5965
|
* Create Caseplan version.
|
|
5922
5966
|
*
|
|
5923
|
-
* @param {String} caseplanId Caseplan
|
|
5967
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5924
5968
|
* @param {Object} opts Optional parameters
|
|
5925
5969
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5926
|
-
* postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5927
5970
|
*/},{key:"postCasemanagementCaseplanVersions",value:function postCasemanagementCaseplanVersions(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5928
5971
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5929
5972
|
* Create a Caseplan.
|
|
5930
5973
|
*
|
|
5931
|
-
* @param {Object} body Caseplan
|
|
5974
|
+
* @param {Object} body Caseplan create request.
|
|
5932
5975
|
* @param {Object} opts Optional parameters
|
|
5933
5976
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5934
|
-
* postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5935
5977
|
*/},{key:"postCasemanagementCaseplans",value:function postCasemanagementCaseplans(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5936
5978
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5937
|
-
* Query for
|
|
5979
|
+
* Query for Caseplans.
|
|
5938
5980
|
*
|
|
5939
|
-
* @param {Object} body
|
|
5981
|
+
* @param {Object} body Caseplan query request.
|
|
5940
5982
|
* @param {Object} opts Optional parameters
|
|
5941
5983
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5942
|
-
* postCasemanagementCaseplansQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5943
5984
|
*/},{key:"postCasemanagementCaseplansQuery",value:function postCasemanagementCaseplansQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5944
5985
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplansQuery';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5945
5986
|
* Create a Case.
|
|
5946
5987
|
*
|
|
5947
|
-
* @param {Object} body Case
|
|
5988
|
+
* @param {Object} body Case create request.
|
|
5948
5989
|
* @param {Object} opts Optional parameters
|
|
5949
5990
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5950
|
-
* postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5951
5991
|
*/},{key:"postCasemanagementCases",value:function postCasemanagementCases(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5952
5992
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCases';}return this.apiClient.callApi('/api/v2/casemanagement/cases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5953
|
-
* Query for
|
|
5993
|
+
* Query for Case associations by interaction.
|
|
5994
|
+
*
|
|
5995
|
+
* @param {Object} body Case association query request.
|
|
5996
|
+
* @param {Object} opts Optional parameters
|
|
5997
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5998
|
+
*/},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5999
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCasesAssociationsQuery';}return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6000
|
+
* Update a data schema on a draft Caseplan.
|
|
5954
6001
|
*
|
|
6002
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
6003
|
+
* @param {String} schemaKeyName Schema key (for example default).
|
|
6004
|
+
* @param {Object} body Data schema reference.
|
|
5955
6005
|
* @param {Object} opts Optional parameters
|
|
5956
|
-
* @param {Object} opts.body Case Association
|
|
5957
6006
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5958
|
-
|
|
5959
|
-
|
|
6007
|
+
*/},{key:"putCasemanagementCaseplanDataschema",value:function putCasemanagementCaseplanDataschema(caseplanId,schemaKeyName,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
6008
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanDataschema';}// verify the required parameter 'schemaKeyName' is set
|
|
6009
|
+
if(schemaKeyName===undefined||schemaKeyName===null||schemaKeyName===''){throw'Missing the required parameter "schemaKeyName" when calling putCasemanagementCaseplanDataschema';}// verify the required parameter 'body' is set
|
|
6010
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanDataschema';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}','PUT',{'caseplanId':caseplanId,'schemaKeyName':schemaKeyName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5960
6011
|
* Update the intake settings for a Caseplan.
|
|
5961
6012
|
*
|
|
5962
|
-
* @param {String} caseplanId Caseplan
|
|
5963
|
-
* @param {Object} body Intake
|
|
6013
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
6014
|
+
* @param {Object} body Intake settings update.
|
|
5964
6015
|
* @param {Object} opts Optional parameters
|
|
5965
6016
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5966
|
-
* putCasemanagementCaseplanIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5967
6017
|
*/},{key:"putCasemanagementCaseplanIntakesettings",value:function putCasemanagementCaseplanIntakesettings(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5968
6018
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanIntakesettings';}// verify the required parameter 'body' is set
|
|
5969
6019
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings','PUT',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
5970
6020
|
* Chat service.
|
|
5971
6021
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
5972
|
-
* @version
|
|
6022
|
+
* @version 254.0.0
|
|
5973
6023
|
*//**
|
|
5974
6024
|
* Constructs a new ChatApi.
|
|
5975
6025
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -6264,7 +6314,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6264
6314
|
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'],opts['customHeaders']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
6265
6315
|
* Coaching service.
|
|
6266
6316
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6267
|
-
* @version
|
|
6317
|
+
* @version 254.0.0
|
|
6268
6318
|
*//**
|
|
6269
6319
|
* Constructs a new CoachingApi.
|
|
6270
6320
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -6463,7 +6513,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6463
6513
|
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'],opts['customHeaders']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
6464
6514
|
* ContentManagement service.
|
|
6465
6515
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
6466
|
-
* @version
|
|
6516
|
+
* @version 254.0.0
|
|
6467
6517
|
*//**
|
|
6468
6518
|
* Constructs a new ContentManagementApi.
|
|
6469
6519
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -6795,7 +6845,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
6795
6845
|
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'],opts['customHeaders']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
6796
6846
|
* Conversations service.
|
|
6797
6847
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
6798
|
-
* @version
|
|
6848
|
+
* @version 254.0.0
|
|
6799
6849
|
*//**
|
|
6800
6850
|
* Constructs a new ConversationsApi.
|
|
6801
6851
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6808,7 +6858,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6808
6858
|
* @param {String} jobId jobId
|
|
6809
6859
|
* @param {Object} opts Optional parameters
|
|
6810
6860
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6811
|
-
* deleteAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6812
6861
|
*/return _createClass(ConversationsApi,[{key:"deleteAnalyticsConversationsAggregatesJob",value:function deleteAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6813
6862
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6814
6863
|
* Delete/cancel an async details job
|
|
@@ -6971,7 +7020,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
6971
7020
|
* @param {String} jobId jobId
|
|
6972
7021
|
* @param {Object} opts Optional parameters
|
|
6973
7022
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6974
|
-
* getAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6975
7023
|
*/},{key:"getAnalyticsConversationsAggregatesJob",value:function getAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6976
7024
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6977
7025
|
* Fetch a page of results for an async aggregates query
|
|
@@ -6980,7 +7028,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
6980
7028
|
* @param {Object} opts Optional parameters
|
|
6981
7029
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
6982
7030
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6983
|
-
* getAnalyticsConversationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6984
7031
|
*/},{key:"getAnalyticsConversationsAggregatesJobResults",value:function getAnalyticsConversationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6985
7032
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6986
7033
|
* Gets multiple conversations by id
|
|
@@ -8528,7 +8575,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8528
8575
|
* @param {Object} body query
|
|
8529
8576
|
* @param {Object} opts Optional parameters
|
|
8530
8577
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
8531
|
-
* postAnalyticsConversationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8532
8578
|
*/},{key:"postAnalyticsConversationsAggregatesJobs",value:function postAnalyticsConversationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
8533
8579
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
8534
8580
|
* Query for conversation aggregates
|
|
@@ -9327,7 +9373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9327
9373
|
*/},{key:"postConversationsMessages",value:function postConversationsMessages(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
9328
9374
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessages';}return this.apiClient.callApi('/api/v2/conversations/messages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
9329
9375
|
* Send an agentless outbound message
|
|
9330
|
-
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and
|
|
9376
|
+
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and recipient specified, the useExistingActiveConversation param can be used to barge in to the ongoing conversation.
|
|
9331
9377
|
* @param {Object} body Create agentless outbound messaging request
|
|
9332
9378
|
* @param {Object} opts Optional parameters
|
|
9333
9379
|
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
|
|
@@ -9727,7 +9773,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
9727
9773
|
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'],opts['customHeaders']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
9728
9774
|
* DataExtensions service.
|
|
9729
9775
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
9730
|
-
* @version
|
|
9776
|
+
* @version 254.0.0
|
|
9731
9777
|
*//**
|
|
9732
9778
|
* Constructs a new DataExtensionsApi.
|
|
9733
9779
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -9754,7 +9800,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
9754
9800
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
9755
9801
|
* DataPrivacy service.
|
|
9756
9802
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
9757
|
-
* @version
|
|
9803
|
+
* @version 254.0.0
|
|
9758
9804
|
*//**
|
|
9759
9805
|
* Constructs a new DataPrivacyApi.
|
|
9760
9806
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -9805,7 +9851,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9805
9851
|
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'],opts['customHeaders']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
9806
9852
|
* Downloads service.
|
|
9807
9853
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
9808
|
-
* @version
|
|
9854
|
+
* @version 254.0.0
|
|
9809
9855
|
*//**
|
|
9810
9856
|
* Constructs a new DownloadsApi.
|
|
9811
9857
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -9825,7 +9871,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9825
9871
|
if(downloadId===undefined||downloadId===null||downloadId===''){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'],opts['customHeaders']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
9826
9872
|
* Emails service.
|
|
9827
9873
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
9828
|
-
* @version
|
|
9874
|
+
* @version 254.0.0
|
|
9829
9875
|
*//**
|
|
9830
9876
|
* Constructs a new EmailsApi.
|
|
9831
9877
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -9862,7 +9908,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
9862
9908
|
*/},{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'],opts['customHeaders']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
9863
9909
|
* EmployeeEngagement service.
|
|
9864
9910
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
9865
|
-
* @version
|
|
9911
|
+
* @version 254.0.0
|
|
9866
9912
|
*//**
|
|
9867
9913
|
* Constructs a new EmployeeEngagementApi.
|
|
9868
9914
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -9920,7 +9966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9920
9966
|
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'],opts['customHeaders']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
9921
9967
|
* Events service.
|
|
9922
9968
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
9923
|
-
* @version
|
|
9969
|
+
* @version 254.0.0
|
|
9924
9970
|
*//**
|
|
9925
9971
|
* Constructs a new EventsApi.
|
|
9926
9972
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -9959,7 +10005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9959
10005
|
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'],opts['customHeaders']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
9960
10006
|
* ExternalContacts service.
|
|
9961
10007
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
9962
|
-
* @version
|
|
10008
|
+
* @version 254.0.0
|
|
9963
10009
|
*//**
|
|
9964
10010
|
* Constructs a new ExternalContactsApi.
|
|
9965
10011
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -10921,7 +10967,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
10921
10967
|
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'],opts['customHeaders']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
10922
10968
|
* Fax service.
|
|
10923
10969
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
10924
|
-
* @version
|
|
10970
|
+
* @version 254.0.0
|
|
10925
10971
|
*//**
|
|
10926
10972
|
* Constructs a new FaxApi.
|
|
10927
10973
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -10984,7 +11030,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10984
11030
|
*/},{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'],opts['customHeaders']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
10985
11031
|
* Flows service.
|
|
10986
11032
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
10987
|
-
* @version
|
|
11033
|
+
* @version 254.0.0
|
|
10988
11034
|
*//**
|
|
10989
11035
|
* Constructs a new FlowsApi.
|
|
10990
11036
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -10997,7 +11043,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10997
11043
|
* @param {String} jobId jobId
|
|
10998
11044
|
* @param {Object} opts Optional parameters
|
|
10999
11045
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11000
|
-
* deleteAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11001
11046
|
*/return _createClass(FlowsApi,[{key:"deleteAnalyticsFlowsAggregatesJob",value:function deleteAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11002
11047
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11003
11048
|
* Get status for async query for Flow aggregates
|
|
@@ -11005,7 +11050,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
11005
11050
|
* @param {String} jobId jobId
|
|
11006
11051
|
* @param {Object} opts Optional parameters
|
|
11007
11052
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11008
|
-
* getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11009
11053
|
*/},{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11010
11054
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11011
11055
|
* Fetch a page of results for an async aggregates query
|
|
@@ -11014,7 +11058,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
11014
11058
|
* @param {Object} opts Optional parameters
|
|
11015
11059
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
11016
11060
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11017
|
-
* getAnalyticsFlowsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11018
11061
|
*/},{key:"getAnalyticsFlowsAggregatesJobResults",value:function getAnalyticsFlowsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11019
11062
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11020
11063
|
* Query for flow activity observations
|
|
@@ -11031,7 +11074,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11031
11074
|
* @param {Object} body query
|
|
11032
11075
|
* @param {Object} opts Optional parameters
|
|
11033
11076
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11034
|
-
* postAnalyticsFlowsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11035
11077
|
*/},{key:"postAnalyticsFlowsAggregatesJobs",value:function postAnalyticsFlowsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
11036
11078
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11037
11079
|
* Query for flow aggregates
|
|
@@ -11050,7 +11092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11050
11092
|
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'],opts['customHeaders']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11051
11093
|
* Gamification service.
|
|
11052
11094
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11053
|
-
* @version
|
|
11095
|
+
* @version 254.0.0
|
|
11054
11096
|
*//**
|
|
11055
11097
|
* Constructs a new GamificationApi.
|
|
11056
11098
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11845,7 +11887,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11845
11887
|
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'],opts['customHeaders']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11846
11888
|
* GeneralDataProtectionRegulation service.
|
|
11847
11889
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11848
|
-
* @version
|
|
11890
|
+
* @version 254.0.0
|
|
11849
11891
|
*//**
|
|
11850
11892
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11851
11893
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -11886,7 +11928,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
11886
11928
|
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'],opts['customHeaders']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
11887
11929
|
* Geolocation service.
|
|
11888
11930
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
11889
|
-
* @version
|
|
11931
|
+
* @version 254.0.0
|
|
11890
11932
|
*//**
|
|
11891
11933
|
* Constructs a new GeolocationApi.
|
|
11892
11934
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -11928,7 +11970,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
11928
11970
|
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'],opts['customHeaders']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
11929
11971
|
* Greetings service.
|
|
11930
11972
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
11931
|
-
* @version
|
|
11973
|
+
* @version 254.0.0
|
|
11932
11974
|
*//**
|
|
11933
11975
|
* Constructs a new GreetingsApi.
|
|
11934
11976
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12087,7 +12129,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12087
12129
|
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'],opts['customHeaders']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12088
12130
|
* Groups service.
|
|
12089
12131
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12090
|
-
* @version
|
|
12132
|
+
* @version 254.0.0
|
|
12091
12133
|
*//**
|
|
12092
12134
|
* Constructs a new GroupsApi.
|
|
12093
12135
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12250,7 +12292,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
12250
12292
|
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'],opts['customHeaders']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12251
12293
|
* IdentityProvider service.
|
|
12252
12294
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12253
|
-
* @version
|
|
12295
|
+
* @version 254.0.0
|
|
12254
12296
|
*//**
|
|
12255
12297
|
* Constructs a new IdentityProviderApi.
|
|
12256
12298
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12482,7 +12524,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12482
12524
|
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'],opts['customHeaders']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12483
12525
|
* InfrastructureAsCode service.
|
|
12484
12526
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12485
|
-
* @version
|
|
12527
|
+
* @version 254.0.0
|
|
12486
12528
|
*//**
|
|
12487
12529
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12488
12530
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12542,7 +12584,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
12542
12584
|
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'],opts['customHeaders']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12543
12585
|
* Integrations service.
|
|
12544
12586
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12545
|
-
* @version
|
|
12587
|
+
* @version 254.0.0
|
|
12546
12588
|
*//**
|
|
12547
12589
|
* Constructs a new IntegrationsApi.
|
|
12548
12590
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13372,7 +13414,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
13372
13414
|
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'],opts['customHeaders']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
13373
13415
|
* Intents service.
|
|
13374
13416
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
13375
|
-
* @version
|
|
13417
|
+
* @version 254.0.0
|
|
13376
13418
|
*//**
|
|
13377
13419
|
* Constructs a new IntentsApi.
|
|
13378
13420
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -13516,7 +13558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13516
13558
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13517
13559
|
* Journey service.
|
|
13518
13560
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13519
|
-
* @version
|
|
13561
|
+
* @version 254.0.0
|
|
13520
13562
|
*//**
|
|
13521
13563
|
* Constructs a new JourneyApi.
|
|
13522
13564
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13529,7 +13571,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13529
13571
|
* @param {String} jobId jobId
|
|
13530
13572
|
* @param {Object} opts Optional parameters
|
|
13531
13573
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13532
|
-
* deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13533
13574
|
*/return _createClass(JourneyApi,[{key:"deleteAnalyticsJourneysAggregatesJob",value:function deleteAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13534
13575
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13535
13576
|
* Delete single action map.
|
|
@@ -13603,7 +13644,6 @@ if(viewId===undefined||viewId===null||viewId===''){throw'Missing the required pa
|
|
|
13603
13644
|
* @param {String} jobId jobId
|
|
13604
13645
|
* @param {Object} opts Optional parameters
|
|
13605
13646
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13606
|
-
* getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13607
13647
|
*/},{key:"getAnalyticsJourneysAggregatesJob",value:function getAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13608
13648
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13609
13649
|
* Fetch a page of results for an async aggregates query
|
|
@@ -13612,7 +13652,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
13612
13652
|
* @param {Object} opts Optional parameters
|
|
13613
13653
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
13614
13654
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13615
|
-
* getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13616
13655
|
*/},{key:"getAnalyticsJourneysAggregatesJobResults",value:function getAnalyticsJourneysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13617
13656
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13618
13657
|
* Retrieve segment assignments by external contact ID.
|
|
@@ -14095,7 +14134,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14095
14134
|
* @param {Object} body query
|
|
14096
14135
|
* @param {Object} opts Optional parameters
|
|
14097
14136
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
14098
|
-
* postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14099
14137
|
*/},{key:"postAnalyticsJourneysAggregatesJobs",value:function postAnalyticsJourneysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
14100
14138
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
14101
14139
|
* Query for journey aggregates
|
|
@@ -14300,7 +14338,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
14300
14338
|
if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===''){throw'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinitionActivate';}return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions/{eventDefinitionId}/activate','PUT',{'eventDefinitionId':eventDefinitionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14301
14339
|
* Knowledge service.
|
|
14302
14340
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14303
|
-
* @version
|
|
14341
|
+
* @version 254.0.0
|
|
14304
14342
|
*//**
|
|
14305
14343
|
* Constructs a new KnowledgeApi.
|
|
14306
14344
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15495,7 +15533,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
15495
15533
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15496
15534
|
* LanguageUnderstanding service.
|
|
15497
15535
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15498
|
-
* @version
|
|
15536
|
+
* @version 254.0.0
|
|
15499
15537
|
*//**
|
|
15500
15538
|
* Constructs a new LanguageUnderstandingApi.
|
|
15501
15539
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15869,7 +15907,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
15869
15907
|
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'],opts['customHeaders']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
15870
15908
|
* Languages service.
|
|
15871
15909
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15872
|
-
* @version
|
|
15910
|
+
* @version 254.0.0
|
|
15873
15911
|
*//**
|
|
15874
15912
|
* Constructs a new LanguagesApi.
|
|
15875
15913
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15939,7 +15977,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15939
15977
|
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'],opts['customHeaders']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
15940
15978
|
* Learning service.
|
|
15941
15979
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15942
|
-
* @version
|
|
15980
|
+
* @version 254.0.0
|
|
15943
15981
|
*//**
|
|
15944
15982
|
* Constructs a new LearningApi.
|
|
15945
15983
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16287,7 +16325,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
16287
16325
|
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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16288
16326
|
* License service.
|
|
16289
16327
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16290
|
-
* @version
|
|
16328
|
+
* @version 254.0.0
|
|
16291
16329
|
*//**
|
|
16292
16330
|
* Constructs a new LicenseApi.
|
|
16293
16331
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16362,7 +16400,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
16362
16400
|
*/},{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'],opts['customHeaders']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16363
16401
|
* Locations service.
|
|
16364
16402
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16365
|
-
* @version
|
|
16403
|
+
* @version 254.0.0
|
|
16366
16404
|
*//**
|
|
16367
16405
|
* Constructs a new LocationsApi.
|
|
16368
16406
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16434,7 +16472,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16434
16472
|
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'],opts['customHeaders']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16435
16473
|
* LogCapture service.
|
|
16436
16474
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16437
|
-
* @version
|
|
16475
|
+
* @version 254.0.0
|
|
16438
16476
|
*//**
|
|
16439
16477
|
* Constructs a new LogCaptureApi.
|
|
16440
16478
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16493,7 +16531,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16493
16531
|
if(userId===undefined||userId===null||userId===''){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'],opts['customHeaders']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16494
16532
|
* Messaging service.
|
|
16495
16533
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16496
|
-
* @version
|
|
16534
|
+
* @version 254.0.0
|
|
16497
16535
|
*//**
|
|
16498
16536
|
* Constructs a new MessagingApi.
|
|
16499
16537
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16607,7 +16645,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16607
16645
|
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'],opts['customHeaders']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16608
16646
|
* MobileDevices service.
|
|
16609
16647
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16610
|
-
* @version
|
|
16648
|
+
* @version 254.0.0
|
|
16611
16649
|
*//**
|
|
16612
16650
|
* Constructs a new MobileDevicesApi.
|
|
16613
16651
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16654,7 +16692,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16654
16692
|
if(deviceId===undefined||deviceId===null||deviceId===''){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'],opts['customHeaders']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16655
16693
|
* Notifications service.
|
|
16656
16694
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16657
|
-
* @version
|
|
16695
|
+
* @version 254.0.0
|
|
16658
16696
|
*//**
|
|
16659
16697
|
* Constructs a new NotificationsApi.
|
|
16660
16698
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16723,7 +16761,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
16723
16761
|
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'],opts['customHeaders']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16724
16762
|
* OAuth service.
|
|
16725
16763
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16726
|
-
* @version
|
|
16764
|
+
* @version 254.0.0
|
|
16727
16765
|
*//**
|
|
16728
16766
|
* Constructs a new OAuthApi.
|
|
16729
16767
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16829,7 +16867,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
16829
16867
|
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'],opts['customHeaders']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16830
16868
|
* Objects service.
|
|
16831
16869
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16832
|
-
* @version
|
|
16870
|
+
* @version 254.0.0
|
|
16833
16871
|
*//**
|
|
16834
16872
|
* Constructs a new ObjectsApi.
|
|
16835
16873
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16932,7 +16970,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
16932
16970
|
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'],opts['customHeaders']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
16933
16971
|
* OperationalEvents service.
|
|
16934
16972
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16935
|
-
* @version
|
|
16973
|
+
* @version 254.0.0
|
|
16936
16974
|
*//**
|
|
16937
16975
|
* Constructs a new OperationalEventsApi.
|
|
16938
16976
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16969,7 +17007,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
16969
17007
|
*/},{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'],opts['customHeaders']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16970
17008
|
* Organization service.
|
|
16971
17009
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16972
|
-
* @version
|
|
17010
|
+
* @version 254.0.0
|
|
16973
17011
|
*//**
|
|
16974
17012
|
* Constructs a new OrganizationApi.
|
|
16975
17013
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17109,7 +17147,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17109
17147
|
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'],opts['customHeaders']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
17110
17148
|
* OrganizationAuthorization service.
|
|
17111
17149
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17112
|
-
* @version
|
|
17150
|
+
* @version 254.0.0
|
|
17113
17151
|
*//**
|
|
17114
17152
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17115
17153
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17529,7 +17567,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
17529
17567
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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'],opts['customHeaders']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17530
17568
|
* Outbound service.
|
|
17531
17569
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17532
|
-
* @version
|
|
17570
|
+
* @version 254.0.0
|
|
17533
17571
|
*//**
|
|
17534
17572
|
* Constructs a new OutboundApi.
|
|
17535
17573
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19015,7 +19053,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19015
19053
|
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'],opts['customHeaders']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
19016
19054
|
* Presence service.
|
|
19017
19055
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19018
|
-
* @version
|
|
19056
|
+
* @version 254.0.0
|
|
19019
19057
|
*//**
|
|
19020
19058
|
* Constructs a new PresenceApi.
|
|
19021
19059
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19235,7 +19273,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19235
19273
|
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'],opts['customHeaders']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
19236
19274
|
* ProcessAutomation service.
|
|
19237
19275
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19238
|
-
* @version
|
|
19276
|
+
* @version 254.0.0
|
|
19239
19277
|
*//**
|
|
19240
19278
|
* Constructs a new ProcessAutomationApi.
|
|
19241
19279
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19349,7 +19387,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19349
19387
|
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'],opts['customHeaders']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
19350
19388
|
* Quality service.
|
|
19351
19389
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19352
|
-
* @version
|
|
19390
|
+
* @version 254.0.0
|
|
19353
19391
|
*//**
|
|
19354
19392
|
* Constructs a new QualityApi.
|
|
19355
19393
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19362,7 +19400,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19362
19400
|
* @param {String} jobId jobId
|
|
19363
19401
|
* @param {Object} opts Optional parameters
|
|
19364
19402
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19365
|
-
* deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19366
19403
|
*/return _createClass(QualityApi,[{key:"deleteAnalyticsEvaluationsAggregatesJob",value:function deleteAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19367
19404
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19368
19405
|
* Delete/cancel an async request for survey aggregates
|
|
@@ -19370,7 +19407,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19370
19407
|
* @param {String} jobId jobId
|
|
19371
19408
|
* @param {Object} opts Optional parameters
|
|
19372
19409
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19373
|
-
* deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19374
19410
|
*/},{key:"deleteAnalyticsSurveysAggregatesJob",value:function deleteAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19375
19411
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19376
19412
|
* Delete a calibration by id.
|
|
@@ -19428,7 +19464,6 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
19428
19464
|
* @param {String} jobId jobId
|
|
19429
19465
|
* @param {Object} opts Optional parameters
|
|
19430
19466
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19431
|
-
* getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19432
19467
|
*/},{key:"getAnalyticsEvaluationsAggregatesJob",value:function getAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19433
19468
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19434
19469
|
* Fetch a page of results for an async aggregates query
|
|
@@ -19437,7 +19472,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19437
19472
|
* @param {Object} opts Optional parameters
|
|
19438
19473
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
19439
19474
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19440
|
-
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19441
19475
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19442
19476
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19443
19477
|
* Get status for async query for survey aggregates
|
|
@@ -19445,7 +19479,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19445
19479
|
* @param {String} jobId jobId
|
|
19446
19480
|
* @param {Object} opts Optional parameters
|
|
19447
19481
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19448
|
-
* getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19449
19482
|
*/},{key:"getAnalyticsSurveysAggregatesJob",value:function getAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19450
19483
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19451
19484
|
* Fetch a page of results for an async aggregates query
|
|
@@ -19454,7 +19487,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19454
19487
|
* @param {Object} opts Optional parameters
|
|
19455
19488
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
19456
19489
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19457
|
-
* getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19458
19490
|
*/},{key:"getAnalyticsSurveysAggregatesJobResults",value:function getAnalyticsSurveysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19459
19491
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19460
19492
|
* Gets a list of Agent Activities
|
|
@@ -19794,7 +19826,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19794
19826
|
* @param {Object} body query
|
|
19795
19827
|
* @param {Object} opts Optional parameters
|
|
19796
19828
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19797
|
-
* postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19798
19829
|
*/},{key:"postAnalyticsEvaluationsAggregatesJobs",value:function postAnalyticsEvaluationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
19799
19830
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19800
19831
|
* Query for evaluation aggregates
|
|
@@ -19809,7 +19840,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19809
19840
|
* @param {Object} body query
|
|
19810
19841
|
* @param {Object} opts Optional parameters
|
|
19811
19842
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19812
|
-
* postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19813
19843
|
*/},{key:"postAnalyticsSurveysAggregatesJobs",value:function postAnalyticsSurveysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
19814
19844
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19815
19845
|
* Query for survey aggregates
|
|
@@ -20013,7 +20043,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20013
20043
|
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'],opts['customHeaders']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
20014
20044
|
* Recording service.
|
|
20015
20045
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20016
|
-
* @version
|
|
20046
|
+
* @version 254.0.0
|
|
20017
20047
|
*//**
|
|
20018
20048
|
* Constructs a new RecordingApi.
|
|
20019
20049
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20512,7 +20542,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20512
20542
|
*/},{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'],opts['customHeaders']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
20513
20543
|
* ResponseManagement service.
|
|
20514
20544
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20515
|
-
* @version
|
|
20545
|
+
* @version 254.0.0
|
|
20516
20546
|
*//**
|
|
20517
20547
|
* Constructs a new ResponseManagementApi.
|
|
20518
20548
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20679,7 +20709,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20679
20709
|
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'],opts['customHeaders']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
20680
20710
|
* Routing service.
|
|
20681
20711
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20682
|
-
* @version
|
|
20712
|
+
* @version 254.0.0
|
|
20683
20713
|
*//**
|
|
20684
20714
|
* Constructs a new RoutingApi.
|
|
20685
20715
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20722,6 +20752,13 @@ if(routeId===undefined||routeId===null||routeId===''){throw'Missing the required
|
|
|
20722
20752
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
20723
20753
|
*/},{key:"deleteRoutingEmailOutboundDomain",value:function deleteRoutingEmailOutboundDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
20724
20754
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','DELETE',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
20755
|
+
* Delete an email setting. Removes the email setting and its associated settings
|
|
20756
|
+
*
|
|
20757
|
+
* @param {String} emailSettingId Email Setting ID
|
|
20758
|
+
* @param {Object} opts Optional parameters
|
|
20759
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
20760
|
+
*/},{key:"deleteRoutingEmailSettingEmailSettingId",value:function deleteRoutingEmailSettingEmailSettingId(emailSettingId,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
20761
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling deleteRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','DELETE',{'emailSettingId':emailSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
20725
20762
|
* Delete a routing language
|
|
20726
20763
|
*
|
|
20727
20764
|
* @param {String} languageId Language ID
|
|
@@ -21011,6 +21048,20 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
|
|
|
21011
21048
|
* @param {Object} opts.expand Expand options. Valid values: settings
|
|
21012
21049
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21013
21050
|
*/},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21051
|
+
* Get a paged list of email routing settings.
|
|
21052
|
+
*
|
|
21053
|
+
* @param {Object} opts Optional parameters
|
|
21054
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21055
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21056
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21057
|
+
*/},{key:"getRoutingEmailSetting",value:function getRoutingEmailSetting(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/setting','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21058
|
+
* Get email setting. Returns the specified email setting that defines settings for email
|
|
21059
|
+
*
|
|
21060
|
+
* @param {String} emailSettingId Email Setting ID
|
|
21061
|
+
* @param {Object} opts Optional parameters
|
|
21062
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21063
|
+
*/},{key:"getRoutingEmailSettingEmailSettingId",value:function getRoutingEmailSettingEmailSettingId(emailSettingId,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
21064
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling getRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','GET',{'emailSettingId':emailSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21014
21065
|
* Get email setup
|
|
21015
21066
|
*
|
|
21016
21067
|
* @param {Object} opts Optional parameters
|
|
@@ -21237,7 +21288,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
21237
21288
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
21238
21289
|
* @param {String} opts.name Name
|
|
21239
21290
|
* @param {Array.<String>} opts.id Queue ID(s)
|
|
21240
|
-
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
21291
|
+
* @param {Array.<String>} opts.divisionId Division ID(s). Including '*' will query for all divisions
|
|
21241
21292
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21242
21293
|
*/},{key:"getRoutingQueuesDivisionviews",value:function getRoutingQueuesDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/queues/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21243
21294
|
* Get a paged listing of simplified queue objects, sorted by name. Can be used to get a digest of all queues in an organization.
|
|
@@ -21340,7 +21391,7 @@ if(skillGroupId===undefined||skillGroupId===null||skillGroupId===''){throw'Missi
|
|
|
21340
21391
|
* @param {String} opts.before The cursor that points to the previous item
|
|
21341
21392
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21342
21393
|
*/},{key:"getRoutingSkillgroups",value:function getRoutingSkillgroups(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/skillgroups','GET',{},{'pageSize':opts['pageSize'],'name':opts['name'],'after':opts['after'],'before':opts['before']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21343
|
-
* Get the list of routing skills.
|
|
21394
|
+
* Get the list of routing skills. View permission enforcement only applies to skills assigned to a division.
|
|
21344
21395
|
*
|
|
21345
21396
|
* @param {Object} opts Optional parameters
|
|
21346
21397
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -21565,6 +21616,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21565
21616
|
*/},{key:"patchRoutingEmailOutboundDomain",value:function patchRoutingEmailOutboundDomain(domainId,body,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
21566
21617
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling patchRoutingEmailOutboundDomain';}// verify the required parameter 'body' is set
|
|
21567
21618
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','PATCH',{'domainId':domainId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21619
|
+
* Update an email setting. Modifies the settings for email setting
|
|
21620
|
+
*
|
|
21621
|
+
* @param {String} emailSettingId Email Setting ID
|
|
21622
|
+
* @param {Object} body EmailSetting
|
|
21623
|
+
* @param {Object} opts Optional parameters
|
|
21624
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21625
|
+
*/},{key:"patchRoutingEmailSettingEmailSettingId",value:function patchRoutingEmailSettingEmailSettingId(emailSettingId,body,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
21626
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';}// verify the required parameter 'body' is set
|
|
21627
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','PATCH',{'emailSettingId':emailSettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21568
21628
|
* Update single predictor.
|
|
21569
21629
|
*
|
|
21570
21630
|
* @param {String} predictorId Predictor ID
|
|
@@ -21812,6 +21872,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21812
21872
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21813
21873
|
*/},{key:"postRoutingEmailOutboundDomainsSimulated",value:function postRoutingEmailOutboundDomainsSimulated(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
21814
21874
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/simulated','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21875
|
+
* Create a new email setting. Used to define various settings, that can then be associated with email domains
|
|
21876
|
+
*
|
|
21877
|
+
* @param {Object} body EmailSetting
|
|
21878
|
+
* @param {Object} opts Optional parameters
|
|
21879
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21880
|
+
*/},{key:"postRoutingEmailSetting",value:function postRoutingEmailSetting(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
21881
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailSetting';}return this.apiClient.callApi('/api/v2/routing/email/setting','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21815
21882
|
* Create Language
|
|
21816
21883
|
*
|
|
21817
21884
|
* @param {Object} body Language
|
|
@@ -22111,7 +22178,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22111
22178
|
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'],opts['customHeaders']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
22112
22179
|
* SCIM service.
|
|
22113
22180
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22114
|
-
* @version
|
|
22181
|
+
* @version 254.0.0
|
|
22115
22182
|
*//**
|
|
22116
22183
|
* Constructs a new SCIMApi.
|
|
22117
22184
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22374,7 +22441,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22374
22441
|
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'],opts['customHeaders']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
22375
22442
|
* Scripts service.
|
|
22376
22443
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22377
|
-
* @version
|
|
22444
|
+
* @version 254.0.0
|
|
22378
22445
|
*//**
|
|
22379
22446
|
* Constructs a new ScriptsApi.
|
|
22380
22447
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22536,7 +22603,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22536
22603
|
*/},{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'],opts['customHeaders']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
22537
22604
|
* Search service.
|
|
22538
22605
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22539
|
-
* @version
|
|
22606
|
+
* @version 254.0.0
|
|
22540
22607
|
*//**
|
|
22541
22608
|
* Constructs a new SearchApi.
|
|
22542
22609
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22743,7 +22810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22743
22810
|
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'],opts['customHeaders']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
22744
22811
|
* Settings service.
|
|
22745
22812
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22746
|
-
* @version
|
|
22813
|
+
* @version 254.0.0
|
|
22747
22814
|
*//**
|
|
22748
22815
|
* Constructs a new SettingsApi.
|
|
22749
22816
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22840,7 +22907,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22840
22907
|
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'],opts['customHeaders']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
22841
22908
|
* SocialMedia service.
|
|
22842
22909
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22843
|
-
* @version
|
|
22910
|
+
* @version 254.0.0
|
|
22844
22911
|
*//**
|
|
22845
22912
|
* Constructs a new SocialMediaApi.
|
|
22846
22913
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23395,7 +23462,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23395
23462
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){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'],opts['customHeaders']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
23396
23463
|
* SpeechTextAnalytics service.
|
|
23397
23464
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23398
|
-
* @version
|
|
23465
|
+
* @version 254.0.0
|
|
23399
23466
|
*//**
|
|
23400
23467
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23401
23468
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23888,7 +23955,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23888
23955
|
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'],opts['customHeaders']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
23889
23956
|
* Stations service.
|
|
23890
23957
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23891
|
-
* @version
|
|
23958
|
+
* @version 254.0.0
|
|
23892
23959
|
*//**
|
|
23893
23960
|
* Constructs a new StationsApi.
|
|
23894
23961
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23925,7 +23992,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23925
23992
|
*/},{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'],opts['customHeaders']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
23926
23993
|
* Suggest service.
|
|
23927
23994
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23928
|
-
* @version
|
|
23995
|
+
* @version 254.0.0
|
|
23929
23996
|
*//**
|
|
23930
23997
|
* Constructs a new SuggestApi.
|
|
23931
23998
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23969,7 +24036,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23969
24036
|
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'],opts['customHeaders']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
23970
24037
|
* TaskManagement service.
|
|
23971
24038
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23972
|
-
* @version
|
|
24039
|
+
* @version 254.0.0
|
|
23973
24040
|
*//**
|
|
23974
24041
|
* Constructs a new TaskManagementApi.
|
|
23975
24042
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24613,7 +24680,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24613
24680
|
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'],opts['customHeaders']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
24614
24681
|
* Teams service.
|
|
24615
24682
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24616
|
-
* @version
|
|
24683
|
+
* @version 254.0.0
|
|
24617
24684
|
*//**
|
|
24618
24685
|
* Constructs a new TeamsApi.
|
|
24619
24686
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24709,7 +24776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24709
24776
|
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'],opts['customHeaders']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
24710
24777
|
* Telephony service.
|
|
24711
24778
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24712
|
-
* @version
|
|
24779
|
+
* @version 254.0.0
|
|
24713
24780
|
*//**
|
|
24714
24781
|
* Constructs a new TelephonyApi.
|
|
24715
24782
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24717,12 +24784,19 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24717
24784
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
24718
24785
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
24719
24786
|
*/function TelephonyApi(apiClient){_classCallCheck(this,TelephonyApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
24787
|
+
* Delete a link
|
|
24788
|
+
*
|
|
24789
|
+
* @param {String} targetOrganizationId targetOrganizationId
|
|
24790
|
+
* @param {Object} opts Optional parameters
|
|
24791
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24792
|
+
*/return _createClass(TelephonyApi,[{key:"deleteTelephonyOrganizationLinkTargetOrganizationId",value:function deleteTelephonyOrganizationLinkTargetOrganizationId(targetOrganizationId,opts){opts=opts||{};// verify the required parameter 'targetOrganizationId' is set
|
|
24793
|
+
if(targetOrganizationId===undefined||targetOrganizationId===null||targetOrganizationId===''){throw'Missing the required parameter "targetOrganizationId" when calling deleteTelephonyOrganizationLinkTargetOrganizationId';}return this.apiClient.callApi('/api/v2/telephony/organization/link/{targetOrganizationId}','DELETE',{'targetOrganizationId':targetOrganizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24720
24794
|
* Get an agent's greetings.
|
|
24721
24795
|
*
|
|
24722
24796
|
* @param {String} agentId User ID
|
|
24723
24797
|
* @param {Object} opts Optional parameters
|
|
24724
24798
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24725
|
-
*/
|
|
24799
|
+
*/},{key:"getTelephonyAgentGreetings",value:function getTelephonyAgentGreetings(agentId,opts){opts=opts||{};// verify the required parameter 'agentId' is set
|
|
24726
24800
|
if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required parameter "agentId" when calling getTelephonyAgentGreetings';}return this.apiClient.callApi('/api/v2/telephony/agents/{agentId}/greetings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24727
24801
|
* Get the agent's own greetings.
|
|
24728
24802
|
*
|
|
@@ -24740,6 +24814,28 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
24740
24814
|
* @param {Object} opts Optional parameters
|
|
24741
24815
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24742
24816
|
*/},{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24817
|
+
* Get Number Routings by organizationId
|
|
24818
|
+
*
|
|
24819
|
+
* @param {Object} opts Optional parameters
|
|
24820
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
24821
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
24822
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
24823
|
+
* @param {String} opts.numberId numberId
|
|
24824
|
+
* @param {String} opts.activeRoutingOrganizationId activeRoutingOrganizationId
|
|
24825
|
+
* @param {String} opts.ownerOrganizationId ownerOrganizationId
|
|
24826
|
+
* @param {Object} opts.status status
|
|
24827
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24828
|
+
*/},{key:"getTelephonyNumbersRouting",value:function getTelephonyNumbersRouting(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/numbers/routing','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'numberId':opts['numberId'],'activeRoutingOrganizationId':opts['activeRoutingOrganizationId'],'ownerOrganizationId':opts['ownerOrganizationId'],'status':opts['status']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24829
|
+
* Get organization links
|
|
24830
|
+
*
|
|
24831
|
+
* @param {Object} opts Optional parameters
|
|
24832
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24833
|
+
*/},{key:"getTelephonyOrganizationLink",value:function getTelephonyOrganizationLink(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/organization/link','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24834
|
+
* Get all the replica regions by primary region
|
|
24835
|
+
*
|
|
24836
|
+
* @param {Object} opts Optional parameters
|
|
24837
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24838
|
+
*/},{key:"getTelephonyOrganizationLinkRegions",value:function getTelephonyOrganizationLinkRegions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/organization/link/regions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24743
24839
|
* Get the global telephony configuration.
|
|
24744
24840
|
*
|
|
24745
24841
|
* @param {Object} opts Optional parameters
|
|
@@ -24780,6 +24876,43 @@ if(dateEnd===undefined||dateEnd===null){throw'Missing the required parameter "da
|
|
|
24780
24876
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24781
24877
|
*/},{key:"getTelephonySiptracesDownloadDownloadId",value:function getTelephonySiptracesDownloadDownloadId(downloadId,opts){opts=opts||{};// verify the required parameter 'downloadId' is set
|
|
24782
24878
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getTelephonySiptracesDownloadDownloadId';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download/{downloadId}','GET',{'downloadId':downloadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24879
|
+
* Approving a requested link
|
|
24880
|
+
*
|
|
24881
|
+
* @param {String} requestingOrganizationId requestingOrganizationId
|
|
24882
|
+
* @param {Object} body Approval request body
|
|
24883
|
+
* @param {Object} opts Optional parameters
|
|
24884
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24885
|
+
*/},{key:"patchTelephonyOrganizationLinkApproveRequestingOrganizationId",value:function patchTelephonyOrganizationLinkApproveRequestingOrganizationId(requestingOrganizationId,body,opts){opts=opts||{};// verify the required parameter 'requestingOrganizationId' is set
|
|
24886
|
+
if(requestingOrganizationId===undefined||requestingOrganizationId===null||requestingOrganizationId===''){throw'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';}// verify the required parameter 'body' is set
|
|
24887
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';}return this.apiClient.callApi('/api/v2/telephony/organization/link/approve/{requestingOrganizationId}','PATCH',{'requestingOrganizationId':requestingOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24888
|
+
* Update the routing of numbers for one or multiple organizations
|
|
24889
|
+
*
|
|
24890
|
+
* @param {Array.<Object>} body drRoutingList
|
|
24891
|
+
* @param {Object} opts Optional parameters
|
|
24892
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24893
|
+
*/},{key:"postTelephonyNumbersRouting",value:function postTelephonyNumbersRouting(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24894
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRouting';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24895
|
+
* Re-route all numbers on an organization
|
|
24896
|
+
*
|
|
24897
|
+
* @param {Object} body Value for all routing request body
|
|
24898
|
+
* @param {Object} opts Optional parameters
|
|
24899
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24900
|
+
*/},{key:"postTelephonyNumbersRoutingAll",value:function postTelephonyNumbersRoutingAll(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24901
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingAll';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing/all','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24902
|
+
* Reset routing for organization
|
|
24903
|
+
*
|
|
24904
|
+
* @param {Object} body Value for bulk routing request body
|
|
24905
|
+
* @param {Object} opts Optional parameters
|
|
24906
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24907
|
+
*/},{key:"postTelephonyNumbersRoutingReset",value:function postTelephonyNumbersRoutingReset(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24908
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingReset';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing/reset','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24909
|
+
* Create a link with an organization
|
|
24910
|
+
*
|
|
24911
|
+
* @param {Object} body CreateLinkOrg body
|
|
24912
|
+
* @param {Object} opts Optional parameters
|
|
24913
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24914
|
+
*/},{key:"postTelephonyOrganizationLink",value:function postTelephonyOrganizationLink(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24915
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyOrganizationLink';}return this.apiClient.callApi('/api/v2/telephony/organization/link','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24783
24916
|
* Request a download of a pcap file to S3
|
|
24784
24917
|
*
|
|
24785
24918
|
* @param {Object} sIPSearchPublicRequest
|
|
@@ -24812,7 +24945,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24812
24945
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24813
24946
|
* TelephonyProvidersEdge service.
|
|
24814
24947
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24815
|
-
* @version
|
|
24948
|
+
* @version 254.0.0
|
|
24816
24949
|
*//**
|
|
24817
24950
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24818
24951
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25865,7 +25998,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25865
25998
|
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'],opts['customHeaders']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
25866
25999
|
* Textbots service.
|
|
25867
26000
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25868
|
-
* @version
|
|
26001
|
+
* @version 254.0.0
|
|
25869
26002
|
*//**
|
|
25870
26003
|
* Constructs a new TextbotsApi.
|
|
25871
26004
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25908,7 +26041,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25908
26041
|
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'],opts['customHeaders']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
25909
26042
|
* Tokens service.
|
|
25910
26043
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25911
|
-
* @version
|
|
26044
|
+
* @version 254.0.0
|
|
25912
26045
|
*//**
|
|
25913
26046
|
* Constructs a new TokensApi.
|
|
25914
26047
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25952,7 +26085,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25952
26085
|
*/},{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'],opts['customHeaders']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
25953
26086
|
* Uploads service.
|
|
25954
26087
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25955
|
-
* @version
|
|
26088
|
+
* @version 254.0.0
|
|
25956
26089
|
*//**
|
|
25957
26090
|
* Constructs a new UploadsApi.
|
|
25958
26091
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -26047,7 +26180,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26047
26180
|
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'],opts['customHeaders']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
26048
26181
|
* Usage service.
|
|
26049
26182
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
26050
|
-
* @version
|
|
26183
|
+
* @version 254.0.0
|
|
26051
26184
|
*//**
|
|
26052
26185
|
* Constructs a new UsageApi.
|
|
26053
26186
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -26149,7 +26282,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26149
26282
|
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'],opts['customHeaders']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
26150
26283
|
* UserRecordings service.
|
|
26151
26284
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
26152
|
-
* @version
|
|
26285
|
+
* @version 254.0.0
|
|
26153
26286
|
*//**
|
|
26154
26287
|
* Constructs a new UserRecordingsApi.
|
|
26155
26288
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26205,7 +26338,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26205
26338
|
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'],opts['customHeaders']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
26206
26339
|
* Users service.
|
|
26207
26340
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26208
|
-
* @version
|
|
26341
|
+
* @version 254.0.0
|
|
26209
26342
|
*//**
|
|
26210
26343
|
* Constructs a new UsersApi.
|
|
26211
26344
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26218,7 +26351,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26218
26351
|
* @param {String} jobId jobId
|
|
26219
26352
|
* @param {Object} opts Optional parameters
|
|
26220
26353
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26221
|
-
* deleteAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26222
26354
|
*/return _createClass(UsersApi,[{key:"deleteAnalyticsUsersAggregatesJob",value:function deleteAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26223
26355
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26224
26356
|
* Delete/cancel an async request
|
|
@@ -26343,7 +26475,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
26343
26475
|
* @param {String} jobId jobId
|
|
26344
26476
|
* @param {Object} opts Optional parameters
|
|
26345
26477
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26346
|
-
* getAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26347
26478
|
*/},{key:"getAnalyticsUsersAggregatesJob",value:function getAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26348
26479
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26349
26480
|
* Fetch a page of results for an async aggregates query
|
|
@@ -26352,7 +26483,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
26352
26483
|
* @param {Object} opts Optional parameters
|
|
26353
26484
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
26354
26485
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26355
|
-
* getAnalyticsUsersAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26356
26486
|
*/},{key:"getAnalyticsUsersAggregatesJobResults",value:function getAnalyticsUsersAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26357
26487
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26358
26488
|
* Get status for async query for user details
|
|
@@ -26938,7 +27068,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26938
27068
|
* @param {Object} body query
|
|
26939
27069
|
* @param {Object} opts Optional parameters
|
|
26940
27070
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26941
|
-
* postAnalyticsUsersAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26942
27071
|
*/},{key:"postAnalyticsUsersAggregatesJobs",value:function postAnalyticsUsersAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
26943
27072
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26944
27073
|
* Query for user aggregates
|
|
@@ -27267,7 +27396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27267
27396
|
if(stationId===undefined||stationId===null||stationId===''){throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';}return this.apiClient.callApi('/api/v2/users/stations/me/associatedstation/{stationId}','PUT',{'stationId':stationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
27268
27397
|
* UsersRules service.
|
|
27269
27398
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
27270
|
-
* @version
|
|
27399
|
+
* @version 254.0.0
|
|
27271
27400
|
*//**
|
|
27272
27401
|
* Constructs a new UsersRulesApi.
|
|
27273
27402
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -27357,7 +27486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27357
27486
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
27358
27487
|
* Utilities service.
|
|
27359
27488
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
27360
|
-
* @version
|
|
27489
|
+
* @version 254.0.0
|
|
27361
27490
|
*//**
|
|
27362
27491
|
* Constructs a new UtilitiesApi.
|
|
27363
27492
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -27391,7 +27520,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27391
27520
|
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'],opts['customHeaders']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
27392
27521
|
* Voicemail service.
|
|
27393
27522
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
27394
|
-
* @version
|
|
27523
|
+
* @version 254.0.0
|
|
27395
27524
|
*//**
|
|
27396
27525
|
* Constructs a new VoicemailApi.
|
|
27397
27526
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27598,7 +27727,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27598
27727
|
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'],opts['customHeaders']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
27599
27728
|
* WebChat service.
|
|
27600
27729
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27601
|
-
* @version
|
|
27730
|
+
* @version 254.0.0
|
|
27602
27731
|
*//**
|
|
27603
27732
|
* Constructs a new WebChatApi.
|
|
27604
27733
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27781,7 +27910,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27781
27910
|
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'],opts['customHeaders']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
27782
27911
|
* WebDeployments service.
|
|
27783
27912
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27784
|
-
* @version
|
|
27913
|
+
* @version 254.0.0
|
|
27785
27914
|
*//**
|
|
27786
27915
|
* Constructs a new WebDeploymentsApi.
|
|
27787
27916
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -27959,7 +28088,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27959
28088
|
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'],opts['customHeaders']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
27960
28089
|
* WebMessaging service.
|
|
27961
28090
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
27962
|
-
* @version
|
|
28091
|
+
* @version 254.0.0
|
|
27963
28092
|
*//**
|
|
27964
28093
|
* Constructs a new WebMessagingApi.
|
|
27965
28094
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -28007,7 +28136,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
28007
28136
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
28008
28137
|
* Widgets service.
|
|
28009
28138
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
28010
|
-
* @version
|
|
28139
|
+
* @version 254.0.0
|
|
28011
28140
|
*//**
|
|
28012
28141
|
* Constructs a new WidgetsApi.
|
|
28013
28142
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -28057,7 +28186,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
28057
28186
|
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'],opts['customHeaders']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
28058
28187
|
* WorkforceManagement service.
|
|
28059
28188
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
28060
|
-
* @version
|
|
28189
|
+
* @version 254.0.0
|
|
28061
28190
|
*//**
|
|
28062
28191
|
* Constructs a new WorkforceManagementApi.
|
|
28063
28192
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28707,9 +28836,10 @@ if(timeOffPlanId===undefined||timeOffPlanId===null||timeOffPlanId===''){throw'Mi
|
|
|
28707
28836
|
* @param {Object} opts Optional parameters
|
|
28708
28837
|
* @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
|
|
28709
28838
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
28839
|
+
* @param {Array.<String>} opts.expand Include to access additional data for the time-off plans
|
|
28710
28840
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28711
28841
|
*/},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28712
|
-
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28842
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId'],'forceDownloadService':opts['forceDownloadService'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28713
28843
|
* Get users in the business unit
|
|
28714
28844
|
*
|
|
28715
28845
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28795,12 +28925,14 @@ if(recalculationId===undefined||recalculationId===null||recalculationId===''){th
|
|
|
28795
28925
|
* @param {String} businessUnitId The ID of the business unit
|
|
28796
28926
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format, or 'recent' (without quotes) to get recent schedules
|
|
28797
28927
|
* @param {Object} opts Optional parameters
|
|
28928
|
+
* @param {String} opts.earliestWeekDate If weekId == 'recent', specify the earliest schedule start week date (inclusive) to include in the 'recent' range, in yyyy-MM-dd format. Ignored if weekId != 'recent'. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
28929
|
+
* @param {String} opts.latestWeekDate If weekId == 'recent', specify the latest schedule start week date (inclusive) to include in the 'recent' range, in yyyy-MM-dd format. Ignored if weekId != 'recent'. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
28798
28930
|
* @param {Boolean} opts.includeOnlyPublished includeOnlyPublished
|
|
28799
28931
|
* @param {Object} opts.expand expand
|
|
28800
28932
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28801
28933
|
*/},{key:"getWorkforcemanagementBusinessunitWeekSchedules",value:function getWorkforcemanagementBusinessunitWeekSchedules(businessUnitId,weekId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28802
28934
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}// verify the required parameter 'weekId' is set
|
|
28803
|
-
if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules','GET',{'businessUnitId':businessUnitId,'weekId':weekId},{'includeOnlyPublished':opts['includeOnlyPublished'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28935
|
+
if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules','GET',{'businessUnitId':businessUnitId,'weekId':weekId},{'earliestWeekDate':opts['earliestWeekDate'],'latestWeekDate':opts['latestWeekDate'],'includeOnlyPublished':opts['includeOnlyPublished'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28804
28936
|
* Get a short term forecast
|
|
28805
28937
|
*
|
|
28806
28938
|
* @param {String} businessUnitId The ID of the business unit to which the forecast belongs
|
|
@@ -30612,11 +30744,12 @@ if(timeOffRequestId===undefined||timeOffRequestId===null||timeOffRequestId==='')
|
|
|
30612
30744
|
* @param {String} userId The id of the user for whom the time off request estimate is requested
|
|
30613
30745
|
* @param {Object} body body
|
|
30614
30746
|
* @param {Object} opts Optional parameters
|
|
30747
|
+
* @param {Object} opts.includeOnly Limit response to the specified field
|
|
30615
30748
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30616
30749
|
*/},{key:"postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate",value:function postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId,userId,body,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
30617
30750
|
if(managementUnitId===undefined||managementUnitId===null||managementUnitId===''){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}// verify the required parameter 'userId' is set
|
|
30618
30751
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}// verify the required parameter 'body' is set
|
|
30619
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate','POST',{'managementUnitId':managementUnitId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30752
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate','POST',{'managementUnitId':managementUnitId,'userId':userId},{'includeOnly':opts['includeOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30620
30753
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
30621
30754
|
* Deprecated. Use new route instead (/shifttrading/trades/{tradeId}/match/jobs)
|
|
30622
30755
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -30833,9 +30966,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30833
30966
|
*
|
|
30834
30967
|
* @param {Object} body body
|
|
30835
30968
|
* @param {Object} opts Optional parameters
|
|
30969
|
+
* @param {Object} opts.includeOnly Limit response to the specified field
|
|
30836
30970
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30837
30971
|
*/},{key:"postWorkforcemanagementTimeoffrequestsEstimate",value:function postWorkforcemanagementTimeoffrequestsEstimate(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
30838
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/estimate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30972
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/estimate','POST',{},{'includeOnly':opts['includeOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30839
30973
|
* Retrieves integration statuses for a list of current user time off requests
|
|
30840
30974
|
*
|
|
30841
30975
|
* @param {Object} body body
|
|
@@ -30916,7 +31050,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30916
31050
|
* </pre>
|
|
30917
31051
|
* </p>
|
|
30918
31052
|
* @module purecloud-platform-client-v2/index
|
|
30919
|
-
* @version
|
|
31053
|
+
* @version 254.0.0
|
|
30920
31054
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
30921
31055
|
* The ApiClient constructor.
|
|
30922
31056
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|