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
|
@@ -6519,7 +6519,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6519
6519
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6520
6520
|
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];}}}]);}();/**
|
|
6521
6521
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6522
|
-
* @version 241.
|
|
6522
|
+
* @version 241.1.0
|
|
6523
6523
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6524
6524
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6525
6525
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6585,6 +6585,12 @@ localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(
|
|
|
6585
6585
|
if(this.persistSettings!==true)return;// Ensure we can access local storage
|
|
6586
6586
|
if(!this.hasLocalStorage){return;}// Load current auth data
|
|
6587
6587
|
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;}/**
|
|
6588
|
+
* @description Clears the auth token from local storage, if enabled.
|
|
6589
|
+
*/},{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
|
|
6590
|
+
if(this.persistSettings!==true)return;// Ensure we can access local storage
|
|
6591
|
+
if(!this.hasLocalStorage){return;}// Remove state from data so it's not persisted
|
|
6592
|
+
var tempData=JSON.parse(JSON.stringify(this.authData));delete tempData.state;// Save updated auth data
|
|
6593
|
+
localStorage.setItem("".concat(this.settingsPrefix,"_auth_data"),JSON.stringify(tempData));}catch(e){console.error(e);}}/**
|
|
6588
6594
|
* @description Sets the environment used by the session
|
|
6589
6595
|
* @param {string} environment - (Optional, default "mypurecloud.com") Environment the session use, e.g. mypurecloud.ie, mypurecloud.com.au, etc.
|
|
6590
6596
|
*/},{key:"setEnvironment",value:function setEnvironment(environment){this.config.setEnvironment(environment);}/**
|
|
@@ -6777,6 +6783,8 @@ document.body.scrollTop=scrollV;document.body.scrollLeft=scrollH;}this._saveSett
|
|
|
6777
6783
|
* @description Sets the access token to be used with requests
|
|
6778
6784
|
* @param {string} token - The access token
|
|
6779
6785
|
*/},{key:"setAccessToken",value:function setAccessToken(token){this._saveSettings({accessToken:token});}/**
|
|
6786
|
+
* @description Clears the access token to be used with requests
|
|
6787
|
+
*/},{key:"clearAccessToken",value:function clearAccessToken(){this._clearSettings();}/**
|
|
6780
6788
|
* @description Sets the storage key to use when persisting the access token
|
|
6781
6789
|
* @param {string} storageKey - The storage key name
|
|
6782
6790
|
*/},{key:"setStorageKey",value:function setStorageKey(storageKey){// Set storage key
|
|
@@ -6877,7 +6885,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6877
6885
|
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(){/**
|
|
6878
6886
|
* AIStudio service.
|
|
6879
6887
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6880
|
-
* @version 241.
|
|
6888
|
+
* @version 241.1.0
|
|
6881
6889
|
*//**
|
|
6882
6890
|
* Constructs a new AIStudioApi.
|
|
6883
6891
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7037,7 +7045,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7037
7045
|
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(){/**
|
|
7038
7046
|
* AgentAssistants service.
|
|
7039
7047
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7040
|
-
* @version 241.
|
|
7048
|
+
* @version 241.1.0
|
|
7041
7049
|
*//**
|
|
7042
7050
|
* Constructs a new AgentAssistantsApi.
|
|
7043
7051
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7204,7 +7212,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
7204
7212
|
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(){/**
|
|
7205
7213
|
* AgentCopilot service.
|
|
7206
7214
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7207
|
-
* @version 241.
|
|
7215
|
+
* @version 241.1.0
|
|
7208
7216
|
*//**
|
|
7209
7217
|
* Constructs a new AgentCopilotApi.
|
|
7210
7218
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7231,7 +7239,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7231
7239
|
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(){/**
|
|
7232
7240
|
* AgentUI service.
|
|
7233
7241
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7234
|
-
* @version 241.
|
|
7242
|
+
* @version 241.1.0
|
|
7235
7243
|
*//**
|
|
7236
7244
|
* Constructs a new AgentUIApi.
|
|
7237
7245
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7265,7 +7273,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7265
7273
|
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(){/**
|
|
7266
7274
|
* Alerting service.
|
|
7267
7275
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7268
|
-
* @version 241.
|
|
7276
|
+
* @version 241.1.0
|
|
7269
7277
|
*//**
|
|
7270
7278
|
* Constructs a new AlertingApi.
|
|
7271
7279
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7354,7 +7362,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7354
7362
|
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(){/**
|
|
7355
7363
|
* Analytics service.
|
|
7356
7364
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7357
|
-
* @version 241.
|
|
7365
|
+
* @version 241.1.0
|
|
7358
7366
|
*//**
|
|
7359
7367
|
* Constructs a new AnalyticsApi.
|
|
7360
7368
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8162,7 +8170,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8162
8170
|
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(){/**
|
|
8163
8171
|
* Architect service.
|
|
8164
8172
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8165
|
-
* @version 241.
|
|
8173
|
+
* @version 241.1.0
|
|
8166
8174
|
*//**
|
|
8167
8175
|
* Constructs a new ArchitectApi.
|
|
8168
8176
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9296,7 +9304,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9296
9304
|
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(){/**
|
|
9297
9305
|
* Audit service.
|
|
9298
9306
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9299
|
-
* @version 241.
|
|
9307
|
+
* @version 241.1.0
|
|
9300
9308
|
*//**
|
|
9301
9309
|
* Constructs a new AuditApi.
|
|
9302
9310
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9346,7 +9354,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9346
9354
|
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(){/**
|
|
9347
9355
|
* Authorization service.
|
|
9348
9356
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9349
|
-
* @version 241.
|
|
9357
|
+
* @version 241.1.0
|
|
9350
9358
|
*//**
|
|
9351
9359
|
* Constructs a new AuthorizationApi.
|
|
9352
9360
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9768,7 +9776,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9768
9776
|
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(){/**
|
|
9769
9777
|
* Billing service.
|
|
9770
9778
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9771
|
-
* @version 241.
|
|
9779
|
+
* @version 241.1.0
|
|
9772
9780
|
*//**
|
|
9773
9781
|
* Constructs a new BillingApi.
|
|
9774
9782
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9845,7 +9853,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9845
9853
|
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(){/**
|
|
9846
9854
|
* BusinessRules service.
|
|
9847
9855
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9848
|
-
* @version 241.
|
|
9856
|
+
* @version 241.1.0
|
|
9849
9857
|
*//**
|
|
9850
9858
|
* Constructs a new BusinessRulesApi.
|
|
9851
9859
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -10066,7 +10074,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
10066
10074
|
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(){/**
|
|
10067
10075
|
* CarrierServices service.
|
|
10068
10076
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10069
|
-
* @version 241.
|
|
10077
|
+
* @version 241.1.0
|
|
10070
10078
|
*//**
|
|
10071
10079
|
* Constructs a new CarrierServicesApi.
|
|
10072
10080
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10086,7 +10094,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10086
10094
|
*/},{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(){/**
|
|
10087
10095
|
* Chat service.
|
|
10088
10096
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10089
|
-
* @version 241.
|
|
10097
|
+
* @version 241.1.0
|
|
10090
10098
|
*//**
|
|
10091
10099
|
* Constructs a new ChatApi.
|
|
10092
10100
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10317,7 +10325,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10317
10325
|
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(){/**
|
|
10318
10326
|
* Coaching service.
|
|
10319
10327
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10320
|
-
* @version 241.
|
|
10328
|
+
* @version 241.1.0
|
|
10321
10329
|
*//**
|
|
10322
10330
|
* Constructs a new CoachingApi.
|
|
10323
10331
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10480,7 +10488,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10480
10488
|
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(){/**
|
|
10481
10489
|
* ContentManagement service.
|
|
10482
10490
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10483
|
-
* @version 241.
|
|
10491
|
+
* @version 241.1.0
|
|
10484
10492
|
*//**
|
|
10485
10493
|
* Constructs a new ContentManagementApi.
|
|
10486
10494
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10762,7 +10770,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10762
10770
|
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(){/**
|
|
10763
10771
|
* Conversations service.
|
|
10764
10772
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10765
|
-
* @version 241.
|
|
10773
|
+
* @version 241.1.0
|
|
10766
10774
|
*//**
|
|
10767
10775
|
* Constructs a new ConversationsApi.
|
|
10768
10776
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -12932,7 +12940,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12932
12940
|
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(){/**
|
|
12933
12941
|
* DataExtensions service.
|
|
12934
12942
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12935
|
-
* @version 241.
|
|
12943
|
+
* @version 241.1.0
|
|
12936
12944
|
*//**
|
|
12937
12945
|
* Constructs a new DataExtensionsApi.
|
|
12938
12946
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12953,7 +12961,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12953
12961
|
*/},{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(){/**
|
|
12954
12962
|
* DataPrivacy service.
|
|
12955
12963
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12956
|
-
* @version 241.
|
|
12964
|
+
* @version 241.1.0
|
|
12957
12965
|
*//**
|
|
12958
12966
|
* Constructs a new DataPrivacyApi.
|
|
12959
12967
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12993,7 +13001,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12993
13001
|
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(){/**
|
|
12994
13002
|
* Downloads service.
|
|
12995
13003
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12996
|
-
* @version 241.
|
|
13004
|
+
* @version 241.1.0
|
|
12997
13005
|
*//**
|
|
12998
13006
|
* Constructs a new DownloadsApi.
|
|
12999
13007
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -13012,7 +13020,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13012
13020
|
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(){/**
|
|
13013
13021
|
* Emails service.
|
|
13014
13022
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
13015
|
-
* @version 241.
|
|
13023
|
+
* @version 241.1.0
|
|
13016
13024
|
*//**
|
|
13017
13025
|
* Constructs a new EmailsApi.
|
|
13018
13026
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -13041,7 +13049,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
13041
13049
|
*/},{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(){/**
|
|
13042
13050
|
* EmployeeEngagement service.
|
|
13043
13051
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
13044
|
-
* @version 241.
|
|
13052
|
+
* @version 241.1.0
|
|
13045
13053
|
*//**
|
|
13046
13054
|
* Constructs a new EmployeeEngagementApi.
|
|
13047
13055
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -13089,7 +13097,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13089
13097
|
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(){/**
|
|
13090
13098
|
* Events service.
|
|
13091
13099
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
13092
|
-
* @version 241.
|
|
13100
|
+
* @version 241.1.0
|
|
13093
13101
|
*//**
|
|
13094
13102
|
* Constructs a new EventsApi.
|
|
13095
13103
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -13114,7 +13122,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13114
13122
|
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(){/**
|
|
13115
13123
|
* ExternalContacts service.
|
|
13116
13124
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13117
|
-
* @version 241.
|
|
13125
|
+
* @version 241.1.0
|
|
13118
13126
|
*//**
|
|
13119
13127
|
* Constructs a new ExternalContactsApi.
|
|
13120
13128
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13864,7 +13872,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13864
13872
|
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(){/**
|
|
13865
13873
|
* Fax service.
|
|
13866
13874
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13867
|
-
* @version 241.
|
|
13875
|
+
* @version 241.1.0
|
|
13868
13876
|
*//**
|
|
13869
13877
|
* Constructs a new FaxApi.
|
|
13870
13878
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13913,7 +13921,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13913
13921
|
*/},{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(){/**
|
|
13914
13922
|
* Flows service.
|
|
13915
13923
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13916
|
-
* @version 241.
|
|
13924
|
+
* @version 241.1.0
|
|
13917
13925
|
*//**
|
|
13918
13926
|
* Constructs a new FlowsApi.
|
|
13919
13927
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13967,7 +13975,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13967
13975
|
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(){/**
|
|
13968
13976
|
* Gamification service.
|
|
13969
13977
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13970
|
-
* @version 241.
|
|
13978
|
+
* @version 241.1.0
|
|
13971
13979
|
*//**
|
|
13972
13980
|
* Constructs a new GamificationApi.
|
|
13973
13981
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14638,7 +14646,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14638
14646
|
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(){/**
|
|
14639
14647
|
* GeneralDataProtectionRegulation service.
|
|
14640
14648
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14641
|
-
* @version 241.
|
|
14649
|
+
* @version 241.1.0
|
|
14642
14650
|
*//**
|
|
14643
14651
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14644
14652
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14673,7 +14681,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14673
14681
|
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(){/**
|
|
14674
14682
|
* Geolocation service.
|
|
14675
14683
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14676
|
-
* @version 241.
|
|
14684
|
+
* @version 241.1.0
|
|
14677
14685
|
*//**
|
|
14678
14686
|
* Constructs a new GeolocationApi.
|
|
14679
14687
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14707,7 +14715,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14707
14715
|
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(){/**
|
|
14708
14716
|
* Greetings service.
|
|
14709
14717
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14710
|
-
* @version 241.
|
|
14718
|
+
* @version 241.1.0
|
|
14711
14719
|
*//**
|
|
14712
14720
|
* Constructs a new GreetingsApi.
|
|
14713
14721
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14835,7 +14843,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14835
14843
|
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(){/**
|
|
14836
14844
|
* Groups service.
|
|
14837
14845
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14838
|
-
* @version 241.
|
|
14846
|
+
* @version 241.1.0
|
|
14839
14847
|
*//**
|
|
14840
14848
|
* Constructs a new GroupsApi.
|
|
14841
14849
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14968,7 +14976,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14968
14976
|
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(){/**
|
|
14969
14977
|
* IdentityProvider service.
|
|
14970
14978
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14971
|
-
* @version 241.
|
|
14979
|
+
* @version 241.1.0
|
|
14972
14980
|
*//**
|
|
14973
14981
|
* Constructs a new IdentityProviderApi.
|
|
14974
14982
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -15124,7 +15132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15124
15132
|
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(){/**
|
|
15125
15133
|
* InfrastructureAsCode service.
|
|
15126
15134
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
15127
|
-
* @version 241.
|
|
15135
|
+
* @version 241.1.0
|
|
15128
15136
|
*//**
|
|
15129
15137
|
* Constructs a new InfrastructureAsCodeApi.
|
|
15130
15138
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15178,7 +15186,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15178
15186
|
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(){/**
|
|
15179
15187
|
* Integrations service.
|
|
15180
15188
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15181
|
-
* @version 241.
|
|
15189
|
+
* @version 241.1.0
|
|
15182
15190
|
*//**
|
|
15183
15191
|
* Constructs a new IntegrationsApi.
|
|
15184
15192
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -15868,7 +15876,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15868
15876
|
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(){/**
|
|
15869
15877
|
* Journey service.
|
|
15870
15878
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15871
|
-
* @version 241.
|
|
15879
|
+
* @version 241.1.0
|
|
15872
15880
|
*//**
|
|
15873
15881
|
* Constructs a new JourneyApi.
|
|
15874
15882
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16377,7 +16385,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16377
16385
|
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(){/**
|
|
16378
16386
|
* Knowledge service.
|
|
16379
16387
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16380
|
-
* @version 241.
|
|
16388
|
+
* @version 241.1.0
|
|
16381
16389
|
*//**
|
|
16382
16390
|
* Constructs a new KnowledgeApi.
|
|
16383
16391
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17205,7 +17213,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17205
17213
|
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(){/**
|
|
17206
17214
|
* LanguageUnderstanding service.
|
|
17207
17215
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17208
|
-
* @version 241.
|
|
17216
|
+
* @version 241.1.0
|
|
17209
17217
|
*//**
|
|
17210
17218
|
* Constructs a new LanguageUnderstandingApi.
|
|
17211
17219
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17514,7 +17522,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17514
17522
|
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(){/**
|
|
17515
17523
|
* Languages service.
|
|
17516
17524
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17517
|
-
* @version 241.
|
|
17525
|
+
* @version 241.1.0
|
|
17518
17526
|
*//**
|
|
17519
17527
|
* Constructs a new LanguagesApi.
|
|
17520
17528
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17569,7 +17577,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17569
17577
|
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(){/**
|
|
17570
17578
|
* Learning service.
|
|
17571
17579
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17572
|
-
* @version 241.
|
|
17580
|
+
* @version 241.1.0
|
|
17573
17581
|
*//**
|
|
17574
17582
|
* Constructs a new LearningApi.
|
|
17575
17583
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17858,7 +17866,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17858
17866
|
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(){/**
|
|
17859
17867
|
* License service.
|
|
17860
17868
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17861
|
-
* @version 241.
|
|
17869
|
+
* @version 241.1.0
|
|
17862
17870
|
*//**
|
|
17863
17871
|
* Constructs a new LicenseApi.
|
|
17864
17872
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17912,7 +17920,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17912
17920
|
*/},{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(){/**
|
|
17913
17921
|
* Locations service.
|
|
17914
17922
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17915
|
-
* @version 241.
|
|
17923
|
+
* @version 241.1.0
|
|
17916
17924
|
*//**
|
|
17917
17925
|
* Constructs a new LocationsApi.
|
|
17918
17926
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17971,7 +17979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17971
17979
|
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(){/**
|
|
17972
17980
|
* LogCapture service.
|
|
17973
17981
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17974
|
-
* @version 241.
|
|
17982
|
+
* @version 241.1.0
|
|
17975
17983
|
*//**
|
|
17976
17984
|
* Constructs a new LogCaptureApi.
|
|
17977
17985
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -18020,7 +18028,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18020
18028
|
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(){/**
|
|
18021
18029
|
* Messaging service.
|
|
18022
18030
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
18023
|
-
* @version 241.
|
|
18031
|
+
* @version 241.1.0
|
|
18024
18032
|
*//**
|
|
18025
18033
|
* Constructs a new MessagingApi.
|
|
18026
18034
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18110,7 +18118,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18110
18118
|
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(){/**
|
|
18111
18119
|
* MobileDevices service.
|
|
18112
18120
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18113
|
-
* @version 241.
|
|
18121
|
+
* @version 241.1.0
|
|
18114
18122
|
*//**
|
|
18115
18123
|
* Constructs a new MobileDevicesApi.
|
|
18116
18124
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18149,7 +18157,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18149
18157
|
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(){/**
|
|
18150
18158
|
* Notifications service.
|
|
18151
18159
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18152
|
-
* @version 241.
|
|
18160
|
+
* @version 241.1.0
|
|
18153
18161
|
*//**
|
|
18154
18162
|
* Constructs a new NotificationsApi.
|
|
18155
18163
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18206,7 +18214,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18206
18214
|
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(){/**
|
|
18207
18215
|
* OAuth service.
|
|
18208
18216
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18209
|
-
* @version 241.
|
|
18217
|
+
* @version 241.1.0
|
|
18210
18218
|
*//**
|
|
18211
18219
|
* Constructs a new OAuthApi.
|
|
18212
18220
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18291,7 +18299,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18291
18299
|
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(){/**
|
|
18292
18300
|
* Objects service.
|
|
18293
18301
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18294
|
-
* @version 241.
|
|
18302
|
+
* @version 241.1.0
|
|
18295
18303
|
*//**
|
|
18296
18304
|
* Constructs a new ObjectsApi.
|
|
18297
18305
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18377,7 +18385,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18377
18385
|
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(){/**
|
|
18378
18386
|
* OperationalEvents service.
|
|
18379
18387
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18380
|
-
* @version 241.
|
|
18388
|
+
* @version 241.1.0
|
|
18381
18389
|
*//**
|
|
18382
18390
|
* Constructs a new OperationalEventsApi.
|
|
18383
18391
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18408,7 +18416,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18408
18416
|
*/},{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(){/**
|
|
18409
18417
|
* Organization service.
|
|
18410
18418
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18411
|
-
* @version 241.
|
|
18419
|
+
* @version 241.1.0
|
|
18412
18420
|
*//**
|
|
18413
18421
|
* Constructs a new OrganizationApi.
|
|
18414
18422
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18513,7 +18521,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18513
18521
|
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(){/**
|
|
18514
18522
|
* OrganizationAuthorization service.
|
|
18515
18523
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18516
|
-
* @version 241.
|
|
18524
|
+
* @version 241.1.0
|
|
18517
18525
|
*//**
|
|
18518
18526
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18519
18527
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18847,7 +18855,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18847
18855
|
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(){/**
|
|
18848
18856
|
* Outbound service.
|
|
18849
18857
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18850
|
-
* @version 241.
|
|
18858
|
+
* @version 241.1.0
|
|
18851
18859
|
*//**
|
|
18852
18860
|
* Constructs a new OutboundApi.
|
|
18853
18861
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -20004,7 +20012,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20004
20012
|
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(){/**
|
|
20005
20013
|
* Presence service.
|
|
20006
20014
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
20007
|
-
* @version 241.
|
|
20015
|
+
* @version 241.1.0
|
|
20008
20016
|
*//**
|
|
20009
20017
|
* Constructs a new PresenceApi.
|
|
20010
20018
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20177,7 +20185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20177
20185
|
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(){/**
|
|
20178
20186
|
* ProcessAutomation service.
|
|
20179
20187
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20180
|
-
* @version 241.
|
|
20188
|
+
* @version 241.1.0
|
|
20181
20189
|
*//**
|
|
20182
20190
|
* Constructs a new ProcessAutomationApi.
|
|
20183
20191
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20240,7 +20248,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20240
20248
|
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(){/**
|
|
20241
20249
|
* Quality service.
|
|
20242
20250
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20243
|
-
* @version 241.
|
|
20251
|
+
* @version 241.1.0
|
|
20244
20252
|
*//**
|
|
20245
20253
|
* Constructs a new QualityApi.
|
|
20246
20254
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20730,7 +20738,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20730
20738
|
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(){/**
|
|
20731
20739
|
* Recording service.
|
|
20732
20740
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20733
|
-
* @version 241.
|
|
20741
|
+
* @version 241.1.0
|
|
20734
20742
|
*//**
|
|
20735
20743
|
* Constructs a new RecordingApi.
|
|
20736
20744
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21129,7 +21137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21129
21137
|
*/},{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(){/**
|
|
21130
21138
|
* ResponseManagement service.
|
|
21131
21139
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21132
|
-
* @version 241.
|
|
21140
|
+
* @version 241.1.0
|
|
21133
21141
|
*//**
|
|
21134
21142
|
* Constructs a new ResponseManagementApi.
|
|
21135
21143
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21250,7 +21258,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21250
21258
|
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(){/**
|
|
21251
21259
|
* Routing service.
|
|
21252
21260
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21253
|
-
* @version 241.
|
|
21261
|
+
* @version 241.1.0
|
|
21254
21262
|
*//**
|
|
21255
21263
|
* Constructs a new RoutingApi.
|
|
21256
21264
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -22373,7 +22381,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22373
22381
|
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(){/**
|
|
22374
22382
|
* SCIM service.
|
|
22375
22383
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22376
|
-
* @version 241.
|
|
22384
|
+
* @version 241.1.0
|
|
22377
22385
|
*//**
|
|
22378
22386
|
* Constructs a new SCIMApi.
|
|
22379
22387
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22598,7 +22606,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22598
22606
|
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(){/**
|
|
22599
22607
|
* ScreenRecording service.
|
|
22600
22608
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22601
|
-
* @version 241.
|
|
22609
|
+
* @version 241.1.0
|
|
22602
22610
|
*//**
|
|
22603
22611
|
* Constructs a new ScreenRecordingApi.
|
|
22604
22612
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22613,7 +22621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22613
22621
|
*/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(){/**
|
|
22614
22622
|
* Scripts service.
|
|
22615
22623
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22616
|
-
* @version 241.
|
|
22624
|
+
* @version 241.1.0
|
|
22617
22625
|
*//**
|
|
22618
22626
|
* Constructs a new ScriptsApi.
|
|
22619
22627
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22759,7 +22767,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22759
22767
|
*/},{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(){/**
|
|
22760
22768
|
* Search service.
|
|
22761
22769
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22762
|
-
* @version 241.
|
|
22770
|
+
* @version 241.1.0
|
|
22763
22771
|
*//**
|
|
22764
22772
|
* Constructs a new SearchApi.
|
|
22765
22773
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22918,7 +22926,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22918
22926
|
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(){/**
|
|
22919
22927
|
* Settings service.
|
|
22920
22928
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22921
|
-
* @version 241.
|
|
22929
|
+
* @version 241.1.0
|
|
22922
22930
|
*//**
|
|
22923
22931
|
* Constructs a new SettingsApi.
|
|
22924
22932
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22990,7 +22998,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22990
22998
|
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(){/**
|
|
22991
22999
|
* SocialMedia service.
|
|
22992
23000
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22993
|
-
* @version 241.
|
|
23001
|
+
* @version 241.1.0
|
|
22994
23002
|
*//**
|
|
22995
23003
|
* Constructs a new SocialMediaApi.
|
|
22996
23004
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23406,7 +23414,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23406
23414
|
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(){/**
|
|
23407
23415
|
* SpeechTextAnalytics service.
|
|
23408
23416
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23409
|
-
* @version 241.
|
|
23417
|
+
* @version 241.1.0
|
|
23410
23418
|
*//**
|
|
23411
23419
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23412
23420
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23776,7 +23784,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23776
23784
|
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(){/**
|
|
23777
23785
|
* Stations service.
|
|
23778
23786
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23779
|
-
* @version 241.
|
|
23787
|
+
* @version 241.1.0
|
|
23780
23788
|
*//**
|
|
23781
23789
|
* Constructs a new StationsApi.
|
|
23782
23790
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23808,7 +23816,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23808
23816
|
*/},{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(){/**
|
|
23809
23817
|
* Suggest service.
|
|
23810
23818
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23811
|
-
* @version 241.
|
|
23819
|
+
* @version 241.1.0
|
|
23812
23820
|
*//**
|
|
23813
23821
|
* Constructs a new SuggestApi.
|
|
23814
23822
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23848,7 +23856,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23848
23856
|
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(){/**
|
|
23849
23857
|
* TaskManagement service.
|
|
23850
23858
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23851
|
-
* @version 241.
|
|
23859
|
+
* @version 241.1.0
|
|
23852
23860
|
*//**
|
|
23853
23861
|
* Constructs a new TaskManagementApi.
|
|
23854
23862
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24356,7 +24364,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24356
24364
|
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(){/**
|
|
24357
24365
|
* Teams service.
|
|
24358
24366
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24359
|
-
* @version 241.
|
|
24367
|
+
* @version 241.1.0
|
|
24360
24368
|
*//**
|
|
24361
24369
|
* Constructs a new TeamsApi.
|
|
24362
24370
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24436,7 +24444,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24436
24444
|
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(){/**
|
|
24437
24445
|
* Telephony service.
|
|
24438
24446
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24439
|
-
* @version 241.
|
|
24447
|
+
* @version 241.1.0
|
|
24440
24448
|
*//**
|
|
24441
24449
|
* Constructs a new TelephonyApi.
|
|
24442
24450
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24507,7 +24515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24507
24515
|
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(){/**
|
|
24508
24516
|
* TelephonyProvidersEdge service.
|
|
24509
24517
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24510
|
-
* @version 241.
|
|
24518
|
+
* @version 241.1.0
|
|
24511
24519
|
*//**
|
|
24512
24520
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24513
24521
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25355,7 +25363,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25355
25363
|
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(){/**
|
|
25356
25364
|
* Textbots service.
|
|
25357
25365
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25358
|
-
* @version 241.
|
|
25366
|
+
* @version 241.1.0
|
|
25359
25367
|
*//**
|
|
25360
25368
|
* Constructs a new TextbotsApi.
|
|
25361
25369
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25391,7 +25399,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25391
25399
|
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(){/**
|
|
25392
25400
|
* Tokens service.
|
|
25393
25401
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25394
|
-
* @version 241.
|
|
25402
|
+
* @version 241.1.0
|
|
25395
25403
|
*//**
|
|
25396
25404
|
* Constructs a new TokensApi.
|
|
25397
25405
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25425,7 +25433,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25425
25433
|
*/},{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(){/**
|
|
25426
25434
|
* Uploads service.
|
|
25427
25435
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25428
|
-
* @version 241.
|
|
25436
|
+
* @version 241.1.0
|
|
25429
25437
|
*//**
|
|
25430
25438
|
* Constructs a new UploadsApi.
|
|
25431
25439
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25493,7 +25501,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25493
25501
|
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(){/**
|
|
25494
25502
|
* Usage service.
|
|
25495
25503
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25496
|
-
* @version 241.
|
|
25504
|
+
* @version 241.1.0
|
|
25497
25505
|
*//**
|
|
25498
25506
|
* Constructs a new UsageApi.
|
|
25499
25507
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25577,7 +25585,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25577
25585
|
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(){/**
|
|
25578
25586
|
* UserRecordings service.
|
|
25579
25587
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25580
|
-
* @version 241.
|
|
25588
|
+
* @version 241.1.0
|
|
25581
25589
|
*//**
|
|
25582
25590
|
* Constructs a new UserRecordingsApi.
|
|
25583
25591
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25625,7 +25633,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25625
25633
|
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(){/**
|
|
25626
25634
|
* Users service.
|
|
25627
25635
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25628
|
-
* @version 241.
|
|
25636
|
+
* @version 241.1.0
|
|
25629
25637
|
*//**
|
|
25630
25638
|
* Constructs a new UsersApi.
|
|
25631
25639
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26369,7 +26377,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
26369
26377
|
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(){/**
|
|
26370
26378
|
* UsersRules service.
|
|
26371
26379
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
26372
|
-
* @version 241.
|
|
26380
|
+
* @version 241.1.0
|
|
26373
26381
|
*//**
|
|
26374
26382
|
* Constructs a new UsersRulesApi.
|
|
26375
26383
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -26452,7 +26460,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26452
26460
|
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(){/**
|
|
26453
26461
|
* Utilities service.
|
|
26454
26462
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26455
|
-
* @version 241.
|
|
26463
|
+
* @version 241.1.0
|
|
26456
26464
|
*//**
|
|
26457
26465
|
* Constructs a new UtilitiesApi.
|
|
26458
26466
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26479,7 +26487,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26479
26487
|
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(){/**
|
|
26480
26488
|
* Voicemail service.
|
|
26481
26489
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26482
|
-
* @version 241.
|
|
26490
|
+
* @version 241.1.0
|
|
26483
26491
|
*//**
|
|
26484
26492
|
* Constructs a new VoicemailApi.
|
|
26485
26493
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -26641,7 +26649,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26641
26649
|
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(){/**
|
|
26642
26650
|
* WebChat service.
|
|
26643
26651
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
26644
|
-
* @version 241.
|
|
26652
|
+
* @version 241.1.0
|
|
26645
26653
|
*//**
|
|
26646
26654
|
* Constructs a new WebChatApi.
|
|
26647
26655
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26788,7 +26796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26788
26796
|
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(){/**
|
|
26789
26797
|
* WebDeployments service.
|
|
26790
26798
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26791
|
-
* @version 241.
|
|
26799
|
+
* @version 241.1.0
|
|
26792
26800
|
*//**
|
|
26793
26801
|
* Constructs a new WebDeploymentsApi.
|
|
26794
26802
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26921,7 +26929,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26921
26929
|
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(){/**
|
|
26922
26930
|
* WebMessaging service.
|
|
26923
26931
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26924
|
-
* @version 241.
|
|
26932
|
+
* @version 241.1.0
|
|
26925
26933
|
*//**
|
|
26926
26934
|
* Constructs a new WebMessagingApi.
|
|
26927
26935
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26962,7 +26970,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
26962
26970
|
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(){/**
|
|
26963
26971
|
* Widgets service.
|
|
26964
26972
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26965
|
-
* @version 241.
|
|
26973
|
+
* @version 241.1.0
|
|
26966
26974
|
*//**
|
|
26967
26975
|
* Constructs a new WidgetsApi.
|
|
26968
26976
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -27002,7 +27010,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27002
27010
|
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(){/**
|
|
27003
27011
|
* WorkforceManagement service.
|
|
27004
27012
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
27005
|
-
* @version 241.
|
|
27013
|
+
* @version 241.1.0
|
|
27006
27014
|
*//**
|
|
27007
27015
|
* Constructs a new WorkforceManagementApi.
|
|
27008
27016
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28974,7 +28982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28974
28982
|
* </pre>
|
|
28975
28983
|
* </p>
|
|
28976
28984
|
* @module purecloud-platform-client-v2/index
|
|
28977
|
-
* @version 241.
|
|
28985
|
+
* @version 241.1.0
|
|
28978
28986
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28979
28987
|
* The ApiClient constructor.
|
|
28980
28988
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|