purecloud-platform-client-v2 225.0.0 → 226.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 +232 -128
- package/dist/web-amd/purecloud-platform-client-v2.js +232 -128
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +128 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +128 -94
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +132 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -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 +145 -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 +3 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -43
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6464,7 +6464,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6464
6464
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6465
6465
|
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];}}}]);}();/**
|
|
6466
6466
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6467
|
-
* @version
|
|
6467
|
+
* @version 226.0.0
|
|
6468
6468
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6469
6469
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6470
6470
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6807,7 +6807,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6807
6807
|
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(){/**
|
|
6808
6808
|
* AIStudio service.
|
|
6809
6809
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6810
|
-
* @version
|
|
6810
|
+
* @version 226.0.0
|
|
6811
6811
|
*//**
|
|
6812
6812
|
* Constructs a new AIStudioApi.
|
|
6813
6813
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -6913,7 +6913,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6913
6913
|
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(){/**
|
|
6914
6914
|
* AgentAssistants service.
|
|
6915
6915
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6916
|
-
* @version
|
|
6916
|
+
* @version 226.0.0
|
|
6917
6917
|
*//**
|
|
6918
6918
|
* Constructs a new AgentAssistantsApi.
|
|
6919
6919
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7015,7 +7015,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
7015
7015
|
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(){/**
|
|
7016
7016
|
* AgentCopilot service.
|
|
7017
7017
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7018
|
-
* @version
|
|
7018
|
+
* @version 226.0.0
|
|
7019
7019
|
*//**
|
|
7020
7020
|
* Constructs a new AgentCopilotApi.
|
|
7021
7021
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7037,7 +7037,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7037
7037
|
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(){/**
|
|
7038
7038
|
* AgentUI service.
|
|
7039
7039
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7040
|
-
* @version
|
|
7040
|
+
* @version 226.0.0
|
|
7041
7041
|
*//**
|
|
7042
7042
|
* Constructs a new AgentUIApi.
|
|
7043
7043
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7071,7 +7071,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7071
7071
|
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(){/**
|
|
7072
7072
|
* Alerting service.
|
|
7073
7073
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7074
|
-
* @version
|
|
7074
|
+
* @version 226.0.0
|
|
7075
7075
|
*//**
|
|
7076
7076
|
* Constructs a new AlertingApi.
|
|
7077
7077
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7160,7 +7160,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7160
7160
|
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(){/**
|
|
7161
7161
|
* Analytics service.
|
|
7162
7162
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7163
|
-
* @version
|
|
7163
|
+
* @version 226.0.0
|
|
7164
7164
|
*//**
|
|
7165
7165
|
* Constructs a new AnalyticsApi.
|
|
7166
7166
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7828,7 +7828,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7828
7828
|
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(){/**
|
|
7829
7829
|
* Architect service.
|
|
7830
7830
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7831
|
-
* @version
|
|
7831
|
+
* @version 226.0.0
|
|
7832
7832
|
*//**
|
|
7833
7833
|
* Constructs a new ArchitectApi.
|
|
7834
7834
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8962,7 +8962,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
8962
8962
|
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(){/**
|
|
8963
8963
|
* Audit service.
|
|
8964
8964
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8965
|
-
* @version
|
|
8965
|
+
* @version 226.0.0
|
|
8966
8966
|
*//**
|
|
8967
8967
|
* Constructs a new AuditApi.
|
|
8968
8968
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9012,7 +9012,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9012
9012
|
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(){/**
|
|
9013
9013
|
* Authorization service.
|
|
9014
9014
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9015
|
-
* @version
|
|
9015
|
+
* @version 226.0.0
|
|
9016
9016
|
*//**
|
|
9017
9017
|
* Constructs a new AuthorizationApi.
|
|
9018
9018
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9447,7 +9447,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9447
9447
|
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(){/**
|
|
9448
9448
|
* Billing service.
|
|
9449
9449
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9450
|
-
* @version
|
|
9450
|
+
* @version 226.0.0
|
|
9451
9451
|
*//**
|
|
9452
9452
|
* Constructs a new BillingApi.
|
|
9453
9453
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9524,7 +9524,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9524
9524
|
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(){/**
|
|
9525
9525
|
* BusinessRules service.
|
|
9526
9526
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9527
|
-
* @version
|
|
9527
|
+
* @version 226.0.0
|
|
9528
9528
|
*//**
|
|
9529
9529
|
* Constructs a new BusinessRulesApi.
|
|
9530
9530
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -9787,7 +9787,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
9787
9787
|
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(){/**
|
|
9788
9788
|
* CarrierServices service.
|
|
9789
9789
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9790
|
-
* @version
|
|
9790
|
+
* @version 226.0.0
|
|
9791
9791
|
*//**
|
|
9792
9792
|
* Constructs a new CarrierServicesApi.
|
|
9793
9793
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9807,7 +9807,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9807
9807
|
*/},{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(){/**
|
|
9808
9808
|
* Chat service.
|
|
9809
9809
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9810
|
-
* @version
|
|
9810
|
+
* @version 226.0.0
|
|
9811
9811
|
*//**
|
|
9812
9812
|
* Constructs a new ChatApi.
|
|
9813
9813
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10027,7 +10027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10027
10027
|
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(){/**
|
|
10028
10028
|
* Coaching service.
|
|
10029
10029
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10030
|
-
* @version
|
|
10030
|
+
* @version 226.0.0
|
|
10031
10031
|
*//**
|
|
10032
10032
|
* Constructs a new CoachingApi.
|
|
10033
10033
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10180,7 +10180,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10180
10180
|
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(){/**
|
|
10181
10181
|
* ContentManagement service.
|
|
10182
10182
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10183
|
-
* @version
|
|
10183
|
+
* @version 226.0.0
|
|
10184
10184
|
*//**
|
|
10185
10185
|
* Constructs a new ContentManagementApi.
|
|
10186
10186
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10462,7 +10462,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10462
10462
|
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(){/**
|
|
10463
10463
|
* Conversations service.
|
|
10464
10464
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10465
|
-
* @version
|
|
10465
|
+
* @version 226.0.0
|
|
10466
10466
|
*//**
|
|
10467
10467
|
* Constructs a new ConversationsApi.
|
|
10468
10468
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11710,6 +11710,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11710
11710
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
11711
11711
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
11712
11712
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantReplaceAgent';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/replace/agent','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11713
|
+
* Replace this participant with the an external contact
|
|
11714
|
+
*
|
|
11715
|
+
* @param {String} conversationId conversation ID
|
|
11716
|
+
* @param {String} participantId participant ID
|
|
11717
|
+
* @param {Object} body Transfer request
|
|
11718
|
+
* postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11719
|
+
*/},{key:"postConversationParticipantReplaceContactExternal",value:function postConversationParticipantReplaceContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11720
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'participantId' is set
|
|
11721
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'body' is set
|
|
11722
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11713
11723
|
* Replace this participant with the an external contact
|
|
11714
11724
|
*
|
|
11715
11725
|
* @param {String} conversationId conversation ID
|
|
@@ -11737,6 +11747,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11737
11747
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11738
11748
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
11739
11749
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11750
|
+
* Replace this participant by another one using the address of the destination.
|
|
11751
|
+
*
|
|
11752
|
+
* @param {String} conversationId conversation ID
|
|
11753
|
+
* @param {String} participantId participant ID
|
|
11754
|
+
* @param {Object} body Transfer request
|
|
11755
|
+
* postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11756
|
+
*/},{key:"postConversationParticipantTransfer",value:function postConversationParticipantTransfer(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11757
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';}// verify the required parameter 'participantId' is set
|
|
11758
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';}// verify the required parameter 'body' is set
|
|
11759
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantTransfer';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/transfer','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11740
11760
|
* Save an engagement on the suggestion.
|
|
11741
11761
|
*
|
|
11742
11762
|
* @param {String} conversationId Conversation ID
|
|
@@ -11813,6 +11833,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11813
11833
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
11814
11834
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
11815
11835
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultAgent';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/agent','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11836
|
+
* Initiate a consult transfer to an external contact
|
|
11837
|
+
*
|
|
11838
|
+
* @param {String} conversationId conversationId
|
|
11839
|
+
* @param {String} participantId participantId
|
|
11840
|
+
* @param {Object} body Destination address and initial speak to
|
|
11841
|
+
* postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11842
|
+
*/},{key:"postConversationsCallParticipantConsultContactExternal",value:function postConversationsCallParticipantConsultContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11843
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'participantId' is set
|
|
11844
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'body' is set
|
|
11845
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11816
11846
|
* Initiate a consult transfer to an external contact
|
|
11817
11847
|
*
|
|
11818
11848
|
* @param {String} conversationId conversationId
|
|
@@ -11847,6 +11877,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11847
11877
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
11848
11878
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
|
|
11849
11879
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11880
|
+
* Initiate voice consult transfer
|
|
11881
|
+
*
|
|
11882
|
+
* @param {String} conversationId conversationId
|
|
11883
|
+
* @param {String} participantId participantId
|
|
11884
|
+
* @param {Object} body Destination address and initial speak to
|
|
11885
|
+
* postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11886
|
+
*/},{key:"postConversationsCallParticipantVoiceConsult",value:function postConversationsCallParticipantVoiceConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11887
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'participantId' is set
|
|
11888
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'body' is set
|
|
11889
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantVoiceConsult';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/voice/consult','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11850
11890
|
* Add participants to a conversation
|
|
11851
11891
|
*
|
|
11852
11892
|
* @param {String} conversationId conversationId
|
|
@@ -12428,7 +12468,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12428
12468
|
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(){/**
|
|
12429
12469
|
* DataExtensions service.
|
|
12430
12470
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12431
|
-
* @version
|
|
12471
|
+
* @version 226.0.0
|
|
12432
12472
|
*//**
|
|
12433
12473
|
* Constructs a new DataExtensionsApi.
|
|
12434
12474
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12449,7 +12489,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12449
12489
|
*/},{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(){/**
|
|
12450
12490
|
* DataPrivacy service.
|
|
12451
12491
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12452
|
-
* @version
|
|
12492
|
+
* @version 226.0.0
|
|
12453
12493
|
*//**
|
|
12454
12494
|
* Constructs a new DataPrivacyApi.
|
|
12455
12495
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12489,7 +12529,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12489
12529
|
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(){/**
|
|
12490
12530
|
* Downloads service.
|
|
12491
12531
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12492
|
-
* @version
|
|
12532
|
+
* @version 226.0.0
|
|
12493
12533
|
*//**
|
|
12494
12534
|
* Constructs a new DownloadsApi.
|
|
12495
12535
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12508,7 +12548,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12508
12548
|
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(){/**
|
|
12509
12549
|
* Emails service.
|
|
12510
12550
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12511
|
-
* @version
|
|
12551
|
+
* @version 226.0.0
|
|
12512
12552
|
*//**
|
|
12513
12553
|
* Constructs a new EmailsApi.
|
|
12514
12554
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12537,7 +12577,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12537
12577
|
*/},{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(){/**
|
|
12538
12578
|
* EmployeeEngagement service.
|
|
12539
12579
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12540
|
-
* @version
|
|
12580
|
+
* @version 226.0.0
|
|
12541
12581
|
*//**
|
|
12542
12582
|
* Constructs a new EmployeeEngagementApi.
|
|
12543
12583
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12575,7 +12615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12575
12615
|
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(){/**
|
|
12576
12616
|
* Events service.
|
|
12577
12617
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12578
|
-
* @version
|
|
12618
|
+
* @version 226.0.0
|
|
12579
12619
|
*//**
|
|
12580
12620
|
* Constructs a new EventsApi.
|
|
12581
12621
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12600,7 +12640,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12600
12640
|
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(){/**
|
|
12601
12641
|
* ExternalContacts service.
|
|
12602
12642
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12603
|
-
* @version
|
|
12643
|
+
* @version 226.0.0
|
|
12604
12644
|
*//**
|
|
12605
12645
|
* Constructs a new ExternalContactsApi.
|
|
12606
12646
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13335,7 +13375,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13335
13375
|
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(){/**
|
|
13336
13376
|
* Fax service.
|
|
13337
13377
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13338
|
-
* @version
|
|
13378
|
+
* @version 226.0.0
|
|
13339
13379
|
*//**
|
|
13340
13380
|
* Constructs a new FaxApi.
|
|
13341
13381
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13384,7 +13424,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13384
13424
|
*/},{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(){/**
|
|
13385
13425
|
* Flows service.
|
|
13386
13426
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13387
|
-
* @version
|
|
13427
|
+
* @version 226.0.0
|
|
13388
13428
|
*//**
|
|
13389
13429
|
* Constructs a new FlowsApi.
|
|
13390
13430
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13432,7 +13472,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13432
13472
|
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(){/**
|
|
13433
13473
|
* Gamification service.
|
|
13434
13474
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13435
|
-
* @version
|
|
13475
|
+
* @version 226.0.0
|
|
13436
13476
|
*//**
|
|
13437
13477
|
* Constructs a new GamificationApi.
|
|
13438
13478
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14085,7 +14125,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14085
14125
|
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(){/**
|
|
14086
14126
|
* GeneralDataProtectionRegulation service.
|
|
14087
14127
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14088
|
-
* @version
|
|
14128
|
+
* @version 226.0.0
|
|
14089
14129
|
*//**
|
|
14090
14130
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14091
14131
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14120,7 +14160,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14120
14160
|
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(){/**
|
|
14121
14161
|
* Geolocation service.
|
|
14122
14162
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14123
|
-
* @version
|
|
14163
|
+
* @version 226.0.0
|
|
14124
14164
|
*//**
|
|
14125
14165
|
* Constructs a new GeolocationApi.
|
|
14126
14166
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14154,7 +14194,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14154
14194
|
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(){/**
|
|
14155
14195
|
* Greetings service.
|
|
14156
14196
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14157
|
-
* @version
|
|
14197
|
+
* @version 226.0.0
|
|
14158
14198
|
*//**
|
|
14159
14199
|
* Constructs a new GreetingsApi.
|
|
14160
14200
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14282,7 +14322,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14282
14322
|
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(){/**
|
|
14283
14323
|
* Groups service.
|
|
14284
14324
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14285
|
-
* @version
|
|
14325
|
+
* @version 226.0.0
|
|
14286
14326
|
*//**
|
|
14287
14327
|
* Constructs a new GroupsApi.
|
|
14288
14328
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14415,7 +14455,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14415
14455
|
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(){/**
|
|
14416
14456
|
* IdentityProvider service.
|
|
14417
14457
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14418
|
-
* @version
|
|
14458
|
+
* @version 226.0.0
|
|
14419
14459
|
*//**
|
|
14420
14460
|
* Constructs a new IdentityProviderApi.
|
|
14421
14461
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14571,7 +14611,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14571
14611
|
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(){/**
|
|
14572
14612
|
* InfrastructureAsCode service.
|
|
14573
14613
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14574
|
-
* @version
|
|
14614
|
+
* @version 226.0.0
|
|
14575
14615
|
*//**
|
|
14576
14616
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14577
14617
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -14625,7 +14665,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
14625
14665
|
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(){/**
|
|
14626
14666
|
* Integrations service.
|
|
14627
14667
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
14628
|
-
* @version
|
|
14668
|
+
* @version 226.0.0
|
|
14629
14669
|
*//**
|
|
14630
14670
|
* Constructs a new IntegrationsApi.
|
|
14631
14671
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14885,10 +14925,11 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
14885
14925
|
*/},{key:"getIntegrationsCredential",value:function getIntegrationsCredential(credentialId){// verify the required parameter 'credentialId' is set
|
|
14886
14926
|
if(credentialId===undefined||credentialId===null||credentialId===''){throw'Missing the required parameter "credentialId" when calling getIntegrationsCredential';}return this.apiClient.callApi('/api/v2/integrations/credentials/{credentialId}','GET',{'credentialId':credentialId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14887
14927
|
* List multiple sets of credentials
|
|
14888
|
-
*
|
|
14928
|
+
* This endpoint is deprecated. Please see the Listing API (GET /api/v2/integrations/credentials/listing)
|
|
14889
14929
|
* @param {Object} opts Optional parameters
|
|
14890
14930
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
14891
14931
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
14932
|
+
* @deprecated
|
|
14892
14933
|
*/},{key:"getIntegrationsCredentials",value:function getIntegrationsCredentials(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/credentials','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14893
14934
|
* List multiple sets of credentials using cursor-based paging
|
|
14894
14935
|
*
|
|
@@ -15311,7 +15352,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15311
15352
|
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(){/**
|
|
15312
15353
|
* Journey service.
|
|
15313
15354
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15314
|
-
* @version
|
|
15355
|
+
* @version 226.0.0
|
|
15315
15356
|
*//**
|
|
15316
15357
|
* Constructs a new JourneyApi.
|
|
15317
15358
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -15791,7 +15832,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
15791
15832
|
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(){/**
|
|
15792
15833
|
* Knowledge service.
|
|
15793
15834
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
15794
|
-
* @version
|
|
15835
|
+
* @version 226.0.0
|
|
15795
15836
|
*//**
|
|
15796
15837
|
* Constructs a new KnowledgeApi.
|
|
15797
15838
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16854,7 +16895,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
16854
16895
|
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(){/**
|
|
16855
16896
|
* LanguageUnderstanding service.
|
|
16856
16897
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
16857
|
-
* @version
|
|
16898
|
+
* @version 226.0.0
|
|
16858
16899
|
*//**
|
|
16859
16900
|
* Constructs a new LanguageUnderstandingApi.
|
|
16860
16901
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17113,7 +17154,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17113
17154
|
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(){/**
|
|
17114
17155
|
* Languages service.
|
|
17115
17156
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17116
|
-
* @version
|
|
17157
|
+
* @version 226.0.0
|
|
17117
17158
|
*//**
|
|
17118
17159
|
* Constructs a new LanguagesApi.
|
|
17119
17160
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17168,7 +17209,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17168
17209
|
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(){/**
|
|
17169
17210
|
* Learning service.
|
|
17170
17211
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17171
|
-
* @version
|
|
17212
|
+
* @version 226.0.0
|
|
17172
17213
|
*//**
|
|
17173
17214
|
* Constructs a new LearningApi.
|
|
17174
17215
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17439,7 +17480,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17439
17480
|
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(){/**
|
|
17440
17481
|
* License service.
|
|
17441
17482
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17442
|
-
* @version
|
|
17483
|
+
* @version 226.0.0
|
|
17443
17484
|
*//**
|
|
17444
17485
|
* Constructs a new LicenseApi.
|
|
17445
17486
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17493,7 +17534,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17493
17534
|
*/},{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(){/**
|
|
17494
17535
|
* Locations service.
|
|
17495
17536
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17496
|
-
* @version
|
|
17537
|
+
* @version 226.0.0
|
|
17497
17538
|
*//**
|
|
17498
17539
|
* Constructs a new LocationsApi.
|
|
17499
17540
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17552,7 +17593,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17552
17593
|
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(){/**
|
|
17553
17594
|
* LogCapture service.
|
|
17554
17595
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17555
|
-
* @version
|
|
17596
|
+
* @version 226.0.0
|
|
17556
17597
|
*//**
|
|
17557
17598
|
* Constructs a new LogCaptureApi.
|
|
17558
17599
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17601,7 +17642,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17601
17642
|
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(){/**
|
|
17602
17643
|
* Messaging service.
|
|
17603
17644
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17604
|
-
* @version
|
|
17645
|
+
* @version 226.0.0
|
|
17605
17646
|
*//**
|
|
17606
17647
|
* Constructs a new MessagingApi.
|
|
17607
17648
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -17691,7 +17732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17691
17732
|
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(){/**
|
|
17692
17733
|
* MobileDevices service.
|
|
17693
17734
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
17694
|
-
* @version
|
|
17735
|
+
* @version 226.0.0
|
|
17695
17736
|
*//**
|
|
17696
17737
|
* Constructs a new MobileDevicesApi.
|
|
17697
17738
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -17730,7 +17771,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17730
17771
|
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(){/**
|
|
17731
17772
|
* Notifications service.
|
|
17732
17773
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
17733
|
-
* @version
|
|
17774
|
+
* @version 226.0.0
|
|
17734
17775
|
*//**
|
|
17735
17776
|
* Constructs a new NotificationsApi.
|
|
17736
17777
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -17787,7 +17828,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
17787
17828
|
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(){/**
|
|
17788
17829
|
* OAuth service.
|
|
17789
17830
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
17790
|
-
* @version
|
|
17831
|
+
* @version 226.0.0
|
|
17791
17832
|
*//**
|
|
17792
17833
|
* Constructs a new OAuthApi.
|
|
17793
17834
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -17872,7 +17913,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
17872
17913
|
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(){/**
|
|
17873
17914
|
* Objects service.
|
|
17874
17915
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
17875
|
-
* @version
|
|
17916
|
+
* @version 226.0.0
|
|
17876
17917
|
*//**
|
|
17877
17918
|
* Constructs a new ObjectsApi.
|
|
17878
17919
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -17958,7 +17999,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
17958
17999
|
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(){/**
|
|
17959
18000
|
* OperationalEvents service.
|
|
17960
18001
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
17961
|
-
* @version
|
|
18002
|
+
* @version 226.0.0
|
|
17962
18003
|
*//**
|
|
17963
18004
|
* Constructs a new OperationalEventsApi.
|
|
17964
18005
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17989,7 +18030,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
17989
18030
|
*/},{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(){/**
|
|
17990
18031
|
* Organization service.
|
|
17991
18032
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17992
|
-
* @version
|
|
18033
|
+
* @version 226.0.0
|
|
17993
18034
|
*//**
|
|
17994
18035
|
* Constructs a new OrganizationApi.
|
|
17995
18036
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18094,7 +18135,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18094
18135
|
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(){/**
|
|
18095
18136
|
* OrganizationAuthorization service.
|
|
18096
18137
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18097
|
-
* @version
|
|
18138
|
+
* @version 226.0.0
|
|
18098
18139
|
*//**
|
|
18099
18140
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18100
18141
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18428,7 +18469,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18428
18469
|
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(){/**
|
|
18429
18470
|
* Outbound service.
|
|
18430
18471
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18431
|
-
* @version
|
|
18472
|
+
* @version 226.0.0
|
|
18432
18473
|
*//**
|
|
18433
18474
|
* Constructs a new OutboundApi.
|
|
18434
18475
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19559,7 +19600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19559
19600
|
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(){/**
|
|
19560
19601
|
* Presence service.
|
|
19561
19602
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19562
|
-
* @version
|
|
19603
|
+
* @version 226.0.0
|
|
19563
19604
|
*//**
|
|
19564
19605
|
* Constructs a new PresenceApi.
|
|
19565
19606
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19732,7 +19773,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19732
19773
|
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(){/**
|
|
19733
19774
|
* ProcessAutomation service.
|
|
19734
19775
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19735
|
-
* @version
|
|
19776
|
+
* @version 226.0.0
|
|
19736
19777
|
*//**
|
|
19737
19778
|
* Constructs a new ProcessAutomationApi.
|
|
19738
19779
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19795,7 +19836,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19795
19836
|
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(){/**
|
|
19796
19837
|
* Quality service.
|
|
19797
19838
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19798
|
-
* @version
|
|
19839
|
+
* @version 226.0.0
|
|
19799
19840
|
*//**
|
|
19800
19841
|
* Constructs a new QualityApi.
|
|
19801
19842
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20273,7 +20314,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20273
20314
|
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(){/**
|
|
20274
20315
|
* Recording service.
|
|
20275
20316
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20276
|
-
* @version
|
|
20317
|
+
* @version 226.0.0
|
|
20277
20318
|
*//**
|
|
20278
20319
|
* Constructs a new RecordingApi.
|
|
20279
20320
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20672,7 +20713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20672
20713
|
*/},{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(){/**
|
|
20673
20714
|
* ResponseManagement service.
|
|
20674
20715
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20675
|
-
* @version
|
|
20716
|
+
* @version 226.0.0
|
|
20676
20717
|
*//**
|
|
20677
20718
|
* Constructs a new ResponseManagementApi.
|
|
20678
20719
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20793,7 +20834,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20793
20834
|
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(){/**
|
|
20794
20835
|
* Routing service.
|
|
20795
20836
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20796
|
-
* @version
|
|
20837
|
+
* @version 226.0.0
|
|
20797
20838
|
*//**
|
|
20798
20839
|
* Constructs a new RoutingApi.
|
|
20799
20840
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21177,8 +21218,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
21177
21218
|
* @param {Object} opts Optional parameters
|
|
21178
21219
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21179
21220
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21221
|
+
* @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
|
|
21180
21222
|
*/},{key:"getRoutingQueueWrapupcodes",value:function getRoutingQueueWrapupcodes(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
21181
|
-
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/wrapupcodes','GET',{'queueId':queueId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21223
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/wrapupcodes','GET',{'queueId':queueId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21182
21224
|
* Get list of queues.
|
|
21183
21225
|
*
|
|
21184
21226
|
* @param {Object} opts Optional parameters
|
|
@@ -21848,7 +21890,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21848
21890
|
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(){/**
|
|
21849
21891
|
* SCIM service.
|
|
21850
21892
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
21851
|
-
* @version
|
|
21893
|
+
* @version 226.0.0
|
|
21852
21894
|
*//**
|
|
21853
21895
|
* Constructs a new SCIMApi.
|
|
21854
21896
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22073,7 +22115,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22073
22115
|
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(){/**
|
|
22074
22116
|
* ScreenRecording service.
|
|
22075
22117
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22076
|
-
* @version
|
|
22118
|
+
* @version 226.0.0
|
|
22077
22119
|
*//**
|
|
22078
22120
|
* Constructs a new ScreenRecordingApi.
|
|
22079
22121
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22088,7 +22130,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22088
22130
|
*/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(){/**
|
|
22089
22131
|
* Scripts service.
|
|
22090
22132
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22091
|
-
* @version
|
|
22133
|
+
* @version 226.0.0
|
|
22092
22134
|
*//**
|
|
22093
22135
|
* Constructs a new ScriptsApi.
|
|
22094
22136
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22234,7 +22276,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22234
22276
|
*/},{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(){/**
|
|
22235
22277
|
* Search service.
|
|
22236
22278
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22237
|
-
* @version
|
|
22279
|
+
* @version 226.0.0
|
|
22238
22280
|
*//**
|
|
22239
22281
|
* Constructs a new SearchApi.
|
|
22240
22282
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22406,7 +22448,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22406
22448
|
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(){/**
|
|
22407
22449
|
* Settings service.
|
|
22408
22450
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22409
|
-
* @version
|
|
22451
|
+
* @version 226.0.0
|
|
22410
22452
|
*//**
|
|
22411
22453
|
* Constructs a new SettingsApi.
|
|
22412
22454
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22478,7 +22520,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22478
22520
|
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(){/**
|
|
22479
22521
|
* SocialMedia service.
|
|
22480
22522
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22481
|
-
* @version
|
|
22523
|
+
* @version 226.0.0
|
|
22482
22524
|
*//**
|
|
22483
22525
|
* Constructs a new SocialMediaApi.
|
|
22484
22526
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -22826,7 +22868,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
22826
22868
|
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(){/**
|
|
22827
22869
|
* SpeechTextAnalytics service.
|
|
22828
22870
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
22829
|
-
* @version
|
|
22871
|
+
* @version 226.0.0
|
|
22830
22872
|
*//**
|
|
22831
22873
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
22832
22874
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23157,7 +23199,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23157
23199
|
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(){/**
|
|
23158
23200
|
* Stations service.
|
|
23159
23201
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23160
|
-
* @version
|
|
23202
|
+
* @version 226.0.0
|
|
23161
23203
|
*//**
|
|
23162
23204
|
* Constructs a new StationsApi.
|
|
23163
23205
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23189,7 +23231,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23189
23231
|
*/},{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(){/**
|
|
23190
23232
|
* Suggest service.
|
|
23191
23233
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23192
|
-
* @version
|
|
23234
|
+
* @version 226.0.0
|
|
23193
23235
|
*//**
|
|
23194
23236
|
* Constructs a new SuggestApi.
|
|
23195
23237
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23229,7 +23271,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23229
23271
|
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(){/**
|
|
23230
23272
|
* TaskManagement service.
|
|
23231
23273
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23232
|
-
* @version
|
|
23274
|
+
* @version 226.0.0
|
|
23233
23275
|
*//**
|
|
23234
23276
|
* Constructs a new TaskManagementApi.
|
|
23235
23277
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -23737,7 +23779,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
23737
23779
|
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(){/**
|
|
23738
23780
|
* Teams service.
|
|
23739
23781
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
23740
|
-
* @version
|
|
23782
|
+
* @version 226.0.0
|
|
23741
23783
|
*//**
|
|
23742
23784
|
* Constructs a new TeamsApi.
|
|
23743
23785
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -23817,7 +23859,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23817
23859
|
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(){/**
|
|
23818
23860
|
* Telephony service.
|
|
23819
23861
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
23820
|
-
* @version
|
|
23862
|
+
* @version 226.0.0
|
|
23821
23863
|
*//**
|
|
23822
23864
|
* Constructs a new TelephonyApi.
|
|
23823
23865
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -23864,7 +23906,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
23864
23906
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
23865
23907
|
* TelephonyProvidersEdge service.
|
|
23866
23908
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
23867
|
-
* @version
|
|
23909
|
+
* @version 226.0.0
|
|
23868
23910
|
*//**
|
|
23869
23911
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
23870
23912
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -24712,7 +24754,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
24712
24754
|
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(){/**
|
|
24713
24755
|
* Textbots service.
|
|
24714
24756
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
24715
|
-
* @version
|
|
24757
|
+
* @version 226.0.0
|
|
24716
24758
|
*//**
|
|
24717
24759
|
* Constructs a new TextbotsApi.
|
|
24718
24760
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -24748,7 +24790,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
24748
24790
|
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(){/**
|
|
24749
24791
|
* Tokens service.
|
|
24750
24792
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
24751
|
-
* @version
|
|
24793
|
+
* @version 226.0.0
|
|
24752
24794
|
*//**
|
|
24753
24795
|
* Constructs a new TokensApi.
|
|
24754
24796
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -24782,7 +24824,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
24782
24824
|
*/},{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(){/**
|
|
24783
24825
|
* Uploads service.
|
|
24784
24826
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
24785
|
-
* @version
|
|
24827
|
+
* @version 226.0.0
|
|
24786
24828
|
*//**
|
|
24787
24829
|
* Constructs a new UploadsApi.
|
|
24788
24830
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -24850,7 +24892,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24850
24892
|
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(){/**
|
|
24851
24893
|
* Usage service.
|
|
24852
24894
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
24853
|
-
* @version
|
|
24895
|
+
* @version 226.0.0
|
|
24854
24896
|
*//**
|
|
24855
24897
|
* Constructs a new UsageApi.
|
|
24856
24898
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -24904,7 +24946,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24904
24946
|
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(){/**
|
|
24905
24947
|
* UserRecordings service.
|
|
24906
24948
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
24907
|
-
* @version
|
|
24949
|
+
* @version 226.0.0
|
|
24908
24950
|
*//**
|
|
24909
24951
|
* Constructs a new UserRecordingsApi.
|
|
24910
24952
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -24961,7 +25003,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
24961
25003
|
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(){/**
|
|
24962
25004
|
* Users service.
|
|
24963
25005
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
24964
|
-
* @version
|
|
25006
|
+
* @version 226.0.0
|
|
24965
25007
|
*//**
|
|
24966
25008
|
* Constructs a new UsersApi.
|
|
24967
25009
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -25699,7 +25741,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
25699
25741
|
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(){/**
|
|
25700
25742
|
* Utilities service.
|
|
25701
25743
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
25702
|
-
* @version
|
|
25744
|
+
* @version 226.0.0
|
|
25703
25745
|
*//**
|
|
25704
25746
|
* Constructs a new UtilitiesApi.
|
|
25705
25747
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -25726,7 +25768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25726
25768
|
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(){/**
|
|
25727
25769
|
* Voicemail service.
|
|
25728
25770
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
25729
|
-
* @version
|
|
25771
|
+
* @version 226.0.0
|
|
25730
25772
|
*//**
|
|
25731
25773
|
* Constructs a new VoicemailApi.
|
|
25732
25774
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -25888,7 +25930,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25888
25930
|
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(){/**
|
|
25889
25931
|
* WebChat service.
|
|
25890
25932
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
25891
|
-
* @version
|
|
25933
|
+
* @version 226.0.0
|
|
25892
25934
|
*//**
|
|
25893
25935
|
* Constructs a new WebChatApi.
|
|
25894
25936
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26032,7 +26074,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26032
26074
|
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(){/**
|
|
26033
26075
|
* WebDeployments service.
|
|
26034
26076
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26035
|
-
* @version
|
|
26077
|
+
* @version 226.0.0
|
|
26036
26078
|
*//**
|
|
26037
26079
|
* Constructs a new WebDeploymentsApi.
|
|
26038
26080
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26165,7 +26207,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26165
26207
|
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(){/**
|
|
26166
26208
|
* WebMessaging service.
|
|
26167
26209
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26168
|
-
* @version
|
|
26210
|
+
* @version 226.0.0
|
|
26169
26211
|
*//**
|
|
26170
26212
|
* Constructs a new WebMessagingApi.
|
|
26171
26213
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26181,7 +26223,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26181
26223
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
26182
26224
|
* Widgets service.
|
|
26183
26225
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26184
|
-
* @version
|
|
26226
|
+
* @version 226.0.0
|
|
26185
26227
|
*//**
|
|
26186
26228
|
* Constructs a new WidgetsApi.
|
|
26187
26229
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26221,7 +26263,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26221
26263
|
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(){/**
|
|
26222
26264
|
* WorkforceManagement service.
|
|
26223
26265
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26224
|
-
* @version
|
|
26266
|
+
* @version 226.0.0
|
|
26225
26267
|
*//**
|
|
26226
26268
|
* Constructs a new WorkforceManagementApi.
|
|
26227
26269
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -26834,10 +26876,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
26834
26876
|
* Retrieves all delete job status for historical data
|
|
26835
26877
|
*
|
|
26836
26878
|
*/},{key:"getWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function getWorkforcemanagementHistoricaldataBulkRemoveJobs(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26837
|
-
* Retrieves delete job status for historical data imports of the organization.
|
|
26838
|
-
* Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
26839
|
-
* @deprecated
|
|
26840
|
-
*/},{key:"getWorkforcemanagementHistoricaldataDeletejob",value:function getWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26841
26879
|
* Retrieves status of the historical data imports of the organization
|
|
26842
26880
|
*
|
|
26843
26881
|
*/},{key:"getWorkforcemanagementHistoricaldataImportstatus",value:function getWorkforcemanagementHistoricaldataImportstatus(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -27719,10 +27757,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27719
27757
|
* @param {Object} body body
|
|
27720
27758
|
*/},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(body){// verify the required parameter 'body' is set
|
|
27721
27759
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27722
|
-
* Delete the entries of the historical data imports in the organization.
|
|
27723
|
-
* Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
27724
|
-
* @deprecated
|
|
27725
|
-
*/},{key:"postWorkforcemanagementHistoricaldataDeletejob",value:function postWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27726
27760
|
* Trigger validation process for historical import
|
|
27727
27761
|
*
|
|
27728
27762
|
* @param {Object} body body
|
|
@@ -28054,7 +28088,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28054
28088
|
* </pre>
|
|
28055
28089
|
* </p>
|
|
28056
28090
|
* @module purecloud-platform-client-v2/index
|
|
28057
|
-
* @version
|
|
28091
|
+
* @version 226.0.0
|
|
28058
28092
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28059
28093
|
* The ApiClient constructor.
|
|
28060
28094
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|