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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1014,7 +1014,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
1014
1014
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
1015
1015
|
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];}}}]);}();/**
|
|
1016
1016
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1017
|
-
* @version
|
|
1017
|
+
* @version 248.0.0
|
|
1018
1018
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
1019
1019
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
1020
1020
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1380,7 +1380,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1380
1380
|
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(){/**
|
|
1381
1381
|
* AIStudio service.
|
|
1382
1382
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1383
|
-
* @version
|
|
1383
|
+
* @version 248.0.0
|
|
1384
1384
|
*//**
|
|
1385
1385
|
* Constructs a new AIStudioApi.
|
|
1386
1386
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1532,7 +1532,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1532
1532
|
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(){/**
|
|
1533
1533
|
* AgentAssistants service.
|
|
1534
1534
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1535
|
-
* @version
|
|
1535
|
+
* @version 248.0.0
|
|
1536
1536
|
*//**
|
|
1537
1537
|
* Constructs a new AgentAssistantsApi.
|
|
1538
1538
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1719,7 +1719,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1719
1719
|
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(){/**
|
|
1720
1720
|
* AgentCopilot service.
|
|
1721
1721
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1722
|
-
* @version
|
|
1722
|
+
* @version 248.0.0
|
|
1723
1723
|
*//**
|
|
1724
1724
|
* Constructs a new AgentCopilotApi.
|
|
1725
1725
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1746,7 +1746,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1746
1746
|
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(){/**
|
|
1747
1747
|
* AgentUI service.
|
|
1748
1748
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1749
|
-
* @version
|
|
1749
|
+
* @version 248.0.0
|
|
1750
1750
|
*//**
|
|
1751
1751
|
* Constructs a new AgentUIApi.
|
|
1752
1752
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1780,7 +1780,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1780
1780
|
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(){/**
|
|
1781
1781
|
* Alerting service.
|
|
1782
1782
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1783
|
-
* @version
|
|
1783
|
+
* @version 248.0.0
|
|
1784
1784
|
*//**
|
|
1785
1785
|
* Constructs a new AlertingApi.
|
|
1786
1786
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1869,7 +1869,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1869
1869
|
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(){/**
|
|
1870
1870
|
* Analytics service.
|
|
1871
1871
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1872
|
-
* @version
|
|
1872
|
+
* @version 248.0.0
|
|
1873
1873
|
*//**
|
|
1874
1874
|
* Constructs a new AnalyticsApi.
|
|
1875
1875
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2688,7 +2688,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2688
2688
|
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(){/**
|
|
2689
2689
|
* Architect service.
|
|
2690
2690
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2691
|
-
* @version
|
|
2691
|
+
* @version 248.0.0
|
|
2692
2692
|
*//**
|
|
2693
2693
|
* Constructs a new ArchitectApi.
|
|
2694
2694
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3822,7 +3822,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3822
3822
|
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(){/**
|
|
3823
3823
|
* AssistantCopilotVariations service.
|
|
3824
3824
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
3825
|
-
* @version
|
|
3825
|
+
* @version 248.0.0
|
|
3826
3826
|
*//**
|
|
3827
3827
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
3828
3828
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -3867,7 +3867,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
3867
3867
|
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(){/**
|
|
3868
3868
|
* Audit service.
|
|
3869
3869
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3870
|
-
* @version
|
|
3870
|
+
* @version 248.0.0
|
|
3871
3871
|
*//**
|
|
3872
3872
|
* Constructs a new AuditApi.
|
|
3873
3873
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3917,7 +3917,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3917
3917
|
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(){/**
|
|
3918
3918
|
* Authorization service.
|
|
3919
3919
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3920
|
-
* @version
|
|
3920
|
+
* @version 248.0.0
|
|
3921
3921
|
*//**
|
|
3922
3922
|
* Constructs a new AuthorizationApi.
|
|
3923
3923
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -4345,7 +4345,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4345
4345
|
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(){/**
|
|
4346
4346
|
* BackgroundAssistant service.
|
|
4347
4347
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
4348
|
-
* @version
|
|
4348
|
+
* @version 248.0.0
|
|
4349
4349
|
*//**
|
|
4350
4350
|
* Constructs a new BackgroundAssistantApi.
|
|
4351
4351
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -4366,7 +4366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4366
4366
|
*/},{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(){/**
|
|
4367
4367
|
* Billing service.
|
|
4368
4368
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4369
|
-
* @version
|
|
4369
|
+
* @version 248.0.0
|
|
4370
4370
|
*//**
|
|
4371
4371
|
* Constructs a new BillingApi.
|
|
4372
4372
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4443,7 +4443,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4443
4443
|
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(){/**
|
|
4444
4444
|
* BusinessRules service.
|
|
4445
4445
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4446
|
-
* @version
|
|
4446
|
+
* @version 248.0.0
|
|
4447
4447
|
*//**
|
|
4448
4448
|
* Constructs a new BusinessRulesApi.
|
|
4449
4449
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4664,7 +4664,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4664
4664
|
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(){/**
|
|
4665
4665
|
* CarrierServices service.
|
|
4666
4666
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4667
|
-
* @version
|
|
4667
|
+
* @version 248.0.0
|
|
4668
4668
|
*//**
|
|
4669
4669
|
* Constructs a new CarrierServicesApi.
|
|
4670
4670
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4684,7 +4684,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4684
4684
|
*/},{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(){/**
|
|
4685
4685
|
* Chat service.
|
|
4686
4686
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4687
|
-
* @version
|
|
4687
|
+
* @version 248.0.0
|
|
4688
4688
|
*//**
|
|
4689
4689
|
* Constructs a new ChatApi.
|
|
4690
4690
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4915,7 +4915,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4915
4915
|
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(){/**
|
|
4916
4916
|
* Coaching service.
|
|
4917
4917
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4918
|
-
* @version
|
|
4918
|
+
* @version 248.0.0
|
|
4919
4919
|
*//**
|
|
4920
4920
|
* Constructs a new CoachingApi.
|
|
4921
4921
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -5078,7 +5078,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5078
5078
|
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(){/**
|
|
5079
5079
|
* ContentManagement service.
|
|
5080
5080
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
5081
|
-
* @version
|
|
5081
|
+
* @version 248.0.0
|
|
5082
5082
|
*//**
|
|
5083
5083
|
* Constructs a new ContentManagementApi.
|
|
5084
5084
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5360,7 +5360,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5360
5360
|
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(){/**
|
|
5361
5361
|
* Conversations service.
|
|
5362
5362
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5363
|
-
* @version
|
|
5363
|
+
* @version 248.0.0
|
|
5364
5364
|
*//**
|
|
5365
5365
|
* Constructs a new ConversationsApi.
|
|
5366
5366
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5716,11 +5716,11 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
5716
5716
|
*/},{key:"getConversationsCallbackParticipantWrapupcodes",value:function getConversationsCallbackParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
5717
5717
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
5718
5718
|
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']);}/**
|
|
5719
|
-
* Get active
|
|
5720
|
-
*
|
|
5719
|
+
* Get the logged-in user's active conversations and their Callback participants state.
|
|
5720
|
+
* 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?
|
|
5721
5721
|
*/},{key:"getConversationsCallbacks",value:function getConversationsCallbacks(){return this.apiClient.callApi('/api/v2/conversations/callbacks','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5722
|
-
* Get active
|
|
5723
|
-
*
|
|
5722
|
+
* Get the logged-in user's active conversations and their Call participants state.
|
|
5723
|
+
* 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?
|
|
5724
5724
|
*/},{key:"getConversationsCalls",value:function getConversationsCalls(){return this.apiClient.callApi('/api/v2/conversations/calls','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5725
5725
|
* Get call history
|
|
5726
5726
|
*
|
|
@@ -5915,16 +5915,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
5915
5915
|
* @param {String} conversationId conversationId
|
|
5916
5916
|
*/},{key:"getConversationsEmailSettings",value:function getConversationsEmailSettings(conversationId){// verify the required parameter 'conversationId' is set
|
|
5917
5917
|
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']);}/**
|
|
5918
|
-
* Get active
|
|
5919
|
-
*
|
|
5918
|
+
* Get the logged-in user's active conversations and their Email participants state.
|
|
5919
|
+
* 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?
|
|
5920
5920
|
*/},{key:"getConversationsEmails",value:function getConversationsEmails(){return this.apiClient.callApi('/api/v2/conversations/emails','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5921
5921
|
* Get internal message conversation
|
|
5922
5922
|
*
|
|
5923
5923
|
* @param {String} conversationId conversationId
|
|
5924
5924
|
*/},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
|
|
5925
5925
|
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']);}/**
|
|
5926
|
-
* Get
|
|
5927
|
-
*
|
|
5926
|
+
* Get the logged-in user's active conversations and their InternalMessage participants state.
|
|
5927
|
+
* 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?
|
|
5928
5928
|
*/},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5929
5929
|
* Get the encryption key configurations
|
|
5930
5930
|
*
|
|
@@ -6002,8 +6002,8 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
6002
6002
|
*/},{key:"getConversationsMessageParticipantWrapupcodes",value:function getConversationsMessageParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
6003
6003
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
6004
6004
|
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']);}/**
|
|
6005
|
-
* Get active
|
|
6006
|
-
*
|
|
6005
|
+
* Get the logged-in user's active conversations and their Message participants state.
|
|
6006
|
+
* 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?
|
|
6007
6007
|
*/},{key:"getConversationsMessages",value:function getConversationsMessages(){return this.apiClient.callApi('/api/v2/conversations/messages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6008
6008
|
* Get a list of cached media items
|
|
6009
6009
|
*
|
|
@@ -7695,7 +7695,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7695
7695
|
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(){/**
|
|
7696
7696
|
* DataExtensions service.
|
|
7697
7697
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7698
|
-
* @version
|
|
7698
|
+
* @version 248.0.0
|
|
7699
7699
|
*//**
|
|
7700
7700
|
* Constructs a new DataExtensionsApi.
|
|
7701
7701
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7716,7 +7716,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7716
7716
|
*/},{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(){/**
|
|
7717
7717
|
* DataPrivacy service.
|
|
7718
7718
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7719
|
-
* @version
|
|
7719
|
+
* @version 248.0.0
|
|
7720
7720
|
*//**
|
|
7721
7721
|
* Constructs a new DataPrivacyApi.
|
|
7722
7722
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7756,7 +7756,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7756
7756
|
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(){/**
|
|
7757
7757
|
* Downloads service.
|
|
7758
7758
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7759
|
-
* @version
|
|
7759
|
+
* @version 248.0.0
|
|
7760
7760
|
*//**
|
|
7761
7761
|
* Constructs a new DownloadsApi.
|
|
7762
7762
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7775,7 +7775,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7775
7775
|
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(){/**
|
|
7776
7776
|
* Emails service.
|
|
7777
7777
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7778
|
-
* @version
|
|
7778
|
+
* @version 248.0.0
|
|
7779
7779
|
*//**
|
|
7780
7780
|
* Constructs a new EmailsApi.
|
|
7781
7781
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7804,7 +7804,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7804
7804
|
*/},{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(){/**
|
|
7805
7805
|
* EmployeeEngagement service.
|
|
7806
7806
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7807
|
-
* @version
|
|
7807
|
+
* @version 248.0.0
|
|
7808
7808
|
*//**
|
|
7809
7809
|
* Constructs a new EmployeeEngagementApi.
|
|
7810
7810
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7852,7 +7852,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7852
7852
|
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(){/**
|
|
7853
7853
|
* Events service.
|
|
7854
7854
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7855
|
-
* @version
|
|
7855
|
+
* @version 248.0.0
|
|
7856
7856
|
*//**
|
|
7857
7857
|
* Constructs a new EventsApi.
|
|
7858
7858
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7877,7 +7877,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7877
7877
|
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(){/**
|
|
7878
7878
|
* ExternalContacts service.
|
|
7879
7879
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7880
|
-
* @version
|
|
7880
|
+
* @version 248.0.0
|
|
7881
7881
|
*//**
|
|
7882
7882
|
* Constructs a new ExternalContactsApi.
|
|
7883
7883
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8627,7 +8627,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8627
8627
|
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(){/**
|
|
8628
8628
|
* Fax service.
|
|
8629
8629
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8630
|
-
* @version
|
|
8630
|
+
* @version 248.0.0
|
|
8631
8631
|
*//**
|
|
8632
8632
|
* Constructs a new FaxApi.
|
|
8633
8633
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8676,7 +8676,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8676
8676
|
*/},{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(){/**
|
|
8677
8677
|
* Flows service.
|
|
8678
8678
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8679
|
-
* @version
|
|
8679
|
+
* @version 248.0.0
|
|
8680
8680
|
*//**
|
|
8681
8681
|
* Constructs a new FlowsApi.
|
|
8682
8682
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8730,7 +8730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8730
8730
|
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(){/**
|
|
8731
8731
|
* Gamification service.
|
|
8732
8732
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8733
|
-
* @version
|
|
8733
|
+
* @version 248.0.0
|
|
8734
8734
|
*//**
|
|
8735
8735
|
* Constructs a new GamificationApi.
|
|
8736
8736
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -9401,7 +9401,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9401
9401
|
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(){/**
|
|
9402
9402
|
* GeneralDataProtectionRegulation service.
|
|
9403
9403
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
9404
|
-
* @version
|
|
9404
|
+
* @version 248.0.0
|
|
9405
9405
|
*//**
|
|
9406
9406
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
9407
9407
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -9436,7 +9436,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
9436
9436
|
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(){/**
|
|
9437
9437
|
* Geolocation service.
|
|
9438
9438
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
9439
|
-
* @version
|
|
9439
|
+
* @version 248.0.0
|
|
9440
9440
|
*//**
|
|
9441
9441
|
* Constructs a new GeolocationApi.
|
|
9442
9442
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -9470,7 +9470,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
9470
9470
|
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(){/**
|
|
9471
9471
|
* Greetings service.
|
|
9472
9472
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
9473
|
-
* @version
|
|
9473
|
+
* @version 248.0.0
|
|
9474
9474
|
*//**
|
|
9475
9475
|
* Constructs a new GreetingsApi.
|
|
9476
9476
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9598,7 +9598,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9598
9598
|
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(){/**
|
|
9599
9599
|
* Groups service.
|
|
9600
9600
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9601
|
-
* @version
|
|
9601
|
+
* @version 248.0.0
|
|
9602
9602
|
*//**
|
|
9603
9603
|
* Constructs a new GroupsApi.
|
|
9604
9604
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9731,7 +9731,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9731
9731
|
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(){/**
|
|
9732
9732
|
* IdentityProvider service.
|
|
9733
9733
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9734
|
-
* @version
|
|
9734
|
+
* @version 248.0.0
|
|
9735
9735
|
*//**
|
|
9736
9736
|
* Constructs a new IdentityProviderApi.
|
|
9737
9737
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9887,7 +9887,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9887
9887
|
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(){/**
|
|
9888
9888
|
* InfrastructureAsCode service.
|
|
9889
9889
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9890
|
-
* @version
|
|
9890
|
+
* @version 248.0.0
|
|
9891
9891
|
*//**
|
|
9892
9892
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9893
9893
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9941,7 +9941,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9941
9941
|
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(){/**
|
|
9942
9942
|
* Integrations service.
|
|
9943
9943
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9944
|
-
* @version
|
|
9944
|
+
* @version 248.0.0
|
|
9945
9945
|
*//**
|
|
9946
9946
|
* Constructs a new IntegrationsApi.
|
|
9947
9947
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10633,7 +10633,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10633
10633
|
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(){/**
|
|
10634
10634
|
* Intents service.
|
|
10635
10635
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
10636
|
-
* @version
|
|
10636
|
+
* @version 248.0.0
|
|
10637
10637
|
*//**
|
|
10638
10638
|
* Constructs a new IntentsApi.
|
|
10639
10639
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -10750,7 +10750,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10750
10750
|
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(){/**
|
|
10751
10751
|
* Journey service.
|
|
10752
10752
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10753
|
-
* @version
|
|
10753
|
+
* @version 248.0.0
|
|
10754
10754
|
*//**
|
|
10755
10755
|
* Constructs a new JourneyApi.
|
|
10756
10756
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -11259,7 +11259,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
11259
11259
|
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(){/**
|
|
11260
11260
|
* Knowledge service.
|
|
11261
11261
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
11262
|
-
* @version
|
|
11262
|
+
* @version 248.0.0
|
|
11263
11263
|
*//**
|
|
11264
11264
|
* Constructs a new KnowledgeApi.
|
|
11265
11265
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -12104,6 +12104,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12104
12104
|
* @param {Object} body
|
|
12105
12105
|
*/},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
|
|
12106
12106
|
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']);}/**
|
|
12107
|
+
* Get Knowledge Search
|
|
12108
|
+
*
|
|
12109
|
+
* @param {Object} opts Optional parameters
|
|
12110
|
+
* @param {Object} opts.body
|
|
12111
|
+
*/},{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']);}/**
|
|
12107
12112
|
* Get Knowledge Search Preview
|
|
12108
12113
|
*
|
|
12109
12114
|
* @param {Object} opts Optional parameters
|
|
@@ -12134,7 +12139,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
12134
12139
|
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(){/**
|
|
12135
12140
|
* LanguageUnderstanding service.
|
|
12136
12141
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
12137
|
-
* @version
|
|
12142
|
+
* @version 248.0.0
|
|
12138
12143
|
*//**
|
|
12139
12144
|
* Constructs a new LanguageUnderstandingApi.
|
|
12140
12145
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -12443,7 +12448,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
12443
12448
|
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(){/**
|
|
12444
12449
|
* Languages service.
|
|
12445
12450
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
12446
|
-
* @version
|
|
12451
|
+
* @version 248.0.0
|
|
12447
12452
|
*//**
|
|
12448
12453
|
* Constructs a new LanguagesApi.
|
|
12449
12454
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -12498,7 +12503,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12498
12503
|
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(){/**
|
|
12499
12504
|
* Learning service.
|
|
12500
12505
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
12501
|
-
* @version
|
|
12506
|
+
* @version 248.0.0
|
|
12502
12507
|
*//**
|
|
12503
12508
|
* Constructs a new LearningApi.
|
|
12504
12509
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12787,7 +12792,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12787
12792
|
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(){/**
|
|
12788
12793
|
* License service.
|
|
12789
12794
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12790
|
-
* @version
|
|
12795
|
+
* @version 248.0.0
|
|
12791
12796
|
*//**
|
|
12792
12797
|
* Constructs a new LicenseApi.
|
|
12793
12798
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12841,7 +12846,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12841
12846
|
*/},{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(){/**
|
|
12842
12847
|
* Locations service.
|
|
12843
12848
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12844
|
-
* @version
|
|
12849
|
+
* @version 248.0.0
|
|
12845
12850
|
*//**
|
|
12846
12851
|
* Constructs a new LocationsApi.
|
|
12847
12852
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12900,7 +12905,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12900
12905
|
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(){/**
|
|
12901
12906
|
* LogCapture service.
|
|
12902
12907
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12903
|
-
* @version
|
|
12908
|
+
* @version 248.0.0
|
|
12904
12909
|
*//**
|
|
12905
12910
|
* Constructs a new LogCaptureApi.
|
|
12906
12911
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12949,7 +12954,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12949
12954
|
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(){/**
|
|
12950
12955
|
* Messaging service.
|
|
12951
12956
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12952
|
-
* @version
|
|
12957
|
+
* @version 248.0.0
|
|
12953
12958
|
*//**
|
|
12954
12959
|
* Constructs a new MessagingApi.
|
|
12955
12960
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -13039,7 +13044,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13039
13044
|
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(){/**
|
|
13040
13045
|
* MobileDevices service.
|
|
13041
13046
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
13042
|
-
* @version
|
|
13047
|
+
* @version 248.0.0
|
|
13043
13048
|
*//**
|
|
13044
13049
|
* Constructs a new MobileDevicesApi.
|
|
13045
13050
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -13078,7 +13083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13078
13083
|
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(){/**
|
|
13079
13084
|
* Notifications service.
|
|
13080
13085
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
13081
|
-
* @version
|
|
13086
|
+
* @version 248.0.0
|
|
13082
13087
|
*//**
|
|
13083
13088
|
* Constructs a new NotificationsApi.
|
|
13084
13089
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -13135,7 +13140,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
13135
13140
|
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(){/**
|
|
13136
13141
|
* OAuth service.
|
|
13137
13142
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
13138
|
-
* @version
|
|
13143
|
+
* @version 248.0.0
|
|
13139
13144
|
*//**
|
|
13140
13145
|
* Constructs a new OAuthApi.
|
|
13141
13146
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -13220,7 +13225,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
13220
13225
|
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(){/**
|
|
13221
13226
|
* Objects service.
|
|
13222
13227
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
13223
|
-
* @version
|
|
13228
|
+
* @version 248.0.0
|
|
13224
13229
|
*//**
|
|
13225
13230
|
* Constructs a new ObjectsApi.
|
|
13226
13231
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -13306,7 +13311,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
13306
13311
|
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(){/**
|
|
13307
13312
|
* OperationalEvents service.
|
|
13308
13313
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
13309
|
-
* @version
|
|
13314
|
+
* @version 248.0.0
|
|
13310
13315
|
*//**
|
|
13311
13316
|
* Constructs a new OperationalEventsApi.
|
|
13312
13317
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -13337,7 +13342,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
13337
13342
|
*/},{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(){/**
|
|
13338
13343
|
* Organization service.
|
|
13339
13344
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
13340
|
-
* @version
|
|
13345
|
+
* @version 248.0.0
|
|
13341
13346
|
*//**
|
|
13342
13347
|
* Constructs a new OrganizationApi.
|
|
13343
13348
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -13442,7 +13447,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13442
13447
|
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(){/**
|
|
13443
13448
|
* OrganizationAuthorization service.
|
|
13444
13449
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
13445
|
-
* @version
|
|
13450
|
+
* @version 248.0.0
|
|
13446
13451
|
*//**
|
|
13447
13452
|
* Constructs a new OrganizationAuthorizationApi.
|
|
13448
13453
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13776,7 +13781,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13776
13781
|
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(){/**
|
|
13777
13782
|
* Outbound service.
|
|
13778
13783
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13779
|
-
* @version
|
|
13784
|
+
* @version 248.0.0
|
|
13780
13785
|
*//**
|
|
13781
13786
|
* Constructs a new OutboundApi.
|
|
13782
13787
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14943,7 +14948,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14943
14948
|
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(){/**
|
|
14944
14949
|
* Presence service.
|
|
14945
14950
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14946
|
-
* @version
|
|
14951
|
+
* @version 248.0.0
|
|
14947
14952
|
*//**
|
|
14948
14953
|
* Constructs a new PresenceApi.
|
|
14949
14954
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -15116,7 +15121,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15116
15121
|
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(){/**
|
|
15117
15122
|
* ProcessAutomation service.
|
|
15118
15123
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
15119
|
-
* @version
|
|
15124
|
+
* @version 248.0.0
|
|
15120
15125
|
*//**
|
|
15121
15126
|
* Constructs a new ProcessAutomationApi.
|
|
15122
15127
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -15179,7 +15184,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
15179
15184
|
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(){/**
|
|
15180
15185
|
* Quality service.
|
|
15181
15186
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
15182
|
-
* @version
|
|
15187
|
+
* @version 248.0.0
|
|
15183
15188
|
*//**
|
|
15184
15189
|
* Constructs a new QualityApi.
|
|
15185
15190
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15723,7 +15728,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15723
15728
|
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(){/**
|
|
15724
15729
|
* Recording service.
|
|
15725
15730
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15726
|
-
* @version
|
|
15731
|
+
* @version 248.0.0
|
|
15727
15732
|
*//**
|
|
15728
15733
|
* Constructs a new RecordingApi.
|
|
15729
15734
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -16122,7 +16127,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16122
16127
|
*/},{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(){/**
|
|
16123
16128
|
* ResponseManagement service.
|
|
16124
16129
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
16125
|
-
* @version
|
|
16130
|
+
* @version 248.0.0
|
|
16126
16131
|
*//**
|
|
16127
16132
|
* Constructs a new ResponseManagementApi.
|
|
16128
16133
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -16243,7 +16248,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
16243
16248
|
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(){/**
|
|
16244
16249
|
* Routing service.
|
|
16245
16250
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
16246
|
-
* @version
|
|
16251
|
+
* @version 248.0.0
|
|
16247
16252
|
*//**
|
|
16248
16253
|
* Constructs a new RoutingApi.
|
|
16249
16254
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -17389,7 +17394,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17389
17394
|
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(){/**
|
|
17390
17395
|
* SCIM service.
|
|
17391
17396
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
17392
|
-
* @version
|
|
17397
|
+
* @version 248.0.0
|
|
17393
17398
|
*//**
|
|
17394
17399
|
* Constructs a new SCIMApi.
|
|
17395
17400
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -17614,7 +17619,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17614
17619
|
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(){/**
|
|
17615
17620
|
* Scripts service.
|
|
17616
17621
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
17617
|
-
* @version
|
|
17622
|
+
* @version 248.0.0
|
|
17618
17623
|
*//**
|
|
17619
17624
|
* Constructs a new ScriptsApi.
|
|
17620
17625
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17760,7 +17765,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17760
17765
|
*/},{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(){/**
|
|
17761
17766
|
* Search service.
|
|
17762
17767
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17763
|
-
* @version
|
|
17768
|
+
* @version 248.0.0
|
|
17764
17769
|
*//**
|
|
17765
17770
|
* Constructs a new SearchApi.
|
|
17766
17771
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17924,7 +17929,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17924
17929
|
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(){/**
|
|
17925
17930
|
* Settings service.
|
|
17926
17931
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17927
|
-
* @version
|
|
17932
|
+
* @version 248.0.0
|
|
17928
17933
|
*//**
|
|
17929
17934
|
* Constructs a new SettingsApi.
|
|
17930
17935
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17996,7 +18001,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17996
18001
|
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(){/**
|
|
17997
18002
|
* SocialMedia service.
|
|
17998
18003
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17999
|
-
* @version
|
|
18004
|
+
* @version 248.0.0
|
|
18000
18005
|
*//**
|
|
18001
18006
|
* Constructs a new SocialMediaApi.
|
|
18002
18007
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -18485,7 +18490,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18485
18490
|
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(){/**
|
|
18486
18491
|
* SpeechTextAnalytics service.
|
|
18487
18492
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
18488
|
-
* @version
|
|
18493
|
+
* @version 248.0.0
|
|
18489
18494
|
*//**
|
|
18490
18495
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
18491
18496
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18864,7 +18869,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18864
18869
|
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(){/**
|
|
18865
18870
|
* Stations service.
|
|
18866
18871
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18867
|
-
* @version
|
|
18872
|
+
* @version 248.0.0
|
|
18868
18873
|
*//**
|
|
18869
18874
|
* Constructs a new StationsApi.
|
|
18870
18875
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18896,7 +18901,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18896
18901
|
*/},{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(){/**
|
|
18897
18902
|
* Suggest service.
|
|
18898
18903
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18899
|
-
* @version
|
|
18904
|
+
* @version 248.0.0
|
|
18900
18905
|
*//**
|
|
18901
18906
|
* Constructs a new SuggestApi.
|
|
18902
18907
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18936,7 +18941,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18936
18941
|
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(){/**
|
|
18937
18942
|
* TaskManagement service.
|
|
18938
18943
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18939
|
-
* @version
|
|
18944
|
+
* @version 248.0.0
|
|
18940
18945
|
*//**
|
|
18941
18946
|
* Constructs a new TaskManagementApi.
|
|
18942
18947
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19382,9 +19387,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19382
19387
|
*/},{key:"postTaskmanagementWorkitemsBulkTerminateJobs",value:function postTaskmanagementWorkitemsBulkTerminateJobs(body){// verify the required parameter 'body' is set
|
|
19383
19388
|
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']);}/**
|
|
19384
19389
|
* Query for workitems
|
|
19385
|
-
* This query requires at least one EQ filter on the workbinId, assigneeId or typeId attributes.
|
|
19390
|
+
* This query requires at least one EQ filter on the workbinId, assigneeId, queueId or typeId attributes. A maximum of three filters are allowed.
|
|
19386
19391
|
* @param {Object} body WorkitemQueryPostRequest
|
|
19387
|
-
* postTaskmanagementWorkitemsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19388
19392
|
*/},{key:"postTaskmanagementWorkitemsQuery",value:function postTaskmanagementWorkitemsQuery(body){// verify the required parameter 'body' is set
|
|
19389
19393
|
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']);}/**
|
|
19390
19394
|
* Create a workitem query job
|
|
@@ -19444,7 +19448,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
19444
19448
|
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(){/**
|
|
19445
19449
|
* Teams service.
|
|
19446
19450
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19447
|
-
* @version
|
|
19451
|
+
* @version 248.0.0
|
|
19448
19452
|
*//**
|
|
19449
19453
|
* Constructs a new TeamsApi.
|
|
19450
19454
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19524,7 +19528,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19524
19528
|
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(){/**
|
|
19525
19529
|
* Telephony service.
|
|
19526
19530
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19527
|
-
* @version
|
|
19531
|
+
* @version 248.0.0
|
|
19528
19532
|
*//**
|
|
19529
19533
|
* Constructs a new TelephonyApi.
|
|
19530
19534
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -19596,7 +19600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19596
19600
|
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(){/**
|
|
19597
19601
|
* TelephonyProvidersEdge service.
|
|
19598
19602
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
19599
|
-
* @version
|
|
19603
|
+
* @version 248.0.0
|
|
19600
19604
|
*//**
|
|
19601
19605
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
19602
19606
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20444,7 +20448,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
20444
20448
|
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(){/**
|
|
20445
20449
|
* Textbots service.
|
|
20446
20450
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20447
|
-
* @version
|
|
20451
|
+
* @version 248.0.0
|
|
20448
20452
|
*//**
|
|
20449
20453
|
* Constructs a new TextbotsApi.
|
|
20450
20454
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20480,7 +20484,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20480
20484
|
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(){/**
|
|
20481
20485
|
* Tokens service.
|
|
20482
20486
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20483
|
-
* @version
|
|
20487
|
+
* @version 248.0.0
|
|
20484
20488
|
*//**
|
|
20485
20489
|
* Constructs a new TokensApi.
|
|
20486
20490
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20514,7 +20518,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20514
20518
|
*/},{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(){/**
|
|
20515
20519
|
* Uploads service.
|
|
20516
20520
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20517
|
-
* @version
|
|
20521
|
+
* @version 248.0.0
|
|
20518
20522
|
*//**
|
|
20519
20523
|
* Constructs a new UploadsApi.
|
|
20520
20524
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20587,7 +20591,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20587
20591
|
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(){/**
|
|
20588
20592
|
* Usage service.
|
|
20589
20593
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20590
|
-
* @version
|
|
20594
|
+
* @version 248.0.0
|
|
20591
20595
|
*//**
|
|
20592
20596
|
* Constructs a new UsageApi.
|
|
20593
20597
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20671,7 +20675,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20671
20675
|
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(){/**
|
|
20672
20676
|
* UserRecordings service.
|
|
20673
20677
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20674
|
-
* @version
|
|
20678
|
+
* @version 248.0.0
|
|
20675
20679
|
*//**
|
|
20676
20680
|
* Constructs a new UserRecordingsApi.
|
|
20677
20681
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20719,7 +20723,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
20719
20723
|
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(){/**
|
|
20720
20724
|
* Users service.
|
|
20721
20725
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20722
|
-
* @version
|
|
20726
|
+
* @version 248.0.0
|
|
20723
20727
|
*//**
|
|
20724
20728
|
* Constructs a new UsersApi.
|
|
20725
20729
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21569,7 +21573,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
21569
21573
|
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(){/**
|
|
21570
21574
|
* UsersRules service.
|
|
21571
21575
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
21572
|
-
* @version
|
|
21576
|
+
* @version 248.0.0
|
|
21573
21577
|
*//**
|
|
21574
21578
|
* Constructs a new UsersRulesApi.
|
|
21575
21579
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -21644,7 +21648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21644
21648
|
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(){/**
|
|
21645
21649
|
* Utilities service.
|
|
21646
21650
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21647
|
-
* @version
|
|
21651
|
+
* @version 248.0.0
|
|
21648
21652
|
*//**
|
|
21649
21653
|
* Constructs a new UtilitiesApi.
|
|
21650
21654
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21671,7 +21675,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21671
21675
|
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(){/**
|
|
21672
21676
|
* Voicemail service.
|
|
21673
21677
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21674
|
-
* @version
|
|
21678
|
+
* @version 248.0.0
|
|
21675
21679
|
*//**
|
|
21676
21680
|
* Constructs a new VoicemailApi.
|
|
21677
21681
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21833,7 +21837,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21833
21837
|
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(){/**
|
|
21834
21838
|
* WebChat service.
|
|
21835
21839
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21836
|
-
* @version
|
|
21840
|
+
* @version 248.0.0
|
|
21837
21841
|
*//**
|
|
21838
21842
|
* Constructs a new WebChatApi.
|
|
21839
21843
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21980,7 +21984,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21980
21984
|
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(){/**
|
|
21981
21985
|
* WebDeployments service.
|
|
21982
21986
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21983
|
-
* @version
|
|
21987
|
+
* @version 248.0.0
|
|
21984
21988
|
*//**
|
|
21985
21989
|
* Constructs a new WebDeploymentsApi.
|
|
21986
21990
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22123,7 +22127,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
22123
22127
|
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(){/**
|
|
22124
22128
|
* WebMessaging service.
|
|
22125
22129
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22126
|
-
* @version
|
|
22130
|
+
* @version 248.0.0
|
|
22127
22131
|
*//**
|
|
22128
22132
|
* Constructs a new WebMessagingApi.
|
|
22129
22133
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22164,7 +22168,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
22164
22168
|
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(){/**
|
|
22165
22169
|
* Widgets service.
|
|
22166
22170
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22167
|
-
* @version
|
|
22171
|
+
* @version 248.0.0
|
|
22168
22172
|
*//**
|
|
22169
22173
|
* Constructs a new WidgetsApi.
|
|
22170
22174
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22204,7 +22208,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
22204
22208
|
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(){/**
|
|
22205
22209
|
* WorkforceManagement service.
|
|
22206
22210
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22207
|
-
* @version
|
|
22211
|
+
* @version 248.0.0
|
|
22208
22212
|
*//**
|
|
22209
22213
|
* Constructs a new WorkforceManagementApi.
|
|
22210
22214
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -22503,9 +22507,11 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
22503
22507
|
*
|
|
22504
22508
|
* @param {String} businessUnitId The ID of the business unit
|
|
22505
22509
|
* @param {String} capacityPlanId The ID of the capacity plan
|
|
22506
|
-
|
|
22510
|
+
* @param {Object} opts Optional parameters
|
|
22511
|
+
* @param {Object} opts.granularity Granularity to access staffing group data, defaults to weekly
|
|
22512
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations",value:function getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22507
22513
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}// verify the required parameter 'capacityPlanId' is set
|
|
22508
|
-
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']);}/**
|
|
22514
|
+
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']);}/**
|
|
22509
22515
|
* Get a capacity plan's staffing requirements
|
|
22510
22516
|
*
|
|
22511
22517
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -22518,10 +22524,12 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
22518
22524
|
* @param {String} businessUnitId
|
|
22519
22525
|
* @param {String} weekDateId weekDateId of forecast, format yyyy-MM-dd. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
22520
22526
|
* @param {String} forecastId forecastId of forecast
|
|
22521
|
-
|
|
22527
|
+
* @param {Object} opts Optional parameters
|
|
22528
|
+
* @param {Object} opts.granularity Granularity to access staffing requirements data, defaults to weekly
|
|
22529
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast",value:function getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22522
22530
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'weekDateId' is set
|
|
22523
22531
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'forecastId' is set
|
|
22524
|
-
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']);}/**
|
|
22532
|
+
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']);}/**
|
|
22525
22533
|
* Get list of capacity plans for a business unit
|
|
22526
22534
|
*
|
|
22527
22535
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -24227,7 +24235,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24227
24235
|
* </pre>
|
|
24228
24236
|
* </p>
|
|
24229
24237
|
* @module purecloud-platform-client-v2/index
|
|
24230
|
-
* @version
|
|
24238
|
+
* @version 248.0.0
|
|
24231
24239
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24232
24240
|
* The ApiClient constructor.
|
|
24233
24241
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|