purecloud-platform-client-v2 195.0.0 → 197.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +678 -119
- package/dist/web-amd/purecloud-platform-client-v2.js +678 -119
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +244 -101
- package/dist/web-cjs/purecloud-platform-client-v2.js +249 -102
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +521 -316
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +136 -0
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +129 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +156 -0
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +8 -4
- 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 +31 -2
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +31 -35
- 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 +2 -4
- 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 +3 -2
- 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 +111 -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/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 +13 -1
|
@@ -3792,7 +3792,10 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
3792
3792
|
if (typeof window !== 'undefined' && obj === window) {
|
|
3793
3793
|
return '{ [object Window] }';
|
|
3794
3794
|
}
|
|
3795
|
-
if (
|
|
3795
|
+
if (
|
|
3796
|
+
(typeof globalThis !== 'undefined' && obj === globalThis)
|
|
3797
|
+
|| (typeof global !== 'undefined' && obj === global)
|
|
3798
|
+
) {
|
|
3796
3799
|
return '{ [object globalThis] }';
|
|
3797
3800
|
}
|
|
3798
3801
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
@@ -4168,6 +4171,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4168
4171
|
var obj = { __proto__: null };
|
|
4169
4172
|
|
|
4170
4173
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
4174
|
+
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4171
4175
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
4172
4176
|
var parts = cleanStr.split(options.delimiter, limit);
|
|
4173
4177
|
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
|
@@ -6054,7 +6058,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6054
6058
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6055
6059
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6056
6060
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6057
|
-
* @version
|
|
6061
|
+
* @version 197.0.0
|
|
6058
6062
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6059
6063
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6060
6064
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6363,10 +6367,44 @@ var formData=new FormData();formData.set(key,_formParams[key]);request.data=form
|
|
|
6363
6367
|
var data=that.returnExtended===true?{status:response.status,statusText:response.statusText,headers:response.headers,body:response.data,text:response.text,error:null}:response.data?response.data:response.text;// Debug logging
|
|
6364
6368
|
that.config.logger.log('trace',response.status,httpMethod,url,request.headers,response.headers,bodyParam,undefined);that.config.logger.log('debug',response.status,httpMethod,url,request.headers,undefined,bodyParam,undefined);// Resolve promise
|
|
6365
6369
|
resolve(data);})["catch"](function(error){var data=error;if(error.response&&error.response.status==401&&that.config.refresh_access_token&&that.authData.refreshToken!==""){that._handleExpiredAccessToken().then(function(){sendRequest(that);})["catch"](function(err){reject(err);});}else if(error.response){// Log error
|
|
6366
|
-
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
|
|
6370
|
+
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 AgentUIApi=/*#__PURE__*/function(){/**
|
|
6371
|
+
* AgentUI service.
|
|
6372
|
+
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6373
|
+
* @version 197.0.0
|
|
6374
|
+
*/ /**
|
|
6375
|
+
* Constructs a new AgentUIApi.
|
|
6376
|
+
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
6377
|
+
* @class
|
|
6378
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
6379
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
6380
|
+
*/function AgentUIApi(apiClient){_classCallCheck(this,AgentUIApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
6381
|
+
* Delete agent auto answer settings
|
|
6382
|
+
*
|
|
6383
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
6384
|
+
*/return _createClass(AgentUIApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
6385
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6386
|
+
* Get agent auto answer settings
|
|
6387
|
+
*
|
|
6388
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
6389
|
+
*/},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
6390
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6391
|
+
* Update agent auto answer settings
|
|
6392
|
+
*
|
|
6393
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
6394
|
+
* @param {Object} body AutoAnswerSettings
|
|
6395
|
+
*/},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
6396
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
6397
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6398
|
+
* Set agent auto answer settings
|
|
6399
|
+
*
|
|
6400
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
6401
|
+
* @param {Object} body AutoAnswerSettings
|
|
6402
|
+
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
6403
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
6404
|
+
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(){/**
|
|
6367
6405
|
* Alerting service.
|
|
6368
6406
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6369
|
-
* @version
|
|
6407
|
+
* @version 197.0.0
|
|
6370
6408
|
*/ /**
|
|
6371
6409
|
* Constructs a new AlertingApi.
|
|
6372
6410
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6523,7 +6561,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6523
6561
|
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(){/**
|
|
6524
6562
|
* Analytics service.
|
|
6525
6563
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6526
|
-
* @version
|
|
6564
|
+
* @version 197.0.0
|
|
6527
6565
|
*/ /**
|
|
6528
6566
|
* Constructs a new AnalyticsApi.
|
|
6529
6567
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7144,7 +7182,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7144
7182
|
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(){/**
|
|
7145
7183
|
* Architect service.
|
|
7146
7184
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7147
|
-
* @version
|
|
7185
|
+
* @version 197.0.0
|
|
7148
7186
|
*/ /**
|
|
7149
7187
|
* Constructs a new ArchitectApi.
|
|
7150
7188
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8260,7 +8298,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8260
8298
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8261
8299
|
* Audit service.
|
|
8262
8300
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8263
|
-
* @version
|
|
8301
|
+
* @version 197.0.0
|
|
8264
8302
|
*/ /**
|
|
8265
8303
|
* Constructs a new AuditApi.
|
|
8266
8304
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8309,7 +8347,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8309
8347
|
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(){/**
|
|
8310
8348
|
* Authorization service.
|
|
8311
8349
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8312
|
-
* @version
|
|
8350
|
+
* @version 197.0.0
|
|
8313
8351
|
*/ /**
|
|
8314
8352
|
* Constructs a new AuthorizationApi.
|
|
8315
8353
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8624,7 +8662,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8624
8662
|
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(){/**
|
|
8625
8663
|
* Billing service.
|
|
8626
8664
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8627
|
-
* @version
|
|
8665
|
+
* @version 197.0.0
|
|
8628
8666
|
*/ /**
|
|
8629
8667
|
* Constructs a new BillingApi.
|
|
8630
8668
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8648,7 +8686,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8648
8686
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8649
8687
|
* CarrierServices service.
|
|
8650
8688
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8651
|
-
* @version
|
|
8689
|
+
* @version 197.0.0
|
|
8652
8690
|
*/ /**
|
|
8653
8691
|
* Constructs a new CarrierServicesApi.
|
|
8654
8692
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8668,7 +8706,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8668
8706
|
*/},{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(){/**
|
|
8669
8707
|
* Chat service.
|
|
8670
8708
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8671
|
-
* @version
|
|
8709
|
+
* @version 197.0.0
|
|
8672
8710
|
*/ /**
|
|
8673
8711
|
* Constructs a new ChatApi.
|
|
8674
8712
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8893,7 +8931,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8893
8931
|
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(){/**
|
|
8894
8932
|
* Coaching service.
|
|
8895
8933
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8896
|
-
* @version
|
|
8934
|
+
* @version 197.0.0
|
|
8897
8935
|
*/ /**
|
|
8898
8936
|
* Constructs a new CoachingApi.
|
|
8899
8937
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9046,7 +9084,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9046
9084
|
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(){/**
|
|
9047
9085
|
* ContentManagement service.
|
|
9048
9086
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9049
|
-
* @version
|
|
9087
|
+
* @version 197.0.0
|
|
9050
9088
|
*/ /**
|
|
9051
9089
|
* Constructs a new ContentManagementApi.
|
|
9052
9090
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9329,7 +9367,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9329
9367
|
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(){/**
|
|
9330
9368
|
* Conversations service.
|
|
9331
9369
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9332
|
-
* @version
|
|
9370
|
+
* @version 197.0.0
|
|
9333
9371
|
*/ /**
|
|
9334
9372
|
* Constructs a new ConversationsApi.
|
|
9335
9373
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9492,6 +9530,24 @@ if(participantId===undefined||participantId===null){throw'Missing the required p
|
|
|
9492
9530
|
* @param {String} conversationId conversation ID
|
|
9493
9531
|
*/},{key:"getConversationSecureattributes",value:function getConversationSecureattributes(conversationId){// verify the required parameter 'conversationId' is set
|
|
9494
9532
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSecureattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/secureattributes','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9533
|
+
* Get Suggestion.
|
|
9534
|
+
*
|
|
9535
|
+
* @param {String} conversationId Conversation ID
|
|
9536
|
+
* @param {String} suggestionId Suggestion ID
|
|
9537
|
+
*/},{key:"getConversationSuggestion",value:function getConversationSuggestion(conversationId,suggestionId){// verify the required parameter 'conversationId' is set
|
|
9538
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestion';}// verify the required parameter 'suggestionId' is set
|
|
9539
|
+
if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling getConversationSuggestion';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}','GET',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9540
|
+
* Get all suggestions for a conversation.
|
|
9541
|
+
*
|
|
9542
|
+
* @param {String} conversationId Conversation ID
|
|
9543
|
+
* @param {Object} opts Optional parameters
|
|
9544
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
9545
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
9546
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
9547
|
+
* @param {Object} opts.type Suggestion type to filter by.
|
|
9548
|
+
* @param {Object} opts.state Suggestion state to filter Copilot suggestions.
|
|
9549
|
+
*/},{key:"getConversationSuggestions",value:function getConversationSuggestions(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
9550
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSuggestions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions','GET',{'conversationId':conversationId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'type':opts['type'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9495
9551
|
* Get active conversations for the logged in user
|
|
9496
9552
|
*
|
|
9497
9553
|
* @param {Object} opts Optional parameters
|
|
@@ -10427,6 +10483,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10427
10483
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10428
10484
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
10429
10485
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10486
|
+
* Save an engagement on the suggestion.
|
|
10487
|
+
*
|
|
10488
|
+
* @param {String} conversationId Conversation ID
|
|
10489
|
+
* @param {String} suggestionId Suggestion ID
|
|
10490
|
+
* @param {Object} body
|
|
10491
|
+
*/},{key:"postConversationSuggestionEngagement",value:function postConversationSuggestionEngagement(conversationId,suggestionId,body){// verify the required parameter 'conversationId' is set
|
|
10492
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'suggestionId' is set
|
|
10493
|
+
if(suggestionId===undefined||suggestionId===null){throw'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';}// verify the required parameter 'body' is set
|
|
10494
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionEngagement';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/{suggestionId}/engagement','POST',{'conversationId':conversationId,'suggestionId':suggestionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10495
|
+
* Suggestion feedback.
|
|
10496
|
+
*
|
|
10497
|
+
* @param {String} conversationId Conversation ID
|
|
10498
|
+
* @param {Object} body SuggestionFeedback
|
|
10499
|
+
*/},{key:"postConversationSuggestionsFeedback",value:function postConversationSuggestionsFeedback(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10500
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';}// verify the required parameter 'body' is set
|
|
10501
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationSuggestionsFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/suggestions/feedback','POST',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10430
10502
|
* Submit feedback for the summary.
|
|
10431
10503
|
*
|
|
10432
10504
|
* @param {String} conversationId Conversation ID
|
|
@@ -11009,7 +11081,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11009
11081
|
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(){/**
|
|
11010
11082
|
* DataExtensions service.
|
|
11011
11083
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11012
|
-
* @version
|
|
11084
|
+
* @version 197.0.0
|
|
11013
11085
|
*/ /**
|
|
11014
11086
|
* Constructs a new DataExtensionsApi.
|
|
11015
11087
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11030,7 +11102,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11030
11102
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11031
11103
|
* Downloads service.
|
|
11032
11104
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11033
|
-
* @version
|
|
11105
|
+
* @version 197.0.0
|
|
11034
11106
|
*/ /**
|
|
11035
11107
|
* Constructs a new DownloadsApi.
|
|
11036
11108
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11049,7 +11121,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11049
11121
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11050
11122
|
* Emails service.
|
|
11051
11123
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11052
|
-
* @version
|
|
11124
|
+
* @version 197.0.0
|
|
11053
11125
|
*/ /**
|
|
11054
11126
|
* Constructs a new EmailsApi.
|
|
11055
11127
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11064,10 +11136,48 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11064
11136
|
*
|
|
11065
11137
|
* @param {Object} opts Optional parameters
|
|
11066
11138
|
* @param {Object} opts.body
|
|
11067
|
-
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
11139
|
+
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11140
|
+
* EmployeeEngagement service.
|
|
11141
|
+
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11142
|
+
* @version 197.0.0
|
|
11143
|
+
*/ /**
|
|
11144
|
+
* Constructs a new EmployeeEngagementApi.
|
|
11145
|
+
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11146
|
+
* @class
|
|
11147
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11148
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11149
|
+
*/function EmployeeEngagementApi(apiClient){_classCallCheck(this,EmployeeEngagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11150
|
+
* Deletes a celebration
|
|
11151
|
+
*
|
|
11152
|
+
* @param {String} celebrationId The ID of the celebration
|
|
11153
|
+
*/return _createClass(EmployeeEngagementApi,[{key:"deleteEmployeeengagementCelebration",value:function deleteEmployeeengagementCelebration(celebrationId){// verify the required parameter 'celebrationId' is set
|
|
11154
|
+
if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','DELETE',{'celebrationId':celebrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11155
|
+
* Get all celebrations
|
|
11156
|
+
*
|
|
11157
|
+
* @param {Object} opts Optional parameters
|
|
11158
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
11159
|
+
* @param {Number} opts.pageSize (default to 25)
|
|
11160
|
+
*/},{key:"getEmployeeengagementCelebrations",value:function getEmployeeengagementCelebrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/employeeengagement/celebrations','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11161
|
+
* Gets a single recognition
|
|
11162
|
+
*
|
|
11163
|
+
* @param {String} recognitionId The Recognition ID
|
|
11164
|
+
*/},{key:"getEmployeeengagementRecognition",value:function getEmployeeengagementRecognition(recognitionId){// verify the required parameter 'recognitionId' is set
|
|
11165
|
+
if(recognitionId===undefined||recognitionId===null){throw'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions/{recognitionId}','GET',{'recognitionId':recognitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11166
|
+
* Set a state for a celebration
|
|
11167
|
+
*
|
|
11168
|
+
* @param {String} celebrationId The ID of the celebration
|
|
11169
|
+
* @param {Object} body Patch Celebration state
|
|
11170
|
+
*/},{key:"patchEmployeeengagementCelebration",value:function patchEmployeeengagementCelebration(celebrationId,body){// verify the required parameter 'celebrationId' is set
|
|
11171
|
+
if(celebrationId===undefined||celebrationId===null){throw'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';}// verify the required parameter 'body' is set
|
|
11172
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchEmployeeengagementCelebration';}return this.apiClient.callApi('/api/v2/employeeengagement/celebrations/{celebrationId}','PATCH',{'celebrationId':celebrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11173
|
+
* Creates a recognition
|
|
11174
|
+
*
|
|
11175
|
+
* @param {Object} body Create Recognition
|
|
11176
|
+
*/},{key:"postEmployeeengagementRecognitions",value:function postEmployeeengagementRecognitions(body){// verify the required parameter 'body' is set
|
|
11177
|
+
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(){/**
|
|
11068
11178
|
* Events service.
|
|
11069
11179
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11070
|
-
* @version
|
|
11180
|
+
* @version 197.0.0
|
|
11071
11181
|
*/ /**
|
|
11072
11182
|
* Constructs a new EventsApi.
|
|
11073
11183
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11092,7 +11202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11092
11202
|
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(){/**
|
|
11093
11203
|
* ExternalContacts service.
|
|
11094
11204
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11095
|
-
* @version
|
|
11205
|
+
* @version 197.0.0
|
|
11096
11206
|
*/ /**
|
|
11097
11207
|
* Constructs a new ExternalContactsApi.
|
|
11098
11208
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11143,7 +11253,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11143
11253
|
*
|
|
11144
11254
|
* @param {String} contactId ExternalContact ID
|
|
11145
11255
|
* @param {Object} opts Optional parameters
|
|
11146
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
|
|
11256
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
|
|
11147
11257
|
*/},{key:"getExternalcontactsContact",value:function getExternalcontactsContact(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
11148
11258
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','GET',{'contactId':contactId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11149
11259
|
* List the identifiers for a contact
|
|
@@ -11449,8 +11559,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11449
11559
|
* Fetch a contact using an identifier type and value.
|
|
11450
11560
|
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
11451
11561
|
* @param {Object} identifier
|
|
11452
|
-
|
|
11453
|
-
|
|
11562
|
+
* @param {Object} opts Optional parameters
|
|
11563
|
+
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
11564
|
+
*/},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
11565
|
+
if(identifier===undefined||identifier===null){throw'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';}return this.apiClient.callApi('/api/v2/externalcontacts/identifierlookup','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},identifier,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11454
11566
|
* Merge two contacts into a new contact record
|
|
11455
11567
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
11456
11568
|
* @param {Object} body MergeRequest
|
|
@@ -11547,7 +11659,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11547
11659
|
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(){/**
|
|
11548
11660
|
* Fax service.
|
|
11549
11661
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11550
|
-
* @version
|
|
11662
|
+
* @version 197.0.0
|
|
11551
11663
|
*/ /**
|
|
11552
11664
|
* Constructs a new FaxApi.
|
|
11553
11665
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11596,7 +11708,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11596
11708
|
*/},{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(){/**
|
|
11597
11709
|
* Flows service.
|
|
11598
11710
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11599
|
-
* @version
|
|
11711
|
+
* @version 197.0.0
|
|
11600
11712
|
*/ /**
|
|
11601
11713
|
* Constructs a new FlowsApi.
|
|
11602
11714
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11644,7 +11756,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11644
11756
|
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(){/**
|
|
11645
11757
|
* Gamification service.
|
|
11646
11758
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11647
|
-
* @version
|
|
11759
|
+
* @version 197.0.0
|
|
11648
11760
|
*/ /**
|
|
11649
11761
|
* Constructs a new GamificationApi.
|
|
11650
11762
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12184,7 +12296,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12184
12296
|
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(){/**
|
|
12185
12297
|
* GeneralDataProtectionRegulation service.
|
|
12186
12298
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12187
|
-
* @version
|
|
12299
|
+
* @version 197.0.0
|
|
12188
12300
|
*/ /**
|
|
12189
12301
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12190
12302
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12219,7 +12331,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12219
12331
|
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(){/**
|
|
12220
12332
|
* Geolocation service.
|
|
12221
12333
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12222
|
-
* @version
|
|
12334
|
+
* @version 197.0.0
|
|
12223
12335
|
*/ /**
|
|
12224
12336
|
* Constructs a new GeolocationApi.
|
|
12225
12337
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12253,7 +12365,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12253
12365
|
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(){/**
|
|
12254
12366
|
* Greetings service.
|
|
12255
12367
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12256
|
-
* @version
|
|
12368
|
+
* @version 197.0.0
|
|
12257
12369
|
*/ /**
|
|
12258
12370
|
* Constructs a new GreetingsApi.
|
|
12259
12371
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12360,7 +12472,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12360
12472
|
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(){/**
|
|
12361
12473
|
* Groups service.
|
|
12362
12474
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12363
|
-
* @version
|
|
12475
|
+
* @version 197.0.0
|
|
12364
12476
|
*/ /**
|
|
12365
12477
|
* Constructs a new GroupsApi.
|
|
12366
12478
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12493,7 +12605,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12493
12605
|
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(){/**
|
|
12494
12606
|
* IdentityProvider service.
|
|
12495
12607
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12496
|
-
* @version
|
|
12608
|
+
* @version 197.0.0
|
|
12497
12609
|
*/ /**
|
|
12498
12610
|
* Constructs a new IdentityProviderApi.
|
|
12499
12611
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12649,7 +12761,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12649
12761
|
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(){/**
|
|
12650
12762
|
* InfrastructureAsCode service.
|
|
12651
12763
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12652
|
-
* @version
|
|
12764
|
+
* @version 197.0.0
|
|
12653
12765
|
*/ /**
|
|
12654
12766
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12655
12767
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12703,7 +12815,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12703
12815
|
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(){/**
|
|
12704
12816
|
* Integrations service.
|
|
12705
12817
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12706
|
-
* @version
|
|
12818
|
+
* @version 197.0.0
|
|
12707
12819
|
*/ /**
|
|
12708
12820
|
* Constructs a new IntegrationsApi.
|
|
12709
12821
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13314,7 +13426,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13314
13426
|
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(){/**
|
|
13315
13427
|
* Journey service.
|
|
13316
13428
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13317
|
-
* @version
|
|
13429
|
+
* @version 197.0.0
|
|
13318
13430
|
*/ /**
|
|
13319
13431
|
* Constructs a new JourneyApi.
|
|
13320
13432
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13507,9 +13619,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
13507
13619
|
* @param {Object} opts Optional parameters
|
|
13508
13620
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
13509
13621
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
13622
|
+
* @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
|
|
13510
13623
|
* getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13511
13624
|
*/},{key:"getJourneySessionEvents",value:function getJourneySessionEvents(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
13512
|
-
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13625
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionEvents';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/events','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'eventType':opts['eventType']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13513
13626
|
* Retrieve latest outcome score associated with a session for all outcomes.
|
|
13514
13627
|
*
|
|
13515
13628
|
* @param {String} sessionId ID of the session.
|
|
@@ -13571,6 +13684,15 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
13571
13684
|
*
|
|
13572
13685
|
* getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13573
13686
|
*/},{key:"getJourneyViewsEventdefinitions",value:function getJourneyViewsEventdefinitions(){return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13687
|
+
* Get the jobs for an organization.
|
|
13688
|
+
*
|
|
13689
|
+
* @param {Object} opts Optional parameters
|
|
13690
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
13691
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
13692
|
+
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
13693
|
+
* @param {String} opts.statuses Job statuses to filter for
|
|
13694
|
+
* getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13695
|
+
*/},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13574
13696
|
* Update single action map.
|
|
13575
13697
|
*
|
|
13576
13698
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -13702,7 +13824,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13702
13824
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13703
13825
|
* Knowledge service.
|
|
13704
13826
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13705
|
-
* @version
|
|
13827
|
+
* @version 197.0.0
|
|
13706
13828
|
*/ /**
|
|
13707
13829
|
* Constructs a new KnowledgeApi.
|
|
13708
13830
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14615,7 +14737,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14615
14737
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14616
14738
|
* LanguageUnderstanding service.
|
|
14617
14739
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14618
|
-
* @version
|
|
14740
|
+
* @version 197.0.0
|
|
14619
14741
|
*/ /**
|
|
14620
14742
|
* Constructs a new LanguageUnderstandingApi.
|
|
14621
14743
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14875,7 +14997,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14875
14997
|
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(){/**
|
|
14876
14998
|
* Languages service.
|
|
14877
14999
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14878
|
-
* @version
|
|
15000
|
+
* @version 197.0.0
|
|
14879
15001
|
*/ /**
|
|
14880
15002
|
* Constructs a new LanguagesApi.
|
|
14881
15003
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14930,7 +15052,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14930
15052
|
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(){/**
|
|
14931
15053
|
* Learning service.
|
|
14932
15054
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14933
|
-
* @version
|
|
15055
|
+
* @version 197.0.0
|
|
14934
15056
|
*/ /**
|
|
14935
15057
|
* Constructs a new LearningApi.
|
|
14936
15058
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14961,10 +15083,11 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
14961
15083
|
* @param {String} stepId The ID of Learning Assignment Step
|
|
14962
15084
|
* @param {Object} opts Optional parameters
|
|
14963
15085
|
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
15086
|
+
* @param {Object} opts.defaultShareableContentObject The default SCO to retrieve
|
|
14964
15087
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14965
15088
|
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14966
15089
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
14967
|
-
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15090
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'defaultShareableContentObject':opts['defaultShareableContentObject'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14968
15091
|
* List of Learning module Assignments
|
|
14969
15092
|
* Either moduleId or user value is required
|
|
14970
15093
|
* @param {Object} opts Optional parameters
|
|
@@ -15200,7 +15323,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15200
15323
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15201
15324
|
* License service.
|
|
15202
15325
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15203
|
-
* @version
|
|
15326
|
+
* @version 197.0.0
|
|
15204
15327
|
*/ /**
|
|
15205
15328
|
* Constructs a new LicenseApi.
|
|
15206
15329
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15254,7 +15377,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15254
15377
|
*/},{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(){/**
|
|
15255
15378
|
* Locations service.
|
|
15256
15379
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15257
|
-
* @version
|
|
15380
|
+
* @version 197.0.0
|
|
15258
15381
|
*/ /**
|
|
15259
15382
|
* Constructs a new LocationsApi.
|
|
15260
15383
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15313,7 +15436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15313
15436
|
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(){/**
|
|
15314
15437
|
* LogCapture service.
|
|
15315
15438
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15316
|
-
* @version
|
|
15439
|
+
* @version 197.0.0
|
|
15317
15440
|
*/ /**
|
|
15318
15441
|
* Constructs a new LogCaptureApi.
|
|
15319
15442
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15363,7 +15486,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15363
15486
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
15364
15487
|
* Messaging service.
|
|
15365
15488
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15366
|
-
* @version
|
|
15489
|
+
* @version 197.0.0
|
|
15367
15490
|
*/ /**
|
|
15368
15491
|
* Constructs a new MessagingApi.
|
|
15369
15492
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15453,7 +15576,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15453
15576
|
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(){/**
|
|
15454
15577
|
* MobileDevices service.
|
|
15455
15578
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15456
|
-
* @version
|
|
15579
|
+
* @version 197.0.0
|
|
15457
15580
|
*/ /**
|
|
15458
15581
|
* Constructs a new MobileDevicesApi.
|
|
15459
15582
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15492,7 +15615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15492
15615
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15493
15616
|
* Notifications service.
|
|
15494
15617
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15495
|
-
* @version
|
|
15618
|
+
* @version 197.0.0
|
|
15496
15619
|
*/ /**
|
|
15497
15620
|
* Constructs a new NotificationsApi.
|
|
15498
15621
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15549,7 +15672,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15549
15672
|
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(){/**
|
|
15550
15673
|
* OAuth service.
|
|
15551
15674
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15552
|
-
* @version
|
|
15675
|
+
* @version 197.0.0
|
|
15553
15676
|
*/ /**
|
|
15554
15677
|
* Constructs a new OAuthApi.
|
|
15555
15678
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15634,7 +15757,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15634
15757
|
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(){/**
|
|
15635
15758
|
* Objects service.
|
|
15636
15759
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15637
|
-
* @version
|
|
15760
|
+
* @version 197.0.0
|
|
15638
15761
|
*/ /**
|
|
15639
15762
|
* Constructs a new ObjectsApi.
|
|
15640
15763
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15705,7 +15828,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15705
15828
|
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(){/**
|
|
15706
15829
|
* OperationalEvents service.
|
|
15707
15830
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15708
|
-
* @version
|
|
15831
|
+
* @version 197.0.0
|
|
15709
15832
|
*/ /**
|
|
15710
15833
|
* Constructs a new OperationalEventsApi.
|
|
15711
15834
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15723,7 +15846,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15723
15846
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15724
15847
|
* Organization service.
|
|
15725
15848
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15726
|
-
* @version
|
|
15849
|
+
* @version 197.0.0
|
|
15727
15850
|
*/ /**
|
|
15728
15851
|
* Constructs a new OrganizationApi.
|
|
15729
15852
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15828,7 +15951,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15828
15951
|
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(){/**
|
|
15829
15952
|
* OrganizationAuthorization service.
|
|
15830
15953
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15831
|
-
* @version
|
|
15954
|
+
* @version 197.0.0
|
|
15832
15955
|
*/ /**
|
|
15833
15956
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15834
15957
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16151,7 +16274,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16151
16274
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16152
16275
|
* Outbound service.
|
|
16153
16276
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16154
|
-
* @version
|
|
16277
|
+
* @version 197.0.0
|
|
16155
16278
|
*/ /**
|
|
16156
16279
|
* Constructs a new OutboundApi.
|
|
16157
16280
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16827,6 +16950,13 @@ if(sequenceId===undefined||sequenceId===null){throw'Missing the required paramet
|
|
|
16827
16950
|
* Get the Dialer wrap up code mapping.
|
|
16828
16951
|
*
|
|
16829
16952
|
*/},{key:"getOutboundWrapupcodemappings",value:function getOutboundWrapupcodemappings(){return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16953
|
+
* Update a campaign.
|
|
16954
|
+
*
|
|
16955
|
+
* @param {String} campaignId Campaign ID
|
|
16956
|
+
* @param {Object} body CampaignPatchRequest
|
|
16957
|
+
*/},{key:"patchOutboundCampaign",value:function patchOutboundCampaign(campaignId,body){// verify the required parameter 'campaignId' is set
|
|
16958
|
+
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling patchOutboundCampaign';}// verify the required parameter 'body' is set
|
|
16959
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PATCH',{'campaignId':campaignId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16830
16960
|
* Add entries to or delete entries from a DNC list.
|
|
16831
16961
|
* Only Internal DNC lists may be deleted from
|
|
16832
16962
|
* @param {String} dncListId DncList ID
|
|
@@ -16858,18 +16988,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16858
16988
|
* @param {Object} body AttemptLimits
|
|
16859
16989
|
*/},{key:"postOutboundAttemptlimits",value:function postOutboundAttemptlimits(body){// verify the required parameter 'body' is set
|
|
16860
16990
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAttemptlimits';}return this.apiClient.callApi('/api/v2/outbound/attemptlimits','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16861
|
-
* Retrieves audits for dialer. (Deprecated)
|
|
16862
|
-
* This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
|
|
16863
|
-
* @param {Object} body AuditSearch
|
|
16864
|
-
* @param {Object} opts Optional parameters
|
|
16865
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16866
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16867
|
-
* @param {String} opts.sortBy Sort by (default to entity.name)
|
|
16868
|
-
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
16869
|
-
* @param {Boolean} opts.facetsOnly Facets only (default to false)
|
|
16870
|
-
* @deprecated
|
|
16871
|
-
*/},{key:"postOutboundAudits",value:function postOutboundAudits(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
16872
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundAudits';}return this.apiClient.callApi('/api/v2/outbound/audits','POST',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'facetsOnly':opts['facetsOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16873
16991
|
* Create callable time set
|
|
16874
16992
|
*
|
|
16875
16993
|
* @param {Object} body DialerCallableTimeSet
|
|
@@ -17223,7 +17341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17223
17341
|
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(){/**
|
|
17224
17342
|
* Presence service.
|
|
17225
17343
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17226
|
-
* @version
|
|
17344
|
+
* @version 197.0.0
|
|
17227
17345
|
*/ /**
|
|
17228
17346
|
* Constructs a new PresenceApi.
|
|
17229
17347
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17396,7 +17514,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17396
17514
|
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(){/**
|
|
17397
17515
|
* ProcessAutomation service.
|
|
17398
17516
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17399
|
-
* @version
|
|
17517
|
+
* @version 197.0.0
|
|
17400
17518
|
*/ /**
|
|
17401
17519
|
* Constructs a new ProcessAutomationApi.
|
|
17402
17520
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17459,7 +17577,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17459
17577
|
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(){/**
|
|
17460
17578
|
* Quality service.
|
|
17461
17579
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17462
|
-
* @version
|
|
17580
|
+
* @version 197.0.0
|
|
17463
17581
|
*/ /**
|
|
17464
17582
|
* Constructs a new QualityApi.
|
|
17465
17583
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17601,9 +17719,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
17601
17719
|
* @param {Object} opts Optional parameters
|
|
17602
17720
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
17603
17721
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
17604
|
-
* @param {String} opts.sortBy NOTE: Does not work when querying evaluations
|
|
17605
17722
|
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
17606
|
-
* @param {String} opts.nextPage NOTE: Does not work when querying evaluations
|
|
17607
17723
|
* @param {String} opts.previousPage Previous page token
|
|
17608
17724
|
* @param {String} opts.conversationId conversationId specified
|
|
17609
17725
|
* @param {String} opts.agentUserId user id of the agent
|
|
@@ -17620,7 +17736,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
17620
17736
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
17621
17737
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
17622
17738
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
17623
|
-
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'
|
|
17739
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17624
17740
|
* Get an evaluator activity
|
|
17625
17741
|
*
|
|
17626
17742
|
* @param {Object} opts Optional parameters
|
|
@@ -17930,7 +18046,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17930
18046
|
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(){/**
|
|
17931
18047
|
* Recording service.
|
|
17932
18048
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17933
|
-
* @version
|
|
18049
|
+
* @version 197.0.0
|
|
17934
18050
|
*/ /**
|
|
17935
18051
|
* Constructs a new RecordingApi.
|
|
17936
18052
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18341,7 +18457,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18341
18457
|
*/},{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(){/**
|
|
18342
18458
|
* ResponseManagement service.
|
|
18343
18459
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18344
|
-
* @version
|
|
18460
|
+
* @version 197.0.0
|
|
18345
18461
|
*/ /**
|
|
18346
18462
|
* Constructs a new ResponseManagementApi.
|
|
18347
18463
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18462,7 +18578,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18462
18578
|
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(){/**
|
|
18463
18579
|
* Routing service.
|
|
18464
18580
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18465
|
-
* @version
|
|
18581
|
+
* @version 197.0.0
|
|
18466
18582
|
*/ /**
|
|
18467
18583
|
* Constructs a new RoutingApi.
|
|
18468
18584
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18944,7 +19060,8 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
18944
19060
|
* @param {Object} opts.sortOrder Sort order
|
|
18945
19061
|
* @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
|
|
18946
19062
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
18947
|
-
|
|
19063
|
+
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
19064
|
+
*/},{key:"getRoutingSmsPhonenumbers",value:function getRoutingSmsPhonenumbers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','GET',{},{'phoneNumber':opts['phoneNumber'],'phoneNumberType':this.apiClient.buildCollectionParam(opts['phoneNumberType'],'multi'),'phoneNumberStatus':this.apiClient.buildCollectionParam(opts['phoneNumberStatus'],'multi'),'countryCode':this.apiClient.buildCollectionParam(opts['countryCode'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'language':opts['language'],'integration.id':opts['integrationId'],'supportedContent.id':opts['supportedContentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18948
19065
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
18949
19066
|
*
|
|
18950
19067
|
* @param {String} userId User ID
|
|
@@ -19430,7 +19547,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19430
19547
|
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(){/**
|
|
19431
19548
|
* SCIM service.
|
|
19432
19549
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19433
|
-
* @version
|
|
19550
|
+
* @version 197.0.0
|
|
19434
19551
|
*/ /**
|
|
19435
19552
|
* Constructs a new SCIMApi.
|
|
19436
19553
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19655,7 +19772,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19655
19772
|
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(){/**
|
|
19656
19773
|
* ScreenRecording service.
|
|
19657
19774
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19658
|
-
* @version
|
|
19775
|
+
* @version 197.0.0
|
|
19659
19776
|
*/ /**
|
|
19660
19777
|
* Constructs a new ScreenRecordingApi.
|
|
19661
19778
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19670,7 +19787,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19670
19787
|
*/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(){/**
|
|
19671
19788
|
* Scripts service.
|
|
19672
19789
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19673
|
-
* @version
|
|
19790
|
+
* @version 197.0.0
|
|
19674
19791
|
*/ /**
|
|
19675
19792
|
* Constructs a new ScriptsApi.
|
|
19676
19793
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19806,7 +19923,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19806
19923
|
*/},{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(){/**
|
|
19807
19924
|
* Search service.
|
|
19808
19925
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19809
|
-
* @version
|
|
19926
|
+
* @version 197.0.0
|
|
19810
19927
|
*/ /**
|
|
19811
19928
|
* Constructs a new SearchApi.
|
|
19812
19929
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19966,7 +20083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19966
20083
|
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(){/**
|
|
19967
20084
|
* Settings service.
|
|
19968
20085
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19969
|
-
* @version
|
|
20086
|
+
* @version 197.0.0
|
|
19970
20087
|
*/ /**
|
|
19971
20088
|
* Constructs a new SettingsApi.
|
|
19972
20089
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19974,13 +20091,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19974
20091
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
19975
20092
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
19976
20093
|
*/function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
20094
|
+
* Delete agent auto answer settings
|
|
20095
|
+
*
|
|
20096
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
20097
|
+
*/return _createClass(SettingsApi,[{key:"deleteUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
20098
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','DELETE',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19977
20099
|
* Get email Contact Center settings
|
|
19978
20100
|
*
|
|
19979
|
-
*/
|
|
20101
|
+
*/},{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19980
20102
|
* Get the execution history enabled setting.
|
|
19981
20103
|
* Get the execution history enabled setting.
|
|
19982
20104
|
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19983
20105
|
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20106
|
+
* Get agent auto answer settings
|
|
20107
|
+
*
|
|
20108
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
20109
|
+
*/},{key:"getUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId){// verify the required parameter 'agentId' is set
|
|
20110
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19984
20111
|
* Patch email Contact Center settings
|
|
19985
20112
|
*
|
|
19986
20113
|
* @param {Object} opts Optional parameters
|
|
@@ -19991,10 +20118,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19991
20118
|
* @param {Object} body New Execution Data Setting
|
|
19992
20119
|
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19993
20120
|
*/},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
|
|
19994
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
20121
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20122
|
+
* Update agent auto answer settings
|
|
20123
|
+
*
|
|
20124
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
20125
|
+
* @param {Object} body AutoAnswerSettings
|
|
20126
|
+
*/},{key:"patchUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
20127
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
20128
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PATCH',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20129
|
+
* Set agent auto answer settings
|
|
20130
|
+
*
|
|
20131
|
+
* @param {String} agentId The agent to apply the auto answer settings to
|
|
20132
|
+
* @param {Object} body AutoAnswerSettings
|
|
20133
|
+
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
20134
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
20135
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19995
20136
|
* SpeechTextAnalytics service.
|
|
19996
20137
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19997
|
-
* @version
|
|
20138
|
+
* @version 197.0.0
|
|
19998
20139
|
*/ /**
|
|
19999
20140
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20000
20141
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20278,7 +20419,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20278
20419
|
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(){/**
|
|
20279
20420
|
* Stations service.
|
|
20280
20421
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20281
|
-
* @version
|
|
20422
|
+
* @version 197.0.0
|
|
20282
20423
|
*/ /**
|
|
20283
20424
|
* Constructs a new StationsApi.
|
|
20284
20425
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20310,7 +20451,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20310
20451
|
*/},{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(){/**
|
|
20311
20452
|
* Suggest service.
|
|
20312
20453
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20313
|
-
* @version
|
|
20454
|
+
* @version 197.0.0
|
|
20314
20455
|
*/ /**
|
|
20315
20456
|
* Constructs a new SuggestApi.
|
|
20316
20457
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20350,7 +20491,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20350
20491
|
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(){/**
|
|
20351
20492
|
* TaskManagement service.
|
|
20352
20493
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20353
|
-
* @version
|
|
20494
|
+
* @version 197.0.0
|
|
20354
20495
|
*/ /**
|
|
20355
20496
|
* Constructs a new TaskManagementApi.
|
|
20356
20497
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20679,7 +20820,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20679
20820
|
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(){/**
|
|
20680
20821
|
* Teams service.
|
|
20681
20822
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20682
|
-
* @version
|
|
20823
|
+
* @version 197.0.0
|
|
20683
20824
|
*/ /**
|
|
20684
20825
|
* Constructs a new TeamsApi.
|
|
20685
20826
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20757,7 +20898,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20757
20898
|
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(){/**
|
|
20758
20899
|
* Telephony service.
|
|
20759
20900
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20760
|
-
* @version
|
|
20901
|
+
* @version 197.0.0
|
|
20761
20902
|
*/ /**
|
|
20762
20903
|
* Constructs a new TelephonyApi.
|
|
20763
20904
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20804,7 +20945,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20804
20945
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20805
20946
|
* TelephonyProvidersEdge service.
|
|
20806
20947
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20807
|
-
* @version
|
|
20948
|
+
* @version 197.0.0
|
|
20808
20949
|
*/ /**
|
|
20809
20950
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20810
20951
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21614,7 +21755,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21614
21755
|
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(){/**
|
|
21615
21756
|
* Textbots service.
|
|
21616
21757
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21617
|
-
* @version
|
|
21758
|
+
* @version 197.0.0
|
|
21618
21759
|
*/ /**
|
|
21619
21760
|
* Constructs a new TextbotsApi.
|
|
21620
21761
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21649,7 +21790,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21649
21790
|
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(){/**
|
|
21650
21791
|
* Tokens service.
|
|
21651
21792
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21652
|
-
* @version
|
|
21793
|
+
* @version 197.0.0
|
|
21653
21794
|
*/ /**
|
|
21654
21795
|
* Constructs a new TokensApi.
|
|
21655
21796
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21683,7 +21824,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21683
21824
|
*/},{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(){/**
|
|
21684
21825
|
* Uploads service.
|
|
21685
21826
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21686
|
-
* @version
|
|
21827
|
+
* @version 197.0.0
|
|
21687
21828
|
*/ /**
|
|
21688
21829
|
* Constructs a new UploadsApi.
|
|
21689
21830
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21749,7 +21890,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21749
21890
|
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(){/**
|
|
21750
21891
|
* Usage service.
|
|
21751
21892
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21752
|
-
* @version
|
|
21893
|
+
* @version 197.0.0
|
|
21753
21894
|
*/ /**
|
|
21754
21895
|
* Constructs a new UsageApi.
|
|
21755
21896
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21803,7 +21944,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21803
21944
|
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(){/**
|
|
21804
21945
|
* UserRecordings service.
|
|
21805
21946
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21806
|
-
* @version
|
|
21947
|
+
* @version 197.0.0
|
|
21807
21948
|
*/ /**
|
|
21808
21949
|
* Constructs a new UserRecordingsApi.
|
|
21809
21950
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21852,7 +21993,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21852
21993
|
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(){/**
|
|
21853
21994
|
* Users service.
|
|
21854
21995
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21855
|
-
* @version
|
|
21996
|
+
* @version 197.0.0
|
|
21856
21997
|
*/ /**
|
|
21857
21998
|
* Constructs a new UsersApi.
|
|
21858
21999
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22514,7 +22655,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22514
22655
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
22515
22656
|
* Utilities service.
|
|
22516
22657
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22517
|
-
* @version
|
|
22658
|
+
* @version 197.0.0
|
|
22518
22659
|
*/ /**
|
|
22519
22660
|
* Constructs a new UtilitiesApi.
|
|
22520
22661
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22541,7 +22682,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22541
22682
|
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(){/**
|
|
22542
22683
|
* Voicemail service.
|
|
22543
22684
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22544
|
-
* @version
|
|
22685
|
+
* @version 197.0.0
|
|
22545
22686
|
*/ /**
|
|
22546
22687
|
* Constructs a new VoicemailApi.
|
|
22547
22688
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22690,7 +22831,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22690
22831
|
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(){/**
|
|
22691
22832
|
* WebChat service.
|
|
22692
22833
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22693
|
-
* @version
|
|
22834
|
+
* @version 197.0.0
|
|
22694
22835
|
*/ /**
|
|
22695
22836
|
* Constructs a new WebChatApi.
|
|
22696
22837
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22825,7 +22966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22825
22966
|
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(){/**
|
|
22826
22967
|
* WebDeployments service.
|
|
22827
22968
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22828
|
-
* @version
|
|
22969
|
+
* @version 197.0.0
|
|
22829
22970
|
*/ /**
|
|
22830
22971
|
* Constructs a new WebDeploymentsApi.
|
|
22831
22972
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22946,7 +23087,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22946
23087
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22947
23088
|
* WebMessaging service.
|
|
22948
23089
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22949
|
-
* @version
|
|
23090
|
+
* @version 197.0.0
|
|
22950
23091
|
*/ /**
|
|
22951
23092
|
* Constructs a new WebMessagingApi.
|
|
22952
23093
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22962,7 +23103,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22962
23103
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22963
23104
|
* Widgets service.
|
|
22964
23105
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22965
|
-
* @version
|
|
23106
|
+
* @version 197.0.0
|
|
22966
23107
|
*/ /**
|
|
22967
23108
|
* Constructs a new WidgetsApi.
|
|
22968
23109
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22997,7 +23138,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22997
23138
|
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(){/**
|
|
22998
23139
|
* WorkforceManagement service.
|
|
22999
23140
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23000
|
-
* @version
|
|
23141
|
+
* @version 197.0.0
|
|
23001
23142
|
*/ /**
|
|
23002
23143
|
* Constructs a new WorkforceManagementApi.
|
|
23003
23144
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24477,7 +24618,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24477
24618
|
* </pre>
|
|
24478
24619
|
* </p>
|
|
24479
24620
|
* @module purecloud-platform-client-v2/index
|
|
24480
|
-
* @version
|
|
24621
|
+
* @version 197.0.0
|
|
24481
24622
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24482
24623
|
* The ApiClient constructor.
|
|
24483
24624
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -24485,6 +24626,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24485
24626
|
* The ApiClient class.
|
|
24486
24627
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
24487
24628
|
*/this.ApiClientClass=ApiClient;/**
|
|
24629
|
+
* The AgentUIApi service constructor.
|
|
24630
|
+
* @property {module:purecloud-platform-client-v2/api/AgentUIApi}
|
|
24631
|
+
*/this.AgentUIApi=AgentUIApi;/**
|
|
24488
24632
|
* The AlertingApi service constructor.
|
|
24489
24633
|
* @property {module:purecloud-platform-client-v2/api/AlertingApi}
|
|
24490
24634
|
*/this.AlertingApi=AlertingApi;/**
|
|
@@ -24527,6 +24671,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24527
24671
|
* The EmailsApi service constructor.
|
|
24528
24672
|
* @property {module:purecloud-platform-client-v2/api/EmailsApi}
|
|
24529
24673
|
*/this.EmailsApi=EmailsApi;/**
|
|
24674
|
+
* The EmployeeEngagementApi service constructor.
|
|
24675
|
+
* @property {module:purecloud-platform-client-v2/api/EmployeeEngagementApi}
|
|
24676
|
+
*/this.EmployeeEngagementApi=EmployeeEngagementApi;/**
|
|
24530
24677
|
* The EventsApi service constructor.
|
|
24531
24678
|
* @property {module:purecloud-platform-client-v2/api/EventsApi}
|
|
24532
24679
|
*/this.EventsApi=EventsApi;/**
|