purecloud-platform-client-v2 201.0.0 → 202.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 +165 -87
- package/dist/web-amd/purecloud-platform-client-v2.js +165 -87
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +101 -88
- package/dist/web-cjs/purecloud-platform-client-v2.js +101 -88
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +537 -220
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +56 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +32 -2
- 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 -8
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6052,7 +6052,7 @@ var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encod
|
|
|
6052
6052
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
6053
6053
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
6054
6054
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
6055
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.
|
|
6055
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.4";var validators$1={};// eslint-disable-next-line func-names
|
|
6056
6056
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
6057
6057
|
* Transitional option validator
|
|
6058
6058
|
*
|
|
@@ -6166,7 +6166,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6166
6166
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6167
6167
|
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];}}}]);}();/**
|
|
6168
6168
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6169
|
-
* @version
|
|
6169
|
+
* @version 202.0.0
|
|
6170
6170
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6171
6171
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6172
6172
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6478,7 +6478,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6478
6478
|
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(){/**
|
|
6479
6479
|
* AgentUI service.
|
|
6480
6480
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6481
|
-
* @version
|
|
6481
|
+
* @version 202.0.0
|
|
6482
6482
|
*/ /**
|
|
6483
6483
|
* Constructs a new AgentUIApi.
|
|
6484
6484
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6512,7 +6512,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6512
6512
|
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(){/**
|
|
6513
6513
|
* Alerting service.
|
|
6514
6514
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6515
|
-
* @version
|
|
6515
|
+
* @version 202.0.0
|
|
6516
6516
|
*/ /**
|
|
6517
6517
|
* Constructs a new AlertingApi.
|
|
6518
6518
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6669,7 +6669,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6669
6669
|
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(){/**
|
|
6670
6670
|
* Analytics service.
|
|
6671
6671
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6672
|
-
* @version
|
|
6672
|
+
* @version 202.0.0
|
|
6673
6673
|
*/ /**
|
|
6674
6674
|
* Constructs a new AnalyticsApi.
|
|
6675
6675
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7290,7 +7290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7290
7290
|
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(){/**
|
|
7291
7291
|
* Architect service.
|
|
7292
7292
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7293
|
-
* @version
|
|
7293
|
+
* @version 202.0.0
|
|
7294
7294
|
*/ /**
|
|
7295
7295
|
* Constructs a new ArchitectApi.
|
|
7296
7296
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8406,7 +8406,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8406
8406
|
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(){/**
|
|
8407
8407
|
* Audit service.
|
|
8408
8408
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8409
|
-
* @version
|
|
8409
|
+
* @version 202.0.0
|
|
8410
8410
|
*/ /**
|
|
8411
8411
|
* Constructs a new AuditApi.
|
|
8412
8412
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8456,7 +8456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8456
8456
|
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(){/**
|
|
8457
8457
|
* Authorization service.
|
|
8458
8458
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8459
|
-
* @version
|
|
8459
|
+
* @version 202.0.0
|
|
8460
8460
|
*/ /**
|
|
8461
8461
|
* Constructs a new AuthorizationApi.
|
|
8462
8462
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8771,7 +8771,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8771
8771
|
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(){/**
|
|
8772
8772
|
* Billing service.
|
|
8773
8773
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8774
|
-
* @version
|
|
8774
|
+
* @version 202.0.0
|
|
8775
8775
|
*/ /**
|
|
8776
8776
|
* Constructs a new BillingApi.
|
|
8777
8777
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8795,7 +8795,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8795
8795
|
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(){/**
|
|
8796
8796
|
* CarrierServices service.
|
|
8797
8797
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8798
|
-
* @version
|
|
8798
|
+
* @version 202.0.0
|
|
8799
8799
|
*/ /**
|
|
8800
8800
|
* Constructs a new CarrierServicesApi.
|
|
8801
8801
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8815,7 +8815,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8815
8815
|
*/},{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(){/**
|
|
8816
8816
|
* Chat service.
|
|
8817
8817
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8818
|
-
* @version
|
|
8818
|
+
* @version 202.0.0
|
|
8819
8819
|
*/ /**
|
|
8820
8820
|
* Constructs a new ChatApi.
|
|
8821
8821
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9040,7 +9040,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9040
9040
|
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(){/**
|
|
9041
9041
|
* Coaching service.
|
|
9042
9042
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9043
|
-
* @version
|
|
9043
|
+
* @version 202.0.0
|
|
9044
9044
|
*/ /**
|
|
9045
9045
|
* Constructs a new CoachingApi.
|
|
9046
9046
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9193,7 +9193,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9193
9193
|
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(){/**
|
|
9194
9194
|
* ContentManagement service.
|
|
9195
9195
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9196
|
-
* @version
|
|
9196
|
+
* @version 202.0.0
|
|
9197
9197
|
*/ /**
|
|
9198
9198
|
* Constructs a new ContentManagementApi.
|
|
9199
9199
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9476,7 +9476,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9476
9476
|
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(){/**
|
|
9477
9477
|
* Conversations service.
|
|
9478
9478
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9479
|
-
* @version
|
|
9479
|
+
* @version 202.0.0
|
|
9480
9480
|
*/ /**
|
|
9481
9481
|
* Constructs a new ConversationsApi.
|
|
9482
9482
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11198,7 +11198,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11198
11198
|
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(){/**
|
|
11199
11199
|
* DataExtensions service.
|
|
11200
11200
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11201
|
-
* @version
|
|
11201
|
+
* @version 202.0.0
|
|
11202
11202
|
*/ /**
|
|
11203
11203
|
* Constructs a new DataExtensionsApi.
|
|
11204
11204
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11219,7 +11219,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11219
11219
|
*/},{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(){/**
|
|
11220
11220
|
* Downloads service.
|
|
11221
11221
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11222
|
-
* @version
|
|
11222
|
+
* @version 202.0.0
|
|
11223
11223
|
*/ /**
|
|
11224
11224
|
* Constructs a new DownloadsApi.
|
|
11225
11225
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11238,7 +11238,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11238
11238
|
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(){/**
|
|
11239
11239
|
* Emails service.
|
|
11240
11240
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11241
|
-
* @version
|
|
11241
|
+
* @version 202.0.0
|
|
11242
11242
|
*/ /**
|
|
11243
11243
|
* Constructs a new EmailsApi.
|
|
11244
11244
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11256,7 +11256,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11256
11256
|
*/},{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(){/**
|
|
11257
11257
|
* EmployeeEngagement service.
|
|
11258
11258
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11259
|
-
* @version
|
|
11259
|
+
* @version 202.0.0
|
|
11260
11260
|
*/ /**
|
|
11261
11261
|
* Constructs a new EmployeeEngagementApi.
|
|
11262
11262
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11294,7 +11294,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11294
11294
|
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(){/**
|
|
11295
11295
|
* Events service.
|
|
11296
11296
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11297
|
-
* @version
|
|
11297
|
+
* @version 202.0.0
|
|
11298
11298
|
*/ /**
|
|
11299
11299
|
* Constructs a new EventsApi.
|
|
11300
11300
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11319,7 +11319,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11319
11319
|
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(){/**
|
|
11320
11320
|
* ExternalContacts service.
|
|
11321
11321
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11322
|
-
* @version
|
|
11322
|
+
* @version 202.0.0
|
|
11323
11323
|
*/ /**
|
|
11324
11324
|
* Constructs a new ExternalContactsApi.
|
|
11325
11325
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11776,7 +11776,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11776
11776
|
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(){/**
|
|
11777
11777
|
* Fax service.
|
|
11778
11778
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11779
|
-
* @version
|
|
11779
|
+
* @version 202.0.0
|
|
11780
11780
|
*/ /**
|
|
11781
11781
|
* Constructs a new FaxApi.
|
|
11782
11782
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11825,7 +11825,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11825
11825
|
*/},{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(){/**
|
|
11826
11826
|
* Flows service.
|
|
11827
11827
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11828
|
-
* @version
|
|
11828
|
+
* @version 202.0.0
|
|
11829
11829
|
*/ /**
|
|
11830
11830
|
* Constructs a new FlowsApi.
|
|
11831
11831
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11873,7 +11873,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11873
11873
|
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(){/**
|
|
11874
11874
|
* Gamification service.
|
|
11875
11875
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11876
|
-
* @version
|
|
11876
|
+
* @version 202.0.0
|
|
11877
11877
|
*/ /**
|
|
11878
11878
|
* Constructs a new GamificationApi.
|
|
11879
11879
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12413,7 +12413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12413
12413
|
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(){/**
|
|
12414
12414
|
* GeneralDataProtectionRegulation service.
|
|
12415
12415
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12416
|
-
* @version
|
|
12416
|
+
* @version 202.0.0
|
|
12417
12417
|
*/ /**
|
|
12418
12418
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12419
12419
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12448,7 +12448,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12448
12448
|
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(){/**
|
|
12449
12449
|
* Geolocation service.
|
|
12450
12450
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12451
|
-
* @version
|
|
12451
|
+
* @version 202.0.0
|
|
12452
12452
|
*/ /**
|
|
12453
12453
|
* Constructs a new GeolocationApi.
|
|
12454
12454
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12482,7 +12482,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12482
12482
|
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(){/**
|
|
12483
12483
|
* Greetings service.
|
|
12484
12484
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12485
|
-
* @version
|
|
12485
|
+
* @version 202.0.0
|
|
12486
12486
|
*/ /**
|
|
12487
12487
|
* Constructs a new GreetingsApi.
|
|
12488
12488
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12589,7 +12589,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12589
12589
|
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(){/**
|
|
12590
12590
|
* Groups service.
|
|
12591
12591
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12592
|
-
* @version
|
|
12592
|
+
* @version 202.0.0
|
|
12593
12593
|
*/ /**
|
|
12594
12594
|
* Constructs a new GroupsApi.
|
|
12595
12595
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12722,7 +12722,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12722
12722
|
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(){/**
|
|
12723
12723
|
* IdentityProvider service.
|
|
12724
12724
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12725
|
-
* @version
|
|
12725
|
+
* @version 202.0.0
|
|
12726
12726
|
*/ /**
|
|
12727
12727
|
* Constructs a new IdentityProviderApi.
|
|
12728
12728
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12878,7 +12878,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12878
12878
|
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(){/**
|
|
12879
12879
|
* InfrastructureAsCode service.
|
|
12880
12880
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12881
|
-
* @version
|
|
12881
|
+
* @version 202.0.0
|
|
12882
12882
|
*/ /**
|
|
12883
12883
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12884
12884
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12932,7 +12932,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12932
12932
|
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(){/**
|
|
12933
12933
|
* Integrations service.
|
|
12934
12934
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12935
|
-
* @version
|
|
12935
|
+
* @version 202.0.0
|
|
12936
12936
|
*/ /**
|
|
12937
12937
|
* Constructs a new IntegrationsApi.
|
|
12938
12938
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13546,7 +13546,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13546
13546
|
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(){/**
|
|
13547
13547
|
* Journey service.
|
|
13548
13548
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13549
|
-
* @version
|
|
13549
|
+
* @version 202.0.0
|
|
13550
13550
|
*/ /**
|
|
13551
13551
|
* Constructs a new JourneyApi.
|
|
13552
13552
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13955,7 +13955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13955
13955
|
*/},{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(){/**
|
|
13956
13956
|
* Knowledge service.
|
|
13957
13957
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13958
|
-
* @version
|
|
13958
|
+
* @version 202.0.0
|
|
13959
13959
|
*/ /**
|
|
13960
13960
|
* Constructs a new KnowledgeApi.
|
|
13961
13961
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14868,7 +14868,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14868
14868
|
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(){/**
|
|
14869
14869
|
* LanguageUnderstanding service.
|
|
14870
14870
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14871
|
-
* @version
|
|
14871
|
+
* @version 202.0.0
|
|
14872
14872
|
*/ /**
|
|
14873
14873
|
* Constructs a new LanguageUnderstandingApi.
|
|
14874
14874
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15128,7 +15128,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15128
15128
|
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(){/**
|
|
15129
15129
|
* Languages service.
|
|
15130
15130
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15131
|
-
* @version
|
|
15131
|
+
* @version 202.0.0
|
|
15132
15132
|
*/ /**
|
|
15133
15133
|
* Constructs a new LanguagesApi.
|
|
15134
15134
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15183,7 +15183,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15183
15183
|
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(){/**
|
|
15184
15184
|
* Learning service.
|
|
15185
15185
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15186
|
-
* @version
|
|
15186
|
+
* @version 202.0.0
|
|
15187
15187
|
*/ /**
|
|
15188
15188
|
* Constructs a new LearningApi.
|
|
15189
15189
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15454,7 +15454,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15454
15454
|
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(){/**
|
|
15455
15455
|
* License service.
|
|
15456
15456
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15457
|
-
* @version
|
|
15457
|
+
* @version 202.0.0
|
|
15458
15458
|
*/ /**
|
|
15459
15459
|
* Constructs a new LicenseApi.
|
|
15460
15460
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15508,7 +15508,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15508
15508
|
*/},{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(){/**
|
|
15509
15509
|
* Locations service.
|
|
15510
15510
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15511
|
-
* @version
|
|
15511
|
+
* @version 202.0.0
|
|
15512
15512
|
*/ /**
|
|
15513
15513
|
* Constructs a new LocationsApi.
|
|
15514
15514
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15567,7 +15567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15567
15567
|
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(){/**
|
|
15568
15568
|
* LogCapture service.
|
|
15569
15569
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15570
|
-
* @version
|
|
15570
|
+
* @version 202.0.0
|
|
15571
15571
|
*/ /**
|
|
15572
15572
|
* Constructs a new LogCaptureApi.
|
|
15573
15573
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15617,7 +15617,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15617
15617
|
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(){/**
|
|
15618
15618
|
* Messaging service.
|
|
15619
15619
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15620
|
-
* @version
|
|
15620
|
+
* @version 202.0.0
|
|
15621
15621
|
*/ /**
|
|
15622
15622
|
* Constructs a new MessagingApi.
|
|
15623
15623
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15707,7 +15707,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15707
15707
|
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(){/**
|
|
15708
15708
|
* MobileDevices service.
|
|
15709
15709
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15710
|
-
* @version
|
|
15710
|
+
* @version 202.0.0
|
|
15711
15711
|
*/ /**
|
|
15712
15712
|
* Constructs a new MobileDevicesApi.
|
|
15713
15713
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15746,7 +15746,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15746
15746
|
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(){/**
|
|
15747
15747
|
* Notifications service.
|
|
15748
15748
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15749
|
-
* @version
|
|
15749
|
+
* @version 202.0.0
|
|
15750
15750
|
*/ /**
|
|
15751
15751
|
* Constructs a new NotificationsApi.
|
|
15752
15752
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15803,7 +15803,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15803
15803
|
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(){/**
|
|
15804
15804
|
* OAuth service.
|
|
15805
15805
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15806
|
-
* @version
|
|
15806
|
+
* @version 202.0.0
|
|
15807
15807
|
*/ /**
|
|
15808
15808
|
* Constructs a new OAuthApi.
|
|
15809
15809
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15888,7 +15888,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15888
15888
|
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(){/**
|
|
15889
15889
|
* Objects service.
|
|
15890
15890
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15891
|
-
* @version
|
|
15891
|
+
* @version 202.0.0
|
|
15892
15892
|
*/ /**
|
|
15893
15893
|
* Constructs a new ObjectsApi.
|
|
15894
15894
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15959,7 +15959,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15959
15959
|
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(){/**
|
|
15960
15960
|
* OperationalEvents service.
|
|
15961
15961
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15962
|
-
* @version
|
|
15962
|
+
* @version 202.0.0
|
|
15963
15963
|
*/ /**
|
|
15964
15964
|
* Constructs a new OperationalEventsApi.
|
|
15965
15965
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15977,7 +15977,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15977
15977
|
*/},{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(){/**
|
|
15978
15978
|
* Organization service.
|
|
15979
15979
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15980
|
-
* @version
|
|
15980
|
+
* @version 202.0.0
|
|
15981
15981
|
*/ /**
|
|
15982
15982
|
* Constructs a new OrganizationApi.
|
|
15983
15983
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16102,7 +16102,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16102
16102
|
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(){/**
|
|
16103
16103
|
* OrganizationAuthorization service.
|
|
16104
16104
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16105
|
-
* @version
|
|
16105
|
+
* @version 202.0.0
|
|
16106
16106
|
*/ /**
|
|
16107
16107
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16108
16108
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16425,7 +16425,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16425
16425
|
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(){/**
|
|
16426
16426
|
* Outbound service.
|
|
16427
16427
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16428
|
-
* @version
|
|
16428
|
+
* @version 202.0.0
|
|
16429
16429
|
*/ /**
|
|
16430
16430
|
* Constructs a new OutboundApi.
|
|
16431
16431
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16769,6 +16769,18 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
16769
16769
|
*/},{key:"getOutboundContactlistContact",value:function getOutboundContactlistContact(contactListId,contactId){// verify the required parameter 'contactListId' is set
|
|
16770
16770
|
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContact';}// verify the required parameter 'contactId' is set
|
|
16771
16771
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getOutboundContactlistContact';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}','GET',{'contactListId':contactListId,'contactId':contactId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16772
|
+
* Get bulk operation job.
|
|
16773
|
+
*
|
|
16774
|
+
* @param {String} contactListId Contact List ID
|
|
16775
|
+
* @param {String} jobId Job ID
|
|
16776
|
+
*/},{key:"getOutboundContactlistContactsBulkJob",value:function getOutboundContactlistContactsBulkJob(contactListId,jobId){// verify the required parameter 'contactListId' is set
|
|
16777
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJob';}// verify the required parameter 'jobId' is set
|
|
16778
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getOutboundContactlistContactsBulkJob';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs/{jobId}','GET',{'contactListId':contactListId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16779
|
+
* Get 10 most recent bulk operation jobs associated with contact list.
|
|
16780
|
+
*
|
|
16781
|
+
* @param {String} contactListId Contact List ID
|
|
16782
|
+
*/},{key:"getOutboundContactlistContactsBulkJobs",value:function getOutboundContactlistContactsBulkJobs(contactListId){// verify the required parameter 'contactListId' is set
|
|
16783
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJobs';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs','GET',{'contactListId':contactListId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16772
16784
|
* Get the URI of a contact list export.
|
|
16773
16785
|
*
|
|
16774
16786
|
* @param {String} contactListId ContactList ID
|
|
@@ -17492,7 +17504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17492
17504
|
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(){/**
|
|
17493
17505
|
* Presence service.
|
|
17494
17506
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17495
|
-
* @version
|
|
17507
|
+
* @version 202.0.0
|
|
17496
17508
|
*/ /**
|
|
17497
17509
|
* Constructs a new PresenceApi.
|
|
17498
17510
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17665,7 +17677,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17665
17677
|
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(){/**
|
|
17666
17678
|
* ProcessAutomation service.
|
|
17667
17679
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17668
|
-
* @version
|
|
17680
|
+
* @version 202.0.0
|
|
17669
17681
|
*/ /**
|
|
17670
17682
|
* Constructs a new ProcessAutomationApi.
|
|
17671
17683
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17728,7 +17740,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17728
17740
|
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(){/**
|
|
17729
17741
|
* Quality service.
|
|
17730
17742
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17731
|
-
* @version
|
|
17743
|
+
* @version 202.0.0
|
|
17732
17744
|
*/ /**
|
|
17733
17745
|
* Constructs a new QualityApi.
|
|
17734
17746
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18205,7 +18217,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18205
18217
|
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(){/**
|
|
18206
18218
|
* Recording service.
|
|
18207
18219
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18208
|
-
* @version
|
|
18220
|
+
* @version 202.0.0
|
|
18209
18221
|
*/ /**
|
|
18210
18222
|
* Constructs a new RecordingApi.
|
|
18211
18223
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18336,7 +18348,7 @@ if(orphanId===undefined||orphanId===null){throw'Missing the required parameter "
|
|
|
18336
18348
|
* @param {Boolean} opts.hasConversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
|
|
18337
18349
|
* @param {Object} opts.media Filter resulting orphans based on their media type
|
|
18338
18350
|
*/},{key:"getOrphanrecordings",value:function getOrphanrecordings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/orphanrecordings','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'hasConversation':opts['hasConversation'],'media':opts['media']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18339
|
-
* Get the status and results for a batch request job, only the user that submitted the job may retrieve results
|
|
18351
|
+
* Get the status and results for a batch request job, only the user that submitted the job may retrieve results. Each result may contain either a URL to a recording or an error; additionally, a recording could be associated with multiple results.
|
|
18340
18352
|
*
|
|
18341
18353
|
* @param {String} jobId jobId
|
|
18342
18354
|
*/},{key:"getRecordingBatchrequest",value:function getRecordingBatchrequest(jobId){// verify the required parameter 'jobId' is set
|
|
@@ -18617,7 +18629,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18617
18629
|
*/},{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(){/**
|
|
18618
18630
|
* ResponseManagement service.
|
|
18619
18631
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18620
|
-
* @version
|
|
18632
|
+
* @version 202.0.0
|
|
18621
18633
|
*/ /**
|
|
18622
18634
|
* Constructs a new ResponseManagementApi.
|
|
18623
18635
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18738,7 +18750,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18738
18750
|
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(){/**
|
|
18739
18751
|
* Routing service.
|
|
18740
18752
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18741
|
-
* @version
|
|
18753
|
+
* @version 202.0.0
|
|
18742
18754
|
*/ /**
|
|
18743
18755
|
* Constructs a new RoutingApi.
|
|
18744
18756
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19735,7 +19747,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19735
19747
|
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(){/**
|
|
19736
19748
|
* SCIM service.
|
|
19737
19749
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19738
|
-
* @version
|
|
19750
|
+
* @version 202.0.0
|
|
19739
19751
|
*/ /**
|
|
19740
19752
|
* Constructs a new SCIMApi.
|
|
19741
19753
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19960,7 +19972,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19960
19972
|
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(){/**
|
|
19961
19973
|
* ScreenRecording service.
|
|
19962
19974
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19963
|
-
* @version
|
|
19975
|
+
* @version 202.0.0
|
|
19964
19976
|
*/ /**
|
|
19965
19977
|
* Constructs a new ScreenRecordingApi.
|
|
19966
19978
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19975,7 +19987,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19975
19987
|
*/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(){/**
|
|
19976
19988
|
* Scripts service.
|
|
19977
19989
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19978
|
-
* @version
|
|
19990
|
+
* @version 202.0.0
|
|
19979
19991
|
*/ /**
|
|
19980
19992
|
* Constructs a new ScriptsApi.
|
|
19981
19993
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20111,7 +20123,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20111
20123
|
*/},{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(){/**
|
|
20112
20124
|
* Search service.
|
|
20113
20125
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20114
|
-
* @version
|
|
20126
|
+
* @version 202.0.0
|
|
20115
20127
|
*/ /**
|
|
20116
20128
|
* Constructs a new SearchApi.
|
|
20117
20129
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20271,7 +20283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20271
20283
|
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(){/**
|
|
20272
20284
|
* Settings service.
|
|
20273
20285
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20274
|
-
* @version
|
|
20286
|
+
* @version 202.0.0
|
|
20275
20287
|
*/ /**
|
|
20276
20288
|
* Constructs a new SettingsApi.
|
|
20277
20289
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20323,7 +20335,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20323
20335
|
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(){/**
|
|
20324
20336
|
* SpeechTextAnalytics service.
|
|
20325
20337
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20326
|
-
* @version
|
|
20338
|
+
* @version 202.0.0
|
|
20327
20339
|
*/ /**
|
|
20328
20340
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20329
20341
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20607,7 +20619,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20607
20619
|
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(){/**
|
|
20608
20620
|
* Stations service.
|
|
20609
20621
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20610
|
-
* @version
|
|
20622
|
+
* @version 202.0.0
|
|
20611
20623
|
*/ /**
|
|
20612
20624
|
* Constructs a new StationsApi.
|
|
20613
20625
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20639,7 +20651,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20639
20651
|
*/},{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(){/**
|
|
20640
20652
|
* Suggest service.
|
|
20641
20653
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20642
|
-
* @version
|
|
20654
|
+
* @version 202.0.0
|
|
20643
20655
|
*/ /**
|
|
20644
20656
|
* Constructs a new SuggestApi.
|
|
20645
20657
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20679,7 +20691,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20679
20691
|
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(){/**
|
|
20680
20692
|
* TaskManagement service.
|
|
20681
20693
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20682
|
-
* @version
|
|
20694
|
+
* @version 202.0.0
|
|
20683
20695
|
*/ /**
|
|
20684
20696
|
* Constructs a new TaskManagementApi.
|
|
20685
20697
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21009,7 +21021,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21009
21021
|
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(){/**
|
|
21010
21022
|
* Teams service.
|
|
21011
21023
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21012
|
-
* @version
|
|
21024
|
+
* @version 202.0.0
|
|
21013
21025
|
*/ /**
|
|
21014
21026
|
* Constructs a new TeamsApi.
|
|
21015
21027
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -21087,7 +21099,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21087
21099
|
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(){/**
|
|
21088
21100
|
* Telephony service.
|
|
21089
21101
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
21090
|
-
* @version
|
|
21102
|
+
* @version 202.0.0
|
|
21091
21103
|
*/ /**
|
|
21092
21104
|
* Constructs a new TelephonyApi.
|
|
21093
21105
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21134,7 +21146,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21134
21146
|
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(){/**
|
|
21135
21147
|
* TelephonyProvidersEdge service.
|
|
21136
21148
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21137
|
-
* @version
|
|
21149
|
+
* @version 202.0.0
|
|
21138
21150
|
*/ /**
|
|
21139
21151
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21140
21152
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21944,7 +21956,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21944
21956
|
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(){/**
|
|
21945
21957
|
* Textbots service.
|
|
21946
21958
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21947
|
-
* @version
|
|
21959
|
+
* @version 202.0.0
|
|
21948
21960
|
*/ /**
|
|
21949
21961
|
* Constructs a new TextbotsApi.
|
|
21950
21962
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21979,7 +21991,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21979
21991
|
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(){/**
|
|
21980
21992
|
* Tokens service.
|
|
21981
21993
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21982
|
-
* @version
|
|
21994
|
+
* @version 202.0.0
|
|
21983
21995
|
*/ /**
|
|
21984
21996
|
* Constructs a new TokensApi.
|
|
21985
21997
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -22013,7 +22025,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22013
22025
|
*/},{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(){/**
|
|
22014
22026
|
* Uploads service.
|
|
22015
22027
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
22016
|
-
* @version
|
|
22028
|
+
* @version 202.0.0
|
|
22017
22029
|
*/ /**
|
|
22018
22030
|
* Constructs a new UploadsApi.
|
|
22019
22031
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -22079,7 +22091,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22079
22091
|
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(){/**
|
|
22080
22092
|
* Usage service.
|
|
22081
22093
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
22082
|
-
* @version
|
|
22094
|
+
* @version 202.0.0
|
|
22083
22095
|
*/ /**
|
|
22084
22096
|
* Constructs a new UsageApi.
|
|
22085
22097
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22133,7 +22145,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22133
22145
|
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(){/**
|
|
22134
22146
|
* UserRecordings service.
|
|
22135
22147
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22136
|
-
* @version
|
|
22148
|
+
* @version 202.0.0
|
|
22137
22149
|
*/ /**
|
|
22138
22150
|
* Constructs a new UserRecordingsApi.
|
|
22139
22151
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22154,13 +22166,21 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22154
22166
|
*/},{key:"getUserrecording",value:function getUserrecording(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
22155
22167
|
if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','GET',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22156
22168
|
* Download a user recording.
|
|
22157
|
-
*
|
|
22169
|
+
* API should migrate to use GET api/v2/userrecordings/{recordingId}/transcoding
|
|
22158
22170
|
* @param {String} recordingId User Recording ID
|
|
22159
22171
|
* @param {Object} opts Optional parameters
|
|
22160
22172
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
22161
22173
|
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
22174
|
+
* @deprecated
|
|
22162
22175
|
*/},{key:"getUserrecordingMedia",value:function getUserrecordingMedia(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
22163
22176
|
if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getUserrecordingMedia';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}/media','GET',{'recordingId':recordingId},{'formatId':opts['formatId'],'async':opts['async']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22177
|
+
* Download a user recording.
|
|
22178
|
+
*
|
|
22179
|
+
* @param {String} recordingId User Recording ID
|
|
22180
|
+
* @param {Object} opts Optional parameters
|
|
22181
|
+
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
22182
|
+
*/},{key:"getUserrecordingTranscoding",value:function getUserrecordingTranscoding(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
22183
|
+
if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling getUserrecordingTranscoding';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}/transcoding','GET',{'recordingId':recordingId},{'formatId':opts['formatId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22164
22184
|
* Get a list of user recordings.
|
|
22165
22185
|
*
|
|
22166
22186
|
* @param {Object} opts Optional parameters
|
|
@@ -22182,7 +22202,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22182
22202
|
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(){/**
|
|
22183
22203
|
* Users service.
|
|
22184
22204
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22185
|
-
* @version
|
|
22205
|
+
* @version 202.0.0
|
|
22186
22206
|
*/ /**
|
|
22187
22207
|
* Constructs a new UsersApi.
|
|
22188
22208
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22872,7 +22892,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22872
22892
|
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(){/**
|
|
22873
22893
|
* Utilities service.
|
|
22874
22894
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22875
|
-
* @version
|
|
22895
|
+
* @version 202.0.0
|
|
22876
22896
|
*/ /**
|
|
22877
22897
|
* Constructs a new UtilitiesApi.
|
|
22878
22898
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22899,7 +22919,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22899
22919
|
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(){/**
|
|
22900
22920
|
* Voicemail service.
|
|
22901
22921
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22902
|
-
* @version
|
|
22922
|
+
* @version 202.0.0
|
|
22903
22923
|
*/ /**
|
|
22904
22924
|
* Constructs a new VoicemailApi.
|
|
22905
22925
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -23048,7 +23068,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23048
23068
|
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(){/**
|
|
23049
23069
|
* WebChat service.
|
|
23050
23070
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
23051
|
-
* @version
|
|
23071
|
+
* @version 202.0.0
|
|
23052
23072
|
*/ /**
|
|
23053
23073
|
* Constructs a new WebChatApi.
|
|
23054
23074
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23183,7 +23203,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23183
23203
|
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(){/**
|
|
23184
23204
|
* WebDeployments service.
|
|
23185
23205
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23186
|
-
* @version
|
|
23206
|
+
* @version 202.0.0
|
|
23187
23207
|
*/ /**
|
|
23188
23208
|
* Constructs a new WebDeploymentsApi.
|
|
23189
23209
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23304,7 +23324,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23304
23324
|
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(){/**
|
|
23305
23325
|
* WebMessaging service.
|
|
23306
23326
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23307
|
-
* @version
|
|
23327
|
+
* @version 202.0.0
|
|
23308
23328
|
*/ /**
|
|
23309
23329
|
* Constructs a new WebMessagingApi.
|
|
23310
23330
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23320,7 +23340,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23320
23340
|
*/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(){/**
|
|
23321
23341
|
* Widgets service.
|
|
23322
23342
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23323
|
-
* @version
|
|
23343
|
+
* @version 202.0.0
|
|
23324
23344
|
*/ /**
|
|
23325
23345
|
* Constructs a new WidgetsApi.
|
|
23326
23346
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23355,7 +23375,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23355
23375
|
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(){/**
|
|
23356
23376
|
* WorkforceManagement service.
|
|
23357
23377
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23358
|
-
* @version
|
|
23378
|
+
* @version 202.0.0
|
|
23359
23379
|
*/ /**
|
|
23360
23380
|
* Constructs a new WorkforceManagementApi.
|
|
23361
23381
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23585,7 +23605,6 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
23585
23605
|
*
|
|
23586
23606
|
* @param {String} businessUnitId The ID of the business unit
|
|
23587
23607
|
* @param {String} activityPlanId The ID of the activity plan to fetch
|
|
23588
|
-
* getWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23589
23608
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplan",value:function getWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
|
|
23590
23609
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
|
|
23591
23610
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}','GET',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23594,7 +23613,6 @@ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required
|
|
|
23594
23613
|
* @param {String} businessUnitId The ID of the business unit
|
|
23595
23614
|
* @param {String} activityPlanId The ID of the activity plan associated with the run job
|
|
23596
23615
|
* @param {String} jobId The ID of the activity plan run job
|
|
23597
|
-
* getWorkforcemanagementBusinessunitActivityplanRunsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23598
23616
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplanRunsJob",value:function getWorkforcemanagementBusinessunitActivityplanRunsJob(businessUnitId,activityPlanId,jobId){// verify the required parameter 'businessUnitId' is set
|
|
23599
23617
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'activityPlanId' is set
|
|
23600
23618
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'jobId' is set
|
|
@@ -23604,13 +23622,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
23604
23622
|
* @param {String} businessUnitId The ID of the business unit
|
|
23605
23623
|
* @param {Object} opts Optional parameters
|
|
23606
23624
|
* @param {Object} opts.state Optionally filter by activity plan state
|
|
23607
|
-
* getWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23608
23625
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplans",value:function getWorkforcemanagementBusinessunitActivityplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
23609
23626
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans','GET',{'businessUnitId':businessUnitId},{'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23610
23627
|
* Gets the latest job for all activity plans in the business unit
|
|
23611
23628
|
*
|
|
23612
23629
|
* @param {String} businessUnitId The ID of the business unit
|
|
23613
|
-
* getWorkforcemanagementBusinessunitActivityplansJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23614
23630
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplansJobs",value:function getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23615
23631
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23616
23632
|
* Get alternative shifts settings for a business unit
|
|
@@ -24232,7 +24248,6 @@ if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required
|
|
|
24232
24248
|
* @param {String} businessUnitId The ID of the business unit
|
|
24233
24249
|
* @param {String} activityPlanId The ID of the activity plan to update
|
|
24234
24250
|
* @param {Object} body body
|
|
24235
|
-
* patchWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24236
24251
|
*/},{key:"patchWorkforcemanagementBusinessunitActivityplan",value:function patchWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId,body){// verify the required parameter 'businessUnitId' is set
|
|
24237
24252
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
|
|
24238
24253
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'body' is set
|
|
@@ -24517,7 +24532,6 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
24517
24532
|
* Triggers a job running the activity plan. The activity plan cannot be updated until the job completes
|
|
24518
24533
|
* @param {String} businessUnitId The ID of the business unit
|
|
24519
24534
|
* @param {String} activityPlanId The ID of the activity plan to run
|
|
24520
|
-
* postWorkforcemanagementBusinessunitActivityplanRunsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24521
24535
|
*/},{key:"postWorkforcemanagementBusinessunitActivityplanRunsJobs",value:function postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
|
|
24522
24536
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}// verify the required parameter 'activityPlanId' is set
|
|
24523
24537
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs','POST',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -24525,7 +24539,6 @@ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required
|
|
|
24525
24539
|
*
|
|
24526
24540
|
* @param {String} businessUnitId The ID of the business unit
|
|
24527
24541
|
* @param {Object} body body
|
|
24528
|
-
* postWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24529
24542
|
*/},{key:"postWorkforcemanagementBusinessunitActivityplans",value:function postWorkforcemanagementBusinessunitActivityplans(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
24530
24543
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';}// verify the required parameter 'body' is set
|
|
24531
24544
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -25128,7 +25141,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25128
25141
|
* </pre>
|
|
25129
25142
|
* </p>
|
|
25130
25143
|
* @module purecloud-platform-client-v2/index
|
|
25131
|
-
* @version
|
|
25144
|
+
* @version 202.0.0
|
|
25132
25145
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
25133
25146
|
* The ApiClient constructor.
|
|
25134
25147
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|