purecloud-platform-client-v2 247.1.0 → 248.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 +134 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +134 -103
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +111 -103
- package/dist/web-cjs/purecloud-platform-client-v2.js +111 -103
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +343 -255
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +25 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +13 -5
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6699,7 +6699,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6699
6699
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6700
6700
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6701
6701
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6702
|
-
* @version
|
|
6702
|
+
* @version 248.0.0
|
|
6703
6703
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6704
6704
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6705
6705
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -7065,7 +7065,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
7065
7065
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
|
|
7066
7066
|
* AIStudio service.
|
|
7067
7067
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
7068
|
-
* @version
|
|
7068
|
+
* @version 248.0.0
|
|
7069
7069
|
*//**
|
|
7070
7070
|
* Constructs a new AIStudioApi.
|
|
7071
7071
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7217,7 +7217,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7217
7217
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
7218
7218
|
* AgentAssistants service.
|
|
7219
7219
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7220
|
-
* @version
|
|
7220
|
+
* @version 248.0.0
|
|
7221
7221
|
*//**
|
|
7222
7222
|
* Constructs a new AgentAssistantsApi.
|
|
7223
7223
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7404,7 +7404,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
7404
7404
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
7405
7405
|
* AgentCopilot service.
|
|
7406
7406
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7407
|
-
* @version
|
|
7407
|
+
* @version 248.0.0
|
|
7408
7408
|
*//**
|
|
7409
7409
|
* Constructs a new AgentCopilotApi.
|
|
7410
7410
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7431,7 +7431,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7431
7431
|
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(){/**
|
|
7432
7432
|
* AgentUI service.
|
|
7433
7433
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7434
|
-
* @version
|
|
7434
|
+
* @version 248.0.0
|
|
7435
7435
|
*//**
|
|
7436
7436
|
* Constructs a new AgentUIApi.
|
|
7437
7437
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7465,7 +7465,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7465
7465
|
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(){/**
|
|
7466
7466
|
* Alerting service.
|
|
7467
7467
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7468
|
-
* @version
|
|
7468
|
+
* @version 248.0.0
|
|
7469
7469
|
*//**
|
|
7470
7470
|
* Constructs a new AlertingApi.
|
|
7471
7471
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7554,7 +7554,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7554
7554
|
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(){/**
|
|
7555
7555
|
* Analytics service.
|
|
7556
7556
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7557
|
-
* @version
|
|
7557
|
+
* @version 248.0.0
|
|
7558
7558
|
*//**
|
|
7559
7559
|
* Constructs a new AnalyticsApi.
|
|
7560
7560
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8373,7 +8373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8373
8373
|
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(){/**
|
|
8374
8374
|
* Architect service.
|
|
8375
8375
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8376
|
-
* @version
|
|
8376
|
+
* @version 248.0.0
|
|
8377
8377
|
*//**
|
|
8378
8378
|
* Constructs a new ArchitectApi.
|
|
8379
8379
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9507,7 +9507,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9507
9507
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
9508
9508
|
* AssistantCopilotVariations service.
|
|
9509
9509
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
9510
|
-
* @version
|
|
9510
|
+
* @version 248.0.0
|
|
9511
9511
|
*//**
|
|
9512
9512
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
9513
9513
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -9552,7 +9552,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
9552
9552
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
9553
9553
|
* Audit service.
|
|
9554
9554
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9555
|
-
* @version
|
|
9555
|
+
* @version 248.0.0
|
|
9556
9556
|
*//**
|
|
9557
9557
|
* Constructs a new AuditApi.
|
|
9558
9558
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9602,7 +9602,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9602
9602
|
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(){/**
|
|
9603
9603
|
* Authorization service.
|
|
9604
9604
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9605
|
-
* @version
|
|
9605
|
+
* @version 248.0.0
|
|
9606
9606
|
*//**
|
|
9607
9607
|
* Constructs a new AuthorizationApi.
|
|
9608
9608
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -10030,7 +10030,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
10030
10030
|
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 BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
10031
10031
|
* BackgroundAssistant service.
|
|
10032
10032
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
10033
|
-
* @version
|
|
10033
|
+
* @version 248.0.0
|
|
10034
10034
|
*//**
|
|
10035
10035
|
* Constructs a new BackgroundAssistantApi.
|
|
10036
10036
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -10051,7 +10051,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10051
10051
|
*/},{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 BillingApi=/*#__PURE__*/function(){/**
|
|
10052
10052
|
* Billing service.
|
|
10053
10053
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10054
|
-
* @version
|
|
10054
|
+
* @version 248.0.0
|
|
10055
10055
|
*//**
|
|
10056
10056
|
* Constructs a new BillingApi.
|
|
10057
10057
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -10128,7 +10128,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
10128
10128
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
10129
10129
|
* BusinessRules service.
|
|
10130
10130
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
10131
|
-
* @version
|
|
10131
|
+
* @version 248.0.0
|
|
10132
10132
|
*//**
|
|
10133
10133
|
* Constructs a new BusinessRulesApi.
|
|
10134
10134
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -10349,7 +10349,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
10349
10349
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
10350
10350
|
* CarrierServices service.
|
|
10351
10351
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10352
|
-
* @version
|
|
10352
|
+
* @version 248.0.0
|
|
10353
10353
|
*//**
|
|
10354
10354
|
* Constructs a new CarrierServicesApi.
|
|
10355
10355
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10369,7 +10369,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10369
10369
|
*/},{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(){/**
|
|
10370
10370
|
* Chat service.
|
|
10371
10371
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10372
|
-
* @version
|
|
10372
|
+
* @version 248.0.0
|
|
10373
10373
|
*//**
|
|
10374
10374
|
* Constructs a new ChatApi.
|
|
10375
10375
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10600,7 +10600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10600
10600
|
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(){/**
|
|
10601
10601
|
* Coaching service.
|
|
10602
10602
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10603
|
-
* @version
|
|
10603
|
+
* @version 248.0.0
|
|
10604
10604
|
*//**
|
|
10605
10605
|
* Constructs a new CoachingApi.
|
|
10606
10606
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10763,7 +10763,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10763
10763
|
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(){/**
|
|
10764
10764
|
* ContentManagement service.
|
|
10765
10765
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10766
|
-
* @version
|
|
10766
|
+
* @version 248.0.0
|
|
10767
10767
|
*//**
|
|
10768
10768
|
* Constructs a new ContentManagementApi.
|
|
10769
10769
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -11045,7 +11045,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
11045
11045
|
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(){/**
|
|
11046
11046
|
* Conversations service.
|
|
11047
11047
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11048
|
-
* @version
|
|
11048
|
+
* @version 248.0.0
|
|
11049
11049
|
*//**
|
|
11050
11050
|
* Constructs a new ConversationsApi.
|
|
11051
11051
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11401,11 +11401,11 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11401
11401
|
*/},{key:"getConversationsCallbackParticipantWrapupcodes",value:function getConversationsCallbackParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
11402
11402
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
11403
11403
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11404
|
-
* Get active
|
|
11405
|
-
*
|
|
11404
|
+
* Get the logged-in user's active conversations and their Callback participants state.
|
|
11405
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Callbacks? - Is the user directly participating in a Callback within that conversation?
|
|
11406
11406
|
*/},{key:"getConversationsCallbacks",value:function getConversationsCallbacks(){return this.apiClient.callApi('/api/v2/conversations/callbacks','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11407
|
-
* Get active
|
|
11408
|
-
*
|
|
11407
|
+
* Get the logged-in user's active conversations and their Call participants state.
|
|
11408
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Calls? - Is the user directly participating in a Call within that conversation?
|
|
11409
11409
|
*/},{key:"getConversationsCalls",value:function getConversationsCalls(){return this.apiClient.callApi('/api/v2/conversations/calls','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11410
11410
|
* Get call history
|
|
11411
11411
|
*
|
|
@@ -11600,16 +11600,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11600
11600
|
* @param {String} conversationId conversationId
|
|
11601
11601
|
*/},{key:"getConversationsEmailSettings",value:function getConversationsEmailSettings(conversationId){// verify the required parameter 'conversationId' is set
|
|
11602
11602
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/settings','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11603
|
-
* Get active
|
|
11604
|
-
*
|
|
11603
|
+
* Get the logged-in user's active conversations and their Email participants state.
|
|
11604
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Emails? - Is the user directly participating in an Email within that conversation?
|
|
11605
11605
|
*/},{key:"getConversationsEmails",value:function getConversationsEmails(){return this.apiClient.callApi('/api/v2/conversations/emails','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11606
11606
|
* Get internal message conversation
|
|
11607
11607
|
*
|
|
11608
11608
|
* @param {String} conversationId conversationId
|
|
11609
11609
|
*/},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
|
|
11610
11610
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';}return this.apiClient.callApi('/api/v2/conversations/internalmessages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11611
|
-
* Get
|
|
11612
|
-
*
|
|
11611
|
+
* Get the logged-in user's active conversations and their InternalMessage participants state.
|
|
11612
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include InternalMessages? - Is the user directly participating in an InternalMessage within that conversation?
|
|
11613
11613
|
*/},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11614
11614
|
* Get the encryption key configurations
|
|
11615
11615
|
*
|
|
@@ -11687,8 +11687,8 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11687
11687
|
*/},{key:"getConversationsMessageParticipantWrapupcodes",value:function getConversationsMessageParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
11688
11688
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
11689
11689
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11690
|
-
* Get active
|
|
11691
|
-
*
|
|
11690
|
+
* Get the logged-in user's active conversations and their Message participants state.
|
|
11691
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Messages? - Is the user directly participating in a Message within that conversation?
|
|
11692
11692
|
*/},{key:"getConversationsMessages",value:function getConversationsMessages(){return this.apiClient.callApi('/api/v2/conversations/messages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11693
11693
|
* Get a list of cached media items
|
|
11694
11694
|
*
|
|
@@ -13380,7 +13380,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
13380
13380
|
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(){/**
|
|
13381
13381
|
* DataExtensions service.
|
|
13382
13382
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13383
|
-
* @version
|
|
13383
|
+
* @version 248.0.0
|
|
13384
13384
|
*//**
|
|
13385
13385
|
* Constructs a new DataExtensionsApi.
|
|
13386
13386
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -13401,7 +13401,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
13401
13401
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
13402
13402
|
* DataPrivacy service.
|
|
13403
13403
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
13404
|
-
* @version
|
|
13404
|
+
* @version 248.0.0
|
|
13405
13405
|
*//**
|
|
13406
13406
|
* Constructs a new DataPrivacyApi.
|
|
13407
13407
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -13441,7 +13441,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13441
13441
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
13442
13442
|
* Downloads service.
|
|
13443
13443
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
13444
|
-
* @version
|
|
13444
|
+
* @version 248.0.0
|
|
13445
13445
|
*//**
|
|
13446
13446
|
* Constructs a new DownloadsApi.
|
|
13447
13447
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -13460,7 +13460,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13460
13460
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
13461
13461
|
* Emails service.
|
|
13462
13462
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
13463
|
-
* @version
|
|
13463
|
+
* @version 248.0.0
|
|
13464
13464
|
*//**
|
|
13465
13465
|
* Constructs a new EmailsApi.
|
|
13466
13466
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -13489,7 +13489,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
13489
13489
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
13490
13490
|
* EmployeeEngagement service.
|
|
13491
13491
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
13492
|
-
* @version
|
|
13492
|
+
* @version 248.0.0
|
|
13493
13493
|
*//**
|
|
13494
13494
|
* Constructs a new EmployeeEngagementApi.
|
|
13495
13495
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -13537,7 +13537,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13537
13537
|
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(){/**
|
|
13538
13538
|
* Events service.
|
|
13539
13539
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
13540
|
-
* @version
|
|
13540
|
+
* @version 248.0.0
|
|
13541
13541
|
*//**
|
|
13542
13542
|
* Constructs a new EventsApi.
|
|
13543
13543
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -13562,7 +13562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13562
13562
|
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(){/**
|
|
13563
13563
|
* ExternalContacts service.
|
|
13564
13564
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13565
|
-
* @version
|
|
13565
|
+
* @version 248.0.0
|
|
13566
13566
|
*//**
|
|
13567
13567
|
* Constructs a new ExternalContactsApi.
|
|
13568
13568
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -14312,7 +14312,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
14312
14312
|
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(){/**
|
|
14313
14313
|
* Fax service.
|
|
14314
14314
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
14315
|
-
* @version
|
|
14315
|
+
* @version 248.0.0
|
|
14316
14316
|
*//**
|
|
14317
14317
|
* Constructs a new FaxApi.
|
|
14318
14318
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -14361,7 +14361,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14361
14361
|
*/},{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(){/**
|
|
14362
14362
|
* Flows service.
|
|
14363
14363
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
14364
|
-
* @version
|
|
14364
|
+
* @version 248.0.0
|
|
14365
14365
|
*//**
|
|
14366
14366
|
* Constructs a new FlowsApi.
|
|
14367
14367
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -14415,7 +14415,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14415
14415
|
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(){/**
|
|
14416
14416
|
* Gamification service.
|
|
14417
14417
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
14418
|
-
* @version
|
|
14418
|
+
* @version 248.0.0
|
|
14419
14419
|
*//**
|
|
14420
14420
|
* Constructs a new GamificationApi.
|
|
14421
14421
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -15086,7 +15086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15086
15086
|
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(){/**
|
|
15087
15087
|
* GeneralDataProtectionRegulation service.
|
|
15088
15088
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
15089
|
-
* @version
|
|
15089
|
+
* @version 248.0.0
|
|
15090
15090
|
*//**
|
|
15091
15091
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
15092
15092
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -15121,7 +15121,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
15121
15121
|
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(){/**
|
|
15122
15122
|
* Geolocation service.
|
|
15123
15123
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
15124
|
-
* @version
|
|
15124
|
+
* @version 248.0.0
|
|
15125
15125
|
*//**
|
|
15126
15126
|
* Constructs a new GeolocationApi.
|
|
15127
15127
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -15155,7 +15155,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
15155
15155
|
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(){/**
|
|
15156
15156
|
* Greetings service.
|
|
15157
15157
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
15158
|
-
* @version
|
|
15158
|
+
* @version 248.0.0
|
|
15159
15159
|
*//**
|
|
15160
15160
|
* Constructs a new GreetingsApi.
|
|
15161
15161
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -15283,7 +15283,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15283
15283
|
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(){/**
|
|
15284
15284
|
* Groups service.
|
|
15285
15285
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
15286
|
-
* @version
|
|
15286
|
+
* @version 248.0.0
|
|
15287
15287
|
*//**
|
|
15288
15288
|
* Constructs a new GroupsApi.
|
|
15289
15289
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -15416,7 +15416,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
15416
15416
|
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(){/**
|
|
15417
15417
|
* IdentityProvider service.
|
|
15418
15418
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15419
|
-
* @version
|
|
15419
|
+
* @version 248.0.0
|
|
15420
15420
|
*//**
|
|
15421
15421
|
* Constructs a new IdentityProviderApi.
|
|
15422
15422
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -15572,7 +15572,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15572
15572
|
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(){/**
|
|
15573
15573
|
* InfrastructureAsCode service.
|
|
15574
15574
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
15575
|
-
* @version
|
|
15575
|
+
* @version 248.0.0
|
|
15576
15576
|
*//**
|
|
15577
15577
|
* Constructs a new InfrastructureAsCodeApi.
|
|
15578
15578
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15626,7 +15626,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15626
15626
|
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(){/**
|
|
15627
15627
|
* Integrations service.
|
|
15628
15628
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15629
|
-
* @version
|
|
15629
|
+
* @version 248.0.0
|
|
15630
15630
|
*//**
|
|
15631
15631
|
* Constructs a new IntegrationsApi.
|
|
15632
15632
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -16318,7 +16318,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
16318
16318
|
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 IntentsApi=/*#__PURE__*/function(){/**
|
|
16319
16319
|
* Intents service.
|
|
16320
16320
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
16321
|
-
* @version
|
|
16321
|
+
* @version 248.0.0
|
|
16322
16322
|
*//**
|
|
16323
16323
|
* Constructs a new IntentsApi.
|
|
16324
16324
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -16435,7 +16435,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16435
16435
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
16436
16436
|
* Journey service.
|
|
16437
16437
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
16438
|
-
* @version
|
|
16438
|
+
* @version 248.0.0
|
|
16439
16439
|
*//**
|
|
16440
16440
|
* Constructs a new JourneyApi.
|
|
16441
16441
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16944,7 +16944,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16944
16944
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
16945
16945
|
* Knowledge service.
|
|
16946
16946
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16947
|
-
* @version
|
|
16947
|
+
* @version 248.0.0
|
|
16948
16948
|
*//**
|
|
16949
16949
|
* Constructs a new KnowledgeApi.
|
|
16950
16950
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17789,6 +17789,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17789
17789
|
* @param {Object} body
|
|
17790
17790
|
*/},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
|
|
17791
17791
|
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']);}/**
|
|
17792
|
+
* Get Knowledge Search
|
|
17793
|
+
*
|
|
17794
|
+
* @param {Object} opts Optional parameters
|
|
17795
|
+
* @param {Object} opts.body
|
|
17796
|
+
*/},{key:"postKnowledgeSearch",value:function postKnowledgeSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/search','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17792
17797
|
* Get Knowledge Search Preview
|
|
17793
17798
|
*
|
|
17794
17799
|
* @param {Object} opts Optional parameters
|
|
@@ -17819,7 +17824,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17819
17824
|
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(){/**
|
|
17820
17825
|
* LanguageUnderstanding service.
|
|
17821
17826
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17822
|
-
* @version
|
|
17827
|
+
* @version 248.0.0
|
|
17823
17828
|
*//**
|
|
17824
17829
|
* Constructs a new LanguageUnderstandingApi.
|
|
17825
17830
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -18128,7 +18133,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
18128
18133
|
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(){/**
|
|
18129
18134
|
* Languages service.
|
|
18130
18135
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18131
|
-
* @version
|
|
18136
|
+
* @version 248.0.0
|
|
18132
18137
|
*//**
|
|
18133
18138
|
* Constructs a new LanguagesApi.
|
|
18134
18139
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -18183,7 +18188,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18183
18188
|
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(){/**
|
|
18184
18189
|
* Learning service.
|
|
18185
18190
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
18186
|
-
* @version
|
|
18191
|
+
* @version 248.0.0
|
|
18187
18192
|
*//**
|
|
18188
18193
|
* Constructs a new LearningApi.
|
|
18189
18194
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -18472,7 +18477,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
18472
18477
|
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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
18473
18478
|
* License service.
|
|
18474
18479
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
18475
|
-
* @version
|
|
18480
|
+
* @version 248.0.0
|
|
18476
18481
|
*//**
|
|
18477
18482
|
* Constructs a new LicenseApi.
|
|
18478
18483
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -18526,7 +18531,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
18526
18531
|
*/},{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(){/**
|
|
18527
18532
|
* Locations service.
|
|
18528
18533
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
18529
|
-
* @version
|
|
18534
|
+
* @version 248.0.0
|
|
18530
18535
|
*//**
|
|
18531
18536
|
* Constructs a new LocationsApi.
|
|
18532
18537
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -18585,7 +18590,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18585
18590
|
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(){/**
|
|
18586
18591
|
* LogCapture service.
|
|
18587
18592
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
18588
|
-
* @version
|
|
18593
|
+
* @version 248.0.0
|
|
18589
18594
|
*//**
|
|
18590
18595
|
* Constructs a new LogCaptureApi.
|
|
18591
18596
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -18634,7 +18639,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18634
18639
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
18635
18640
|
* Messaging service.
|
|
18636
18641
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
18637
|
-
* @version
|
|
18642
|
+
* @version 248.0.0
|
|
18638
18643
|
*//**
|
|
18639
18644
|
* Constructs a new MessagingApi.
|
|
18640
18645
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18724,7 +18729,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18724
18729
|
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(){/**
|
|
18725
18730
|
* MobileDevices service.
|
|
18726
18731
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18727
|
-
* @version
|
|
18732
|
+
* @version 248.0.0
|
|
18728
18733
|
*//**
|
|
18729
18734
|
* Constructs a new MobileDevicesApi.
|
|
18730
18735
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18763,7 +18768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18763
18768
|
if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
18764
18769
|
* Notifications service.
|
|
18765
18770
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18766
|
-
* @version
|
|
18771
|
+
* @version 248.0.0
|
|
18767
18772
|
*//**
|
|
18768
18773
|
* Constructs a new NotificationsApi.
|
|
18769
18774
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18820,7 +18825,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18820
18825
|
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(){/**
|
|
18821
18826
|
* OAuth service.
|
|
18822
18827
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18823
|
-
* @version
|
|
18828
|
+
* @version 248.0.0
|
|
18824
18829
|
*//**
|
|
18825
18830
|
* Constructs a new OAuthApi.
|
|
18826
18831
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18905,7 +18910,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18905
18910
|
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(){/**
|
|
18906
18911
|
* Objects service.
|
|
18907
18912
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18908
|
-
* @version
|
|
18913
|
+
* @version 248.0.0
|
|
18909
18914
|
*//**
|
|
18910
18915
|
* Constructs a new ObjectsApi.
|
|
18911
18916
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18991,7 +18996,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18991
18996
|
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(){/**
|
|
18992
18997
|
* OperationalEvents service.
|
|
18993
18998
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18994
|
-
* @version
|
|
18999
|
+
* @version 248.0.0
|
|
18995
19000
|
*//**
|
|
18996
19001
|
* Constructs a new OperationalEventsApi.
|
|
18997
19002
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -19022,7 +19027,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
19022
19027
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
19023
19028
|
* Organization service.
|
|
19024
19029
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
19025
|
-
* @version
|
|
19030
|
+
* @version 248.0.0
|
|
19026
19031
|
*//**
|
|
19027
19032
|
* Constructs a new OrganizationApi.
|
|
19028
19033
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -19127,7 +19132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19127
19132
|
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(){/**
|
|
19128
19133
|
* OrganizationAuthorization service.
|
|
19129
19134
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
19130
|
-
* @version
|
|
19135
|
+
* @version 248.0.0
|
|
19131
19136
|
*//**
|
|
19132
19137
|
* Constructs a new OrganizationAuthorizationApi.
|
|
19133
19138
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -19461,7 +19466,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
19461
19466
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
19462
19467
|
* Outbound service.
|
|
19463
19468
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
19464
|
-
* @version
|
|
19469
|
+
* @version 248.0.0
|
|
19465
19470
|
*//**
|
|
19466
19471
|
* Constructs a new OutboundApi.
|
|
19467
19472
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -20628,7 +20633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20628
20633
|
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(){/**
|
|
20629
20634
|
* Presence service.
|
|
20630
20635
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
20631
|
-
* @version
|
|
20636
|
+
* @version 248.0.0
|
|
20632
20637
|
*//**
|
|
20633
20638
|
* Constructs a new PresenceApi.
|
|
20634
20639
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20801,7 +20806,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20801
20806
|
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(){/**
|
|
20802
20807
|
* ProcessAutomation service.
|
|
20803
20808
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20804
|
-
* @version
|
|
20809
|
+
* @version 248.0.0
|
|
20805
20810
|
*//**
|
|
20806
20811
|
* Constructs a new ProcessAutomationApi.
|
|
20807
20812
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20864,7 +20869,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20864
20869
|
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(){/**
|
|
20865
20870
|
* Quality service.
|
|
20866
20871
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20867
|
-
* @version
|
|
20872
|
+
* @version 248.0.0
|
|
20868
20873
|
*//**
|
|
20869
20874
|
* Constructs a new QualityApi.
|
|
20870
20875
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -21408,7 +21413,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
21408
21413
|
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(){/**
|
|
21409
21414
|
* Recording service.
|
|
21410
21415
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
21411
|
-
* @version
|
|
21416
|
+
* @version 248.0.0
|
|
21412
21417
|
*//**
|
|
21413
21418
|
* Constructs a new RecordingApi.
|
|
21414
21419
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21807,7 +21812,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21807
21812
|
*/},{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(){/**
|
|
21808
21813
|
* ResponseManagement service.
|
|
21809
21814
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21810
|
-
* @version
|
|
21815
|
+
* @version 248.0.0
|
|
21811
21816
|
*//**
|
|
21812
21817
|
* Constructs a new ResponseManagementApi.
|
|
21813
21818
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21928,7 +21933,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21928
21933
|
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(){/**
|
|
21929
21934
|
* Routing service.
|
|
21930
21935
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21931
|
-
* @version
|
|
21936
|
+
* @version 248.0.0
|
|
21932
21937
|
*//**
|
|
21933
21938
|
* Constructs a new RoutingApi.
|
|
21934
21939
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -23074,7 +23079,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
23074
23079
|
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(){/**
|
|
23075
23080
|
* SCIM service.
|
|
23076
23081
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
23077
|
-
* @version
|
|
23082
|
+
* @version 248.0.0
|
|
23078
23083
|
*//**
|
|
23079
23084
|
* Constructs a new SCIMApi.
|
|
23080
23085
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -23299,7 +23304,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
23299
23304
|
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 ScriptsApi=/*#__PURE__*/function(){/**
|
|
23300
23305
|
* Scripts service.
|
|
23301
23306
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
23302
|
-
* @version
|
|
23307
|
+
* @version 248.0.0
|
|
23303
23308
|
*//**
|
|
23304
23309
|
* Constructs a new ScriptsApi.
|
|
23305
23310
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -23445,7 +23450,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
23445
23450
|
*/},{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(){/**
|
|
23446
23451
|
* Search service.
|
|
23447
23452
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
23448
|
-
* @version
|
|
23453
|
+
* @version 248.0.0
|
|
23449
23454
|
*//**
|
|
23450
23455
|
* Constructs a new SearchApi.
|
|
23451
23456
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -23609,7 +23614,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23609
23614
|
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(){/**
|
|
23610
23615
|
* Settings service.
|
|
23611
23616
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
23612
|
-
* @version
|
|
23617
|
+
* @version 248.0.0
|
|
23613
23618
|
*//**
|
|
23614
23619
|
* Constructs a new SettingsApi.
|
|
23615
23620
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -23681,7 +23686,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
23681
23686
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
23682
23687
|
* SocialMedia service.
|
|
23683
23688
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
23684
|
-
* @version
|
|
23689
|
+
* @version 248.0.0
|
|
23685
23690
|
*//**
|
|
23686
23691
|
* Constructs a new SocialMediaApi.
|
|
23687
23692
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -24170,7 +24175,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
24170
24175
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
24171
24176
|
* SpeechTextAnalytics service.
|
|
24172
24177
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
24173
|
-
* @version
|
|
24178
|
+
* @version 248.0.0
|
|
24174
24179
|
*//**
|
|
24175
24180
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
24176
24181
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -24549,7 +24554,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
24549
24554
|
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(){/**
|
|
24550
24555
|
* Stations service.
|
|
24551
24556
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
24552
|
-
* @version
|
|
24557
|
+
* @version 248.0.0
|
|
24553
24558
|
*//**
|
|
24554
24559
|
* Constructs a new StationsApi.
|
|
24555
24560
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -24581,7 +24586,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
24581
24586
|
*/},{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(){/**
|
|
24582
24587
|
* Suggest service.
|
|
24583
24588
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
24584
|
-
* @version
|
|
24589
|
+
* @version 248.0.0
|
|
24585
24590
|
*//**
|
|
24586
24591
|
* Constructs a new SuggestApi.
|
|
24587
24592
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -24621,7 +24626,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24621
24626
|
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(){/**
|
|
24622
24627
|
* TaskManagement service.
|
|
24623
24628
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
24624
|
-
* @version
|
|
24629
|
+
* @version 248.0.0
|
|
24625
24630
|
*//**
|
|
24626
24631
|
* Constructs a new TaskManagementApi.
|
|
24627
24632
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -25067,9 +25072,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25067
25072
|
*/},{key:"postTaskmanagementWorkitemsBulkTerminateJobs",value:function postTaskmanagementWorkitemsBulkTerminateJobs(body){// verify the required parameter 'body' is set
|
|
25068
25073
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/bulk/terminate/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25069
25074
|
* Query for workitems
|
|
25070
|
-
* This query requires at least one EQ filter on the workbinId, assigneeId or typeId attributes.
|
|
25075
|
+
* This query requires at least one EQ filter on the workbinId, assigneeId, queueId or typeId attributes. A maximum of three filters are allowed.
|
|
25071
25076
|
* @param {Object} body WorkitemQueryPostRequest
|
|
25072
|
-
* postTaskmanagementWorkitemsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25073
25077
|
*/},{key:"postTaskmanagementWorkitemsQuery",value:function postTaskmanagementWorkitemsQuery(body){// verify the required parameter 'body' is set
|
|
25074
25078
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25075
25079
|
* Create a workitem query job
|
|
@@ -25129,7 +25133,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
25129
25133
|
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(){/**
|
|
25130
25134
|
* Teams service.
|
|
25131
25135
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
25132
|
-
* @version
|
|
25136
|
+
* @version 248.0.0
|
|
25133
25137
|
*//**
|
|
25134
25138
|
* Constructs a new TeamsApi.
|
|
25135
25139
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -25209,7 +25213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25209
25213
|
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(){/**
|
|
25210
25214
|
* Telephony service.
|
|
25211
25215
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
25212
|
-
* @version
|
|
25216
|
+
* @version 248.0.0
|
|
25213
25217
|
*//**
|
|
25214
25218
|
* Constructs a new TelephonyApi.
|
|
25215
25219
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -25281,7 +25285,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25281
25285
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
25282
25286
|
* TelephonyProvidersEdge service.
|
|
25283
25287
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
25284
|
-
* @version
|
|
25288
|
+
* @version 248.0.0
|
|
25285
25289
|
*//**
|
|
25286
25290
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
25287
25291
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -26129,7 +26133,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
26129
26133
|
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(){/**
|
|
26130
26134
|
* Textbots service.
|
|
26131
26135
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
26132
|
-
* @version
|
|
26136
|
+
* @version 248.0.0
|
|
26133
26137
|
*//**
|
|
26134
26138
|
* Constructs a new TextbotsApi.
|
|
26135
26139
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -26165,7 +26169,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
26165
26169
|
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(){/**
|
|
26166
26170
|
* Tokens service.
|
|
26167
26171
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
26168
|
-
* @version
|
|
26172
|
+
* @version 248.0.0
|
|
26169
26173
|
*//**
|
|
26170
26174
|
* Constructs a new TokensApi.
|
|
26171
26175
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -26199,7 +26203,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26199
26203
|
*/},{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(){/**
|
|
26200
26204
|
* Uploads service.
|
|
26201
26205
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
26202
|
-
* @version
|
|
26206
|
+
* @version 248.0.0
|
|
26203
26207
|
*//**
|
|
26204
26208
|
* Constructs a new UploadsApi.
|
|
26205
26209
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -26272,7 +26276,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26272
26276
|
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(){/**
|
|
26273
26277
|
* Usage service.
|
|
26274
26278
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
26275
|
-
* @version
|
|
26279
|
+
* @version 248.0.0
|
|
26276
26280
|
*//**
|
|
26277
26281
|
* Constructs a new UsageApi.
|
|
26278
26282
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -26356,7 +26360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26356
26360
|
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(){/**
|
|
26357
26361
|
* UserRecordings service.
|
|
26358
26362
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
26359
|
-
* @version
|
|
26363
|
+
* @version 248.0.0
|
|
26360
26364
|
*//**
|
|
26361
26365
|
* Constructs a new UserRecordingsApi.
|
|
26362
26366
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26404,7 +26408,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26404
26408
|
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(){/**
|
|
26405
26409
|
* Users service.
|
|
26406
26410
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26407
|
-
* @version
|
|
26411
|
+
* @version 248.0.0
|
|
26408
26412
|
*//**
|
|
26409
26413
|
* Constructs a new UsersApi.
|
|
26410
26414
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -27254,7 +27258,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
27254
27258
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
27255
27259
|
* UsersRules service.
|
|
27256
27260
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
27257
|
-
* @version
|
|
27261
|
+
* @version 248.0.0
|
|
27258
27262
|
*//**
|
|
27259
27263
|
* Constructs a new UsersRulesApi.
|
|
27260
27264
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -27329,7 +27333,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27329
27333
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
27330
27334
|
* Utilities service.
|
|
27331
27335
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
27332
|
-
* @version
|
|
27336
|
+
* @version 248.0.0
|
|
27333
27337
|
*//**
|
|
27334
27338
|
* Constructs a new UtilitiesApi.
|
|
27335
27339
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -27356,7 +27360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27356
27360
|
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(){/**
|
|
27357
27361
|
* Voicemail service.
|
|
27358
27362
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
27359
|
-
* @version
|
|
27363
|
+
* @version 248.0.0
|
|
27360
27364
|
*//**
|
|
27361
27365
|
* Constructs a new VoicemailApi.
|
|
27362
27366
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27518,7 +27522,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27518
27522
|
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(){/**
|
|
27519
27523
|
* WebChat service.
|
|
27520
27524
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27521
|
-
* @version
|
|
27525
|
+
* @version 248.0.0
|
|
27522
27526
|
*//**
|
|
27523
27527
|
* Constructs a new WebChatApi.
|
|
27524
27528
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27665,7 +27669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27665
27669
|
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(){/**
|
|
27666
27670
|
* WebDeployments service.
|
|
27667
27671
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27668
|
-
* @version
|
|
27672
|
+
* @version 248.0.0
|
|
27669
27673
|
*//**
|
|
27670
27674
|
* Constructs a new WebDeploymentsApi.
|
|
27671
27675
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -27808,7 +27812,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27808
27812
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
27809
27813
|
* WebMessaging service.
|
|
27810
27814
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
27811
|
-
* @version
|
|
27815
|
+
* @version 248.0.0
|
|
27812
27816
|
*//**
|
|
27813
27817
|
* Constructs a new WebMessagingApi.
|
|
27814
27818
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -27849,7 +27853,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
27849
27853
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
27850
27854
|
* Widgets service.
|
|
27851
27855
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
27852
|
-
* @version
|
|
27856
|
+
* @version 248.0.0
|
|
27853
27857
|
*//**
|
|
27854
27858
|
* Constructs a new WidgetsApi.
|
|
27855
27859
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -27889,7 +27893,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27889
27893
|
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(){/**
|
|
27890
27894
|
* WorkforceManagement service.
|
|
27891
27895
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
27892
|
-
* @version
|
|
27896
|
+
* @version 248.0.0
|
|
27893
27897
|
*//**
|
|
27894
27898
|
* Constructs a new WorkforceManagementApi.
|
|
27895
27899
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28188,9 +28192,11 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
28188
28192
|
*
|
|
28189
28193
|
* @param {String} businessUnitId The ID of the business unit
|
|
28190
28194
|
* @param {String} capacityPlanId The ID of the capacity plan
|
|
28191
|
-
|
|
28195
|
+
* @param {Object} opts Optional parameters
|
|
28196
|
+
* @param {Object} opts.granularity Granularity to access staffing group data, defaults to weekly
|
|
28197
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations",value:function getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28192
28198
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}// verify the required parameter 'capacityPlanId' is set
|
|
28193
|
-
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28199
|
+
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28194
28200
|
* Get a capacity plan's staffing requirements
|
|
28195
28201
|
*
|
|
28196
28202
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28203,10 +28209,12 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
28203
28209
|
* @param {String} businessUnitId
|
|
28204
28210
|
* @param {String} weekDateId weekDateId of forecast, format yyyy-MM-dd. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
28205
28211
|
* @param {String} forecastId forecastId of forecast
|
|
28206
|
-
|
|
28212
|
+
* @param {Object} opts Optional parameters
|
|
28213
|
+
* @param {Object} opts.granularity Granularity to access staffing requirements data, defaults to weekly
|
|
28214
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast",value:function getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28207
28215
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'weekDateId' is set
|
|
28208
28216
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'forecastId' is set
|
|
28209
|
-
if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28217
|
+
if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28210
28218
|
* Get list of capacity plans for a business unit
|
|
28211
28219
|
*
|
|
28212
28220
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -29912,7 +29920,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29912
29920
|
* </pre>
|
|
29913
29921
|
* </p>
|
|
29914
29922
|
* @module purecloud-platform-client-v2/index
|
|
29915
|
-
* @version
|
|
29923
|
+
* @version 248.0.0
|
|
29916
29924
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
29917
29925
|
* The ApiClient constructor.
|
|
29918
29926
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|