purecloud-platform-client-v2 241.0.0 → 241.1.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 +127 -85
- package/dist/web-amd/purecloud-platform-client-v2.js +127 -85
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +93 -85
- package/dist/web-cjs/purecloud-platform-client-v2.js +93 -85
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +43 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -953,7 +953,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
953
953
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
954
954
|
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];}}}]);}();/**
|
|
955
955
|
* @module purecloud-platform-client-v2/ApiClient
|
|
956
|
-
* @version 241.
|
|
956
|
+
* @version 241.1.0
|
|
957
957
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
958
958
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
959
959
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1019,6 +1019,12 @@ localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(
|
|
|
1019
1019
|
if(this.persistSettings!==true)return;// Ensure we can access local storage
|
|
1020
1020
|
if(!this.hasLocalStorage){return;}// Load current auth data
|
|
1021
1021
|
var tempState=this.authData.state;this.authData=localStorage.getItem("".concat(this.settingsPrefix,"_auth_data"));if(!this.authData)this.authData={};else this.authData=JSON.parse(this.authData);if(this.authData.accessToken)this.setAccessToken(this.authData.accessToken);this.authData.state=tempState;}/**
|
|
1022
|
+
* @description Clears the auth token from local storage, if enabled.
|
|
1023
|
+
*/},{key:"_clearSettings",value:function _clearSettings(){try{if(this.authData&&this.authData.accessToken)this.authData.accessToken=null;if(this.authentications['PureCloud OAuth']&&this.authentications['PureCloud OAuth'].accessToken)this.authentications['PureCloud OAuth'].accessToken=null;if(this.authData&&this.authData.state)this.authData.state=null;if(this.authData&&this.authData.error)this.authData.error=null;if(this.authData&&this.authData.error_description)this.authData.error_description=null;if(this.authData&&this.authData.tokenExpiryTime)this.authData.tokenExpiryTime=0;if(this.authData&&this.authData.tokenExpiryTimeString)this.authData.tokenExpiryTimeString=null;// Don't save settings if we aren't supposed to be persisting them
|
|
1024
|
+
if(this.persistSettings!==true)return;// Ensure we can access local storage
|
|
1025
|
+
if(!this.hasLocalStorage){return;}// Remove state from data so it's not persisted
|
|
1026
|
+
var tempData=JSON.parse(JSON.stringify(this.authData));delete tempData.state;// Save updated auth data
|
|
1027
|
+
localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(tempData));}catch(e){console.error(e);}}/**
|
|
1022
1028
|
* @description Sets the environment used by the session
|
|
1023
1029
|
* @param {string} environment - (Optional, default "mypurecloud.com") Environment the session use, e.g. mypurecloud.ie, mypurecloud.com.au, etc.
|
|
1024
1030
|
*/},{key:"setEnvironment",value:function setEnvironment(environment){this.config.setEnvironment(environment);}/**
|
|
@@ -1211,6 +1217,8 @@ document.body.scrollTop=scrollV;document.body.scrollLeft=scrollH;}this._saveSett
|
|
|
1211
1217
|
* @description Sets the access token to be used with requests
|
|
1212
1218
|
* @param {string} token - The access token
|
|
1213
1219
|
*/},{key:"setAccessToken",value:function setAccessToken(token){this._saveSettings({accessToken:token});}/**
|
|
1220
|
+
* @description Clears the access token to be used with requests
|
|
1221
|
+
*/},{key:"clearAccessToken",value:function clearAccessToken(){this._clearSettings();}/**
|
|
1214
1222
|
* @description Sets the storage key to use when persisting the access token
|
|
1215
1223
|
* @param {string} storageKey - The storage key name
|
|
1216
1224
|
*/},{key:"setStorageKey",value:function setStorageKey(storageKey){// Set storage key
|
|
@@ -1311,7 +1319,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1311
1319
|
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(){/**
|
|
1312
1320
|
* AIStudio service.
|
|
1313
1321
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1314
|
-
* @version 241.
|
|
1322
|
+
* @version 241.1.0
|
|
1315
1323
|
*//**
|
|
1316
1324
|
* Constructs a new AIStudioApi.
|
|
1317
1325
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1471,7 +1479,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1471
1479
|
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(){/**
|
|
1472
1480
|
* AgentAssistants service.
|
|
1473
1481
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1474
|
-
* @version 241.
|
|
1482
|
+
* @version 241.1.0
|
|
1475
1483
|
*//**
|
|
1476
1484
|
* Constructs a new AgentAssistantsApi.
|
|
1477
1485
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1638,7 +1646,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1638
1646
|
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(){/**
|
|
1639
1647
|
* AgentCopilot service.
|
|
1640
1648
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1641
|
-
* @version 241.
|
|
1649
|
+
* @version 241.1.0
|
|
1642
1650
|
*//**
|
|
1643
1651
|
* Constructs a new AgentCopilotApi.
|
|
1644
1652
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1665,7 +1673,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1665
1673
|
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(){/**
|
|
1666
1674
|
* AgentUI service.
|
|
1667
1675
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1668
|
-
* @version 241.
|
|
1676
|
+
* @version 241.1.0
|
|
1669
1677
|
*//**
|
|
1670
1678
|
* Constructs a new AgentUIApi.
|
|
1671
1679
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1699,7 +1707,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1699
1707
|
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(){/**
|
|
1700
1708
|
* Alerting service.
|
|
1701
1709
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1702
|
-
* @version 241.
|
|
1710
|
+
* @version 241.1.0
|
|
1703
1711
|
*//**
|
|
1704
1712
|
* Constructs a new AlertingApi.
|
|
1705
1713
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1788,7 +1796,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1788
1796
|
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(){/**
|
|
1789
1797
|
* Analytics service.
|
|
1790
1798
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1791
|
-
* @version 241.
|
|
1799
|
+
* @version 241.1.0
|
|
1792
1800
|
*//**
|
|
1793
1801
|
* Constructs a new AnalyticsApi.
|
|
1794
1802
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2596,7 +2604,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2596
2604
|
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(){/**
|
|
2597
2605
|
* Architect service.
|
|
2598
2606
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2599
|
-
* @version 241.
|
|
2607
|
+
* @version 241.1.0
|
|
2600
2608
|
*//**
|
|
2601
2609
|
* Constructs a new ArchitectApi.
|
|
2602
2610
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3730,7 +3738,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3730
3738
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3731
3739
|
* Audit service.
|
|
3732
3740
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3733
|
-
* @version 241.
|
|
3741
|
+
* @version 241.1.0
|
|
3734
3742
|
*//**
|
|
3735
3743
|
* Constructs a new AuditApi.
|
|
3736
3744
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3780,7 +3788,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3780
3788
|
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(){/**
|
|
3781
3789
|
* Authorization service.
|
|
3782
3790
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3783
|
-
* @version 241.
|
|
3791
|
+
* @version 241.1.0
|
|
3784
3792
|
*//**
|
|
3785
3793
|
* Constructs a new AuthorizationApi.
|
|
3786
3794
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -4202,7 +4210,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4202
4210
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
4203
4211
|
* Billing service.
|
|
4204
4212
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4205
|
-
* @version 241.
|
|
4213
|
+
* @version 241.1.0
|
|
4206
4214
|
*//**
|
|
4207
4215
|
* Constructs a new BillingApi.
|
|
4208
4216
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4279,7 +4287,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4279
4287
|
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(){/**
|
|
4280
4288
|
* BusinessRules service.
|
|
4281
4289
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4282
|
-
* @version 241.
|
|
4290
|
+
* @version 241.1.0
|
|
4283
4291
|
*//**
|
|
4284
4292
|
* Constructs a new BusinessRulesApi.
|
|
4285
4293
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4500,7 +4508,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4500
4508
|
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(){/**
|
|
4501
4509
|
* CarrierServices service.
|
|
4502
4510
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4503
|
-
* @version 241.
|
|
4511
|
+
* @version 241.1.0
|
|
4504
4512
|
*//**
|
|
4505
4513
|
* Constructs a new CarrierServicesApi.
|
|
4506
4514
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4520,7 +4528,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4520
4528
|
*/},{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(){/**
|
|
4521
4529
|
* Chat service.
|
|
4522
4530
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4523
|
-
* @version 241.
|
|
4531
|
+
* @version 241.1.0
|
|
4524
4532
|
*//**
|
|
4525
4533
|
* Constructs a new ChatApi.
|
|
4526
4534
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4751,7 +4759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4751
4759
|
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(){/**
|
|
4752
4760
|
* Coaching service.
|
|
4753
4761
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4754
|
-
* @version 241.
|
|
4762
|
+
* @version 241.1.0
|
|
4755
4763
|
*//**
|
|
4756
4764
|
* Constructs a new CoachingApi.
|
|
4757
4765
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4914,7 +4922,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4914
4922
|
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(){/**
|
|
4915
4923
|
* ContentManagement service.
|
|
4916
4924
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4917
|
-
* @version 241.
|
|
4925
|
+
* @version 241.1.0
|
|
4918
4926
|
*//**
|
|
4919
4927
|
* Constructs a new ContentManagementApi.
|
|
4920
4928
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5196,7 +5204,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5196
5204
|
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(){/**
|
|
5197
5205
|
* Conversations service.
|
|
5198
5206
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5199
|
-
* @version 241.
|
|
5207
|
+
* @version 241.1.0
|
|
5200
5208
|
*//**
|
|
5201
5209
|
* Constructs a new ConversationsApi.
|
|
5202
5210
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -7366,7 +7374,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7366
7374
|
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(){/**
|
|
7367
7375
|
* DataExtensions service.
|
|
7368
7376
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7369
|
-
* @version 241.
|
|
7377
|
+
* @version 241.1.0
|
|
7370
7378
|
*//**
|
|
7371
7379
|
* Constructs a new DataExtensionsApi.
|
|
7372
7380
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7387,7 +7395,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7387
7395
|
*/},{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(){/**
|
|
7388
7396
|
* DataPrivacy service.
|
|
7389
7397
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7390
|
-
* @version 241.
|
|
7398
|
+
* @version 241.1.0
|
|
7391
7399
|
*//**
|
|
7392
7400
|
* Constructs a new DataPrivacyApi.
|
|
7393
7401
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7427,7 +7435,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7427
7435
|
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(){/**
|
|
7428
7436
|
* Downloads service.
|
|
7429
7437
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7430
|
-
* @version 241.
|
|
7438
|
+
* @version 241.1.0
|
|
7431
7439
|
*//**
|
|
7432
7440
|
* Constructs a new DownloadsApi.
|
|
7433
7441
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7446,7 +7454,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7446
7454
|
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(){/**
|
|
7447
7455
|
* Emails service.
|
|
7448
7456
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7449
|
-
* @version 241.
|
|
7457
|
+
* @version 241.1.0
|
|
7450
7458
|
*//**
|
|
7451
7459
|
* Constructs a new EmailsApi.
|
|
7452
7460
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7475,7 +7483,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7475
7483
|
*/},{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(){/**
|
|
7476
7484
|
* EmployeeEngagement service.
|
|
7477
7485
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7478
|
-
* @version 241.
|
|
7486
|
+
* @version 241.1.0
|
|
7479
7487
|
*//**
|
|
7480
7488
|
* Constructs a new EmployeeEngagementApi.
|
|
7481
7489
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7523,7 +7531,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7523
7531
|
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(){/**
|
|
7524
7532
|
* Events service.
|
|
7525
7533
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7526
|
-
* @version 241.
|
|
7534
|
+
* @version 241.1.0
|
|
7527
7535
|
*//**
|
|
7528
7536
|
* Constructs a new EventsApi.
|
|
7529
7537
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7548,7 +7556,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7548
7556
|
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(){/**
|
|
7549
7557
|
* ExternalContacts service.
|
|
7550
7558
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7551
|
-
* @version 241.
|
|
7559
|
+
* @version 241.1.0
|
|
7552
7560
|
*//**
|
|
7553
7561
|
* Constructs a new ExternalContactsApi.
|
|
7554
7562
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8298,7 +8306,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8298
8306
|
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(){/**
|
|
8299
8307
|
* Fax service.
|
|
8300
8308
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8301
|
-
* @version 241.
|
|
8309
|
+
* @version 241.1.0
|
|
8302
8310
|
*//**
|
|
8303
8311
|
* Constructs a new FaxApi.
|
|
8304
8312
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8347,7 +8355,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8347
8355
|
*/},{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(){/**
|
|
8348
8356
|
* Flows service.
|
|
8349
8357
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8350
|
-
* @version 241.
|
|
8358
|
+
* @version 241.1.0
|
|
8351
8359
|
*//**
|
|
8352
8360
|
* Constructs a new FlowsApi.
|
|
8353
8361
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8401,7 +8409,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8401
8409
|
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(){/**
|
|
8402
8410
|
* Gamification service.
|
|
8403
8411
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8404
|
-
* @version 241.
|
|
8412
|
+
* @version 241.1.0
|
|
8405
8413
|
*//**
|
|
8406
8414
|
* Constructs a new GamificationApi.
|
|
8407
8415
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -9072,7 +9080,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9072
9080
|
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(){/**
|
|
9073
9081
|
* GeneralDataProtectionRegulation service.
|
|
9074
9082
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
9075
|
-
* @version 241.
|
|
9083
|
+
* @version 241.1.0
|
|
9076
9084
|
*//**
|
|
9077
9085
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
9078
9086
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -9107,7 +9115,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
9107
9115
|
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(){/**
|
|
9108
9116
|
* Geolocation service.
|
|
9109
9117
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
9110
|
-
* @version 241.
|
|
9118
|
+
* @version 241.1.0
|
|
9111
9119
|
*//**
|
|
9112
9120
|
* Constructs a new GeolocationApi.
|
|
9113
9121
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -9141,7 +9149,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
9141
9149
|
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(){/**
|
|
9142
9150
|
* Greetings service.
|
|
9143
9151
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
9144
|
-
* @version 241.
|
|
9152
|
+
* @version 241.1.0
|
|
9145
9153
|
*//**
|
|
9146
9154
|
* Constructs a new GreetingsApi.
|
|
9147
9155
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9269,7 +9277,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9269
9277
|
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(){/**
|
|
9270
9278
|
* Groups service.
|
|
9271
9279
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9272
|
-
* @version 241.
|
|
9280
|
+
* @version 241.1.0
|
|
9273
9281
|
*//**
|
|
9274
9282
|
* Constructs a new GroupsApi.
|
|
9275
9283
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9402,7 +9410,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9402
9410
|
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(){/**
|
|
9403
9411
|
* IdentityProvider service.
|
|
9404
9412
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9405
|
-
* @version 241.
|
|
9413
|
+
* @version 241.1.0
|
|
9406
9414
|
*//**
|
|
9407
9415
|
* Constructs a new IdentityProviderApi.
|
|
9408
9416
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9558,7 +9566,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9558
9566
|
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(){/**
|
|
9559
9567
|
* InfrastructureAsCode service.
|
|
9560
9568
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9561
|
-
* @version 241.
|
|
9569
|
+
* @version 241.1.0
|
|
9562
9570
|
*//**
|
|
9563
9571
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9564
9572
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9612,7 +9620,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9612
9620
|
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(){/**
|
|
9613
9621
|
* Integrations service.
|
|
9614
9622
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9615
|
-
* @version 241.
|
|
9623
|
+
* @version 241.1.0
|
|
9616
9624
|
*//**
|
|
9617
9625
|
* Constructs a new IntegrationsApi.
|
|
9618
9626
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10302,7 +10310,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10302
10310
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
10303
10311
|
* Journey service.
|
|
10304
10312
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10305
|
-
* @version 241.
|
|
10313
|
+
* @version 241.1.0
|
|
10306
10314
|
*//**
|
|
10307
10315
|
* Constructs a new JourneyApi.
|
|
10308
10316
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10811,7 +10819,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10811
10819
|
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(){/**
|
|
10812
10820
|
* Knowledge service.
|
|
10813
10821
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10814
|
-
* @version 241.
|
|
10822
|
+
* @version 241.1.0
|
|
10815
10823
|
*//**
|
|
10816
10824
|
* Constructs a new KnowledgeApi.
|
|
10817
10825
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11639,7 +11647,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11639
11647
|
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(){/**
|
|
11640
11648
|
* LanguageUnderstanding service.
|
|
11641
11649
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11642
|
-
* @version 241.
|
|
11650
|
+
* @version 241.1.0
|
|
11643
11651
|
*//**
|
|
11644
11652
|
* Constructs a new LanguageUnderstandingApi.
|
|
11645
11653
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11948,7 +11956,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11948
11956
|
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(){/**
|
|
11949
11957
|
* Languages service.
|
|
11950
11958
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11951
|
-
* @version 241.
|
|
11959
|
+
* @version 241.1.0
|
|
11952
11960
|
*//**
|
|
11953
11961
|
* Constructs a new LanguagesApi.
|
|
11954
11962
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -12003,7 +12011,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12003
12011
|
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(){/**
|
|
12004
12012
|
* Learning service.
|
|
12005
12013
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
12006
|
-
* @version 241.
|
|
12014
|
+
* @version 241.1.0
|
|
12007
12015
|
*//**
|
|
12008
12016
|
* Constructs a new LearningApi.
|
|
12009
12017
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12292,7 +12300,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12292
12300
|
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(){/**
|
|
12293
12301
|
* License service.
|
|
12294
12302
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12295
|
-
* @version 241.
|
|
12303
|
+
* @version 241.1.0
|
|
12296
12304
|
*//**
|
|
12297
12305
|
* Constructs a new LicenseApi.
|
|
12298
12306
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12346,7 +12354,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12346
12354
|
*/},{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(){/**
|
|
12347
12355
|
* Locations service.
|
|
12348
12356
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12349
|
-
* @version 241.
|
|
12357
|
+
* @version 241.1.0
|
|
12350
12358
|
*//**
|
|
12351
12359
|
* Constructs a new LocationsApi.
|
|
12352
12360
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12405,7 +12413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12405
12413
|
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(){/**
|
|
12406
12414
|
* LogCapture service.
|
|
12407
12415
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12408
|
-
* @version 241.
|
|
12416
|
+
* @version 241.1.0
|
|
12409
12417
|
*//**
|
|
12410
12418
|
* Constructs a new LogCaptureApi.
|
|
12411
12419
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12454,7 +12462,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12454
12462
|
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(){/**
|
|
12455
12463
|
* Messaging service.
|
|
12456
12464
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12457
|
-
* @version 241.
|
|
12465
|
+
* @version 241.1.0
|
|
12458
12466
|
*//**
|
|
12459
12467
|
* Constructs a new MessagingApi.
|
|
12460
12468
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12544,7 +12552,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12544
12552
|
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(){/**
|
|
12545
12553
|
* MobileDevices service.
|
|
12546
12554
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12547
|
-
* @version 241.
|
|
12555
|
+
* @version 241.1.0
|
|
12548
12556
|
*//**
|
|
12549
12557
|
* Constructs a new MobileDevicesApi.
|
|
12550
12558
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12583,7 +12591,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12583
12591
|
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(){/**
|
|
12584
12592
|
* Notifications service.
|
|
12585
12593
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12586
|
-
* @version 241.
|
|
12594
|
+
* @version 241.1.0
|
|
12587
12595
|
*//**
|
|
12588
12596
|
* Constructs a new NotificationsApi.
|
|
12589
12597
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12640,7 +12648,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12640
12648
|
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(){/**
|
|
12641
12649
|
* OAuth service.
|
|
12642
12650
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12643
|
-
* @version 241.
|
|
12651
|
+
* @version 241.1.0
|
|
12644
12652
|
*//**
|
|
12645
12653
|
* Constructs a new OAuthApi.
|
|
12646
12654
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12725,7 +12733,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12725
12733
|
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(){/**
|
|
12726
12734
|
* Objects service.
|
|
12727
12735
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12728
|
-
* @version 241.
|
|
12736
|
+
* @version 241.1.0
|
|
12729
12737
|
*//**
|
|
12730
12738
|
* Constructs a new ObjectsApi.
|
|
12731
12739
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12811,7 +12819,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12811
12819
|
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(){/**
|
|
12812
12820
|
* OperationalEvents service.
|
|
12813
12821
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12814
|
-
* @version 241.
|
|
12822
|
+
* @version 241.1.0
|
|
12815
12823
|
*//**
|
|
12816
12824
|
* Constructs a new OperationalEventsApi.
|
|
12817
12825
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12842,7 +12850,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12842
12850
|
*/},{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(){/**
|
|
12843
12851
|
* Organization service.
|
|
12844
12852
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12845
|
-
* @version 241.
|
|
12853
|
+
* @version 241.1.0
|
|
12846
12854
|
*//**
|
|
12847
12855
|
* Constructs a new OrganizationApi.
|
|
12848
12856
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12947,7 +12955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12947
12955
|
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(){/**
|
|
12948
12956
|
* OrganizationAuthorization service.
|
|
12949
12957
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12950
|
-
* @version 241.
|
|
12958
|
+
* @version 241.1.0
|
|
12951
12959
|
*//**
|
|
12952
12960
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12953
12961
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13281,7 +13289,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13281
13289
|
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(){/**
|
|
13282
13290
|
* Outbound service.
|
|
13283
13291
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13284
|
-
* @version 241.
|
|
13292
|
+
* @version 241.1.0
|
|
13285
13293
|
*//**
|
|
13286
13294
|
* Constructs a new OutboundApi.
|
|
13287
13295
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14438,7 +14446,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14438
14446
|
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(){/**
|
|
14439
14447
|
* Presence service.
|
|
14440
14448
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14441
|
-
* @version 241.
|
|
14449
|
+
* @version 241.1.0
|
|
14442
14450
|
*//**
|
|
14443
14451
|
* Constructs a new PresenceApi.
|
|
14444
14452
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14611,7 +14619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14611
14619
|
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(){/**
|
|
14612
14620
|
* ProcessAutomation service.
|
|
14613
14621
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14614
|
-
* @version 241.
|
|
14622
|
+
* @version 241.1.0
|
|
14615
14623
|
*//**
|
|
14616
14624
|
* Constructs a new ProcessAutomationApi.
|
|
14617
14625
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14674,7 +14682,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14674
14682
|
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(){/**
|
|
14675
14683
|
* Quality service.
|
|
14676
14684
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14677
|
-
* @version 241.
|
|
14685
|
+
* @version 241.1.0
|
|
14678
14686
|
*//**
|
|
14679
14687
|
* Constructs a new QualityApi.
|
|
14680
14688
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15164,7 +15172,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15164
15172
|
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(){/**
|
|
15165
15173
|
* Recording service.
|
|
15166
15174
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15167
|
-
* @version 241.
|
|
15175
|
+
* @version 241.1.0
|
|
15168
15176
|
*//**
|
|
15169
15177
|
* Constructs a new RecordingApi.
|
|
15170
15178
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15563,7 +15571,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15563
15571
|
*/},{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(){/**
|
|
15564
15572
|
* ResponseManagement service.
|
|
15565
15573
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15566
|
-
* @version 241.
|
|
15574
|
+
* @version 241.1.0
|
|
15567
15575
|
*//**
|
|
15568
15576
|
* Constructs a new ResponseManagementApi.
|
|
15569
15577
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15684,7 +15692,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15684
15692
|
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(){/**
|
|
15685
15693
|
* Routing service.
|
|
15686
15694
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15687
|
-
* @version 241.
|
|
15695
|
+
* @version 241.1.0
|
|
15688
15696
|
*//**
|
|
15689
15697
|
* Constructs a new RoutingApi.
|
|
15690
15698
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -16807,7 +16815,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16807
16815
|
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(){/**
|
|
16808
16816
|
* SCIM service.
|
|
16809
16817
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16810
|
-
* @version 241.
|
|
16818
|
+
* @version 241.1.0
|
|
16811
16819
|
*//**
|
|
16812
16820
|
* Constructs a new SCIMApi.
|
|
16813
16821
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -17032,7 +17040,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17032
17040
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
17033
17041
|
* ScreenRecording service.
|
|
17034
17042
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
17035
|
-
* @version 241.
|
|
17043
|
+
* @version 241.1.0
|
|
17036
17044
|
*//**
|
|
17037
17045
|
* Constructs a new ScreenRecordingApi.
|
|
17038
17046
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -17047,7 +17055,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17047
17055
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
17048
17056
|
* Scripts service.
|
|
17049
17057
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
17050
|
-
* @version 241.
|
|
17058
|
+
* @version 241.1.0
|
|
17051
17059
|
*//**
|
|
17052
17060
|
* Constructs a new ScriptsApi.
|
|
17053
17061
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17193,7 +17201,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17193
17201
|
*/},{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(){/**
|
|
17194
17202
|
* Search service.
|
|
17195
17203
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17196
|
-
* @version 241.
|
|
17204
|
+
* @version 241.1.0
|
|
17197
17205
|
*//**
|
|
17198
17206
|
* Constructs a new SearchApi.
|
|
17199
17207
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17352,7 +17360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17352
17360
|
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(){/**
|
|
17353
17361
|
* Settings service.
|
|
17354
17362
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17355
|
-
* @version 241.
|
|
17363
|
+
* @version 241.1.0
|
|
17356
17364
|
*//**
|
|
17357
17365
|
* Constructs a new SettingsApi.
|
|
17358
17366
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17424,7 +17432,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17424
17432
|
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(){/**
|
|
17425
17433
|
* SocialMedia service.
|
|
17426
17434
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17427
|
-
* @version 241.
|
|
17435
|
+
* @version 241.1.0
|
|
17428
17436
|
*//**
|
|
17429
17437
|
* Constructs a new SocialMediaApi.
|
|
17430
17438
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17840,7 +17848,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17840
17848
|
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(){/**
|
|
17841
17849
|
* SpeechTextAnalytics service.
|
|
17842
17850
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17843
|
-
* @version 241.
|
|
17851
|
+
* @version 241.1.0
|
|
17844
17852
|
*//**
|
|
17845
17853
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17846
17854
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18210,7 +18218,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18210
18218
|
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(){/**
|
|
18211
18219
|
* Stations service.
|
|
18212
18220
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18213
|
-
* @version 241.
|
|
18221
|
+
* @version 241.1.0
|
|
18214
18222
|
*//**
|
|
18215
18223
|
* Constructs a new StationsApi.
|
|
18216
18224
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18242,7 +18250,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18242
18250
|
*/},{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(){/**
|
|
18243
18251
|
* Suggest service.
|
|
18244
18252
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18245
|
-
* @version 241.
|
|
18253
|
+
* @version 241.1.0
|
|
18246
18254
|
*//**
|
|
18247
18255
|
* Constructs a new SuggestApi.
|
|
18248
18256
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18282,7 +18290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18282
18290
|
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(){/**
|
|
18283
18291
|
* TaskManagement service.
|
|
18284
18292
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18285
|
-
* @version 241.
|
|
18293
|
+
* @version 241.1.0
|
|
18286
18294
|
*//**
|
|
18287
18295
|
* Constructs a new TaskManagementApi.
|
|
18288
18296
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18790,7 +18798,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18790
18798
|
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(){/**
|
|
18791
18799
|
* Teams service.
|
|
18792
18800
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18793
|
-
* @version 241.
|
|
18801
|
+
* @version 241.1.0
|
|
18794
18802
|
*//**
|
|
18795
18803
|
* Constructs a new TeamsApi.
|
|
18796
18804
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18870,7 +18878,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18870
18878
|
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(){/**
|
|
18871
18879
|
* Telephony service.
|
|
18872
18880
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18873
|
-
* @version 241.
|
|
18881
|
+
* @version 241.1.0
|
|
18874
18882
|
*//**
|
|
18875
18883
|
* Constructs a new TelephonyApi.
|
|
18876
18884
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18941,7 +18949,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18941
18949
|
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(){/**
|
|
18942
18950
|
* TelephonyProvidersEdge service.
|
|
18943
18951
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18944
|
-
* @version 241.
|
|
18952
|
+
* @version 241.1.0
|
|
18945
18953
|
*//**
|
|
18946
18954
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18947
18955
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19789,7 +19797,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19789
19797
|
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(){/**
|
|
19790
19798
|
* Textbots service.
|
|
19791
19799
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19792
|
-
* @version 241.
|
|
19800
|
+
* @version 241.1.0
|
|
19793
19801
|
*//**
|
|
19794
19802
|
* Constructs a new TextbotsApi.
|
|
19795
19803
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19825,7 +19833,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19825
19833
|
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(){/**
|
|
19826
19834
|
* Tokens service.
|
|
19827
19835
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19828
|
-
* @version 241.
|
|
19836
|
+
* @version 241.1.0
|
|
19829
19837
|
*//**
|
|
19830
19838
|
* Constructs a new TokensApi.
|
|
19831
19839
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19859,7 +19867,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19859
19867
|
*/},{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(){/**
|
|
19860
19868
|
* Uploads service.
|
|
19861
19869
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19862
|
-
* @version 241.
|
|
19870
|
+
* @version 241.1.0
|
|
19863
19871
|
*//**
|
|
19864
19872
|
* Constructs a new UploadsApi.
|
|
19865
19873
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19927,7 +19935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19927
19935
|
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(){/**
|
|
19928
19936
|
* Usage service.
|
|
19929
19937
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19930
|
-
* @version 241.
|
|
19938
|
+
* @version 241.1.0
|
|
19931
19939
|
*//**
|
|
19932
19940
|
* Constructs a new UsageApi.
|
|
19933
19941
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20011,7 +20019,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20011
20019
|
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(){/**
|
|
20012
20020
|
* UserRecordings service.
|
|
20013
20021
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20014
|
-
* @version 241.
|
|
20022
|
+
* @version 241.1.0
|
|
20015
20023
|
*//**
|
|
20016
20024
|
* Constructs a new UserRecordingsApi.
|
|
20017
20025
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20059,7 +20067,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
20059
20067
|
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(){/**
|
|
20060
20068
|
* Users service.
|
|
20061
20069
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20062
|
-
* @version 241.
|
|
20070
|
+
* @version 241.1.0
|
|
20063
20071
|
*//**
|
|
20064
20072
|
* Constructs a new UsersApi.
|
|
20065
20073
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20803,7 +20811,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20803
20811
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
20804
20812
|
* UsersRules service.
|
|
20805
20813
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
20806
|
-
* @version 241.
|
|
20814
|
+
* @version 241.1.0
|
|
20807
20815
|
*//**
|
|
20808
20816
|
* Constructs a new UsersRulesApi.
|
|
20809
20817
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -20886,7 +20894,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20886
20894
|
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(){/**
|
|
20887
20895
|
* Utilities service.
|
|
20888
20896
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20889
|
-
* @version 241.
|
|
20897
|
+
* @version 241.1.0
|
|
20890
20898
|
*//**
|
|
20891
20899
|
* Constructs a new UtilitiesApi.
|
|
20892
20900
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20913,7 +20921,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20913
20921
|
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(){/**
|
|
20914
20922
|
* Voicemail service.
|
|
20915
20923
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20916
|
-
* @version 241.
|
|
20924
|
+
* @version 241.1.0
|
|
20917
20925
|
*//**
|
|
20918
20926
|
* Constructs a new VoicemailApi.
|
|
20919
20927
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21075,7 +21083,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21075
21083
|
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(){/**
|
|
21076
21084
|
* WebChat service.
|
|
21077
21085
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21078
|
-
* @version 241.
|
|
21086
|
+
* @version 241.1.0
|
|
21079
21087
|
*//**
|
|
21080
21088
|
* Constructs a new WebChatApi.
|
|
21081
21089
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21222,7 +21230,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21222
21230
|
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(){/**
|
|
21223
21231
|
* WebDeployments service.
|
|
21224
21232
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21225
|
-
* @version 241.
|
|
21233
|
+
* @version 241.1.0
|
|
21226
21234
|
*//**
|
|
21227
21235
|
* Constructs a new WebDeploymentsApi.
|
|
21228
21236
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -21355,7 +21363,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21355
21363
|
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(){/**
|
|
21356
21364
|
* WebMessaging service.
|
|
21357
21365
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
21358
|
-
* @version 241.
|
|
21366
|
+
* @version 241.1.0
|
|
21359
21367
|
*//**
|
|
21360
21368
|
* Constructs a new WebMessagingApi.
|
|
21361
21369
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -21396,7 +21404,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
21396
21404
|
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(){/**
|
|
21397
21405
|
* Widgets service.
|
|
21398
21406
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
21399
|
-
* @version 241.
|
|
21407
|
+
* @version 241.1.0
|
|
21400
21408
|
*//**
|
|
21401
21409
|
* Constructs a new WidgetsApi.
|
|
21402
21410
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -21436,7 +21444,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
21436
21444
|
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(){/**
|
|
21437
21445
|
* WorkforceManagement service.
|
|
21438
21446
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
21439
|
-
* @version 241.
|
|
21447
|
+
* @version 241.1.0
|
|
21440
21448
|
*//**
|
|
21441
21449
|
* Constructs a new WorkforceManagementApi.
|
|
21442
21450
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23408,7 +23416,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23408
23416
|
* </pre>
|
|
23409
23417
|
* </p>
|
|
23410
23418
|
* @module purecloud-platform-client-v2/index
|
|
23411
|
-
* @version 241.
|
|
23419
|
+
* @version 241.1.0
|
|
23412
23420
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23413
23421
|
* The ApiClient constructor.
|
|
23414
23422
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|