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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -879,7 +879,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
879
879
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
880
880
|
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];}}}]);}();/**
|
|
881
881
|
* @module purecloud-platform-client-v2/ApiClient
|
|
882
|
-
* @version
|
|
882
|
+
* @version 205.0.0
|
|
883
883
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
884
884
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
885
885
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1191,7 +1191,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1191
1191
|
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(){/**
|
|
1192
1192
|
* AgentAssistants service.
|
|
1193
1193
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1194
|
-
* @version
|
|
1194
|
+
* @version 205.0.0
|
|
1195
1195
|
*//**
|
|
1196
1196
|
* Constructs a new AgentAssistantsApi.
|
|
1197
1197
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1292,7 +1292,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1292
1292
|
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(){/**
|
|
1293
1293
|
* AgentCopilot service.
|
|
1294
1294
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1295
|
-
* @version
|
|
1295
|
+
* @version 205.0.0
|
|
1296
1296
|
*//**
|
|
1297
1297
|
* Constructs a new AgentCopilotApi.
|
|
1298
1298
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1314,7 +1314,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1314
1314
|
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(){/**
|
|
1315
1315
|
* AgentUI service.
|
|
1316
1316
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1317
|
-
* @version
|
|
1317
|
+
* @version 205.0.0
|
|
1318
1318
|
*//**
|
|
1319
1319
|
* Constructs a new AgentUIApi.
|
|
1320
1320
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1348,7 +1348,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1348
1348
|
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(){/**
|
|
1349
1349
|
* Alerting service.
|
|
1350
1350
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1351
|
-
* @version
|
|
1351
|
+
* @version 205.0.0
|
|
1352
1352
|
*//**
|
|
1353
1353
|
* Constructs a new AlertingApi.
|
|
1354
1354
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1505,7 +1505,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1505
1505
|
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(){/**
|
|
1506
1506
|
* Analytics service.
|
|
1507
1507
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1508
|
-
* @version
|
|
1508
|
+
* @version 205.0.0
|
|
1509
1509
|
*//**
|
|
1510
1510
|
* Constructs a new AnalyticsApi.
|
|
1511
1511
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2126,7 +2126,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2126
2126
|
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(){/**
|
|
2127
2127
|
* Architect service.
|
|
2128
2128
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2129
|
-
* @version
|
|
2129
|
+
* @version 205.0.0
|
|
2130
2130
|
*//**
|
|
2131
2131
|
* Constructs a new ArchitectApi.
|
|
2132
2132
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3218,7 +3218,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3218
3218
|
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(){/**
|
|
3219
3219
|
* Audit service.
|
|
3220
3220
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3221
|
-
* @version
|
|
3221
|
+
* @version 205.0.0
|
|
3222
3222
|
*//**
|
|
3223
3223
|
* Constructs a new AuditApi.
|
|
3224
3224
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3268,7 +3268,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3268
3268
|
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(){/**
|
|
3269
3269
|
* Authorization service.
|
|
3270
3270
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3271
|
-
* @version
|
|
3271
|
+
* @version 205.0.0
|
|
3272
3272
|
*//**
|
|
3273
3273
|
* Constructs a new AuthorizationApi.
|
|
3274
3274
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3591,7 +3591,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3591
3591
|
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(){/**
|
|
3592
3592
|
* Billing service.
|
|
3593
3593
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3594
|
-
* @version
|
|
3594
|
+
* @version 205.0.0
|
|
3595
3595
|
*//**
|
|
3596
3596
|
* Constructs a new BillingApi.
|
|
3597
3597
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3615,7 +3615,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3615
3615
|
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(){/**
|
|
3616
3616
|
* CarrierServices service.
|
|
3617
3617
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3618
|
-
* @version
|
|
3618
|
+
* @version 205.0.0
|
|
3619
3619
|
*//**
|
|
3620
3620
|
* Constructs a new CarrierServicesApi.
|
|
3621
3621
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3635,7 +3635,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3635
3635
|
*/},{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(){/**
|
|
3636
3636
|
* Chat service.
|
|
3637
3637
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3638
|
-
* @version
|
|
3638
|
+
* @version 205.0.0
|
|
3639
3639
|
*//**
|
|
3640
3640
|
* Constructs a new ChatApi.
|
|
3641
3641
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3860,7 +3860,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3860
3860
|
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(){/**
|
|
3861
3861
|
* Coaching service.
|
|
3862
3862
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3863
|
-
* @version
|
|
3863
|
+
* @version 205.0.0
|
|
3864
3864
|
*//**
|
|
3865
3865
|
* Constructs a new CoachingApi.
|
|
3866
3866
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4013,7 +4013,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4013
4013
|
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(){/**
|
|
4014
4014
|
* ContentManagement service.
|
|
4015
4015
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4016
|
-
* @version
|
|
4016
|
+
* @version 205.0.0
|
|
4017
4017
|
*//**
|
|
4018
4018
|
* Constructs a new ContentManagementApi.
|
|
4019
4019
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4296,7 +4296,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4296
4296
|
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(){/**
|
|
4297
4297
|
* Conversations service.
|
|
4298
4298
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4299
|
-
* @version
|
|
4299
|
+
* @version 205.0.0
|
|
4300
4300
|
*//**
|
|
4301
4301
|
* Constructs a new ConversationsApi.
|
|
4302
4302
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4477,6 +4477,12 @@ if(suggestionId===undefined||suggestionId===null){throw'Missing the required par
|
|
|
4477
4477
|
* @param {Object} opts.state Suggestion state to filter Copilot suggestions.
|
|
4478
4478
|
*/},{key:"getConversationSuggestions",value:function getConversationSuggestions(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
4479
4479
|
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']);}/**
|
|
4480
|
+
* Get the summaries of the conversation.
|
|
4481
|
+
*
|
|
4482
|
+
* @param {String} conversationId Conversation ID
|
|
4483
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4484
|
+
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
4485
|
+
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']);}/**
|
|
4480
4486
|
* Get active conversations for the logged in user
|
|
4481
4487
|
*
|
|
4482
4488
|
* @param {Object} opts Optional parameters
|
|
@@ -6017,7 +6023,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6017
6023
|
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(){/**
|
|
6018
6024
|
* DataExtensions service.
|
|
6019
6025
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6020
|
-
* @version
|
|
6026
|
+
* @version 205.0.0
|
|
6021
6027
|
*//**
|
|
6022
6028
|
* Constructs a new DataExtensionsApi.
|
|
6023
6029
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6038,7 +6044,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6038
6044
|
*/},{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(){/**
|
|
6039
6045
|
* Downloads service.
|
|
6040
6046
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6041
|
-
* @version
|
|
6047
|
+
* @version 205.0.0
|
|
6042
6048
|
*//**
|
|
6043
6049
|
* Constructs a new DownloadsApi.
|
|
6044
6050
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6057,7 +6063,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6057
6063
|
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(){/**
|
|
6058
6064
|
* Emails service.
|
|
6059
6065
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6060
|
-
* @version
|
|
6066
|
+
* @version 205.0.0
|
|
6061
6067
|
*//**
|
|
6062
6068
|
* Constructs a new EmailsApi.
|
|
6063
6069
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6075,7 +6081,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6075
6081
|
*/},{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(){/**
|
|
6076
6082
|
* EmployeeEngagement service.
|
|
6077
6083
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6078
|
-
* @version
|
|
6084
|
+
* @version 205.0.0
|
|
6079
6085
|
*//**
|
|
6080
6086
|
* Constructs a new EmployeeEngagementApi.
|
|
6081
6087
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6113,7 +6119,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6113
6119
|
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(){/**
|
|
6114
6120
|
* Events service.
|
|
6115
6121
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6116
|
-
* @version
|
|
6122
|
+
* @version 205.0.0
|
|
6117
6123
|
*//**
|
|
6118
6124
|
* Constructs a new EventsApi.
|
|
6119
6125
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6138,7 +6144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6138
6144
|
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(){/**
|
|
6139
6145
|
* ExternalContacts service.
|
|
6140
6146
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6141
|
-
* @version
|
|
6147
|
+
* @version 205.0.0
|
|
6142
6148
|
*//**
|
|
6143
6149
|
* Constructs a new ExternalContactsApi.
|
|
6144
6150
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6630,7 +6636,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6630
6636
|
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(){/**
|
|
6631
6637
|
* Fax service.
|
|
6632
6638
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6633
|
-
* @version
|
|
6639
|
+
* @version 205.0.0
|
|
6634
6640
|
*//**
|
|
6635
6641
|
* Constructs a new FaxApi.
|
|
6636
6642
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6679,7 +6685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6679
6685
|
*/},{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(){/**
|
|
6680
6686
|
* Flows service.
|
|
6681
6687
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6682
|
-
* @version
|
|
6688
|
+
* @version 205.0.0
|
|
6683
6689
|
*//**
|
|
6684
6690
|
* Constructs a new FlowsApi.
|
|
6685
6691
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6727,7 +6733,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6727
6733
|
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(){/**
|
|
6728
6734
|
* Gamification service.
|
|
6729
6735
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6730
|
-
* @version
|
|
6736
|
+
* @version 205.0.0
|
|
6731
6737
|
*//**
|
|
6732
6738
|
* Constructs a new GamificationApi.
|
|
6733
6739
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7267,7 +7273,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7267
7273
|
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(){/**
|
|
7268
7274
|
* GeneralDataProtectionRegulation service.
|
|
7269
7275
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7270
|
-
* @version
|
|
7276
|
+
* @version 205.0.0
|
|
7271
7277
|
*//**
|
|
7272
7278
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7273
7279
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7302,7 +7308,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7302
7308
|
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(){/**
|
|
7303
7309
|
* Geolocation service.
|
|
7304
7310
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7305
|
-
* @version
|
|
7311
|
+
* @version 205.0.0
|
|
7306
7312
|
*//**
|
|
7307
7313
|
* Constructs a new GeolocationApi.
|
|
7308
7314
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7336,7 +7342,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7336
7342
|
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(){/**
|
|
7337
7343
|
* Greetings service.
|
|
7338
7344
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7339
|
-
* @version
|
|
7345
|
+
* @version 205.0.0
|
|
7340
7346
|
*//**
|
|
7341
7347
|
* Constructs a new GreetingsApi.
|
|
7342
7348
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7443,7 +7449,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7443
7449
|
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(){/**
|
|
7444
7450
|
* Groups service.
|
|
7445
7451
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7446
|
-
* @version
|
|
7452
|
+
* @version 205.0.0
|
|
7447
7453
|
*//**
|
|
7448
7454
|
* Constructs a new GroupsApi.
|
|
7449
7455
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7576,7 +7582,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7576
7582
|
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(){/**
|
|
7577
7583
|
* IdentityProvider service.
|
|
7578
7584
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7579
|
-
* @version
|
|
7585
|
+
* @version 205.0.0
|
|
7580
7586
|
*//**
|
|
7581
7587
|
* Constructs a new IdentityProviderApi.
|
|
7582
7588
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7732,7 +7738,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7732
7738
|
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(){/**
|
|
7733
7739
|
* InfrastructureAsCode service.
|
|
7734
7740
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7735
|
-
* @version
|
|
7741
|
+
* @version 205.0.0
|
|
7736
7742
|
*//**
|
|
7737
7743
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7738
7744
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7786,7 +7792,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7786
7792
|
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(){/**
|
|
7787
7793
|
* Integrations service.
|
|
7788
7794
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7789
|
-
* @version
|
|
7795
|
+
* @version 205.0.0
|
|
7790
7796
|
*//**
|
|
7791
7797
|
* Constructs a new IntegrationsApi.
|
|
7792
7798
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8411,7 +8417,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8411
8417
|
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(){/**
|
|
8412
8418
|
* Journey service.
|
|
8413
8419
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8414
|
-
* @version
|
|
8420
|
+
* @version 205.0.0
|
|
8415
8421
|
*//**
|
|
8416
8422
|
* Constructs a new JourneyApi.
|
|
8417
8423
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8810,7 +8816,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8810
8816
|
*/},{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(){/**
|
|
8811
8817
|
* Knowledge service.
|
|
8812
8818
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8813
|
-
* @version
|
|
8819
|
+
* @version 205.0.0
|
|
8814
8820
|
*//**
|
|
8815
8821
|
* Constructs a new KnowledgeApi.
|
|
8816
8822
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8897,6 +8903,30 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
8897
8903
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
8898
8904
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
8899
8905
|
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']);}/**
|
|
8906
|
+
* Delete Salesforce Knowledge integration source
|
|
8907
|
+
*
|
|
8908
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8909
|
+
* @param {String} sourceId Source ID
|
|
8910
|
+
* deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8911
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8912
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
8913
|
+
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']);}/**
|
|
8914
|
+
* Delete ServiceNow Knowledge integration source
|
|
8915
|
+
*
|
|
8916
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8917
|
+
* @param {String} sourceId Source ID
|
|
8918
|
+
* deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8919
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8920
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
8921
|
+
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']);}/**
|
|
8922
|
+
* Delete synchronization job
|
|
8923
|
+
*
|
|
8924
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
8925
|
+
* @param {String} syncJobId Synchronization job ID
|
|
8926
|
+
* deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8927
|
+
*/},{key:"deleteKnowledgeKnowledgebaseSynchronizeJob",value:function deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
8928
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
8929
|
+
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']);}/**
|
|
8900
8930
|
* Get categories
|
|
8901
8931
|
*
|
|
8902
8932
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -8927,6 +8957,12 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
8927
8957
|
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200.
|
|
8928
8958
|
*/},{key:"getKnowledgeGuestSessionDocuments",value:function getKnowledgeGuestSessionDocuments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
8929
8959
|
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']);}/**
|
|
8960
|
+
* Get sync options available for a knowledge-connect integration
|
|
8961
|
+
*
|
|
8962
|
+
* @param {String} integrationId Integration ID
|
|
8963
|
+
* getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8964
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId){// verify the required parameter 'integrationId' is set
|
|
8965
|
+
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']);}/**
|
|
8930
8966
|
* Get knowledge base
|
|
8931
8967
|
*
|
|
8932
8968
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9243,6 +9279,44 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
9243
9279
|
*/},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9244
9280
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
9245
9281
|
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']);}/**
|
|
9282
|
+
* Get Knowledge integration sources
|
|
9283
|
+
*
|
|
9284
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9285
|
+
* @param {Object} opts Optional parameters
|
|
9286
|
+
* @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
|
|
9287
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
9288
|
+
* @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
|
|
9289
|
+
* getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9290
|
+
*/},{key:"getKnowledgeKnowledgebaseSources",value:function getKnowledgeKnowledgebaseSources(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9291
|
+
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']);}/**
|
|
9292
|
+
* Get Salesforce Knowledge integration source
|
|
9293
|
+
*
|
|
9294
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9295
|
+
* @param {String} sourceId Source ID
|
|
9296
|
+
* @param {Object} opts Optional parameters
|
|
9297
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
9298
|
+
* getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9299
|
+
*/},{key:"getKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9300
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
9301
|
+
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']);}/**
|
|
9302
|
+
* Get ServiceNow Knowledge integration source
|
|
9303
|
+
*
|
|
9304
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9305
|
+
* @param {String} sourceId Source ID
|
|
9306
|
+
* @param {Object} opts Optional parameters
|
|
9307
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
9308
|
+
* getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9309
|
+
*/},{key:"getKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9310
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
9311
|
+
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']);}/**
|
|
9312
|
+
* Get synchronization job report
|
|
9313
|
+
*
|
|
9314
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9315
|
+
* @param {String} syncJobId Synchronization job ID
|
|
9316
|
+
* getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9317
|
+
*/},{key:"getKnowledgeKnowledgebaseSynchronizeJob",value:function getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
9318
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
9319
|
+
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']);}/**
|
|
9246
9320
|
* Get knowledge base unanswered group for a particular groupId
|
|
9247
9321
|
*
|
|
9248
9322
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9436,6 +9510,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9436
9510
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
9437
9511
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
|
|
9438
9512
|
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']);}/**
|
|
9513
|
+
* Update synchronization job
|
|
9514
|
+
*
|
|
9515
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9516
|
+
* @param {String} syncJobId Synchronization job ID
|
|
9517
|
+
* @param {Object} body
|
|
9518
|
+
* patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9519
|
+
*/},{key:"patchKnowledgeKnowledgebaseSynchronizeJob",value:function patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId,syncJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9520
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'syncJobId' is set
|
|
9521
|
+
if(syncJobId===undefined||syncJobId===null){throw'Missing the required parameter "syncJobId" when calling patchKnowledgeKnowledgebaseSynchronizeJob';}// verify the required parameter 'body' is set
|
|
9522
|
+
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']);}/**
|
|
9439
9523
|
* Update a Knowledge base unanswered phrase group
|
|
9440
9524
|
*
|
|
9441
9525
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9741,6 +9825,46 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9741
9825
|
* @deprecated
|
|
9742
9826
|
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
9743
9827
|
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']);}/**
|
|
9828
|
+
* Create Salesforce Knowledge integration source
|
|
9829
|
+
*
|
|
9830
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9831
|
+
* @param {Object} body
|
|
9832
|
+
* postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9833
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesSalesforce",value:function postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9834
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforce';}// verify the required parameter 'body' is set
|
|
9835
|
+
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']);}/**
|
|
9836
|
+
* Start sync on Salesforce Knowledge integration source
|
|
9837
|
+
*
|
|
9838
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9839
|
+
* @param {String} sourceId Source ID
|
|
9840
|
+
* postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9841
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
9842
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
9843
|
+
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']);}/**
|
|
9844
|
+
* Create ServiceNow Knowledge integration source
|
|
9845
|
+
*
|
|
9846
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9847
|
+
* @param {Object} body
|
|
9848
|
+
* postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9849
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesServicenow",value:function postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9850
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenow';}// verify the required parameter 'body' is set
|
|
9851
|
+
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']);}/**
|
|
9852
|
+
* Start synchronization on ServiceNow Knowledge integration source
|
|
9853
|
+
*
|
|
9854
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9855
|
+
* @param {String} sourceId Source ID
|
|
9856
|
+
* postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9857
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId,sourceId){// verify the required parameter 'knowledgeBaseId' is set
|
|
9858
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
9859
|
+
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']);}/**
|
|
9860
|
+
* Create synchronization job
|
|
9861
|
+
*
|
|
9862
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9863
|
+
* @param {Object} body
|
|
9864
|
+
* postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9865
|
+
*/},{key:"postKnowledgeKnowledgebaseSynchronizeJobs",value:function postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9866
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSynchronizeJobs';}// verify the required parameter 'body' is set
|
|
9867
|
+
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']);}/**
|
|
9744
9868
|
* Create content upload from URL job
|
|
9745
9869
|
*
|
|
9746
9870
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9753,10 +9877,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9753
9877
|
*
|
|
9754
9878
|
* @param {Object} body
|
|
9755
9879
|
*/},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
|
|
9756
|
-
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']);}
|
|
9880
|
+
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']);}/**
|
|
9881
|
+
* Update Salesforce Knowledge integration source
|
|
9882
|
+
*
|
|
9883
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9884
|
+
* @param {String} sourceId Source ID
|
|
9885
|
+
* @param {Object} body
|
|
9886
|
+
* putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9887
|
+
*/},{key:"putKnowledgeKnowledgebaseSourcesSalesforceSourceId",value:function putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9888
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'sourceId' is set
|
|
9889
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesSalesforceSourceId';}// verify the required parameter 'body' is set
|
|
9890
|
+
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']);}/**
|
|
9891
|
+
* Update ServiceNow Knowledge integration source
|
|
9892
|
+
*
|
|
9893
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
9894
|
+
* @param {String} sourceId Source ID
|
|
9895
|
+
* @param {Object} body
|
|
9896
|
+
* putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9897
|
+
*/},{key:"putKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
9898
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
9899
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'body' is set
|
|
9900
|
+
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(){/**
|
|
9757
9901
|
* LanguageUnderstanding service.
|
|
9758
9902
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9759
|
-
* @version
|
|
9903
|
+
* @version 205.0.0
|
|
9760
9904
|
*//**
|
|
9761
9905
|
* Constructs a new LanguageUnderstandingApi.
|
|
9762
9906
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10016,7 +10160,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10016
10160
|
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(){/**
|
|
10017
10161
|
* Languages service.
|
|
10018
10162
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10019
|
-
* @version
|
|
10163
|
+
* @version 205.0.0
|
|
10020
10164
|
*//**
|
|
10021
10165
|
* Constructs a new LanguagesApi.
|
|
10022
10166
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10071,7 +10215,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10071
10215
|
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(){/**
|
|
10072
10216
|
* Learning service.
|
|
10073
10217
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10074
|
-
* @version
|
|
10218
|
+
* @version 205.0.0
|
|
10075
10219
|
*//**
|
|
10076
10220
|
* Constructs a new LearningApi.
|
|
10077
10221
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10342,7 +10486,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10342
10486
|
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(){/**
|
|
10343
10487
|
* License service.
|
|
10344
10488
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10345
|
-
* @version
|
|
10489
|
+
* @version 205.0.0
|
|
10346
10490
|
*//**
|
|
10347
10491
|
* Constructs a new LicenseApi.
|
|
10348
10492
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10396,7 +10540,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10396
10540
|
*/},{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(){/**
|
|
10397
10541
|
* Locations service.
|
|
10398
10542
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10399
|
-
* @version
|
|
10543
|
+
* @version 205.0.0
|
|
10400
10544
|
*//**
|
|
10401
10545
|
* Constructs a new LocationsApi.
|
|
10402
10546
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10455,7 +10599,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10455
10599
|
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(){/**
|
|
10456
10600
|
* LogCapture service.
|
|
10457
10601
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10458
|
-
* @version
|
|
10602
|
+
* @version 205.0.0
|
|
10459
10603
|
*//**
|
|
10460
10604
|
* Constructs a new LogCaptureApi.
|
|
10461
10605
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10505,7 +10649,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10505
10649
|
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(){/**
|
|
10506
10650
|
* Messaging service.
|
|
10507
10651
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10508
|
-
* @version
|
|
10652
|
+
* @version 205.0.0
|
|
10509
10653
|
*//**
|
|
10510
10654
|
* Constructs a new MessagingApi.
|
|
10511
10655
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10595,7 +10739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10595
10739
|
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(){/**
|
|
10596
10740
|
* MobileDevices service.
|
|
10597
10741
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10598
|
-
* @version
|
|
10742
|
+
* @version 205.0.0
|
|
10599
10743
|
*//**
|
|
10600
10744
|
* Constructs a new MobileDevicesApi.
|
|
10601
10745
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10634,7 +10778,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10634
10778
|
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(){/**
|
|
10635
10779
|
* Notifications service.
|
|
10636
10780
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10637
|
-
* @version
|
|
10781
|
+
* @version 205.0.0
|
|
10638
10782
|
*//**
|
|
10639
10783
|
* Constructs a new NotificationsApi.
|
|
10640
10784
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10691,7 +10835,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10691
10835
|
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(){/**
|
|
10692
10836
|
* OAuth service.
|
|
10693
10837
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10694
|
-
* @version
|
|
10838
|
+
* @version 205.0.0
|
|
10695
10839
|
*//**
|
|
10696
10840
|
* Constructs a new OAuthApi.
|
|
10697
10841
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10776,7 +10920,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10776
10920
|
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(){/**
|
|
10777
10921
|
* Objects service.
|
|
10778
10922
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10779
|
-
* @version
|
|
10923
|
+
* @version 205.0.0
|
|
10780
10924
|
*//**
|
|
10781
10925
|
* Constructs a new ObjectsApi.
|
|
10782
10926
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10847,7 +10991,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10847
10991
|
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(){/**
|
|
10848
10992
|
* OperationalEvents service.
|
|
10849
10993
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10850
|
-
* @version
|
|
10994
|
+
* @version 205.0.0
|
|
10851
10995
|
*//**
|
|
10852
10996
|
* Constructs a new OperationalEventsApi.
|
|
10853
10997
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10865,7 +11009,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10865
11009
|
*/},{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(){/**
|
|
10866
11010
|
* Organization service.
|
|
10867
11011
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10868
|
-
* @version
|
|
11012
|
+
* @version 205.0.0
|
|
10869
11013
|
*//**
|
|
10870
11014
|
* Constructs a new OrganizationApi.
|
|
10871
11015
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10990,7 +11134,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10990
11134
|
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(){/**
|
|
10991
11135
|
* OrganizationAuthorization service.
|
|
10992
11136
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10993
|
-
* @version
|
|
11137
|
+
* @version 205.0.0
|
|
10994
11138
|
*//**
|
|
10995
11139
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10996
11140
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11313,7 +11457,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11313
11457
|
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(){/**
|
|
11314
11458
|
* Outbound service.
|
|
11315
11459
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11316
|
-
* @version
|
|
11460
|
+
* @version 205.0.0
|
|
11317
11461
|
*//**
|
|
11318
11462
|
* Constructs a new OutboundApi.
|
|
11319
11463
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11566,6 +11710,14 @@ if(campaignId===undefined||campaignId===null){throw'Missing the required paramet
|
|
|
11566
11710
|
* @param {String} campaignId Campaign ID
|
|
11567
11711
|
*/},{key:"getOutboundCampaignProgress",value:function getOutboundCampaignProgress(campaignId){// verify the required parameter 'campaignId' is set
|
|
11568
11712
|
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']);}/**
|
|
11713
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
11714
|
+
*
|
|
11715
|
+
* @param {String} campaignId Campaign ID
|
|
11716
|
+
* @param {Object} opts Optional parameters
|
|
11717
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11718
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
11719
|
+
*/},{key:"getOutboundCampaignSkillcombinations",value:function getOutboundCampaignSkillcombinations(campaignId,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
|
|
11720
|
+
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']);}/**
|
|
11569
11721
|
* Get statistics about a Dialer Campaign
|
|
11570
11722
|
*
|
|
11571
11723
|
* @param {String} campaignId Campaign ID
|
|
@@ -12392,7 +12544,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12392
12544
|
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(){/**
|
|
12393
12545
|
* Presence service.
|
|
12394
12546
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12395
|
-
* @version
|
|
12547
|
+
* @version 205.0.0
|
|
12396
12548
|
*//**
|
|
12397
12549
|
* Constructs a new PresenceApi.
|
|
12398
12550
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12565,7 +12717,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12565
12717
|
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(){/**
|
|
12566
12718
|
* ProcessAutomation service.
|
|
12567
12719
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12568
|
-
* @version
|
|
12720
|
+
* @version 205.0.0
|
|
12569
12721
|
*//**
|
|
12570
12722
|
* Constructs a new ProcessAutomationApi.
|
|
12571
12723
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12628,7 +12780,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12628
12780
|
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(){/**
|
|
12629
12781
|
* Quality service.
|
|
12630
12782
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12631
|
-
* @version
|
|
12783
|
+
* @version 205.0.0
|
|
12632
12784
|
*//**
|
|
12633
12785
|
* Constructs a new QualityApi.
|
|
12634
12786
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13105,7 +13257,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13105
13257
|
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(){/**
|
|
13106
13258
|
* Recording service.
|
|
13107
13259
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13108
|
-
* @version
|
|
13260
|
+
* @version 205.0.0
|
|
13109
13261
|
*//**
|
|
13110
13262
|
* Constructs a new RecordingApi.
|
|
13111
13263
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13517,7 +13669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13517
13669
|
*/},{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(){/**
|
|
13518
13670
|
* ResponseManagement service.
|
|
13519
13671
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13520
|
-
* @version
|
|
13672
|
+
* @version 205.0.0
|
|
13521
13673
|
*//**
|
|
13522
13674
|
* Constructs a new ResponseManagementApi.
|
|
13523
13675
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13638,7 +13790,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13638
13790
|
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(){/**
|
|
13639
13791
|
* Routing service.
|
|
13640
13792
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13641
|
-
* @version
|
|
13793
|
+
* @version 205.0.0
|
|
13642
13794
|
*//**
|
|
13643
13795
|
* Constructs a new RoutingApi.
|
|
13644
13796
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14642,7 +14794,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14642
14794
|
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(){/**
|
|
14643
14795
|
* SCIM service.
|
|
14644
14796
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14645
|
-
* @version
|
|
14797
|
+
* @version 205.0.0
|
|
14646
14798
|
*//**
|
|
14647
14799
|
* Constructs a new SCIMApi.
|
|
14648
14800
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14867,7 +15019,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14867
15019
|
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(){/**
|
|
14868
15020
|
* ScreenRecording service.
|
|
14869
15021
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14870
|
-
* @version
|
|
15022
|
+
* @version 205.0.0
|
|
14871
15023
|
*//**
|
|
14872
15024
|
* Constructs a new ScreenRecordingApi.
|
|
14873
15025
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14882,7 +15034,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14882
15034
|
*/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(){/**
|
|
14883
15035
|
* Scripts service.
|
|
14884
15036
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14885
|
-
* @version
|
|
15037
|
+
* @version 205.0.0
|
|
14886
15038
|
*//**
|
|
14887
15039
|
* Constructs a new ScriptsApi.
|
|
14888
15040
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15018,7 +15170,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15018
15170
|
*/},{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(){/**
|
|
15019
15171
|
* Search service.
|
|
15020
15172
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15021
|
-
* @version
|
|
15173
|
+
* @version 205.0.0
|
|
15022
15174
|
*//**
|
|
15023
15175
|
* Constructs a new SearchApi.
|
|
15024
15176
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15178,7 +15330,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15178
15330
|
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(){/**
|
|
15179
15331
|
* Settings service.
|
|
15180
15332
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15181
|
-
* @version
|
|
15333
|
+
* @version 205.0.0
|
|
15182
15334
|
*//**
|
|
15183
15335
|
* Constructs a new SettingsApi.
|
|
15184
15336
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15228,7 +15380,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15228
15380
|
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(){/**
|
|
15229
15381
|
* SpeechTextAnalytics service.
|
|
15230
15382
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15231
|
-
* @version
|
|
15383
|
+
* @version 205.0.0
|
|
15232
15384
|
*//**
|
|
15233
15385
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15234
15386
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15413,6 +15565,21 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15413
15565
|
* @param {String} jobId The id of the publish topics job
|
|
15414
15566
|
*/},{key:"getSpeechandtextanalyticsTopicsPublishjob",value:function getSpeechandtextanalyticsTopicsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
15415
15567
|
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']);}/**
|
|
15568
|
+
* Translate all communication(s) for an interaction.
|
|
15569
|
+
*
|
|
15570
|
+
* @param {String} languageId Target translation language
|
|
15571
|
+
* @param {String} conversationId Conversation id
|
|
15572
|
+
* @param {Object} opts Optional parameters
|
|
15573
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
15574
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
15575
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15576
|
+
*/},{key:"getSpeechandtextanalyticsTranslationsLanguageConversation",value:function getSpeechandtextanalyticsTranslationsLanguageConversation(languageId,conversationId,opts){opts=opts||{};// verify the required parameter 'languageId' is set
|
|
15577
|
+
if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';}// verify the required parameter 'conversationId' is set
|
|
15578
|
+
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']);}/**
|
|
15579
|
+
* Get supported translation languages
|
|
15580
|
+
*
|
|
15581
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15582
|
+
*/},{key:"getSpeechandtextanalyticsTranslationsLanguages",value:function getSpeechandtextanalyticsTranslationsLanguages(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/translations/languages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15416
15583
|
* Patch Speech And Text Analytics Settings
|
|
15417
15584
|
*
|
|
15418
15585
|
* @param {Object} body Speech And Text Analytics Settings
|
|
@@ -15512,7 +15679,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15512
15679
|
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(){/**
|
|
15513
15680
|
* Stations service.
|
|
15514
15681
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15515
|
-
* @version
|
|
15682
|
+
* @version 205.0.0
|
|
15516
15683
|
*//**
|
|
15517
15684
|
* Constructs a new StationsApi.
|
|
15518
15685
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15544,7 +15711,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15544
15711
|
*/},{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(){/**
|
|
15545
15712
|
* Suggest service.
|
|
15546
15713
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15547
|
-
* @version
|
|
15714
|
+
* @version 205.0.0
|
|
15548
15715
|
*//**
|
|
15549
15716
|
* Constructs a new SuggestApi.
|
|
15550
15717
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15584,7 +15751,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15584
15751
|
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(){/**
|
|
15585
15752
|
* TaskManagement service.
|
|
15586
15753
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15587
|
-
* @version
|
|
15754
|
+
* @version 205.0.0
|
|
15588
15755
|
*//**
|
|
15589
15756
|
* Constructs a new TaskManagementApi.
|
|
15590
15757
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15914,7 +16081,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15914
16081
|
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(){/**
|
|
15915
16082
|
* Teams service.
|
|
15916
16083
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15917
|
-
* @version
|
|
16084
|
+
* @version 205.0.0
|
|
15918
16085
|
*//**
|
|
15919
16086
|
* Constructs a new TeamsApi.
|
|
15920
16087
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15992,7 +16159,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15992
16159
|
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(){/**
|
|
15993
16160
|
* Telephony service.
|
|
15994
16161
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15995
|
-
* @version
|
|
16162
|
+
* @version 205.0.0
|
|
15996
16163
|
*//**
|
|
15997
16164
|
* Constructs a new TelephonyApi.
|
|
15998
16165
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -16039,7 +16206,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
16039
16206
|
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(){/**
|
|
16040
16207
|
* TelephonyProvidersEdge service.
|
|
16041
16208
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
16042
|
-
* @version
|
|
16209
|
+
* @version 205.0.0
|
|
16043
16210
|
*//**
|
|
16044
16211
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
16045
16212
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16064,6 +16231,9 @@ if(interfaceId===undefined||interfaceId===null){throw'Missing the required param
|
|
|
16064
16231
|
* @param {String} edgeId Edge ID
|
|
16065
16232
|
*/},{key:"deleteTelephonyProvidersEdgeSoftwareupdate",value:function deleteTelephonyProvidersEdgeSoftwareupdate(edgeId){// verify the required parameter 'edgeId' is set
|
|
16066
16233
|
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']);}/**
|
|
16234
|
+
* Deletes alertable presences overrides.
|
|
16235
|
+
*
|
|
16236
|
+
*/},{key:"deleteTelephonyProvidersEdgesAlertablepresences",value:function deleteTelephonyProvidersEdgesAlertablepresences(){return this.apiClient.callApi('/api/v2/telephony/providers/edges/alertablepresences','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16067
16237
|
* Delete a certificate authority.
|
|
16068
16238
|
*
|
|
16069
16239
|
* @param {String} certificateId Certificate ID
|
|
@@ -16217,6 +16387,11 @@ if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edge
|
|
|
16217
16387
|
* @param {Boolean} opts.managed Filter by managed
|
|
16218
16388
|
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
16219
16389
|
*/},{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']);}/**
|
|
16390
|
+
* 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.
|
|
16391
|
+
*
|
|
16392
|
+
* @param {Object} opts Optional parameters
|
|
16393
|
+
* @param {Object} opts.type
|
|
16394
|
+
*/},{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']);}/**
|
|
16220
16395
|
* Get the list of certificate authorities.
|
|
16221
16396
|
*
|
|
16222
16397
|
*/},{key:"getTelephonyProvidersEdgesCertificateauthorities",value:function getTelephonyProvidersEdgesCertificateauthorities(){return this.apiClient.callApi('/api/v2/telephony/providers/edges/certificateauthorities','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16759,6 +16934,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16759
16934
|
if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLogicalinterface';}// verify the required parameter 'interfaceId' is set
|
|
16760
16935
|
if(interfaceId===undefined||interfaceId===null){throw'Missing the required parameter "interfaceId" when calling putTelephonyProvidersEdgeLogicalinterface';}// verify the required parameter 'body' is set
|
|
16761
16936
|
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']);}/**
|
|
16937
|
+
* Creates or updates alertable presences overrides.
|
|
16938
|
+
*
|
|
16939
|
+
* @param {Object} body Alertable Presences Overrides
|
|
16940
|
+
*/},{key:"putTelephonyProvidersEdgesAlertablepresences",value:function putTelephonyProvidersEdgesAlertablepresences(body){// verify the required parameter 'body' is set
|
|
16941
|
+
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']);}/**
|
|
16762
16942
|
* Update a certificate authority.
|
|
16763
16943
|
*
|
|
16764
16944
|
* @param {String} certificateId Certificate ID
|
|
@@ -16849,7 +17029,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16849
17029
|
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(){/**
|
|
16850
17030
|
* Textbots service.
|
|
16851
17031
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16852
|
-
* @version
|
|
17032
|
+
* @version 205.0.0
|
|
16853
17033
|
*//**
|
|
16854
17034
|
* Constructs a new TextbotsApi.
|
|
16855
17035
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16884,7 +17064,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16884
17064
|
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(){/**
|
|
16885
17065
|
* Tokens service.
|
|
16886
17066
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16887
|
-
* @version
|
|
17067
|
+
* @version 205.0.0
|
|
16888
17068
|
*//**
|
|
16889
17069
|
* Constructs a new TokensApi.
|
|
16890
17070
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16918,7 +17098,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16918
17098
|
*/},{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(){/**
|
|
16919
17099
|
* Uploads service.
|
|
16920
17100
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16921
|
-
* @version
|
|
17101
|
+
* @version 205.0.0
|
|
16922
17102
|
*//**
|
|
16923
17103
|
* Constructs a new UploadsApi.
|
|
16924
17104
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16984,7 +17164,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16984
17164
|
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(){/**
|
|
16985
17165
|
* Usage service.
|
|
16986
17166
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16987
|
-
* @version
|
|
17167
|
+
* @version 205.0.0
|
|
16988
17168
|
*//**
|
|
16989
17169
|
* Constructs a new UsageApi.
|
|
16990
17170
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -17038,7 +17218,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17038
17218
|
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(){/**
|
|
17039
17219
|
* UserRecordings service.
|
|
17040
17220
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
17041
|
-
* @version
|
|
17221
|
+
* @version 205.0.0
|
|
17042
17222
|
*//**
|
|
17043
17223
|
* Constructs a new UserRecordingsApi.
|
|
17044
17224
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -17095,7 +17275,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
17095
17275
|
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(){/**
|
|
17096
17276
|
* Users service.
|
|
17097
17277
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
17098
|
-
* @version
|
|
17278
|
+
* @version 205.0.0
|
|
17099
17279
|
*//**
|
|
17100
17280
|
* Constructs a new UsersApi.
|
|
17101
17281
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17785,7 +17965,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17785
17965
|
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(){/**
|
|
17786
17966
|
* Utilities service.
|
|
17787
17967
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17788
|
-
* @version
|
|
17968
|
+
* @version 205.0.0
|
|
17789
17969
|
*//**
|
|
17790
17970
|
* Constructs a new UtilitiesApi.
|
|
17791
17971
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17812,7 +17992,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17812
17992
|
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(){/**
|
|
17813
17993
|
* Voicemail service.
|
|
17814
17994
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17815
|
-
* @version
|
|
17995
|
+
* @version 205.0.0
|
|
17816
17996
|
*//**
|
|
17817
17997
|
* Constructs a new VoicemailApi.
|
|
17818
17998
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17961,7 +18141,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17961
18141
|
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(){/**
|
|
17962
18142
|
* WebChat service.
|
|
17963
18143
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17964
|
-
* @version
|
|
18144
|
+
* @version 205.0.0
|
|
17965
18145
|
*//**
|
|
17966
18146
|
* Constructs a new WebChatApi.
|
|
17967
18147
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -18096,7 +18276,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18096
18276
|
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(){/**
|
|
18097
18277
|
* WebDeployments service.
|
|
18098
18278
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
18099
|
-
* @version
|
|
18279
|
+
* @version 205.0.0
|
|
18100
18280
|
*//**
|
|
18101
18281
|
* Constructs a new WebDeploymentsApi.
|
|
18102
18282
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18174,7 +18354,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18174
18354
|
* Get deployments
|
|
18175
18355
|
*
|
|
18176
18356
|
* @param {Object} opts Optional parameters
|
|
18177
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
18357
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
18178
18358
|
*/},{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']);}/**
|
|
18179
18359
|
* Publish the configuration draft and create a new version
|
|
18180
18360
|
*
|
|
@@ -18217,7 +18397,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18217
18397
|
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(){/**
|
|
18218
18398
|
* WebMessaging service.
|
|
18219
18399
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18220
|
-
* @version
|
|
18400
|
+
* @version 205.0.0
|
|
18221
18401
|
*//**
|
|
18222
18402
|
* Constructs a new WebMessagingApi.
|
|
18223
18403
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18233,7 +18413,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18233
18413
|
*/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(){/**
|
|
18234
18414
|
* Widgets service.
|
|
18235
18415
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18236
|
-
* @version
|
|
18416
|
+
* @version 205.0.0
|
|
18237
18417
|
*//**
|
|
18238
18418
|
* Constructs a new WidgetsApi.
|
|
18239
18419
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -18268,7 +18448,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18268
18448
|
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(){/**
|
|
18269
18449
|
* WorkforceManagement service.
|
|
18270
18450
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
18271
|
-
* @version
|
|
18451
|
+
* @version 205.0.0
|
|
18272
18452
|
*//**
|
|
18273
18453
|
* Constructs a new WorkforceManagementApi.
|
|
18274
18454
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -20034,7 +20214,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
20034
20214
|
* </pre>
|
|
20035
20215
|
* </p>
|
|
20036
20216
|
* @module purecloud-platform-client-v2/index
|
|
20037
|
-
* @version
|
|
20217
|
+
* @version 205.0.0
|
|
20038
20218
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
20039
20219
|
* The ApiClient constructor.
|
|
20040
20220
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|