purecloud-platform-client-v2 226.0.0 → 227.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 +154 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +154 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +97 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +97 -84
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +752 -723
- 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 +46 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +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 +26 -1
- 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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.0.0
|
|
9811
9811
|
*//**
|
|
9812
9812
|
* Constructs a new ChatApi.
|
|
9813
9813
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9850,6 +9850,9 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
9850
9850
|
*/},{key:"deleteChatsUserMessagesPin",value:function deleteChatsUserMessagesPin(userId,pinnedMessageId){// verify the required parameter 'userId' is set
|
|
9851
9851
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';}// verify the required parameter 'pinnedMessageId' is set
|
|
9852
9852
|
if(pinnedMessageId===undefined||pinnedMessageId===null||pinnedMessageId===''){throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}','DELETE',{'userId':userId,'pinnedMessageId':pinnedMessageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9853
|
+
* Delete a user's chat settings
|
|
9854
|
+
*
|
|
9855
|
+
*/},{key:"deleteChatsUsersMeSettings",value:function deleteChatsUsersMeSettings(){return this.apiClient.callApi('/api/v2/chats/users/me/settings','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9853
9856
|
* Get a message
|
|
9854
9857
|
*
|
|
9855
9858
|
* @param {String} messageId messageId
|
|
@@ -10013,6 +10016,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10013
10016
|
*/},{key:"postChatsUserMessagesPins",value:function postChatsUserMessagesPins(userId,body){// verify the required parameter 'userId' is set
|
|
10014
10017
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';}// verify the required parameter 'body' is set
|
|
10015
10018
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10019
|
+
* Create a user's chat settings
|
|
10020
|
+
*
|
|
10021
|
+
* @param {Object} body
|
|
10022
|
+
*/},{key:"postChatsUsersMeSettings",value:function postChatsUsersMeSettings(body){// verify the required parameter 'body' is set
|
|
10023
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUsersMeSettings';}return this.apiClient.callApi('/api/v2/chats/users/me/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10016
10024
|
* Update reactions to a message
|
|
10017
10025
|
*
|
|
10018
10026
|
* @param {String} messageId messageId
|
|
@@ -10027,7 +10035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10027
10035
|
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
10036
|
* Coaching service.
|
|
10029
10037
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10030
|
-
* @version
|
|
10038
|
+
* @version 227.0.0
|
|
10031
10039
|
*//**
|
|
10032
10040
|
* Constructs a new CoachingApi.
|
|
10033
10041
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10180,7 +10188,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10180
10188
|
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
10189
|
* ContentManagement service.
|
|
10182
10190
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10183
|
-
* @version
|
|
10191
|
+
* @version 227.0.0
|
|
10184
10192
|
*//**
|
|
10185
10193
|
* Constructs a new ContentManagementApi.
|
|
10186
10194
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10462,7 +10470,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10462
10470
|
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
10471
|
* Conversations service.
|
|
10464
10472
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10465
|
-
* @version
|
|
10473
|
+
* @version 227.0.0
|
|
10466
10474
|
*//**
|
|
10467
10475
|
* Constructs a new ConversationsApi.
|
|
10468
10476
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -12468,7 +12476,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12468
12476
|
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(){/**
|
|
12469
12477
|
* DataExtensions service.
|
|
12470
12478
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12471
|
-
* @version
|
|
12479
|
+
* @version 227.0.0
|
|
12472
12480
|
*//**
|
|
12473
12481
|
* Constructs a new DataExtensionsApi.
|
|
12474
12482
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12489,7 +12497,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12489
12497
|
*/},{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(){/**
|
|
12490
12498
|
* DataPrivacy service.
|
|
12491
12499
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12492
|
-
* @version
|
|
12500
|
+
* @version 227.0.0
|
|
12493
12501
|
*//**
|
|
12494
12502
|
* Constructs a new DataPrivacyApi.
|
|
12495
12503
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12529,7 +12537,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12529
12537
|
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(){/**
|
|
12530
12538
|
* Downloads service.
|
|
12531
12539
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12532
|
-
* @version
|
|
12540
|
+
* @version 227.0.0
|
|
12533
12541
|
*//**
|
|
12534
12542
|
* Constructs a new DownloadsApi.
|
|
12535
12543
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12548,7 +12556,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12548
12556
|
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(){/**
|
|
12549
12557
|
* Emails service.
|
|
12550
12558
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12551
|
-
* @version
|
|
12559
|
+
* @version 227.0.0
|
|
12552
12560
|
*//**
|
|
12553
12561
|
* Constructs a new EmailsApi.
|
|
12554
12562
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12577,7 +12585,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12577
12585
|
*/},{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(){/**
|
|
12578
12586
|
* EmployeeEngagement service.
|
|
12579
12587
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12580
|
-
* @version
|
|
12588
|
+
* @version 227.0.0
|
|
12581
12589
|
*//**
|
|
12582
12590
|
* Constructs a new EmployeeEngagementApi.
|
|
12583
12591
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12615,7 +12623,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12615
12623
|
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(){/**
|
|
12616
12624
|
* Events service.
|
|
12617
12625
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12618
|
-
* @version
|
|
12626
|
+
* @version 227.0.0
|
|
12619
12627
|
*//**
|
|
12620
12628
|
* Constructs a new EventsApi.
|
|
12621
12629
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12640,7 +12648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12640
12648
|
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(){/**
|
|
12641
12649
|
* ExternalContacts service.
|
|
12642
12650
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12643
|
-
* @version
|
|
12651
|
+
* @version 227.0.0
|
|
12644
12652
|
*//**
|
|
12645
12653
|
* Constructs a new ExternalContactsApi.
|
|
12646
12654
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13375,7 +13383,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13375
13383
|
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(){/**
|
|
13376
13384
|
* Fax service.
|
|
13377
13385
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13378
|
-
* @version
|
|
13386
|
+
* @version 227.0.0
|
|
13379
13387
|
*//**
|
|
13380
13388
|
* Constructs a new FaxApi.
|
|
13381
13389
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13424,7 +13432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13424
13432
|
*/},{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(){/**
|
|
13425
13433
|
* Flows service.
|
|
13426
13434
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13427
|
-
* @version
|
|
13435
|
+
* @version 227.0.0
|
|
13428
13436
|
*//**
|
|
13429
13437
|
* Constructs a new FlowsApi.
|
|
13430
13438
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13472,7 +13480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13472
13480
|
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(){/**
|
|
13473
13481
|
* Gamification service.
|
|
13474
13482
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13475
|
-
* @version
|
|
13483
|
+
* @version 227.0.0
|
|
13476
13484
|
*//**
|
|
13477
13485
|
* Constructs a new GamificationApi.
|
|
13478
13486
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14125,7 +14133,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14125
14133
|
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(){/**
|
|
14126
14134
|
* GeneralDataProtectionRegulation service.
|
|
14127
14135
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14128
|
-
* @version
|
|
14136
|
+
* @version 227.0.0
|
|
14129
14137
|
*//**
|
|
14130
14138
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14131
14139
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14160,7 +14168,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14160
14168
|
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(){/**
|
|
14161
14169
|
* Geolocation service.
|
|
14162
14170
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14163
|
-
* @version
|
|
14171
|
+
* @version 227.0.0
|
|
14164
14172
|
*//**
|
|
14165
14173
|
* Constructs a new GeolocationApi.
|
|
14166
14174
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14194,7 +14202,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14194
14202
|
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(){/**
|
|
14195
14203
|
* Greetings service.
|
|
14196
14204
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14197
|
-
* @version
|
|
14205
|
+
* @version 227.0.0
|
|
14198
14206
|
*//**
|
|
14199
14207
|
* Constructs a new GreetingsApi.
|
|
14200
14208
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14322,7 +14330,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14322
14330
|
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(){/**
|
|
14323
14331
|
* Groups service.
|
|
14324
14332
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14325
|
-
* @version
|
|
14333
|
+
* @version 227.0.0
|
|
14326
14334
|
*//**
|
|
14327
14335
|
* Constructs a new GroupsApi.
|
|
14328
14336
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14455,7 +14463,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14455
14463
|
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(){/**
|
|
14456
14464
|
* IdentityProvider service.
|
|
14457
14465
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14458
|
-
* @version
|
|
14466
|
+
* @version 227.0.0
|
|
14459
14467
|
*//**
|
|
14460
14468
|
* Constructs a new IdentityProviderApi.
|
|
14461
14469
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14611,7 +14619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14611
14619
|
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(){/**
|
|
14612
14620
|
* InfrastructureAsCode service.
|
|
14613
14621
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14614
|
-
* @version
|
|
14622
|
+
* @version 227.0.0
|
|
14615
14623
|
*//**
|
|
14616
14624
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14617
14625
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -14665,7 +14673,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
14665
14673
|
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(){/**
|
|
14666
14674
|
* Integrations service.
|
|
14667
14675
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
14668
|
-
* @version
|
|
14676
|
+
* @version 227.0.0
|
|
14669
14677
|
*//**
|
|
14670
14678
|
* Constructs a new IntegrationsApi.
|
|
14671
14679
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -15352,7 +15360,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15352
15360
|
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(){/**
|
|
15353
15361
|
* Journey service.
|
|
15354
15362
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15355
|
-
* @version
|
|
15363
|
+
* @version 227.0.0
|
|
15356
15364
|
*//**
|
|
15357
15365
|
* Constructs a new JourneyApi.
|
|
15358
15366
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -15832,7 +15840,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
15832
15840
|
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(){/**
|
|
15833
15841
|
* Knowledge service.
|
|
15834
15842
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
15835
|
-
* @version
|
|
15843
|
+
* @version 227.0.0
|
|
15836
15844
|
*//**
|
|
15837
15845
|
* Constructs a new KnowledgeApi.
|
|
15838
15846
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16895,7 +16903,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
16895
16903
|
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(){/**
|
|
16896
16904
|
* LanguageUnderstanding service.
|
|
16897
16905
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
16898
|
-
* @version
|
|
16906
|
+
* @version 227.0.0
|
|
16899
16907
|
*//**
|
|
16900
16908
|
* Constructs a new LanguageUnderstandingApi.
|
|
16901
16909
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17154,7 +17162,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17154
17162
|
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(){/**
|
|
17155
17163
|
* Languages service.
|
|
17156
17164
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17157
|
-
* @version
|
|
17165
|
+
* @version 227.0.0
|
|
17158
17166
|
*//**
|
|
17159
17167
|
* Constructs a new LanguagesApi.
|
|
17160
17168
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17209,7 +17217,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17209
17217
|
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(){/**
|
|
17210
17218
|
* Learning service.
|
|
17211
17219
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17212
|
-
* @version
|
|
17220
|
+
* @version 227.0.0
|
|
17213
17221
|
*//**
|
|
17214
17222
|
* Constructs a new LearningApi.
|
|
17215
17223
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17480,7 +17488,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17480
17488
|
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(){/**
|
|
17481
17489
|
* License service.
|
|
17482
17490
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17483
|
-
* @version
|
|
17491
|
+
* @version 227.0.0
|
|
17484
17492
|
*//**
|
|
17485
17493
|
* Constructs a new LicenseApi.
|
|
17486
17494
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17534,7 +17542,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17534
17542
|
*/},{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(){/**
|
|
17535
17543
|
* Locations service.
|
|
17536
17544
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17537
|
-
* @version
|
|
17545
|
+
* @version 227.0.0
|
|
17538
17546
|
*//**
|
|
17539
17547
|
* Constructs a new LocationsApi.
|
|
17540
17548
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17593,7 +17601,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17593
17601
|
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(){/**
|
|
17594
17602
|
* LogCapture service.
|
|
17595
17603
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17596
|
-
* @version
|
|
17604
|
+
* @version 227.0.0
|
|
17597
17605
|
*//**
|
|
17598
17606
|
* Constructs a new LogCaptureApi.
|
|
17599
17607
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17642,7 +17650,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17642
17650
|
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(){/**
|
|
17643
17651
|
* Messaging service.
|
|
17644
17652
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17645
|
-
* @version
|
|
17653
|
+
* @version 227.0.0
|
|
17646
17654
|
*//**
|
|
17647
17655
|
* Constructs a new MessagingApi.
|
|
17648
17656
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -17732,7 +17740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17732
17740
|
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(){/**
|
|
17733
17741
|
* MobileDevices service.
|
|
17734
17742
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
17735
|
-
* @version
|
|
17743
|
+
* @version 227.0.0
|
|
17736
17744
|
*//**
|
|
17737
17745
|
* Constructs a new MobileDevicesApi.
|
|
17738
17746
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -17771,7 +17779,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17771
17779
|
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(){/**
|
|
17772
17780
|
* Notifications service.
|
|
17773
17781
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
17774
|
-
* @version
|
|
17782
|
+
* @version 227.0.0
|
|
17775
17783
|
*//**
|
|
17776
17784
|
* Constructs a new NotificationsApi.
|
|
17777
17785
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -17828,7 +17836,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
17828
17836
|
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(){/**
|
|
17829
17837
|
* OAuth service.
|
|
17830
17838
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
17831
|
-
* @version
|
|
17839
|
+
* @version 227.0.0
|
|
17832
17840
|
*//**
|
|
17833
17841
|
* Constructs a new OAuthApi.
|
|
17834
17842
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -17913,7 +17921,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
17913
17921
|
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(){/**
|
|
17914
17922
|
* Objects service.
|
|
17915
17923
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
17916
|
-
* @version
|
|
17924
|
+
* @version 227.0.0
|
|
17917
17925
|
*//**
|
|
17918
17926
|
* Constructs a new ObjectsApi.
|
|
17919
17927
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -17999,7 +18007,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
17999
18007
|
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(){/**
|
|
18000
18008
|
* OperationalEvents service.
|
|
18001
18009
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18002
|
-
* @version
|
|
18010
|
+
* @version 227.0.0
|
|
18003
18011
|
*//**
|
|
18004
18012
|
* Constructs a new OperationalEventsApi.
|
|
18005
18013
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18030,7 +18038,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18030
18038
|
*/},{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(){/**
|
|
18031
18039
|
* Organization service.
|
|
18032
18040
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18033
|
-
* @version
|
|
18041
|
+
* @version 227.0.0
|
|
18034
18042
|
*//**
|
|
18035
18043
|
* Constructs a new OrganizationApi.
|
|
18036
18044
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18135,7 +18143,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18135
18143
|
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(){/**
|
|
18136
18144
|
* OrganizationAuthorization service.
|
|
18137
18145
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18138
|
-
* @version
|
|
18146
|
+
* @version 227.0.0
|
|
18139
18147
|
*//**
|
|
18140
18148
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18141
18149
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18469,7 +18477,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18469
18477
|
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(){/**
|
|
18470
18478
|
* Outbound service.
|
|
18471
18479
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18472
|
-
* @version
|
|
18480
|
+
* @version 227.0.0
|
|
18473
18481
|
*//**
|
|
18474
18482
|
* Constructs a new OutboundApi.
|
|
18475
18483
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19600,7 +19608,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19600
19608
|
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(){/**
|
|
19601
19609
|
* Presence service.
|
|
19602
19610
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19603
|
-
* @version
|
|
19611
|
+
* @version 227.0.0
|
|
19604
19612
|
*//**
|
|
19605
19613
|
* Constructs a new PresenceApi.
|
|
19606
19614
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19773,7 +19781,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19773
19781
|
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(){/**
|
|
19774
19782
|
* ProcessAutomation service.
|
|
19775
19783
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19776
|
-
* @version
|
|
19784
|
+
* @version 227.0.0
|
|
19777
19785
|
*//**
|
|
19778
19786
|
* Constructs a new ProcessAutomationApi.
|
|
19779
19787
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19836,7 +19844,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19836
19844
|
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(){/**
|
|
19837
19845
|
* Quality service.
|
|
19838
19846
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19839
|
-
* @version
|
|
19847
|
+
* @version 227.0.0
|
|
19840
19848
|
*//**
|
|
19841
19849
|
* Constructs a new QualityApi.
|
|
19842
19850
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20314,7 +20322,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20314
20322
|
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(){/**
|
|
20315
20323
|
* Recording service.
|
|
20316
20324
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20317
|
-
* @version
|
|
20325
|
+
* @version 227.0.0
|
|
20318
20326
|
*//**
|
|
20319
20327
|
* Constructs a new RecordingApi.
|
|
20320
20328
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20713,7 +20721,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20713
20721
|
*/},{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(){/**
|
|
20714
20722
|
* ResponseManagement service.
|
|
20715
20723
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20716
|
-
* @version
|
|
20724
|
+
* @version 227.0.0
|
|
20717
20725
|
*//**
|
|
20718
20726
|
* Constructs a new ResponseManagementApi.
|
|
20719
20727
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20834,7 +20842,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20834
20842
|
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(){/**
|
|
20835
20843
|
* Routing service.
|
|
20836
20844
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20837
|
-
* @version
|
|
20845
|
+
* @version 227.0.0
|
|
20838
20846
|
*//**
|
|
20839
20847
|
* Constructs a new RoutingApi.
|
|
20840
20848
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21890,7 +21898,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21890
21898
|
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(){/**
|
|
21891
21899
|
* SCIM service.
|
|
21892
21900
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
21893
|
-
* @version
|
|
21901
|
+
* @version 227.0.0
|
|
21894
21902
|
*//**
|
|
21895
21903
|
* Constructs a new SCIMApi.
|
|
21896
21904
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22115,7 +22123,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22115
22123
|
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(){/**
|
|
22116
22124
|
* ScreenRecording service.
|
|
22117
22125
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22118
|
-
* @version
|
|
22126
|
+
* @version 227.0.0
|
|
22119
22127
|
*//**
|
|
22120
22128
|
* Constructs a new ScreenRecordingApi.
|
|
22121
22129
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22130,7 +22138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22130
22138
|
*/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(){/**
|
|
22131
22139
|
* Scripts service.
|
|
22132
22140
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22133
|
-
* @version
|
|
22141
|
+
* @version 227.0.0
|
|
22134
22142
|
*//**
|
|
22135
22143
|
* Constructs a new ScriptsApi.
|
|
22136
22144
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22276,7 +22284,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22276
22284
|
*/},{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(){/**
|
|
22277
22285
|
* Search service.
|
|
22278
22286
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22279
|
-
* @version
|
|
22287
|
+
* @version 227.0.0
|
|
22280
22288
|
*//**
|
|
22281
22289
|
* Constructs a new SearchApi.
|
|
22282
22290
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22448,7 +22456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22448
22456
|
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(){/**
|
|
22449
22457
|
* Settings service.
|
|
22450
22458
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22451
|
-
* @version
|
|
22459
|
+
* @version 227.0.0
|
|
22452
22460
|
*//**
|
|
22453
22461
|
* Constructs a new SettingsApi.
|
|
22454
22462
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22520,7 +22528,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22520
22528
|
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(){/**
|
|
22521
22529
|
* SocialMedia service.
|
|
22522
22530
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22523
|
-
* @version
|
|
22531
|
+
* @version 227.0.0
|
|
22524
22532
|
*//**
|
|
22525
22533
|
* Constructs a new SocialMediaApi.
|
|
22526
22534
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -22868,7 +22876,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
22868
22876
|
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(){/**
|
|
22869
22877
|
* SpeechTextAnalytics service.
|
|
22870
22878
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
22871
|
-
* @version
|
|
22879
|
+
* @version 227.0.0
|
|
22872
22880
|
*//**
|
|
22873
22881
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
22874
22882
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23199,7 +23207,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23199
23207
|
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(){/**
|
|
23200
23208
|
* Stations service.
|
|
23201
23209
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23202
|
-
* @version
|
|
23210
|
+
* @version 227.0.0
|
|
23203
23211
|
*//**
|
|
23204
23212
|
* Constructs a new StationsApi.
|
|
23205
23213
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23231,7 +23239,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23231
23239
|
*/},{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(){/**
|
|
23232
23240
|
* Suggest service.
|
|
23233
23241
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23234
|
-
* @version
|
|
23242
|
+
* @version 227.0.0
|
|
23235
23243
|
*//**
|
|
23236
23244
|
* Constructs a new SuggestApi.
|
|
23237
23245
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23271,7 +23279,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23271
23279
|
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(){/**
|
|
23272
23280
|
* TaskManagement service.
|
|
23273
23281
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23274
|
-
* @version
|
|
23282
|
+
* @version 227.0.0
|
|
23275
23283
|
*//**
|
|
23276
23284
|
* Constructs a new TaskManagementApi.
|
|
23277
23285
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -23779,7 +23787,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
23779
23787
|
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(){/**
|
|
23780
23788
|
* Teams service.
|
|
23781
23789
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
23782
|
-
* @version
|
|
23790
|
+
* @version 227.0.0
|
|
23783
23791
|
*//**
|
|
23784
23792
|
* Constructs a new TeamsApi.
|
|
23785
23793
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -23859,7 +23867,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23859
23867
|
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(){/**
|
|
23860
23868
|
* Telephony service.
|
|
23861
23869
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
23862
|
-
* @version
|
|
23870
|
+
* @version 227.0.0
|
|
23863
23871
|
*//**
|
|
23864
23872
|
* Constructs a new TelephonyApi.
|
|
23865
23873
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -23906,7 +23914,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
23906
23914
|
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(){/**
|
|
23907
23915
|
* TelephonyProvidersEdge service.
|
|
23908
23916
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
23909
|
-
* @version
|
|
23917
|
+
* @version 227.0.0
|
|
23910
23918
|
*//**
|
|
23911
23919
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
23912
23920
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -24754,7 +24762,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
24754
24762
|
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(){/**
|
|
24755
24763
|
* Textbots service.
|
|
24756
24764
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
24757
|
-
* @version
|
|
24765
|
+
* @version 227.0.0
|
|
24758
24766
|
*//**
|
|
24759
24767
|
* Constructs a new TextbotsApi.
|
|
24760
24768
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -24790,7 +24798,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
24790
24798
|
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(){/**
|
|
24791
24799
|
* Tokens service.
|
|
24792
24800
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
24793
|
-
* @version
|
|
24801
|
+
* @version 227.0.0
|
|
24794
24802
|
*//**
|
|
24795
24803
|
* Constructs a new TokensApi.
|
|
24796
24804
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -24824,7 +24832,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
24824
24832
|
*/},{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(){/**
|
|
24825
24833
|
* Uploads service.
|
|
24826
24834
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
24827
|
-
* @version
|
|
24835
|
+
* @version 227.0.0
|
|
24828
24836
|
*//**
|
|
24829
24837
|
* Constructs a new UploadsApi.
|
|
24830
24838
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -24892,7 +24900,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24892
24900
|
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(){/**
|
|
24893
24901
|
* Usage service.
|
|
24894
24902
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
24895
|
-
* @version
|
|
24903
|
+
* @version 227.0.0
|
|
24896
24904
|
*//**
|
|
24897
24905
|
* Constructs a new UsageApi.
|
|
24898
24906
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -24946,7 +24954,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24946
24954
|
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(){/**
|
|
24947
24955
|
* UserRecordings service.
|
|
24948
24956
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
24949
|
-
* @version
|
|
24957
|
+
* @version 227.0.0
|
|
24950
24958
|
*//**
|
|
24951
24959
|
* Constructs a new UserRecordingsApi.
|
|
24952
24960
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25003,7 +25011,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25003
25011
|
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(){/**
|
|
25004
25012
|
* Users service.
|
|
25005
25013
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25006
|
-
* @version
|
|
25014
|
+
* @version 227.0.0
|
|
25007
25015
|
*//**
|
|
25008
25016
|
* Constructs a new UsersApi.
|
|
25009
25017
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -25741,7 +25749,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
25741
25749
|
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(){/**
|
|
25742
25750
|
* Utilities service.
|
|
25743
25751
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
25744
|
-
* @version
|
|
25752
|
+
* @version 227.0.0
|
|
25745
25753
|
*//**
|
|
25746
25754
|
* Constructs a new UtilitiesApi.
|
|
25747
25755
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -25768,7 +25776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25768
25776
|
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(){/**
|
|
25769
25777
|
* Voicemail service.
|
|
25770
25778
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
25771
|
-
* @version
|
|
25779
|
+
* @version 227.0.0
|
|
25772
25780
|
*//**
|
|
25773
25781
|
* Constructs a new VoicemailApi.
|
|
25774
25782
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -25930,7 +25938,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25930
25938
|
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(){/**
|
|
25931
25939
|
* WebChat service.
|
|
25932
25940
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
25933
|
-
* @version
|
|
25941
|
+
* @version 227.0.0
|
|
25934
25942
|
*//**
|
|
25935
25943
|
* Constructs a new WebChatApi.
|
|
25936
25944
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26074,7 +26082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26074
26082
|
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(){/**
|
|
26075
26083
|
* WebDeployments service.
|
|
26076
26084
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26077
|
-
* @version
|
|
26085
|
+
* @version 227.0.0
|
|
26078
26086
|
*//**
|
|
26079
26087
|
* Constructs a new WebDeploymentsApi.
|
|
26080
26088
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26207,7 +26215,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26207
26215
|
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(){/**
|
|
26208
26216
|
* WebMessaging service.
|
|
26209
26217
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26210
|
-
* @version
|
|
26218
|
+
* @version 227.0.0
|
|
26211
26219
|
*//**
|
|
26212
26220
|
* Constructs a new WebMessagingApi.
|
|
26213
26221
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26223,7 +26231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26223
26231
|
*/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(){/**
|
|
26224
26232
|
* Widgets service.
|
|
26225
26233
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26226
|
-
* @version
|
|
26234
|
+
* @version 227.0.0
|
|
26227
26235
|
*//**
|
|
26228
26236
|
* Constructs a new WidgetsApi.
|
|
26229
26237
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26263,7 +26271,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26263
26271
|
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(){/**
|
|
26264
26272
|
* WorkforceManagement service.
|
|
26265
26273
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26266
|
-
* @version
|
|
26274
|
+
* @version 227.0.0
|
|
26267
26275
|
*//**
|
|
26268
26276
|
* Constructs a new WorkforceManagementApi.
|
|
26269
26277
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -27090,6 +27098,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
27090
27098
|
* @param {String} jobId jobId
|
|
27091
27099
|
*/},{key:"getWorkforcemanagementShrinkageJob",value:function getWorkforcemanagementShrinkageJob(jobId){// verify the required parameter 'jobId' is set
|
|
27092
27100
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shrinkage/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27101
|
+
* Get a list of user schedule adherence records for the requested team
|
|
27102
|
+
*
|
|
27103
|
+
* @param {String} teamId The ID of the team
|
|
27104
|
+
*/},{key:"getWorkforcemanagementTeamAdherence",value:function getWorkforcemanagementTeamAdherence(teamId){// verify the required parameter 'teamId' is set
|
|
27105
|
+
if(teamId===undefined||teamId===null||teamId===''){throw'Missing the required parameter "teamId" when calling getWorkforcemanagementTeamAdherence';}return this.apiClient.callApi('/api/v2/workforcemanagement/teams/{teamId}/adherence','GET',{'teamId':teamId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27093
27106
|
* Query the results of time off types job
|
|
27094
27107
|
*
|
|
27095
27108
|
* @param {String} jobId The ID of the job.
|
|
@@ -28088,7 +28101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28088
28101
|
* </pre>
|
|
28089
28102
|
* </p>
|
|
28090
28103
|
* @module purecloud-platform-client-v2/index
|
|
28091
|
-
* @version
|
|
28104
|
+
* @version 227.0.0
|
|
28092
28105
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28093
28106
|
* The ApiClient constructor.
|
|
28094
28107
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|