purecloud-platform-client-v2 225.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 +302 -128
- package/dist/web-amd/purecloud-platform-client-v2.js +302 -128
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +141 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +141 -94
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +884 -885
- 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 +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 +26 -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 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
|
|
@@ -11710,6 +11718,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11710
11718
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
11711
11719
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
11712
11720
|
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']);}/**
|
|
11721
|
+
* Replace this participant with the an external contact
|
|
11722
|
+
*
|
|
11723
|
+
* @param {String} conversationId conversation ID
|
|
11724
|
+
* @param {String} participantId participant ID
|
|
11725
|
+
* @param {Object} body Transfer request
|
|
11726
|
+
* postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11727
|
+
*/},{key:"postConversationParticipantReplaceContactExternal",value:function postConversationParticipantReplaceContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11728
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'participantId' is set
|
|
11729
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'body' is set
|
|
11730
|
+
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
11731
|
* Replace this participant with the an external contact
|
|
11714
11732
|
*
|
|
11715
11733
|
* @param {String} conversationId conversation ID
|
|
@@ -11737,6 +11755,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11737
11755
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11738
11756
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
11739
11757
|
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']);}/**
|
|
11758
|
+
* Replace this participant by another one using the address of the destination.
|
|
11759
|
+
*
|
|
11760
|
+
* @param {String} conversationId conversation ID
|
|
11761
|
+
* @param {String} participantId participant ID
|
|
11762
|
+
* @param {Object} body Transfer request
|
|
11763
|
+
* postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11764
|
+
*/},{key:"postConversationParticipantTransfer",value:function postConversationParticipantTransfer(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11765
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';}// verify the required parameter 'participantId' is set
|
|
11766
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';}// verify the required parameter 'body' is set
|
|
11767
|
+
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
11768
|
* Save an engagement on the suggestion.
|
|
11741
11769
|
*
|
|
11742
11770
|
* @param {String} conversationId Conversation ID
|
|
@@ -11813,6 +11841,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11813
11841
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
11814
11842
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
11815
11843
|
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']);}/**
|
|
11844
|
+
* Initiate a consult transfer to an external contact
|
|
11845
|
+
*
|
|
11846
|
+
* @param {String} conversationId conversationId
|
|
11847
|
+
* @param {String} participantId participantId
|
|
11848
|
+
* @param {Object} body Destination address and initial speak to
|
|
11849
|
+
* postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11850
|
+
*/},{key:"postConversationsCallParticipantConsultContactExternal",value:function postConversationsCallParticipantConsultContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11851
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'participantId' is set
|
|
11852
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'body' is set
|
|
11853
|
+
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
11854
|
* Initiate a consult transfer to an external contact
|
|
11817
11855
|
*
|
|
11818
11856
|
* @param {String} conversationId conversationId
|
|
@@ -11847,6 +11885,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11847
11885
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
11848
11886
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
|
|
11849
11887
|
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']);}/**
|
|
11888
|
+
* Initiate voice consult transfer
|
|
11889
|
+
*
|
|
11890
|
+
* @param {String} conversationId conversationId
|
|
11891
|
+
* @param {String} participantId participantId
|
|
11892
|
+
* @param {Object} body Destination address and initial speak to
|
|
11893
|
+
* postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11894
|
+
*/},{key:"postConversationsCallParticipantVoiceConsult",value:function postConversationsCallParticipantVoiceConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11895
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'participantId' is set
|
|
11896
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'body' is set
|
|
11897
|
+
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
11898
|
* Add participants to a conversation
|
|
11851
11899
|
*
|
|
11852
11900
|
* @param {String} conversationId conversationId
|
|
@@ -12428,7 +12476,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12428
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(){/**
|
|
12429
12477
|
* DataExtensions service.
|
|
12430
12478
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12431
|
-
* @version
|
|
12479
|
+
* @version 227.0.0
|
|
12432
12480
|
*//**
|
|
12433
12481
|
* Constructs a new DataExtensionsApi.
|
|
12434
12482
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12449,7 +12497,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12449
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(){/**
|
|
12450
12498
|
* DataPrivacy service.
|
|
12451
12499
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12452
|
-
* @version
|
|
12500
|
+
* @version 227.0.0
|
|
12453
12501
|
*//**
|
|
12454
12502
|
* Constructs a new DataPrivacyApi.
|
|
12455
12503
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12489,7 +12537,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12489
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(){/**
|
|
12490
12538
|
* Downloads service.
|
|
12491
12539
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12492
|
-
* @version
|
|
12540
|
+
* @version 227.0.0
|
|
12493
12541
|
*//**
|
|
12494
12542
|
* Constructs a new DownloadsApi.
|
|
12495
12543
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12508,7 +12556,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12508
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(){/**
|
|
12509
12557
|
* Emails service.
|
|
12510
12558
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12511
|
-
* @version
|
|
12559
|
+
* @version 227.0.0
|
|
12512
12560
|
*//**
|
|
12513
12561
|
* Constructs a new EmailsApi.
|
|
12514
12562
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12537,7 +12585,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12537
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(){/**
|
|
12538
12586
|
* EmployeeEngagement service.
|
|
12539
12587
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12540
|
-
* @version
|
|
12588
|
+
* @version 227.0.0
|
|
12541
12589
|
*//**
|
|
12542
12590
|
* Constructs a new EmployeeEngagementApi.
|
|
12543
12591
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12575,7 +12623,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12575
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(){/**
|
|
12576
12624
|
* Events service.
|
|
12577
12625
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12578
|
-
* @version
|
|
12626
|
+
* @version 227.0.0
|
|
12579
12627
|
*//**
|
|
12580
12628
|
* Constructs a new EventsApi.
|
|
12581
12629
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12600,7 +12648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12600
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(){/**
|
|
12601
12649
|
* ExternalContacts service.
|
|
12602
12650
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12603
|
-
* @version
|
|
12651
|
+
* @version 227.0.0
|
|
12604
12652
|
*//**
|
|
12605
12653
|
* Constructs a new ExternalContactsApi.
|
|
12606
12654
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13335,7 +13383,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13335
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(){/**
|
|
13336
13384
|
* Fax service.
|
|
13337
13385
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13338
|
-
* @version
|
|
13386
|
+
* @version 227.0.0
|
|
13339
13387
|
*//**
|
|
13340
13388
|
* Constructs a new FaxApi.
|
|
13341
13389
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13384,7 +13432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13384
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(){/**
|
|
13385
13433
|
* Flows service.
|
|
13386
13434
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13387
|
-
* @version
|
|
13435
|
+
* @version 227.0.0
|
|
13388
13436
|
*//**
|
|
13389
13437
|
* Constructs a new FlowsApi.
|
|
13390
13438
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13432,7 +13480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13432
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(){/**
|
|
13433
13481
|
* Gamification service.
|
|
13434
13482
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13435
|
-
* @version
|
|
13483
|
+
* @version 227.0.0
|
|
13436
13484
|
*//**
|
|
13437
13485
|
* Constructs a new GamificationApi.
|
|
13438
13486
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14085,7 +14133,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14085
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(){/**
|
|
14086
14134
|
* GeneralDataProtectionRegulation service.
|
|
14087
14135
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14088
|
-
* @version
|
|
14136
|
+
* @version 227.0.0
|
|
14089
14137
|
*//**
|
|
14090
14138
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14091
14139
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14120,7 +14168,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14120
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(){/**
|
|
14121
14169
|
* Geolocation service.
|
|
14122
14170
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14123
|
-
* @version
|
|
14171
|
+
* @version 227.0.0
|
|
14124
14172
|
*//**
|
|
14125
14173
|
* Constructs a new GeolocationApi.
|
|
14126
14174
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14154,7 +14202,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14154
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(){/**
|
|
14155
14203
|
* Greetings service.
|
|
14156
14204
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14157
|
-
* @version
|
|
14205
|
+
* @version 227.0.0
|
|
14158
14206
|
*//**
|
|
14159
14207
|
* Constructs a new GreetingsApi.
|
|
14160
14208
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14282,7 +14330,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14282
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(){/**
|
|
14283
14331
|
* Groups service.
|
|
14284
14332
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14285
|
-
* @version
|
|
14333
|
+
* @version 227.0.0
|
|
14286
14334
|
*//**
|
|
14287
14335
|
* Constructs a new GroupsApi.
|
|
14288
14336
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14415,7 +14463,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14415
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(){/**
|
|
14416
14464
|
* IdentityProvider service.
|
|
14417
14465
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14418
|
-
* @version
|
|
14466
|
+
* @version 227.0.0
|
|
14419
14467
|
*//**
|
|
14420
14468
|
* Constructs a new IdentityProviderApi.
|
|
14421
14469
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14571,7 +14619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14571
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(){/**
|
|
14572
14620
|
* InfrastructureAsCode service.
|
|
14573
14621
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14574
|
-
* @version
|
|
14622
|
+
* @version 227.0.0
|
|
14575
14623
|
*//**
|
|
14576
14624
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14577
14625
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -14625,7 +14673,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
14625
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(){/**
|
|
14626
14674
|
* Integrations service.
|
|
14627
14675
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
14628
|
-
* @version
|
|
14676
|
+
* @version 227.0.0
|
|
14629
14677
|
*//**
|
|
14630
14678
|
* Constructs a new IntegrationsApi.
|
|
14631
14679
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14885,10 +14933,11 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
14885
14933
|
*/},{key:"getIntegrationsCredential",value:function getIntegrationsCredential(credentialId){// verify the required parameter 'credentialId' is set
|
|
14886
14934
|
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
14935
|
* List multiple sets of credentials
|
|
14888
|
-
*
|
|
14936
|
+
* This endpoint is deprecated. Please see the Listing API (GET /api/v2/integrations/credentials/listing)
|
|
14889
14937
|
* @param {Object} opts Optional parameters
|
|
14890
14938
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
14891
14939
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
14940
|
+
* @deprecated
|
|
14892
14941
|
*/},{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
14942
|
* List multiple sets of credentials using cursor-based paging
|
|
14894
14943
|
*
|
|
@@ -15311,7 +15360,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15311
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(){/**
|
|
15312
15361
|
* Journey service.
|
|
15313
15362
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15314
|
-
* @version
|
|
15363
|
+
* @version 227.0.0
|
|
15315
15364
|
*//**
|
|
15316
15365
|
* Constructs a new JourneyApi.
|
|
15317
15366
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -15791,7 +15840,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
15791
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(){/**
|
|
15792
15841
|
* Knowledge service.
|
|
15793
15842
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
15794
|
-
* @version
|
|
15843
|
+
* @version 227.0.0
|
|
15795
15844
|
*//**
|
|
15796
15845
|
* Constructs a new KnowledgeApi.
|
|
15797
15846
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16854,7 +16903,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
16854
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(){/**
|
|
16855
16904
|
* LanguageUnderstanding service.
|
|
16856
16905
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
16857
|
-
* @version
|
|
16906
|
+
* @version 227.0.0
|
|
16858
16907
|
*//**
|
|
16859
16908
|
* Constructs a new LanguageUnderstandingApi.
|
|
16860
16909
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17113,7 +17162,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17113
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(){/**
|
|
17114
17163
|
* Languages service.
|
|
17115
17164
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17116
|
-
* @version
|
|
17165
|
+
* @version 227.0.0
|
|
17117
17166
|
*//**
|
|
17118
17167
|
* Constructs a new LanguagesApi.
|
|
17119
17168
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17168,7 +17217,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17168
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(){/**
|
|
17169
17218
|
* Learning service.
|
|
17170
17219
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17171
|
-
* @version
|
|
17220
|
+
* @version 227.0.0
|
|
17172
17221
|
*//**
|
|
17173
17222
|
* Constructs a new LearningApi.
|
|
17174
17223
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17439,7 +17488,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17439
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(){/**
|
|
17440
17489
|
* License service.
|
|
17441
17490
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17442
|
-
* @version
|
|
17491
|
+
* @version 227.0.0
|
|
17443
17492
|
*//**
|
|
17444
17493
|
* Constructs a new LicenseApi.
|
|
17445
17494
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17493,7 +17542,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17493
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(){/**
|
|
17494
17543
|
* Locations service.
|
|
17495
17544
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17496
|
-
* @version
|
|
17545
|
+
* @version 227.0.0
|
|
17497
17546
|
*//**
|
|
17498
17547
|
* Constructs a new LocationsApi.
|
|
17499
17548
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17552,7 +17601,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17552
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(){/**
|
|
17553
17602
|
* LogCapture service.
|
|
17554
17603
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17555
|
-
* @version
|
|
17604
|
+
* @version 227.0.0
|
|
17556
17605
|
*//**
|
|
17557
17606
|
* Constructs a new LogCaptureApi.
|
|
17558
17607
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17601,7 +17650,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17601
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(){/**
|
|
17602
17651
|
* Messaging service.
|
|
17603
17652
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17604
|
-
* @version
|
|
17653
|
+
* @version 227.0.0
|
|
17605
17654
|
*//**
|
|
17606
17655
|
* Constructs a new MessagingApi.
|
|
17607
17656
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -17691,7 +17740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17691
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(){/**
|
|
17692
17741
|
* MobileDevices service.
|
|
17693
17742
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
17694
|
-
* @version
|
|
17743
|
+
* @version 227.0.0
|
|
17695
17744
|
*//**
|
|
17696
17745
|
* Constructs a new MobileDevicesApi.
|
|
17697
17746
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -17730,7 +17779,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17730
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(){/**
|
|
17731
17780
|
* Notifications service.
|
|
17732
17781
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
17733
|
-
* @version
|
|
17782
|
+
* @version 227.0.0
|
|
17734
17783
|
*//**
|
|
17735
17784
|
* Constructs a new NotificationsApi.
|
|
17736
17785
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -17787,7 +17836,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
17787
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(){/**
|
|
17788
17837
|
* OAuth service.
|
|
17789
17838
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
17790
|
-
* @version
|
|
17839
|
+
* @version 227.0.0
|
|
17791
17840
|
*//**
|
|
17792
17841
|
* Constructs a new OAuthApi.
|
|
17793
17842
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -17872,7 +17921,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
17872
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(){/**
|
|
17873
17922
|
* Objects service.
|
|
17874
17923
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
17875
|
-
* @version
|
|
17924
|
+
* @version 227.0.0
|
|
17876
17925
|
*//**
|
|
17877
17926
|
* Constructs a new ObjectsApi.
|
|
17878
17927
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -17958,7 +18007,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
17958
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(){/**
|
|
17959
18008
|
* OperationalEvents service.
|
|
17960
18009
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
17961
|
-
* @version
|
|
18010
|
+
* @version 227.0.0
|
|
17962
18011
|
*//**
|
|
17963
18012
|
* Constructs a new OperationalEventsApi.
|
|
17964
18013
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17989,7 +18038,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
17989
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(){/**
|
|
17990
18039
|
* Organization service.
|
|
17991
18040
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17992
|
-
* @version
|
|
18041
|
+
* @version 227.0.0
|
|
17993
18042
|
*//**
|
|
17994
18043
|
* Constructs a new OrganizationApi.
|
|
17995
18044
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18094,7 +18143,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18094
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(){/**
|
|
18095
18144
|
* OrganizationAuthorization service.
|
|
18096
18145
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18097
|
-
* @version
|
|
18146
|
+
* @version 227.0.0
|
|
18098
18147
|
*//**
|
|
18099
18148
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18100
18149
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18428,7 +18477,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18428
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(){/**
|
|
18429
18478
|
* Outbound service.
|
|
18430
18479
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18431
|
-
* @version
|
|
18480
|
+
* @version 227.0.0
|
|
18432
18481
|
*//**
|
|
18433
18482
|
* Constructs a new OutboundApi.
|
|
18434
18483
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19559,7 +19608,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19559
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(){/**
|
|
19560
19609
|
* Presence service.
|
|
19561
19610
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19562
|
-
* @version
|
|
19611
|
+
* @version 227.0.0
|
|
19563
19612
|
*//**
|
|
19564
19613
|
* Constructs a new PresenceApi.
|
|
19565
19614
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19732,7 +19781,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19732
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(){/**
|
|
19733
19782
|
* ProcessAutomation service.
|
|
19734
19783
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19735
|
-
* @version
|
|
19784
|
+
* @version 227.0.0
|
|
19736
19785
|
*//**
|
|
19737
19786
|
* Constructs a new ProcessAutomationApi.
|
|
19738
19787
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19795,7 +19844,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19795
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(){/**
|
|
19796
19845
|
* Quality service.
|
|
19797
19846
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19798
|
-
* @version
|
|
19847
|
+
* @version 227.0.0
|
|
19799
19848
|
*//**
|
|
19800
19849
|
* Constructs a new QualityApi.
|
|
19801
19850
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20273,7 +20322,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20273
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(){/**
|
|
20274
20323
|
* Recording service.
|
|
20275
20324
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20276
|
-
* @version
|
|
20325
|
+
* @version 227.0.0
|
|
20277
20326
|
*//**
|
|
20278
20327
|
* Constructs a new RecordingApi.
|
|
20279
20328
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20672,7 +20721,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20672
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(){/**
|
|
20673
20722
|
* ResponseManagement service.
|
|
20674
20723
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20675
|
-
* @version
|
|
20724
|
+
* @version 227.0.0
|
|
20676
20725
|
*//**
|
|
20677
20726
|
* Constructs a new ResponseManagementApi.
|
|
20678
20727
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20793,7 +20842,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20793
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(){/**
|
|
20794
20843
|
* Routing service.
|
|
20795
20844
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20796
|
-
* @version
|
|
20845
|
+
* @version 227.0.0
|
|
20797
20846
|
*//**
|
|
20798
20847
|
* Constructs a new RoutingApi.
|
|
20799
20848
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21177,8 +21226,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
21177
21226
|
* @param {Object} opts Optional parameters
|
|
21178
21227
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21179
21228
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21229
|
+
* @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
|
|
21180
21230
|
*/},{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']);}/**
|
|
21231
|
+
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
21232
|
* Get list of queues.
|
|
21183
21233
|
*
|
|
21184
21234
|
* @param {Object} opts Optional parameters
|
|
@@ -21848,7 +21898,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21848
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(){/**
|
|
21849
21899
|
* SCIM service.
|
|
21850
21900
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
21851
|
-
* @version
|
|
21901
|
+
* @version 227.0.0
|
|
21852
21902
|
*//**
|
|
21853
21903
|
* Constructs a new SCIMApi.
|
|
21854
21904
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22073,7 +22123,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22073
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(){/**
|
|
22074
22124
|
* ScreenRecording service.
|
|
22075
22125
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22076
|
-
* @version
|
|
22126
|
+
* @version 227.0.0
|
|
22077
22127
|
*//**
|
|
22078
22128
|
* Constructs a new ScreenRecordingApi.
|
|
22079
22129
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22088,7 +22138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22088
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(){/**
|
|
22089
22139
|
* Scripts service.
|
|
22090
22140
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22091
|
-
* @version
|
|
22141
|
+
* @version 227.0.0
|
|
22092
22142
|
*//**
|
|
22093
22143
|
* Constructs a new ScriptsApi.
|
|
22094
22144
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22234,7 +22284,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22234
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(){/**
|
|
22235
22285
|
* Search service.
|
|
22236
22286
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22237
|
-
* @version
|
|
22287
|
+
* @version 227.0.0
|
|
22238
22288
|
*//**
|
|
22239
22289
|
* Constructs a new SearchApi.
|
|
22240
22290
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22406,7 +22456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22406
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(){/**
|
|
22407
22457
|
* Settings service.
|
|
22408
22458
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22409
|
-
* @version
|
|
22459
|
+
* @version 227.0.0
|
|
22410
22460
|
*//**
|
|
22411
22461
|
* Constructs a new SettingsApi.
|
|
22412
22462
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22478,7 +22528,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22478
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(){/**
|
|
22479
22529
|
* SocialMedia service.
|
|
22480
22530
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22481
|
-
* @version
|
|
22531
|
+
* @version 227.0.0
|
|
22482
22532
|
*//**
|
|
22483
22533
|
* Constructs a new SocialMediaApi.
|
|
22484
22534
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -22826,7 +22876,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
22826
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(){/**
|
|
22827
22877
|
* SpeechTextAnalytics service.
|
|
22828
22878
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
22829
|
-
* @version
|
|
22879
|
+
* @version 227.0.0
|
|
22830
22880
|
*//**
|
|
22831
22881
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
22832
22882
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23157,7 +23207,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23157
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(){/**
|
|
23158
23208
|
* Stations service.
|
|
23159
23209
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23160
|
-
* @version
|
|
23210
|
+
* @version 227.0.0
|
|
23161
23211
|
*//**
|
|
23162
23212
|
* Constructs a new StationsApi.
|
|
23163
23213
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23189,7 +23239,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23189
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(){/**
|
|
23190
23240
|
* Suggest service.
|
|
23191
23241
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23192
|
-
* @version
|
|
23242
|
+
* @version 227.0.0
|
|
23193
23243
|
*//**
|
|
23194
23244
|
* Constructs a new SuggestApi.
|
|
23195
23245
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23229,7 +23279,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23229
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(){/**
|
|
23230
23280
|
* TaskManagement service.
|
|
23231
23281
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23232
|
-
* @version
|
|
23282
|
+
* @version 227.0.0
|
|
23233
23283
|
*//**
|
|
23234
23284
|
* Constructs a new TaskManagementApi.
|
|
23235
23285
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -23737,7 +23787,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
23737
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(){/**
|
|
23738
23788
|
* Teams service.
|
|
23739
23789
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
23740
|
-
* @version
|
|
23790
|
+
* @version 227.0.0
|
|
23741
23791
|
*//**
|
|
23742
23792
|
* Constructs a new TeamsApi.
|
|
23743
23793
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -23817,7 +23867,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23817
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(){/**
|
|
23818
23868
|
* Telephony service.
|
|
23819
23869
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
23820
|
-
* @version
|
|
23870
|
+
* @version 227.0.0
|
|
23821
23871
|
*//**
|
|
23822
23872
|
* Constructs a new TelephonyApi.
|
|
23823
23873
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -23864,7 +23914,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
23864
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(){/**
|
|
23865
23915
|
* TelephonyProvidersEdge service.
|
|
23866
23916
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
23867
|
-
* @version
|
|
23917
|
+
* @version 227.0.0
|
|
23868
23918
|
*//**
|
|
23869
23919
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
23870
23920
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -24712,7 +24762,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
24712
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(){/**
|
|
24713
24763
|
* Textbots service.
|
|
24714
24764
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
24715
|
-
* @version
|
|
24765
|
+
* @version 227.0.0
|
|
24716
24766
|
*//**
|
|
24717
24767
|
* Constructs a new TextbotsApi.
|
|
24718
24768
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -24748,7 +24798,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
24748
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(){/**
|
|
24749
24799
|
* Tokens service.
|
|
24750
24800
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
24751
|
-
* @version
|
|
24801
|
+
* @version 227.0.0
|
|
24752
24802
|
*//**
|
|
24753
24803
|
* Constructs a new TokensApi.
|
|
24754
24804
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -24782,7 +24832,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
24782
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(){/**
|
|
24783
24833
|
* Uploads service.
|
|
24784
24834
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
24785
|
-
* @version
|
|
24835
|
+
* @version 227.0.0
|
|
24786
24836
|
*//**
|
|
24787
24837
|
* Constructs a new UploadsApi.
|
|
24788
24838
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -24850,7 +24900,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24850
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(){/**
|
|
24851
24901
|
* Usage service.
|
|
24852
24902
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
24853
|
-
* @version
|
|
24903
|
+
* @version 227.0.0
|
|
24854
24904
|
*//**
|
|
24855
24905
|
* Constructs a new UsageApi.
|
|
24856
24906
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -24904,7 +24954,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24904
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(){/**
|
|
24905
24955
|
* UserRecordings service.
|
|
24906
24956
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
24907
|
-
* @version
|
|
24957
|
+
* @version 227.0.0
|
|
24908
24958
|
*//**
|
|
24909
24959
|
* Constructs a new UserRecordingsApi.
|
|
24910
24960
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -24961,7 +25011,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
24961
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(){/**
|
|
24962
25012
|
* Users service.
|
|
24963
25013
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
24964
|
-
* @version
|
|
25014
|
+
* @version 227.0.0
|
|
24965
25015
|
*//**
|
|
24966
25016
|
* Constructs a new UsersApi.
|
|
24967
25017
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -25699,7 +25749,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
25699
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(){/**
|
|
25700
25750
|
* Utilities service.
|
|
25701
25751
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
25702
|
-
* @version
|
|
25752
|
+
* @version 227.0.0
|
|
25703
25753
|
*//**
|
|
25704
25754
|
* Constructs a new UtilitiesApi.
|
|
25705
25755
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -25726,7 +25776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25726
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(){/**
|
|
25727
25777
|
* Voicemail service.
|
|
25728
25778
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
25729
|
-
* @version
|
|
25779
|
+
* @version 227.0.0
|
|
25730
25780
|
*//**
|
|
25731
25781
|
* Constructs a new VoicemailApi.
|
|
25732
25782
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -25888,7 +25938,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25888
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(){/**
|
|
25889
25939
|
* WebChat service.
|
|
25890
25940
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
25891
|
-
* @version
|
|
25941
|
+
* @version 227.0.0
|
|
25892
25942
|
*//**
|
|
25893
25943
|
* Constructs a new WebChatApi.
|
|
25894
25944
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26032,7 +26082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26032
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(){/**
|
|
26033
26083
|
* WebDeployments service.
|
|
26034
26084
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26035
|
-
* @version
|
|
26085
|
+
* @version 227.0.0
|
|
26036
26086
|
*//**
|
|
26037
26087
|
* Constructs a new WebDeploymentsApi.
|
|
26038
26088
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26165,7 +26215,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26165
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(){/**
|
|
26166
26216
|
* WebMessaging service.
|
|
26167
26217
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26168
|
-
* @version
|
|
26218
|
+
* @version 227.0.0
|
|
26169
26219
|
*//**
|
|
26170
26220
|
* Constructs a new WebMessagingApi.
|
|
26171
26221
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26181,7 +26231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26181
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(){/**
|
|
26182
26232
|
* Widgets service.
|
|
26183
26233
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26184
|
-
* @version
|
|
26234
|
+
* @version 227.0.0
|
|
26185
26235
|
*//**
|
|
26186
26236
|
* Constructs a new WidgetsApi.
|
|
26187
26237
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26221,7 +26271,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26221
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(){/**
|
|
26222
26272
|
* WorkforceManagement service.
|
|
26223
26273
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26224
|
-
* @version
|
|
26274
|
+
* @version 227.0.0
|
|
26225
26275
|
*//**
|
|
26226
26276
|
* Constructs a new WorkforceManagementApi.
|
|
26227
26277
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -26834,10 +26884,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
26834
26884
|
* Retrieves all delete job status for historical data
|
|
26835
26885
|
*
|
|
26836
26886
|
*/},{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
26887
|
* Retrieves status of the historical data imports of the organization
|
|
26842
26888
|
*
|
|
26843
26889
|
*/},{key:"getWorkforcemanagementHistoricaldataImportstatus",value:function getWorkforcemanagementHistoricaldataImportstatus(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -27052,6 +27098,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
27052
27098
|
* @param {String} jobId jobId
|
|
27053
27099
|
*/},{key:"getWorkforcemanagementShrinkageJob",value:function getWorkforcemanagementShrinkageJob(jobId){// verify the required parameter 'jobId' is set
|
|
27054
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']);}/**
|
|
27055
27106
|
* Query the results of time off types job
|
|
27056
27107
|
*
|
|
27057
27108
|
* @param {String} jobId The ID of the job.
|
|
@@ -27719,10 +27770,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27719
27770
|
* @param {Object} body body
|
|
27720
27771
|
*/},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(body){// verify the required parameter 'body' is set
|
|
27721
27772
|
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
27773
|
* Trigger validation process for historical import
|
|
27727
27774
|
*
|
|
27728
27775
|
* @param {Object} body body
|
|
@@ -28054,7 +28101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28054
28101
|
* </pre>
|
|
28055
28102
|
* </p>
|
|
28056
28103
|
* @module purecloud-platform-client-v2/index
|
|
28057
|
-
* @version
|
|
28104
|
+
* @version 227.0.0
|
|
28058
28105
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28059
28106
|
* The ApiClient constructor.
|
|
28060
28107
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|