purecloud-platform-client-v2 229.1.0 → 230.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 +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.js +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +425 -287
- 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 +110 -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 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.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/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +86 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +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 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -28
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +101 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6474,7 +6474,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6474
6474
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6475
6475
|
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];}}}]);}();/**
|
|
6476
6476
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6477
|
-
* @version
|
|
6477
|
+
* @version 230.0.0
|
|
6478
6478
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6479
6479
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6480
6480
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6817,7 +6817,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6817
6817
|
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(){/**
|
|
6818
6818
|
* AIStudio service.
|
|
6819
6819
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6820
|
-
* @version
|
|
6820
|
+
* @version 230.0.0
|
|
6821
6821
|
*//**
|
|
6822
6822
|
* Constructs a new AIStudioApi.
|
|
6823
6823
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -6931,7 +6931,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6931
6931
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuidesJobs';}return this.apiClient.callApi('/api/v2/guides/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6932
6932
|
* AgentAssistants service.
|
|
6933
6933
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6934
|
-
* @version
|
|
6934
|
+
* @version 230.0.0
|
|
6935
6935
|
*//**
|
|
6936
6936
|
* Constructs a new AgentAssistantsApi.
|
|
6937
6937
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7017,6 +7017,35 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7017
7017
|
*/},{key:"patchAssistantQueues",value:function patchAssistantQueues(assistantId,body){// verify the required parameter 'assistantId' is set
|
|
7018
7018
|
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling patchAssistantQueues';}// verify the required parameter 'body' is set
|
|
7019
7019
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchAssistantQueues';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues','PATCH',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7020
|
+
* Bulk add users to assistant-queue (requires manual assignment mode).
|
|
7021
|
+
*
|
|
7022
|
+
* @param {String} assistantId Assistant ID
|
|
7023
|
+
* @param {String} queueId Queue ID
|
|
7024
|
+
* @param {Object} body
|
|
7025
|
+
*/},{key:"postAssistantQueueUsersBulkAdd",value:function postAssistantQueueUsersBulkAdd(assistantId,queueId,body){// verify the required parameter 'assistantId' is set
|
|
7026
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';}// verify the required parameter 'queueId' is set
|
|
7027
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';}// verify the required parameter 'body' is set
|
|
7028
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add','POST',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7029
|
+
* Bulk remove users from assistant-queue (requires manual assignment mode).
|
|
7030
|
+
*
|
|
7031
|
+
* @param {String} assistantId Assistant ID
|
|
7032
|
+
* @param {String} queueId Queue ID
|
|
7033
|
+
* @param {Object} body
|
|
7034
|
+
*/},{key:"postAssistantQueueUsersBulkRemove",value:function postAssistantQueueUsersBulkRemove(assistantId,queueId,body){// verify the required parameter 'assistantId' is set
|
|
7035
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';}// verify the required parameter 'queueId' is set
|
|
7036
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';}// verify the required parameter 'body' is set
|
|
7037
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove','POST',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7038
|
+
* Query for users in the assistant-queue (requires manual assignment mode).
|
|
7039
|
+
*
|
|
7040
|
+
* @param {String} assistantId Assistant ID
|
|
7041
|
+
* @param {String} queueId Queue ID
|
|
7042
|
+
* @param {Object} body
|
|
7043
|
+
* @param {Object} opts Optional parameters
|
|
7044
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand with.
|
|
7045
|
+
*/},{key:"postAssistantQueueUsersQuery",value:function postAssistantQueueUsersQuery(assistantId,queueId,body,opts){opts=opts||{};// verify the required parameter 'assistantId' is set
|
|
7046
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';}// verify the required parameter 'queueId' is set
|
|
7047
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';}// verify the required parameter 'body' is set
|
|
7048
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/query','POST',{'assistantId':assistantId,'queueId':queueId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7020
7049
|
* Create an Assistant.
|
|
7021
7050
|
*
|
|
7022
7051
|
* @param {Object} body
|
|
@@ -7033,7 +7062,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
7033
7062
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
7034
7063
|
* AgentCopilot service.
|
|
7035
7064
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7036
|
-
* @version
|
|
7065
|
+
* @version 230.0.0
|
|
7037
7066
|
*//**
|
|
7038
7067
|
* Constructs a new AgentCopilotApi.
|
|
7039
7068
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7055,7 +7084,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7055
7084
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
7056
7085
|
* AgentUI service.
|
|
7057
7086
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7058
|
-
* @version
|
|
7087
|
+
* @version 230.0.0
|
|
7059
7088
|
*//**
|
|
7060
7089
|
* Constructs a new AgentUIApi.
|
|
7061
7090
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7089,7 +7118,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7089
7118
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
7090
7119
|
* Alerting service.
|
|
7091
7120
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7092
|
-
* @version
|
|
7121
|
+
* @version 230.0.0
|
|
7093
7122
|
*//**
|
|
7094
7123
|
* Constructs a new AlertingApi.
|
|
7095
7124
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7178,7 +7207,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7178
7207
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
7179
7208
|
* Analytics service.
|
|
7180
7209
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7181
|
-
* @version
|
|
7210
|
+
* @version 230.0.0
|
|
7182
7211
|
*//**
|
|
7183
7212
|
* Constructs a new AnalyticsApi.
|
|
7184
7213
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7931,7 +7960,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7931
7960
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7932
7961
|
* Architect service.
|
|
7933
7962
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7934
|
-
* @version
|
|
7963
|
+
* @version 230.0.0
|
|
7935
7964
|
*//**
|
|
7936
7965
|
* Constructs a new ArchitectApi.
|
|
7937
7966
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9065,7 +9094,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9065
9094
|
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']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
9066
9095
|
* Audit service.
|
|
9067
9096
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9068
|
-
* @version
|
|
9097
|
+
* @version 230.0.0
|
|
9069
9098
|
*//**
|
|
9070
9099
|
* Constructs a new AuditApi.
|
|
9071
9100
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9115,7 +9144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9115
9144
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
9116
9145
|
* Authorization service.
|
|
9117
9146
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9118
|
-
* @version
|
|
9147
|
+
* @version 230.0.0
|
|
9119
9148
|
*//**
|
|
9120
9149
|
* Constructs a new AuthorizationApi.
|
|
9121
9150
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9550,7 +9579,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9550
9579
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
9551
9580
|
* Billing service.
|
|
9552
9581
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9553
|
-
* @version
|
|
9582
|
+
* @version 230.0.0
|
|
9554
9583
|
*//**
|
|
9555
9584
|
* Constructs a new BillingApi.
|
|
9556
9585
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9627,7 +9656,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9627
9656
|
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']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
9628
9657
|
* BusinessRules service.
|
|
9629
9658
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9630
|
-
* @version
|
|
9659
|
+
* @version 230.0.0
|
|
9631
9660
|
*//**
|
|
9632
9661
|
* Constructs a new BusinessRulesApi.
|
|
9633
9662
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -9877,7 +9906,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
9877
9906
|
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']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
9878
9907
|
* CarrierServices service.
|
|
9879
9908
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9880
|
-
* @version
|
|
9909
|
+
* @version 230.0.0
|
|
9881
9910
|
*//**
|
|
9882
9911
|
* Constructs a new CarrierServicesApi.
|
|
9883
9912
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9897,7 +9926,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9897
9926
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
9898
9927
|
* Chat service.
|
|
9899
9928
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9900
|
-
* @version
|
|
9929
|
+
* @version 230.0.0
|
|
9901
9930
|
*//**
|
|
9902
9931
|
* Constructs a new ChatApi.
|
|
9903
9932
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10128,7 +10157,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10128
10157
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
10129
10158
|
* Coaching service.
|
|
10130
10159
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10131
|
-
* @version
|
|
10160
|
+
* @version 230.0.0
|
|
10132
10161
|
*//**
|
|
10133
10162
|
* Constructs a new CoachingApi.
|
|
10134
10163
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10281,7 +10310,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10281
10310
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
10282
10311
|
* ContentManagement service.
|
|
10283
10312
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10284
|
-
* @version
|
|
10313
|
+
* @version 230.0.0
|
|
10285
10314
|
*//**
|
|
10286
10315
|
* Constructs a new ContentManagementApi.
|
|
10287
10316
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10563,7 +10592,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10563
10592
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
10564
10593
|
* Conversations service.
|
|
10565
10594
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10566
|
-
* @version
|
|
10595
|
+
* @version 230.0.0
|
|
10567
10596
|
*//**
|
|
10568
10597
|
* Constructs a new ConversationsApi.
|
|
10569
10598
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10582,6 +10611,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
10582
10611
|
* @param {String} jobId jobId
|
|
10583
10612
|
*/},{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
|
|
10584
10613
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10614
|
+
* Update a conversation by disconnecting all of the participants
|
|
10615
|
+
*
|
|
10616
|
+
* @param {String} conversationId conversation ID
|
|
10617
|
+
*/},{key:"deleteConversation",value:function deleteConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
10618
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}','DELETE',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10585
10619
|
* Delete a code used to add a communication to this participant
|
|
10586
10620
|
*
|
|
10587
10621
|
* @param {String} conversationId conversation ID
|
|
@@ -11343,6 +11377,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11343
11377
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';}// verify the required parameter 'participantId' is set
|
|
11344
11378
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';}// verify the required parameter 'body' is set
|
|
11345
11379
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationParticipantAttributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/attributes','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11380
|
+
* Update a conversation by setting its recording state
|
|
11381
|
+
*
|
|
11382
|
+
* @param {String} conversationId conversation ID
|
|
11383
|
+
* @param {Object} body SetRecordingState
|
|
11384
|
+
*/},{key:"patchConversationRecordingstate",value:function patchConversationRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11385
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationRecordingstate';}// verify the required parameter 'body' is set
|
|
11386
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordingstate','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11346
11387
|
* Update the secure attributes on a conversation.
|
|
11347
11388
|
*
|
|
11348
11389
|
* @param {String} conversationId conversation ID
|
|
@@ -11393,6 +11434,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11393
11434
|
*/},{key:"patchConversationsCall",value:function patchConversationsCall(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11394
11435
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCall';}// verify the required parameter 'body' is set
|
|
11395
11436
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCall';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11437
|
+
* Update a conversation by merging in other conversations to create a conference
|
|
11438
|
+
*
|
|
11439
|
+
* @param {String} conversationId conversationId
|
|
11440
|
+
* @param {Object} body UpdateConferenceRequest
|
|
11441
|
+
*/},{key:"patchConversationsCallConference",value:function patchConversationsCallConference(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11442
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallConference';}// verify the required parameter 'body' is set
|
|
11443
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallConference';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/conference','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11396
11444
|
* Update conversation participant
|
|
11397
11445
|
*
|
|
11398
11446
|
* @param {String} conversationId conversationId
|
|
@@ -12575,7 +12623,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12575
12623
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
12576
12624
|
* DataExtensions service.
|
|
12577
12625
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12578
|
-
* @version
|
|
12626
|
+
* @version 230.0.0
|
|
12579
12627
|
*//**
|
|
12580
12628
|
* Constructs a new DataExtensionsApi.
|
|
12581
12629
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12596,7 +12644,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12596
12644
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
12597
12645
|
* DataPrivacy service.
|
|
12598
12646
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12599
|
-
* @version
|
|
12647
|
+
* @version 230.0.0
|
|
12600
12648
|
*//**
|
|
12601
12649
|
* Constructs a new DataPrivacyApi.
|
|
12602
12650
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12636,7 +12684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12636
12684
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
12637
12685
|
* Downloads service.
|
|
12638
12686
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12639
|
-
* @version
|
|
12687
|
+
* @version 230.0.0
|
|
12640
12688
|
*//**
|
|
12641
12689
|
* Constructs a new DownloadsApi.
|
|
12642
12690
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12655,7 +12703,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12655
12703
|
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']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
12656
12704
|
* Emails service.
|
|
12657
12705
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12658
|
-
* @version
|
|
12706
|
+
* @version 230.0.0
|
|
12659
12707
|
*//**
|
|
12660
12708
|
* Constructs a new EmailsApi.
|
|
12661
12709
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12684,7 +12732,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12684
12732
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
12685
12733
|
* EmployeeEngagement service.
|
|
12686
12734
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12687
|
-
* @version
|
|
12735
|
+
* @version 230.0.0
|
|
12688
12736
|
*//**
|
|
12689
12737
|
* Constructs a new EmployeeEngagementApi.
|
|
12690
12738
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12722,7 +12770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12722
12770
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
12723
12771
|
* Events service.
|
|
12724
12772
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12725
|
-
* @version
|
|
12773
|
+
* @version 230.0.0
|
|
12726
12774
|
*//**
|
|
12727
12775
|
* Constructs a new EventsApi.
|
|
12728
12776
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12747,7 +12795,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12747
12795
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
12748
12796
|
* ExternalContacts service.
|
|
12749
12797
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12750
|
-
* @version
|
|
12798
|
+
* @version 230.0.0
|
|
12751
12799
|
*//**
|
|
12752
12800
|
* Constructs a new ExternalContactsApi.
|
|
12753
12801
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13497,7 +13545,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13497
13545
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
13498
13546
|
* Fax service.
|
|
13499
13547
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13500
|
-
* @version
|
|
13548
|
+
* @version 230.0.0
|
|
13501
13549
|
*//**
|
|
13502
13550
|
* Constructs a new FaxApi.
|
|
13503
13551
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13546,7 +13594,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13546
13594
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
13547
13595
|
* Flows service.
|
|
13548
13596
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13549
|
-
* @version
|
|
13597
|
+
* @version 230.0.0
|
|
13550
13598
|
*//**
|
|
13551
13599
|
* Constructs a new FlowsApi.
|
|
13552
13600
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13600,7 +13648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13600
13648
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
13601
13649
|
* Gamification service.
|
|
13602
13650
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13603
|
-
* @version
|
|
13651
|
+
* @version 230.0.0
|
|
13604
13652
|
*//**
|
|
13605
13653
|
* Constructs a new GamificationApi.
|
|
13606
13654
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14253,7 +14301,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14253
14301
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
14254
14302
|
* GeneralDataProtectionRegulation service.
|
|
14255
14303
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14256
|
-
* @version
|
|
14304
|
+
* @version 230.0.0
|
|
14257
14305
|
*//**
|
|
14258
14306
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14259
14307
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14288,7 +14336,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14288
14336
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
14289
14337
|
* Geolocation service.
|
|
14290
14338
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14291
|
-
* @version
|
|
14339
|
+
* @version 230.0.0
|
|
14292
14340
|
*//**
|
|
14293
14341
|
* Constructs a new GeolocationApi.
|
|
14294
14342
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14322,7 +14370,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14322
14370
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
14323
14371
|
* Greetings service.
|
|
14324
14372
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14325
|
-
* @version
|
|
14373
|
+
* @version 230.0.0
|
|
14326
14374
|
*//**
|
|
14327
14375
|
* Constructs a new GreetingsApi.
|
|
14328
14376
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14450,7 +14498,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14450
14498
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
14451
14499
|
* Groups service.
|
|
14452
14500
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14453
|
-
* @version
|
|
14501
|
+
* @version 230.0.0
|
|
14454
14502
|
*//**
|
|
14455
14503
|
* Constructs a new GroupsApi.
|
|
14456
14504
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14583,7 +14631,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14583
14631
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
14584
14632
|
* IdentityProvider service.
|
|
14585
14633
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14586
|
-
* @version
|
|
14634
|
+
* @version 230.0.0
|
|
14587
14635
|
*//**
|
|
14588
14636
|
* Constructs a new IdentityProviderApi.
|
|
14589
14637
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14739,7 +14787,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14739
14787
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
14740
14788
|
* InfrastructureAsCode service.
|
|
14741
14789
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14742
|
-
* @version
|
|
14790
|
+
* @version 230.0.0
|
|
14743
14791
|
*//**
|
|
14744
14792
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14745
14793
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -14793,7 +14841,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
14793
14841
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
14794
14842
|
* Integrations service.
|
|
14795
14843
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
14796
|
-
* @version
|
|
14844
|
+
* @version 230.0.0
|
|
14797
14845
|
*//**
|
|
14798
14846
|
* Constructs a new IntegrationsApi.
|
|
14799
14847
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -15480,7 +15528,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15480
15528
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
15481
15529
|
* Journey service.
|
|
15482
15530
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15483
|
-
* @version
|
|
15531
|
+
* @version 230.0.0
|
|
15484
15532
|
*//**
|
|
15485
15533
|
* Constructs a new JourneyApi.
|
|
15486
15534
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -15981,7 +16029,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
15981
16029
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
15982
16030
|
* Knowledge service.
|
|
15983
16031
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
15984
|
-
* @version
|
|
16032
|
+
* @version 230.0.0
|
|
15985
16033
|
*//**
|
|
15986
16034
|
* Constructs a new KnowledgeApi.
|
|
15987
16035
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17051,7 +17099,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17051
17099
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
17052
17100
|
* LanguageUnderstanding service.
|
|
17053
17101
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17054
|
-
* @version
|
|
17102
|
+
* @version 230.0.0
|
|
17055
17103
|
*//**
|
|
17056
17104
|
* Constructs a new LanguageUnderstandingApi.
|
|
17057
17105
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17310,7 +17358,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17310
17358
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
17311
17359
|
* Languages service.
|
|
17312
17360
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17313
|
-
* @version
|
|
17361
|
+
* @version 230.0.0
|
|
17314
17362
|
*//**
|
|
17315
17363
|
* Constructs a new LanguagesApi.
|
|
17316
17364
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17365,7 +17413,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17365
17413
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
17366
17414
|
* Learning service.
|
|
17367
17415
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17368
|
-
* @version
|
|
17416
|
+
* @version 230.0.0
|
|
17369
17417
|
*//**
|
|
17370
17418
|
* Constructs a new LearningApi.
|
|
17371
17419
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17636,7 +17684,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17636
17684
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
17637
17685
|
* License service.
|
|
17638
17686
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17639
|
-
* @version
|
|
17687
|
+
* @version 230.0.0
|
|
17640
17688
|
*//**
|
|
17641
17689
|
* Constructs a new LicenseApi.
|
|
17642
17690
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17690,7 +17738,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17690
17738
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
17691
17739
|
* Locations service.
|
|
17692
17740
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17693
|
-
* @version
|
|
17741
|
+
* @version 230.0.0
|
|
17694
17742
|
*//**
|
|
17695
17743
|
* Constructs a new LocationsApi.
|
|
17696
17744
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17749,7 +17797,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17749
17797
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
17750
17798
|
* LogCapture service.
|
|
17751
17799
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17752
|
-
* @version
|
|
17800
|
+
* @version 230.0.0
|
|
17753
17801
|
*//**
|
|
17754
17802
|
* Constructs a new LogCaptureApi.
|
|
17755
17803
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17798,7 +17846,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17798
17846
|
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']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
17799
17847
|
* Messaging service.
|
|
17800
17848
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17801
|
-
* @version
|
|
17849
|
+
* @version 230.0.0
|
|
17802
17850
|
*//**
|
|
17803
17851
|
* Constructs a new MessagingApi.
|
|
17804
17852
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -17888,7 +17936,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17888
17936
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
17889
17937
|
* MobileDevices service.
|
|
17890
17938
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
17891
|
-
* @version
|
|
17939
|
+
* @version 230.0.0
|
|
17892
17940
|
*//**
|
|
17893
17941
|
* Constructs a new MobileDevicesApi.
|
|
17894
17942
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -17927,7 +17975,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17927
17975
|
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']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
17928
17976
|
* Notifications service.
|
|
17929
17977
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
17930
|
-
* @version
|
|
17978
|
+
* @version 230.0.0
|
|
17931
17979
|
*//**
|
|
17932
17980
|
* Constructs a new NotificationsApi.
|
|
17933
17981
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -17984,7 +18032,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
17984
18032
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
17985
18033
|
* OAuth service.
|
|
17986
18034
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
17987
|
-
* @version
|
|
18035
|
+
* @version 230.0.0
|
|
17988
18036
|
*//**
|
|
17989
18037
|
* Constructs a new OAuthApi.
|
|
17990
18038
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18069,7 +18117,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18069
18117
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
18070
18118
|
* Objects service.
|
|
18071
18119
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18072
|
-
* @version
|
|
18120
|
+
* @version 230.0.0
|
|
18073
18121
|
*//**
|
|
18074
18122
|
* Constructs a new ObjectsApi.
|
|
18075
18123
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18155,7 +18203,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18155
18203
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
18156
18204
|
* OperationalEvents service.
|
|
18157
18205
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18158
|
-
* @version
|
|
18206
|
+
* @version 230.0.0
|
|
18159
18207
|
*//**
|
|
18160
18208
|
* Constructs a new OperationalEventsApi.
|
|
18161
18209
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18186,7 +18234,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18186
18234
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
18187
18235
|
* Organization service.
|
|
18188
18236
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18189
|
-
* @version
|
|
18237
|
+
* @version 230.0.0
|
|
18190
18238
|
*//**
|
|
18191
18239
|
* Constructs a new OrganizationApi.
|
|
18192
18240
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18291,7 +18339,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18291
18339
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
18292
18340
|
* OrganizationAuthorization service.
|
|
18293
18341
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18294
|
-
* @version
|
|
18342
|
+
* @version 230.0.0
|
|
18295
18343
|
*//**
|
|
18296
18344
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18297
18345
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18625,7 +18673,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18625
18673
|
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']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
18626
18674
|
* Outbound service.
|
|
18627
18675
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18628
|
-
* @version
|
|
18676
|
+
* @version 230.0.0
|
|
18629
18677
|
*//**
|
|
18630
18678
|
* Constructs a new OutboundApi.
|
|
18631
18679
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19776,7 +19824,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19776
19824
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
19777
19825
|
* Presence service.
|
|
19778
19826
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19779
|
-
* @version
|
|
19827
|
+
* @version 230.0.0
|
|
19780
19828
|
*//**
|
|
19781
19829
|
* Constructs a new PresenceApi.
|
|
19782
19830
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19949,7 +19997,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19949
19997
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
19950
19998
|
* ProcessAutomation service.
|
|
19951
19999
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19952
|
-
* @version
|
|
20000
|
+
* @version 230.0.0
|
|
19953
20001
|
*//**
|
|
19954
20002
|
* Constructs a new ProcessAutomationApi.
|
|
19955
20003
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20012,7 +20060,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20012
20060
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
20013
20061
|
* Quality service.
|
|
20014
20062
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20015
|
-
* @version
|
|
20063
|
+
* @version 230.0.0
|
|
20016
20064
|
*//**
|
|
20017
20065
|
* Constructs a new QualityApi.
|
|
20018
20066
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20502,7 +20550,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20502
20550
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
20503
20551
|
* Recording service.
|
|
20504
20552
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20505
|
-
* @version
|
|
20553
|
+
* @version 230.0.0
|
|
20506
20554
|
*//**
|
|
20507
20555
|
* Constructs a new RecordingApi.
|
|
20508
20556
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20779,7 +20827,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20779
20827
|
*/},{key:"postRecordingCrossplatformMediaretentionpolicies",value:function postRecordingCrossplatformMediaretentionpolicies(body){// verify the required parameter 'body' is set
|
|
20780
20828
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRecordingCrossplatformMediaretentionpolicies';}return this.apiClient.callApi('/api/v2/recording/crossplatform/mediaretentionpolicies','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20781
20829
|
* Create a recording bulk job.
|
|
20782
|
-
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
20830
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected. It is recommended to query over smaller time periods so your request does not time out.
|
|
20783
20831
|
* @param {Object} body query
|
|
20784
20832
|
*/},{key:"postRecordingJobs",value:function postRecordingJobs(body){// verify the required parameter 'body' is set
|
|
20785
20833
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRecordingJobs';}return this.apiClient.callApi('/api/v2/recording/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -20901,7 +20949,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20901
20949
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
20902
20950
|
* ResponseManagement service.
|
|
20903
20951
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20904
|
-
* @version
|
|
20952
|
+
* @version 230.0.0
|
|
20905
20953
|
*//**
|
|
20906
20954
|
* Constructs a new ResponseManagementApi.
|
|
20907
20955
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21022,7 +21070,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21022
21070
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
21023
21071
|
* Routing service.
|
|
21024
21072
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21025
|
-
* @version
|
|
21073
|
+
* @version 230.0.0
|
|
21026
21074
|
*//**
|
|
21027
21075
|
* Constructs a new RoutingApi.
|
|
21028
21076
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21243,11 +21291,6 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
|
|
|
21243
21291
|
* @param {String} domainId domain ID
|
|
21244
21292
|
*/},{key:"getRoutingEmailOutboundDomainActivation",value:function getRoutingEmailOutboundDomainActivation(domainId){// verify the required parameter 'domainId' is set
|
|
21245
21293
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}/activation','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21246
|
-
* Search a domain across organizations
|
|
21247
|
-
*
|
|
21248
|
-
* @param {String} domainId domain ID
|
|
21249
|
-
*/},{key:"getRoutingEmailOutboundDomainSearch",value:function getRoutingEmailOutboundDomainSearch(domainId){// verify the required parameter 'domainId' is set
|
|
21250
|
-
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}/search','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21251
21294
|
* Get outbound domains
|
|
21252
21295
|
*
|
|
21253
21296
|
* @param {Object} opts Optional parameters
|
|
@@ -21830,8 +21873,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21830
21873
|
*/},{key:"postRoutingEmailDomainRoutes",value:function postRoutingEmailDomainRoutes(domainName,body){// verify the required parameter 'domainName' is set
|
|
21831
21874
|
if(domainName===undefined||domainName===null||domainName===''){throw'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';}// verify the required parameter 'body' is set
|
|
21832
21875
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailDomainRoutes';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes','POST',{'domainName':domainName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21833
|
-
* Tests the custom SMTP server integration connection set on this domain
|
|
21834
|
-
* The request body is optional. If omitted, this endpoint will just test the connection of the Custom SMTP Server. If the body is specified, there will be an attempt to send an email message to the server.
|
|
21876
|
+
* Tests the custom SMTP server integration connection set on this ACD domain
|
|
21877
|
+
* The request body is optional. If omitted, this endpoint will just test the connection of the Custom SMTP Server used by the ACD domain. If the body is specified, there will be an attempt to send an email message to the server.
|
|
21835
21878
|
* @param {String} domainId domain ID
|
|
21836
21879
|
* @param {Object} opts Optional parameters
|
|
21837
21880
|
* @param {Object} opts.body TestMessage
|
|
@@ -22078,7 +22121,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22078
22121
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
22079
22122
|
* SCIM service.
|
|
22080
22123
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22081
|
-
* @version
|
|
22124
|
+
* @version 230.0.0
|
|
22082
22125
|
*//**
|
|
22083
22126
|
* Constructs a new SCIMApi.
|
|
22084
22127
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22303,7 +22346,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22303
22346
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
22304
22347
|
* ScreenRecording service.
|
|
22305
22348
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22306
|
-
* @version
|
|
22349
|
+
* @version 230.0.0
|
|
22307
22350
|
*//**
|
|
22308
22351
|
* Constructs a new ScreenRecordingApi.
|
|
22309
22352
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22318,7 +22361,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22318
22361
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
22319
22362
|
* Scripts service.
|
|
22320
22363
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22321
|
-
* @version
|
|
22364
|
+
* @version 230.0.0
|
|
22322
22365
|
*//**
|
|
22323
22366
|
* Constructs a new ScriptsApi.
|
|
22324
22367
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22464,7 +22507,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22464
22507
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
22465
22508
|
* Search service.
|
|
22466
22509
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22467
|
-
* @version
|
|
22510
|
+
* @version 230.0.0
|
|
22468
22511
|
*//**
|
|
22469
22512
|
* Constructs a new SearchApi.
|
|
22470
22513
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22631,7 +22674,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22631
22674
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
22632
22675
|
* Settings service.
|
|
22633
22676
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22634
|
-
* @version
|
|
22677
|
+
* @version 230.0.0
|
|
22635
22678
|
*//**
|
|
22636
22679
|
* Constructs a new SettingsApi.
|
|
22637
22680
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22703,7 +22746,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22703
22746
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
22704
22747
|
* SocialMedia service.
|
|
22705
22748
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22706
|
-
* @version
|
|
22749
|
+
* @version 230.0.0
|
|
22707
22750
|
*//**
|
|
22708
22751
|
* Constructs a new SocialMediaApi.
|
|
22709
22752
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23051,7 +23094,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23051
23094
|
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']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
23052
23095
|
* SpeechTextAnalytics service.
|
|
23053
23096
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23054
|
-
* @version
|
|
23097
|
+
* @version 230.0.0
|
|
23055
23098
|
*//**
|
|
23056
23099
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23057
23100
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23420,7 +23463,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23420
23463
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
23421
23464
|
* Stations service.
|
|
23422
23465
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23423
|
-
* @version
|
|
23466
|
+
* @version 230.0.0
|
|
23424
23467
|
*//**
|
|
23425
23468
|
* Constructs a new StationsApi.
|
|
23426
23469
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23452,7 +23495,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23452
23495
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
23453
23496
|
* Suggest service.
|
|
23454
23497
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23455
|
-
* @version
|
|
23498
|
+
* @version 230.0.0
|
|
23456
23499
|
*//**
|
|
23457
23500
|
* Constructs a new SuggestApi.
|
|
23458
23501
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23492,7 +23535,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23492
23535
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
23493
23536
|
* TaskManagement service.
|
|
23494
23537
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23495
|
-
* @version
|
|
23538
|
+
* @version 230.0.0
|
|
23496
23539
|
*//**
|
|
23497
23540
|
* Constructs a new TaskManagementApi.
|
|
23498
23541
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24000,7 +24043,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24000
24043
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
24001
24044
|
* Teams service.
|
|
24002
24045
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24003
|
-
* @version
|
|
24046
|
+
* @version 230.0.0
|
|
24004
24047
|
*//**
|
|
24005
24048
|
* Constructs a new TeamsApi.
|
|
24006
24049
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24080,7 +24123,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24080
24123
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
24081
24124
|
* Telephony service.
|
|
24082
24125
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24083
|
-
* @version
|
|
24126
|
+
* @version 230.0.0
|
|
24084
24127
|
*//**
|
|
24085
24128
|
* Constructs a new TelephonyApi.
|
|
24086
24129
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24151,7 +24194,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24151
24194
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24152
24195
|
* TelephonyProvidersEdge service.
|
|
24153
24196
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24154
|
-
* @version
|
|
24197
|
+
* @version 230.0.0
|
|
24155
24198
|
*//**
|
|
24156
24199
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24157
24200
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -24999,7 +25042,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
24999
25042
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
25000
25043
|
* Textbots service.
|
|
25001
25044
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25002
|
-
* @version
|
|
25045
|
+
* @version 230.0.0
|
|
25003
25046
|
*//**
|
|
25004
25047
|
* Constructs a new TextbotsApi.
|
|
25005
25048
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25035,7 +25078,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25035
25078
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
25036
25079
|
* Tokens service.
|
|
25037
25080
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25038
|
-
* @version
|
|
25081
|
+
* @version 230.0.0
|
|
25039
25082
|
*//**
|
|
25040
25083
|
* Constructs a new TokensApi.
|
|
25041
25084
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25069,7 +25112,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25069
25112
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
25070
25113
|
* Uploads service.
|
|
25071
25114
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25072
|
-
* @version
|
|
25115
|
+
* @version 230.0.0
|
|
25073
25116
|
*//**
|
|
25074
25117
|
* Constructs a new UploadsApi.
|
|
25075
25118
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25137,7 +25180,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25137
25180
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
25138
25181
|
* Usage service.
|
|
25139
25182
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25140
|
-
* @version
|
|
25183
|
+
* @version 230.0.0
|
|
25141
25184
|
*//**
|
|
25142
25185
|
* Constructs a new UsageApi.
|
|
25143
25186
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25221,7 +25264,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25221
25264
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
25222
25265
|
* UserRecordings service.
|
|
25223
25266
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25224
|
-
* @version
|
|
25267
|
+
* @version 230.0.0
|
|
25225
25268
|
*//**
|
|
25226
25269
|
* Constructs a new UserRecordingsApi.
|
|
25227
25270
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25278,7 +25321,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25278
25321
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
25279
25322
|
* Users service.
|
|
25280
25323
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25281
|
-
* @version
|
|
25324
|
+
* @version 230.0.0
|
|
25282
25325
|
*//**
|
|
25283
25326
|
* Constructs a new UsersApi.
|
|
25284
25327
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26022,7 +26065,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
26022
26065
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
26023
26066
|
* Utilities service.
|
|
26024
26067
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26025
|
-
* @version
|
|
26068
|
+
* @version 230.0.0
|
|
26026
26069
|
*//**
|
|
26027
26070
|
* Constructs a new UtilitiesApi.
|
|
26028
26071
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26049,7 +26092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26049
26092
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
26050
26093
|
* Voicemail service.
|
|
26051
26094
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26052
|
-
* @version
|
|
26095
|
+
* @version 230.0.0
|
|
26053
26096
|
*//**
|
|
26054
26097
|
* Constructs a new VoicemailApi.
|
|
26055
26098
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -26211,7 +26254,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26211
26254
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
26212
26255
|
* WebChat service.
|
|
26213
26256
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
26214
|
-
* @version
|
|
26257
|
+
* @version 230.0.0
|
|
26215
26258
|
*//**
|
|
26216
26259
|
* Constructs a new WebChatApi.
|
|
26217
26260
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26355,7 +26398,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26355
26398
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
26356
26399
|
* WebDeployments service.
|
|
26357
26400
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26358
|
-
* @version
|
|
26401
|
+
* @version 230.0.0
|
|
26359
26402
|
*//**
|
|
26360
26403
|
* Constructs a new WebDeploymentsApi.
|
|
26361
26404
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26488,7 +26531,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26488
26531
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
26489
26532
|
* WebMessaging service.
|
|
26490
26533
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26491
|
-
* @version
|
|
26534
|
+
* @version 230.0.0
|
|
26492
26535
|
*//**
|
|
26493
26536
|
* Constructs a new WebMessagingApi.
|
|
26494
26537
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26496,15 +26539,40 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26496
26539
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
26497
26540
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
26498
26541
|
*/function WebMessagingApi(apiClient){_classCallCheck(this,WebMessagingApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
26542
|
+
* Delete device information
|
|
26543
|
+
*
|
|
26544
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
26545
|
+
* @param {String} tokenId Device token id or cookie id
|
|
26546
|
+
*/return _createClass(WebMessagingApi,[{key:"deleteWebmessagingDeploymentPushdevice",value:function deleteWebmessagingDeploymentPushdevice(deploymentId,tokenId){// verify the required parameter 'deploymentId' is set
|
|
26547
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling deleteWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
26548
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling deleteWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','DELETE',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26499
26549
|
* Get the messages for a web messaging session.
|
|
26500
26550
|
*
|
|
26501
26551
|
* @param {Object} opts Optional parameters
|
|
26502
26552
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
26503
26553
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
26504
|
-
*/
|
|
26554
|
+
*/},{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26555
|
+
* Edit device information
|
|
26556
|
+
*
|
|
26557
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
26558
|
+
* @param {String} tokenId Device token id or cookie id
|
|
26559
|
+
* @param {Object} body Request body
|
|
26560
|
+
*/},{key:"patchWebmessagingDeploymentPushdevice",value:function patchWebmessagingDeploymentPushdevice(deploymentId,tokenId,body){// verify the required parameter 'deploymentId' is set
|
|
26561
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling patchWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
26562
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling patchWebmessagingDeploymentPushdevice';}// verify the required parameter 'body' is set
|
|
26563
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','PATCH',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26564
|
+
* Add a new device information
|
|
26565
|
+
*
|
|
26566
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
26567
|
+
* @param {String} tokenId Device token id or cookie id
|
|
26568
|
+
* @param {Object} body Request body
|
|
26569
|
+
*/},{key:"postWebmessagingDeploymentPushdevice",value:function postWebmessagingDeploymentPushdevice(deploymentId,tokenId,body){// verify the required parameter 'deploymentId' is set
|
|
26570
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling postWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
26571
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling postWebmessagingDeploymentPushdevice';}// verify the required parameter 'body' is set
|
|
26572
|
+
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']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
26505
26573
|
* Widgets service.
|
|
26506
26574
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26507
|
-
* @version
|
|
26575
|
+
* @version 230.0.0
|
|
26508
26576
|
*//**
|
|
26509
26577
|
* Constructs a new WidgetsApi.
|
|
26510
26578
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26544,7 +26612,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26544
26612
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
26545
26613
|
* WorkforceManagement service.
|
|
26546
26614
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26547
|
-
* @version
|
|
26615
|
+
* @version 230.0.0
|
|
26548
26616
|
*//**
|
|
26549
26617
|
* Constructs a new WorkforceManagementApi.
|
|
26550
26618
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28496,7 +28564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28496
28564
|
* </pre>
|
|
28497
28565
|
* </p>
|
|
28498
28566
|
* @module purecloud-platform-client-v2/index
|
|
28499
|
-
* @version
|
|
28567
|
+
* @version 230.0.0
|
|
28500
28568
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28501
28569
|
* The ApiClient constructor.
|
|
28502
28570
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|