purecloud-platform-client-v2 204.1.0 → 205.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 +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.js +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +519 -2
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +27 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +516 -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 +31 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +58 -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 +70 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6168,7 +6168,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6168
6168
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6169
6169
|
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:"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];}}}]);}();/**
|
|
6170
6170
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6171
|
-
* @version
|
|
6171
|
+
* @version 205.0.0
|
|
6172
6172
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6173
6173
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6174
6174
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6480,7 +6480,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6480
6480
|
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 AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6481
6481
|
* AgentAssistants service.
|
|
6482
6482
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6483
|
-
* @version
|
|
6483
|
+
* @version 205.0.0
|
|
6484
6484
|
*//**
|
|
6485
6485
|
* Constructs a new AgentAssistantsApi.
|
|
6486
6486
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6581,7 +6581,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6581
6581
|
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(){/**
|
|
6582
6582
|
* AgentCopilot service.
|
|
6583
6583
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6584
|
-
* @version
|
|
6584
|
+
* @version 205.0.0
|
|
6585
6585
|
*//**
|
|
6586
6586
|
* Constructs a new AgentCopilotApi.
|
|
6587
6587
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6603,7 +6603,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6603
6603
|
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(){/**
|
|
6604
6604
|
* AgentUI service.
|
|
6605
6605
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6606
|
-
* @version
|
|
6606
|
+
* @version 205.0.0
|
|
6607
6607
|
*//**
|
|
6608
6608
|
* Constructs a new AgentUIApi.
|
|
6609
6609
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6637,7 +6637,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6637
6637
|
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(){/**
|
|
6638
6638
|
* Alerting service.
|
|
6639
6639
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6640
|
-
* @version
|
|
6640
|
+
* @version 205.0.0
|
|
6641
6641
|
*//**
|
|
6642
6642
|
* Constructs a new AlertingApi.
|
|
6643
6643
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6794,7 +6794,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6794
6794
|
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(){/**
|
|
6795
6795
|
* Analytics service.
|
|
6796
6796
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6797
|
-
* @version
|
|
6797
|
+
* @version 205.0.0
|
|
6798
6798
|
*//**
|
|
6799
6799
|
* Constructs a new AnalyticsApi.
|
|
6800
6800
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7415,7 +7415,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7415
7415
|
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(){/**
|
|
7416
7416
|
* Architect service.
|
|
7417
7417
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7418
|
-
* @version
|
|
7418
|
+
* @version 205.0.0
|
|
7419
7419
|
*//**
|
|
7420
7420
|
* Constructs a new ArchitectApi.
|
|
7421
7421
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8507,7 +8507,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8507
8507
|
if(flowOutcomeId===undefined||flowOutcomeId===null){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(){/**
|
|
8508
8508
|
* Audit service.
|
|
8509
8509
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8510
|
-
* @version
|
|
8510
|
+
* @version 205.0.0
|
|
8511
8511
|
*//**
|
|
8512
8512
|
* Constructs a new AuditApi.
|
|
8513
8513
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8557,7 +8557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8557
8557
|
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(){/**
|
|
8558
8558
|
* Authorization service.
|
|
8559
8559
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8560
|
-
* @version
|
|
8560
|
+
* @version 205.0.0
|
|
8561
8561
|
*//**
|
|
8562
8562
|
* Constructs a new AuthorizationApi.
|
|
8563
8563
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8880,7 +8880,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8880
8880
|
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(){/**
|
|
8881
8881
|
* Billing service.
|
|
8882
8882
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8883
|
-
* @version
|
|
8883
|
+
* @version 205.0.0
|
|
8884
8884
|
*//**
|
|
8885
8885
|
* Constructs a new BillingApi.
|
|
8886
8886
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8904,7 +8904,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8904
8904
|
if(trustorOrgId===undefined||trustorOrgId===null){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 CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8905
8905
|
* CarrierServices service.
|
|
8906
8906
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8907
|
-
* @version
|
|
8907
|
+
* @version 205.0.0
|
|
8908
8908
|
*//**
|
|
8909
8909
|
* Constructs a new CarrierServicesApi.
|
|
8910
8910
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8924,7 +8924,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8924
8924
|
*/},{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(){/**
|
|
8925
8925
|
* Chat service.
|
|
8926
8926
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8927
|
-
* @version
|
|
8927
|
+
* @version 205.0.0
|
|
8928
8928
|
*//**
|
|
8929
8929
|
* Constructs a new ChatApi.
|
|
8930
8930
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9149,7 +9149,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9149
9149
|
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(){/**
|
|
9150
9150
|
* Coaching service.
|
|
9151
9151
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9152
|
-
* @version
|
|
9152
|
+
* @version 205.0.0
|
|
9153
9153
|
*//**
|
|
9154
9154
|
* Constructs a new CoachingApi.
|
|
9155
9155
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9302,7 +9302,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9302
9302
|
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(){/**
|
|
9303
9303
|
* ContentManagement service.
|
|
9304
9304
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9305
|
-
* @version
|
|
9305
|
+
* @version 205.0.0
|
|
9306
9306
|
*//**
|
|
9307
9307
|
* Constructs a new ContentManagementApi.
|
|
9308
9308
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9585,7 +9585,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9585
9585
|
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(){/**
|
|
9586
9586
|
* Conversations service.
|
|
9587
9587
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9588
|
-
* @version
|
|
9588
|
+
* @version 205.0.0
|
|
9589
9589
|
*//**
|
|
9590
9590
|
* Constructs a new ConversationsApi.
|
|
9591
9591
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9766,6 +9766,12 @@ if(suggestionId===undefined||suggestionId===null){throw'Missing the required par
|
|
|
9766
9766
|
* @param {Object} opts.state Suggestion state to filter Copilot suggestions.
|
|
9767
9767
|
*/},{key:"getConversationSuggestions",value:function getConversationSuggestions(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
9768
9768
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions','GET',{'conversationId':conversationId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'type':opts['type'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9769
|
+
* Get the summaries of the conversation.
|
|
9770
|
+
*
|
|
9771
|
+
* @param {String} conversationId Conversation ID
|
|
9772
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9773
|
+
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
9774
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSummaries';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9769
9775
|
* Get active conversations for the logged in user
|
|
9770
9776
|
*
|
|
9771
9777
|
* @param {Object} opts Optional parameters
|
|
@@ -11306,7 +11312,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11306
11312
|
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(){/**
|
|
11307
11313
|
* DataExtensions service.
|
|
11308
11314
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11309
|
-
* @version
|
|
11315
|
+
* @version 205.0.0
|
|
11310
11316
|
*//**
|
|
11311
11317
|
* Constructs a new DataExtensionsApi.
|
|
11312
11318
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11327,7 +11333,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11327
11333
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11328
11334
|
* Downloads service.
|
|
11329
11335
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11330
|
-
* @version
|
|
11336
|
+
* @version 205.0.0
|
|
11331
11337
|
*//**
|
|
11332
11338
|
* Constructs a new DownloadsApi.
|
|
11333
11339
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11346,7 +11352,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11346
11352
|
if(downloadId===undefined||downloadId===null){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(){/**
|
|
11347
11353
|
* Emails service.
|
|
11348
11354
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11349
|
-
* @version
|
|
11355
|
+
* @version 205.0.0
|
|
11350
11356
|
*//**
|
|
11351
11357
|
* Constructs a new EmailsApi.
|
|
11352
11358
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11364,7 +11370,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11364
11370
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11365
11371
|
* EmployeeEngagement service.
|
|
11366
11372
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11367
|
-
* @version
|
|
11373
|
+
* @version 205.0.0
|
|
11368
11374
|
*//**
|
|
11369
11375
|
* Constructs a new EmployeeEngagementApi.
|
|
11370
11376
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11402,7 +11408,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11402
11408
|
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(){/**
|
|
11403
11409
|
* Events service.
|
|
11404
11410
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11405
|
-
* @version
|
|
11411
|
+
* @version 205.0.0
|
|
11406
11412
|
*//**
|
|
11407
11413
|
* Constructs a new EventsApi.
|
|
11408
11414
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11427,7 +11433,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11427
11433
|
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(){/**
|
|
11428
11434
|
* ExternalContacts service.
|
|
11429
11435
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11430
|
-
* @version
|
|
11436
|
+
* @version 205.0.0
|
|
11431
11437
|
*//**
|
|
11432
11438
|
* Constructs a new ExternalContactsApi.
|
|
11433
11439
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11919,7 +11925,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11919
11925
|
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(){/**
|
|
11920
11926
|
* Fax service.
|
|
11921
11927
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11922
|
-
* @version
|
|
11928
|
+
* @version 205.0.0
|
|
11923
11929
|
*//**
|
|
11924
11930
|
* Constructs a new FaxApi.
|
|
11925
11931
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11968,7 +11974,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11968
11974
|
*/},{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(){/**
|
|
11969
11975
|
* Flows service.
|
|
11970
11976
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11971
|
-
* @version
|
|
11977
|
+
* @version 205.0.0
|
|
11972
11978
|
*//**
|
|
11973
11979
|
* Constructs a new FlowsApi.
|
|
11974
11980
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12016,7 +12022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12016
12022
|
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(){/**
|
|
12017
12023
|
* Gamification service.
|
|
12018
12024
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12019
|
-
* @version
|
|
12025
|
+
* @version 205.0.0
|
|
12020
12026
|
*//**
|
|
12021
12027
|
* Constructs a new GamificationApi.
|
|
12022
12028
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12556,7 +12562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12556
12562
|
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(){/**
|
|
12557
12563
|
* GeneralDataProtectionRegulation service.
|
|
12558
12564
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12559
|
-
* @version
|
|
12565
|
+
* @version 205.0.0
|
|
12560
12566
|
*//**
|
|
12561
12567
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12562
12568
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12591,7 +12597,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12591
12597
|
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(){/**
|
|
12592
12598
|
* Geolocation service.
|
|
12593
12599
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12594
|
-
* @version
|
|
12600
|
+
* @version 205.0.0
|
|
12595
12601
|
*//**
|
|
12596
12602
|
* Constructs a new GeolocationApi.
|
|
12597
12603
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12625,7 +12631,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12625
12631
|
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(){/**
|
|
12626
12632
|
* Greetings service.
|
|
12627
12633
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12628
|
-
* @version
|
|
12634
|
+
* @version 205.0.0
|
|
12629
12635
|
*//**
|
|
12630
12636
|
* Constructs a new GreetingsApi.
|
|
12631
12637
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12732,7 +12738,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12732
12738
|
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(){/**
|
|
12733
12739
|
* Groups service.
|
|
12734
12740
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12735
|
-
* @version
|
|
12741
|
+
* @version 205.0.0
|
|
12736
12742
|
*//**
|
|
12737
12743
|
* Constructs a new GroupsApi.
|
|
12738
12744
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12865,7 +12871,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12865
12871
|
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(){/**
|
|
12866
12872
|
* IdentityProvider service.
|
|
12867
12873
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12868
|
-
* @version
|
|
12874
|
+
* @version 205.0.0
|
|
12869
12875
|
*//**
|
|
12870
12876
|
* Constructs a new IdentityProviderApi.
|
|
12871
12877
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13021,7 +13027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13021
13027
|
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(){/**
|
|
13022
13028
|
* InfrastructureAsCode service.
|
|
13023
13029
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13024
|
-
* @version
|
|
13030
|
+
* @version 205.0.0
|
|
13025
13031
|
*//**
|
|
13026
13032
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13027
13033
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13075,7 +13081,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13075
13081
|
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(){/**
|
|
13076
13082
|
* Integrations service.
|
|
13077
13083
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13078
|
-
* @version
|
|
13084
|
+
* @version 205.0.0
|
|
13079
13085
|
*//**
|
|
13080
13086
|
* Constructs a new IntegrationsApi.
|
|
13081
13087
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13700,7 +13706,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13700
13706
|
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(){/**
|
|
13701
13707
|
* Journey service.
|
|
13702
13708
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13703
|
-
* @version
|
|
13709
|
+
* @version 205.0.0
|
|
13704
13710
|
*//**
|
|
13705
13711
|
* Constructs a new JourneyApi.
|
|
13706
13712
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14099,7 +14105,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14099
14105
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14100
14106
|
* Knowledge service.
|
|
14101
14107
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14102
|
-
* @version
|
|
14108
|
+
* @version 205.0.0
|
|
14103
14109
|
*//**
|
|
14104
14110
|
* Constructs a new KnowledgeApi.
|
|
14105
14111
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14186,6 +14192,30 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
14186
14192
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
14187
14193
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
14188
14194
|
if(importId===undefined||importId===null){throw'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14195
|
+
* Delete Salesforce Knowledge integration source
|
|
14196
|
+
*
|
|
14197
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14198
|
+
* @param {String} sourceId Source ID
|
|
14199
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14200
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
14201
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
14202
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14203
|
+
* Delete ServiceNow Knowledge integration source
|
|
14204
|
+
*
|
|
14205
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14206
|
+
* @param {String} sourceId Source ID
|
|
14207
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14208
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
14209
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
14210
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14211
|
+
* Delete synchronization job
|
|
14212
|
+
*
|
|
14213
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14214
|
+
* @param {String} syncJobId Synchronization job ID
|
|
14215
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14216
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSynchronizeJob",value:function deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
14217
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
14218
|
+
if(syncJobId===undefined||syncJobId===null){throw'Missing the required parameter "syncJobId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'syncJobId':syncJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14189
14219
|
* Get categories
|
|
14190
14220
|
*
|
|
14191
14221
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -14216,6 +14246,12 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
14216
14246
|
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200.
|
|
14217
14247
|
*/},{key:"getKnowledgeGuestSessionDocuments",value:function getKnowledgeGuestSessionDocuments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14218
14248
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getKnowledgeGuestSessionDocuments';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents','GET',{'sessionId':sessionId},{'categoryId':this.apiClient.buildCollectionParam(opts['categoryId'],'multi'),'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14249
|
+
* Get sync options available for a knowledge-connect integration
|
|
14250
|
+
*
|
|
14251
|
+
* @param {String} integrationId Integration ID
|
|
14252
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14253
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId){// verify the required parameter 'integrationId' is set
|
|
14254
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';}return this.apiClient.callApi('/api/v2/knowledge/integrations/{integrationId}/options','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14219
14255
|
* Get knowledge base
|
|
14220
14256
|
*
|
|
14221
14257
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14532,6 +14568,44 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14532
14568
|
*/},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14533
14569
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
14534
14570
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14571
|
+
* Get Knowledge integration sources
|
|
14572
|
+
*
|
|
14573
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14574
|
+
* @param {Object} opts Optional parameters
|
|
14575
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
14576
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
14577
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
14578
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14579
|
+
*/},{key:"getKnowledgeKnowledgebaseSources",value:function getKnowledgeKnowledgebaseSources(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14580
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSources';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources','GET',{'knowledgeBaseId':knowledgeBaseId},{'type':opts['type'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14581
|
+
* Get Salesforce Knowledge integration source
|
|
14582
|
+
*
|
|
14583
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14584
|
+
* @param {String} sourceId Source ID
|
|
14585
|
+
* @param {Object} opts Optional parameters
|
|
14586
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
14587
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14588
|
+
*/},{key:"getKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14589
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
14590
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}','GET',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14591
|
+
* Get ServiceNow Knowledge integration source
|
|
14592
|
+
*
|
|
14593
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14594
|
+
* @param {String} sourceId Source ID
|
|
14595
|
+
* @param {Object} opts Optional parameters
|
|
14596
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
14597
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14598
|
+
*/},{key:"getKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14599
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
14600
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','GET',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14601
|
+
* Get synchronization job report
|
|
14602
|
+
*
|
|
14603
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14604
|
+
* @param {String} syncJobId Synchronization job ID
|
|
14605
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14606
|
+
*/},{key:"getKnowledgeKnowledgebaseSynchronizeJob",value:function getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
14607
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
14608
|
+
if(syncJobId===undefined||syncJobId===null){throw'Missing the required parameter "syncJobId" when calling getKnowledgeKnowledgebaseSynchronizeJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'syncJobId':syncJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14535
14609
|
* Get knowledge base unanswered group for a particular groupId
|
|
14536
14610
|
*
|
|
14537
14611
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14725,6 +14799,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14725
14799
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
14726
14800
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
|
|
14727
14801
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14802
|
+
* Update synchronization job
|
|
14803
|
+
*
|
|
14804
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14805
|
+
* @param {String} syncJobId Synchronization job ID
|
|
14806
|
+
* @param {Object} body
|
|
14807
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14808
|
+
*/},{key:"patchKnowledgeKnowledgebaseSynchronizeJob",value:function patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14809
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
14810
|
+
if(syncJobId===undefined||syncJobId===null){throw'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'body' is set
|
|
14811
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseSynchronizeJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs/{syncJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'syncJobId':syncJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14728
14812
|
* Update a Knowledge base unanswered phrase group
|
|
14729
14813
|
*
|
|
14730
14814
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15030,6 +15114,46 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15030
15114
|
* @deprecated
|
|
15031
15115
|
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
15032
15116
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15117
|
+
* Create Salesforce Knowledge integration source
|
|
15118
|
+
*
|
|
15119
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15120
|
+
* @param {Object} body
|
|
15121
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15122
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesSalesforce",value:function postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15123
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';}// verify the required parameter 'body' is set
|
|
15124
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesSalesforce';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15125
|
+
* Start sync on Salesforce Knowledge integration source
|
|
15126
|
+
*
|
|
15127
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15128
|
+
* @param {String} sourceId Source ID
|
|
15129
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15130
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
15131
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
15132
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15133
|
+
* Create ServiceNow Knowledge integration source
|
|
15134
|
+
*
|
|
15135
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15136
|
+
* @param {Object} body
|
|
15137
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15138
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesServicenow",value:function postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15139
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';}// verify the required parameter 'body' is set
|
|
15140
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSourcesServicenow';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15141
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
15142
|
+
*
|
|
15143
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15144
|
+
* @param {String} sourceId Source ID
|
|
15145
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15146
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
15147
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
15148
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15149
|
+
* Create synchronization job
|
|
15150
|
+
*
|
|
15151
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15152
|
+
* @param {Object} body
|
|
15153
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15154
|
+
*/},{key:"postKnowledgeKnowledgebaseSynchronizeJobs",value:function postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15155
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';}// verify the required parameter 'body' is set
|
|
15156
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseSynchronizeJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/synchronize/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15033
15157
|
* Create content upload from URL job
|
|
15034
15158
|
*
|
|
15035
15159
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15042,10 +15166,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15042
15166
|
*
|
|
15043
15167
|
* @param {Object} body
|
|
15044
15168
|
*/},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
|
|
15045
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
15169
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15170
|
+
* Update Salesforce Knowledge integration source
|
|
15171
|
+
*
|
|
15172
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15173
|
+
* @param {String} sourceId Source ID
|
|
15174
|
+
* @param {Object} body
|
|
15175
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15176
|
+
*/},{key:"putKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15177
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
15178
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'body' is set
|
|
15179
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15180
|
+
* Update ServiceNow Knowledge integration source
|
|
15181
|
+
*
|
|
15182
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15183
|
+
* @param {String} sourceId Source ID
|
|
15184
|
+
* @param {Object} body
|
|
15185
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15186
|
+
*/},{key:"putKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15187
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
15188
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'body' is set
|
|
15189
|
+
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(){/**
|
|
15046
15190
|
* LanguageUnderstanding service.
|
|
15047
15191
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15048
|
-
* @version
|
|
15192
|
+
* @version 205.0.0
|
|
15049
15193
|
*//**
|
|
15050
15194
|
* Constructs a new LanguageUnderstandingApi.
|
|
15051
15195
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15305,7 +15449,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15305
15449
|
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(){/**
|
|
15306
15450
|
* Languages service.
|
|
15307
15451
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15308
|
-
* @version
|
|
15452
|
+
* @version 205.0.0
|
|
15309
15453
|
*//**
|
|
15310
15454
|
* Constructs a new LanguagesApi.
|
|
15311
15455
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15360,7 +15504,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15360
15504
|
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(){/**
|
|
15361
15505
|
* Learning service.
|
|
15362
15506
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15363
|
-
* @version
|
|
15507
|
+
* @version 205.0.0
|
|
15364
15508
|
*//**
|
|
15365
15509
|
* Constructs a new LearningApi.
|
|
15366
15510
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15631,7 +15775,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15631
15775
|
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(){/**
|
|
15632
15776
|
* License service.
|
|
15633
15777
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15634
|
-
* @version
|
|
15778
|
+
* @version 205.0.0
|
|
15635
15779
|
*//**
|
|
15636
15780
|
* Constructs a new LicenseApi.
|
|
15637
15781
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15685,7 +15829,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15685
15829
|
*/},{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(){/**
|
|
15686
15830
|
* Locations service.
|
|
15687
15831
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15688
|
-
* @version
|
|
15832
|
+
* @version 205.0.0
|
|
15689
15833
|
*//**
|
|
15690
15834
|
* Constructs a new LocationsApi.
|
|
15691
15835
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15744,7 +15888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15744
15888
|
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(){/**
|
|
15745
15889
|
* LogCapture service.
|
|
15746
15890
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15747
|
-
* @version
|
|
15891
|
+
* @version 205.0.0
|
|
15748
15892
|
*//**
|
|
15749
15893
|
* Constructs a new LogCaptureApi.
|
|
15750
15894
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15794,7 +15938,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15794
15938
|
if(userId===undefined||userId===null){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(){/**
|
|
15795
15939
|
* Messaging service.
|
|
15796
15940
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15797
|
-
* @version
|
|
15941
|
+
* @version 205.0.0
|
|
15798
15942
|
*//**
|
|
15799
15943
|
* Constructs a new MessagingApi.
|
|
15800
15944
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15884,7 +16028,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15884
16028
|
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(){/**
|
|
15885
16029
|
* MobileDevices service.
|
|
15886
16030
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15887
|
-
* @version
|
|
16031
|
+
* @version 205.0.0
|
|
15888
16032
|
*//**
|
|
15889
16033
|
* Constructs a new MobileDevicesApi.
|
|
15890
16034
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15923,7 +16067,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15923
16067
|
if(deviceId===undefined||deviceId===null){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(){/**
|
|
15924
16068
|
* Notifications service.
|
|
15925
16069
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15926
|
-
* @version
|
|
16070
|
+
* @version 205.0.0
|
|
15927
16071
|
*//**
|
|
15928
16072
|
* Constructs a new NotificationsApi.
|
|
15929
16073
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15980,7 +16124,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15980
16124
|
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(){/**
|
|
15981
16125
|
* OAuth service.
|
|
15982
16126
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15983
|
-
* @version
|
|
16127
|
+
* @version 205.0.0
|
|
15984
16128
|
*//**
|
|
15985
16129
|
* Constructs a new OAuthApi.
|
|
15986
16130
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16065,7 +16209,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16065
16209
|
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(){/**
|
|
16066
16210
|
* Objects service.
|
|
16067
16211
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16068
|
-
* @version
|
|
16212
|
+
* @version 205.0.0
|
|
16069
16213
|
*//**
|
|
16070
16214
|
* Constructs a new ObjectsApi.
|
|
16071
16215
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16136,7 +16280,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16136
16280
|
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(){/**
|
|
16137
16281
|
* OperationalEvents service.
|
|
16138
16282
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16139
|
-
* @version
|
|
16283
|
+
* @version 205.0.0
|
|
16140
16284
|
*//**
|
|
16141
16285
|
* Constructs a new OperationalEventsApi.
|
|
16142
16286
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16154,7 +16298,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
16154
16298
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16155
16299
|
* Organization service.
|
|
16156
16300
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16157
|
-
* @version
|
|
16301
|
+
* @version 205.0.0
|
|
16158
16302
|
*//**
|
|
16159
16303
|
* Constructs a new OrganizationApi.
|
|
16160
16304
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16279,7 +16423,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16279
16423
|
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(){/**
|
|
16280
16424
|
* OrganizationAuthorization service.
|
|
16281
16425
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16282
|
-
* @version
|
|
16426
|
+
* @version 205.0.0
|
|
16283
16427
|
*//**
|
|
16284
16428
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16285
16429
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16602,7 +16746,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16602
16746
|
if(trusteeUserId===undefined||trusteeUserId===null){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(){/**
|
|
16603
16747
|
* Outbound service.
|
|
16604
16748
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16605
|
-
* @version
|
|
16749
|
+
* @version 205.0.0
|
|
16606
16750
|
*//**
|
|
16607
16751
|
* Constructs a new OutboundApi.
|
|
16608
16752
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16855,6 +16999,14 @@ if(campaignId===undefined||campaignId===null){throw'Missing the required paramet
|
|
|
16855
16999
|
* @param {String} campaignId Campaign ID
|
|
16856
17000
|
*/},{key:"getOutboundCampaignProgress",value:function getOutboundCampaignProgress(campaignId){// verify the required parameter 'campaignId' is set
|
|
16857
17001
|
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignProgress';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/progress','GET',{'campaignId':campaignId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17002
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
17003
|
+
*
|
|
17004
|
+
* @param {String} campaignId Campaign ID
|
|
17005
|
+
* @param {Object} opts Optional parameters
|
|
17006
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17007
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
17008
|
+
*/},{key:"getOutboundCampaignSkillcombinations",value:function getOutboundCampaignSkillcombinations(campaignId,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
|
|
17009
|
+
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/skillcombinations','GET',{'campaignId':campaignId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16858
17010
|
* Get statistics about a Dialer Campaign
|
|
16859
17011
|
*
|
|
16860
17012
|
* @param {String} campaignId Campaign ID
|
|
@@ -17681,7 +17833,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17681
17833
|
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(){/**
|
|
17682
17834
|
* Presence service.
|
|
17683
17835
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17684
|
-
* @version
|
|
17836
|
+
* @version 205.0.0
|
|
17685
17837
|
*//**
|
|
17686
17838
|
* Constructs a new PresenceApi.
|
|
17687
17839
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17854,7 +18006,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17854
18006
|
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(){/**
|
|
17855
18007
|
* ProcessAutomation service.
|
|
17856
18008
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17857
|
-
* @version
|
|
18009
|
+
* @version 205.0.0
|
|
17858
18010
|
*//**
|
|
17859
18011
|
* Constructs a new ProcessAutomationApi.
|
|
17860
18012
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17917,7 +18069,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17917
18069
|
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(){/**
|
|
17918
18070
|
* Quality service.
|
|
17919
18071
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17920
|
-
* @version
|
|
18072
|
+
* @version 205.0.0
|
|
17921
18073
|
*//**
|
|
17922
18074
|
* Constructs a new QualityApi.
|
|
17923
18075
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18394,7 +18546,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18394
18546
|
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(){/**
|
|
18395
18547
|
* Recording service.
|
|
18396
18548
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18397
|
-
* @version
|
|
18549
|
+
* @version 205.0.0
|
|
18398
18550
|
*//**
|
|
18399
18551
|
* Constructs a new RecordingApi.
|
|
18400
18552
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18806,7 +18958,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18806
18958
|
*/},{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(){/**
|
|
18807
18959
|
* ResponseManagement service.
|
|
18808
18960
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18809
|
-
* @version
|
|
18961
|
+
* @version 205.0.0
|
|
18810
18962
|
*//**
|
|
18811
18963
|
* Constructs a new ResponseManagementApi.
|
|
18812
18964
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18927,7 +19079,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18927
19079
|
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(){/**
|
|
18928
19080
|
* Routing service.
|
|
18929
19081
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18930
|
-
* @version
|
|
19082
|
+
* @version 205.0.0
|
|
18931
19083
|
*//**
|
|
18932
19084
|
* Constructs a new RoutingApi.
|
|
18933
19085
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19931,7 +20083,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19931
20083
|
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(){/**
|
|
19932
20084
|
* SCIM service.
|
|
19933
20085
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19934
|
-
* @version
|
|
20086
|
+
* @version 205.0.0
|
|
19935
20087
|
*//**
|
|
19936
20088
|
* Constructs a new SCIMApi.
|
|
19937
20089
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20156,7 +20308,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20156
20308
|
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(){/**
|
|
20157
20309
|
* ScreenRecording service.
|
|
20158
20310
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20159
|
-
* @version
|
|
20311
|
+
* @version 205.0.0
|
|
20160
20312
|
*//**
|
|
20161
20313
|
* Constructs a new ScreenRecordingApi.
|
|
20162
20314
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20171,7 +20323,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20171
20323
|
*/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(){/**
|
|
20172
20324
|
* Scripts service.
|
|
20173
20325
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20174
|
-
* @version
|
|
20326
|
+
* @version 205.0.0
|
|
20175
20327
|
*//**
|
|
20176
20328
|
* Constructs a new ScriptsApi.
|
|
20177
20329
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20307,7 +20459,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20307
20459
|
*/},{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(){/**
|
|
20308
20460
|
* Search service.
|
|
20309
20461
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20310
|
-
* @version
|
|
20462
|
+
* @version 205.0.0
|
|
20311
20463
|
*//**
|
|
20312
20464
|
* Constructs a new SearchApi.
|
|
20313
20465
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20467,7 +20619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20467
20619
|
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(){/**
|
|
20468
20620
|
* Settings service.
|
|
20469
20621
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20470
|
-
* @version
|
|
20622
|
+
* @version 205.0.0
|
|
20471
20623
|
*//**
|
|
20472
20624
|
* Constructs a new SettingsApi.
|
|
20473
20625
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20517,7 +20669,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20517
20669
|
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 SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
20518
20670
|
* SpeechTextAnalytics service.
|
|
20519
20671
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20520
|
-
* @version
|
|
20672
|
+
* @version 205.0.0
|
|
20521
20673
|
*//**
|
|
20522
20674
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20523
20675
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20702,6 +20854,21 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20702
20854
|
* @param {String} jobId The id of the publish topics job
|
|
20703
20855
|
*/},{key:"getSpeechandtextanalyticsTopicsPublishjob",value:function getSpeechandtextanalyticsTopicsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
20704
20856
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20857
|
+
* Translate all communication(s) for an interaction.
|
|
20858
|
+
*
|
|
20859
|
+
* @param {String} languageId Target translation language
|
|
20860
|
+
* @param {String} conversationId Conversation id
|
|
20861
|
+
* @param {Object} opts Optional parameters
|
|
20862
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
20863
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
20864
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20865
|
+
*/},{key:"getSpeechandtextanalyticsTranslationsLanguageConversation",value:function getSpeechandtextanalyticsTranslationsLanguageConversation(languageId,conversationId,opts){opts=opts||{};// verify the required parameter 'languageId' is set
|
|
20866
|
+
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}// verify the required parameter 'conversationId' is set
|
|
20867
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}','GET',{'languageId':languageId,'conversationId':conversationId},{'communicationId':opts['communicationId'],'recordingId':opts['recordingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20868
|
+
* Get supported translation languages
|
|
20869
|
+
*
|
|
20870
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20871
|
+
*/},{key:"getSpeechandtextanalyticsTranslationsLanguages",value:function getSpeechandtextanalyticsTranslationsLanguages(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/translations/languages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20705
20872
|
* Patch Speech And Text Analytics Settings
|
|
20706
20873
|
*
|
|
20707
20874
|
* @param {Object} body Speech And Text Analytics Settings
|
|
@@ -20801,7 +20968,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20801
20968
|
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(){/**
|
|
20802
20969
|
* Stations service.
|
|
20803
20970
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20804
|
-
* @version
|
|
20971
|
+
* @version 205.0.0
|
|
20805
20972
|
*//**
|
|
20806
20973
|
* Constructs a new StationsApi.
|
|
20807
20974
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20833,7 +21000,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20833
21000
|
*/},{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(){/**
|
|
20834
21001
|
* Suggest service.
|
|
20835
21002
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20836
|
-
* @version
|
|
21003
|
+
* @version 205.0.0
|
|
20837
21004
|
*//**
|
|
20838
21005
|
* Constructs a new SuggestApi.
|
|
20839
21006
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20873,7 +21040,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20873
21040
|
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(){/**
|
|
20874
21041
|
* TaskManagement service.
|
|
20875
21042
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20876
|
-
* @version
|
|
21043
|
+
* @version 205.0.0
|
|
20877
21044
|
*//**
|
|
20878
21045
|
* Constructs a new TaskManagementApi.
|
|
20879
21046
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21203,7 +21370,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21203
21370
|
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(){/**
|
|
21204
21371
|
* Teams service.
|
|
21205
21372
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21206
|
-
* @version
|
|
21373
|
+
* @version 205.0.0
|
|
21207
21374
|
*//**
|
|
21208
21375
|
* Constructs a new TeamsApi.
|
|
21209
21376
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -21281,7 +21448,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21281
21448
|
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(){/**
|
|
21282
21449
|
* Telephony service.
|
|
21283
21450
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
21284
|
-
* @version
|
|
21451
|
+
* @version 205.0.0
|
|
21285
21452
|
*//**
|
|
21286
21453
|
* Constructs a new TelephonyApi.
|
|
21287
21454
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21328,7 +21495,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21328
21495
|
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(){/**
|
|
21329
21496
|
* TelephonyProvidersEdge service.
|
|
21330
21497
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21331
|
-
* @version
|
|
21498
|
+
* @version 205.0.0
|
|
21332
21499
|
*//**
|
|
21333
21500
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21334
21501
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21353,6 +21520,9 @@ if(interfaceId===undefined||interfaceId===null){throw'Missing the required param
|
|
|
21353
21520
|
* @param {String} edgeId Edge ID
|
|
21354
21521
|
*/},{key:"deleteTelephonyProvidersEdgeSoftwareupdate",value:function deleteTelephonyProvidersEdgeSoftwareupdate(edgeId){// verify the required parameter 'edgeId' is set
|
|
21355
21522
|
if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeSoftwareupdate';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/{edgeId}/softwareupdate','DELETE',{'edgeId':edgeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21523
|
+
* Deletes alertable presences overrides.
|
|
21524
|
+
*
|
|
21525
|
+
*/},{key:"deleteTelephonyProvidersEdgesAlertablepresences",value:function deleteTelephonyProvidersEdgesAlertablepresences(){return this.apiClient.callApi('/api/v2/telephony/providers/edges/alertablepresences','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21356
21526
|
* Delete a certificate authority.
|
|
21357
21527
|
*
|
|
21358
21528
|
* @param {String} certificateId Certificate ID
|
|
@@ -21506,6 +21676,11 @@ if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edge
|
|
|
21506
21676
|
* @param {Boolean} opts.managed Filter by managed
|
|
21507
21677
|
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
21508
21678
|
*/},{key:"getTelephonyProvidersEdges",value:function getTelephonyProvidersEdges(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'site.id':opts['siteId'],'edgeGroup.id':opts['edgeGroupId'],'sortBy':opts['sortBy'],'managed':opts['managed'],'showCloudMedia':opts['showCloudMedia']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21679
|
+
* Get the list alertable presences. The 'type' query parameter can be used to If there are any overrides, this is the list of overrides; if there are no overrides, it is the default list.
|
|
21680
|
+
*
|
|
21681
|
+
* @param {Object} opts Optional parameters
|
|
21682
|
+
* @param {Object} opts.type
|
|
21683
|
+
*/},{key:"getTelephonyProvidersEdgesAlertablepresences",value:function getTelephonyProvidersEdgesAlertablepresences(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/alertablepresences','GET',{},{'type':opts['type']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21509
21684
|
* Get the list of certificate authorities.
|
|
21510
21685
|
*
|
|
21511
21686
|
*/},{key:"getTelephonyProvidersEdgesCertificateauthorities",value:function getTelephonyProvidersEdgesCertificateauthorities(){return this.apiClient.callApi('/api/v2/telephony/providers/edges/certificateauthorities','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -22048,6 +22223,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22048
22223
|
if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLogicalinterface';}// verify the required parameter 'interfaceId' is set
|
|
22049
22224
|
if(interfaceId===undefined||interfaceId===null){throw'Missing the required parameter "interfaceId" when calling putTelephonyProvidersEdgeLogicalinterface';}// verify the required parameter 'body' is set
|
|
22050
22225
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLogicalinterface';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}','PUT',{'edgeId':edgeId,'interfaceId':interfaceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22226
|
+
* Creates or updates alertable presences overrides.
|
|
22227
|
+
*
|
|
22228
|
+
* @param {Object} body Alertable Presences Overrides
|
|
22229
|
+
*/},{key:"putTelephonyProvidersEdgesAlertablepresences",value:function putTelephonyProvidersEdgesAlertablepresences(body){// verify the required parameter 'body' is set
|
|
22230
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/alertablepresences','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22051
22231
|
* Update a certificate authority.
|
|
22052
22232
|
*
|
|
22053
22233
|
* @param {String} certificateId Certificate ID
|
|
@@ -22138,7 +22318,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
22138
22318
|
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(){/**
|
|
22139
22319
|
* Textbots service.
|
|
22140
22320
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
22141
|
-
* @version
|
|
22321
|
+
* @version 205.0.0
|
|
22142
22322
|
*//**
|
|
22143
22323
|
* Constructs a new TextbotsApi.
|
|
22144
22324
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -22173,7 +22353,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
22173
22353
|
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(){/**
|
|
22174
22354
|
* Tokens service.
|
|
22175
22355
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
22176
|
-
* @version
|
|
22356
|
+
* @version 205.0.0
|
|
22177
22357
|
*//**
|
|
22178
22358
|
* Constructs a new TokensApi.
|
|
22179
22359
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -22207,7 +22387,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22207
22387
|
*/},{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(){/**
|
|
22208
22388
|
* Uploads service.
|
|
22209
22389
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
22210
|
-
* @version
|
|
22390
|
+
* @version 205.0.0
|
|
22211
22391
|
*//**
|
|
22212
22392
|
* Constructs a new UploadsApi.
|
|
22213
22393
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -22273,7 +22453,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22273
22453
|
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(){/**
|
|
22274
22454
|
* Usage service.
|
|
22275
22455
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
22276
|
-
* @version
|
|
22456
|
+
* @version 205.0.0
|
|
22277
22457
|
*//**
|
|
22278
22458
|
* Constructs a new UsageApi.
|
|
22279
22459
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22327,7 +22507,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22327
22507
|
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(){/**
|
|
22328
22508
|
* UserRecordings service.
|
|
22329
22509
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22330
|
-
* @version
|
|
22510
|
+
* @version 205.0.0
|
|
22331
22511
|
*//**
|
|
22332
22512
|
* Constructs a new UserRecordingsApi.
|
|
22333
22513
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22384,7 +22564,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22384
22564
|
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(){/**
|
|
22385
22565
|
* Users service.
|
|
22386
22566
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22387
|
-
* @version
|
|
22567
|
+
* @version 205.0.0
|
|
22388
22568
|
*//**
|
|
22389
22569
|
* Constructs a new UsersApi.
|
|
22390
22570
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -23074,7 +23254,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
23074
23254
|
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(){/**
|
|
23075
23255
|
* Utilities service.
|
|
23076
23256
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
23077
|
-
* @version
|
|
23257
|
+
* @version 205.0.0
|
|
23078
23258
|
*//**
|
|
23079
23259
|
* Constructs a new UtilitiesApi.
|
|
23080
23260
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -23101,7 +23281,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23101
23281
|
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(){/**
|
|
23102
23282
|
* Voicemail service.
|
|
23103
23283
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
23104
|
-
* @version
|
|
23284
|
+
* @version 205.0.0
|
|
23105
23285
|
*//**
|
|
23106
23286
|
* Constructs a new VoicemailApi.
|
|
23107
23287
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -23250,7 +23430,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23250
23430
|
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(){/**
|
|
23251
23431
|
* WebChat service.
|
|
23252
23432
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
23253
|
-
* @version
|
|
23433
|
+
* @version 205.0.0
|
|
23254
23434
|
*//**
|
|
23255
23435
|
* Constructs a new WebChatApi.
|
|
23256
23436
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23385,7 +23565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23385
23565
|
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(){/**
|
|
23386
23566
|
* WebDeployments service.
|
|
23387
23567
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23388
|
-
* @version
|
|
23568
|
+
* @version 205.0.0
|
|
23389
23569
|
*//**
|
|
23390
23570
|
* Constructs a new WebDeploymentsApi.
|
|
23391
23571
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23463,7 +23643,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23463
23643
|
* Get deployments
|
|
23464
23644
|
*
|
|
23465
23645
|
* @param {Object} opts Optional parameters
|
|
23466
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
23646
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
23467
23647
|
*/},{key:"getWebdeploymentsDeployments",value:function getWebdeploymentsDeployments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/deployments','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23468
23648
|
* Publish the configuration draft and create a new version
|
|
23469
23649
|
*
|
|
@@ -23506,7 +23686,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23506
23686
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
23507
23687
|
* WebMessaging service.
|
|
23508
23688
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23509
|
-
* @version
|
|
23689
|
+
* @version 205.0.0
|
|
23510
23690
|
*//**
|
|
23511
23691
|
* Constructs a new WebMessagingApi.
|
|
23512
23692
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23522,7 +23702,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23522
23702
|
*/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(){/**
|
|
23523
23703
|
* Widgets service.
|
|
23524
23704
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23525
|
-
* @version
|
|
23705
|
+
* @version 205.0.0
|
|
23526
23706
|
*//**
|
|
23527
23707
|
* Constructs a new WidgetsApi.
|
|
23528
23708
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23557,7 +23737,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23557
23737
|
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(){/**
|
|
23558
23738
|
* WorkforceManagement service.
|
|
23559
23739
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23560
|
-
* @version
|
|
23740
|
+
* @version 205.0.0
|
|
23561
23741
|
*//**
|
|
23562
23742
|
* Constructs a new WorkforceManagementApi.
|
|
23563
23743
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -25323,7 +25503,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25323
25503
|
* </pre>
|
|
25324
25504
|
* </p>
|
|
25325
25505
|
* @module purecloud-platform-client-v2/index
|
|
25326
|
-
* @version
|
|
25506
|
+
* @version 205.0.0
|
|
25327
25507
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
25328
25508
|
* The ApiClient constructor.
|
|
25329
25509
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|