purecloud-platform-client-v2 201.0.0 → 202.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -763,7 +763,7 @@ var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encod
|
|
|
763
763
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
764
764
|
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
|
|
765
765
|
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
|
|
766
|
-
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.
|
|
766
|
+
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
|
|
767
767
|
['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={};/**
|
|
768
768
|
* Transitional option validator
|
|
769
769
|
*
|
|
@@ -877,7 +877,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
877
877
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
878
878
|
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];}}}]);}();/**
|
|
879
879
|
* @module purecloud-platform-client-v2/ApiClient
|
|
880
|
-
* @version
|
|
880
|
+
* @version 202.1.0
|
|
881
881
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
882
882
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
883
883
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1189,7 +1189,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1189
1189
|
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(){/**
|
|
1190
1190
|
* AgentUI service.
|
|
1191
1191
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1192
|
-
* @version
|
|
1192
|
+
* @version 202.1.0
|
|
1193
1193
|
*/ /**
|
|
1194
1194
|
* Constructs a new AgentUIApi.
|
|
1195
1195
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1223,7 +1223,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1223
1223
|
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(){/**
|
|
1224
1224
|
* Alerting service.
|
|
1225
1225
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1226
|
-
* @version
|
|
1226
|
+
* @version 202.1.0
|
|
1227
1227
|
*/ /**
|
|
1228
1228
|
* Constructs a new AlertingApi.
|
|
1229
1229
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1380,7 +1380,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1380
1380
|
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(){/**
|
|
1381
1381
|
* Analytics service.
|
|
1382
1382
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1383
|
-
* @version
|
|
1383
|
+
* @version 202.1.0
|
|
1384
1384
|
*/ /**
|
|
1385
1385
|
* Constructs a new AnalyticsApi.
|
|
1386
1386
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2001,7 +2001,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2001
2001
|
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(){/**
|
|
2002
2002
|
* Architect service.
|
|
2003
2003
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2004
|
-
* @version
|
|
2004
|
+
* @version 202.1.0
|
|
2005
2005
|
*/ /**
|
|
2006
2006
|
* Constructs a new ArchitectApi.
|
|
2007
2007
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3117,7 +3117,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3117
3117
|
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(){/**
|
|
3118
3118
|
* Audit service.
|
|
3119
3119
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3120
|
-
* @version
|
|
3120
|
+
* @version 202.1.0
|
|
3121
3121
|
*/ /**
|
|
3122
3122
|
* Constructs a new AuditApi.
|
|
3123
3123
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3167,7 +3167,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3167
3167
|
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(){/**
|
|
3168
3168
|
* Authorization service.
|
|
3169
3169
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3170
|
-
* @version
|
|
3170
|
+
* @version 202.1.0
|
|
3171
3171
|
*/ /**
|
|
3172
3172
|
* Constructs a new AuthorizationApi.
|
|
3173
3173
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3482,7 +3482,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3482
3482
|
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(){/**
|
|
3483
3483
|
* Billing service.
|
|
3484
3484
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3485
|
-
* @version
|
|
3485
|
+
* @version 202.1.0
|
|
3486
3486
|
*/ /**
|
|
3487
3487
|
* Constructs a new BillingApi.
|
|
3488
3488
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3506,7 +3506,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3506
3506
|
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(){/**
|
|
3507
3507
|
* CarrierServices service.
|
|
3508
3508
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3509
|
-
* @version
|
|
3509
|
+
* @version 202.1.0
|
|
3510
3510
|
*/ /**
|
|
3511
3511
|
* Constructs a new CarrierServicesApi.
|
|
3512
3512
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3526,7 +3526,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3526
3526
|
*/},{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(){/**
|
|
3527
3527
|
* Chat service.
|
|
3528
3528
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3529
|
-
* @version
|
|
3529
|
+
* @version 202.1.0
|
|
3530
3530
|
*/ /**
|
|
3531
3531
|
* Constructs a new ChatApi.
|
|
3532
3532
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3751,7 +3751,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3751
3751
|
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(){/**
|
|
3752
3752
|
* Coaching service.
|
|
3753
3753
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3754
|
-
* @version
|
|
3754
|
+
* @version 202.1.0
|
|
3755
3755
|
*/ /**
|
|
3756
3756
|
* Constructs a new CoachingApi.
|
|
3757
3757
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3904,7 +3904,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3904
3904
|
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(){/**
|
|
3905
3905
|
* ContentManagement service.
|
|
3906
3906
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3907
|
-
* @version
|
|
3907
|
+
* @version 202.1.0
|
|
3908
3908
|
*/ /**
|
|
3909
3909
|
* Constructs a new ContentManagementApi.
|
|
3910
3910
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4187,7 +4187,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4187
4187
|
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(){/**
|
|
4188
4188
|
* Conversations service.
|
|
4189
4189
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4190
|
-
* @version
|
|
4190
|
+
* @version 202.1.0
|
|
4191
4191
|
*/ /**
|
|
4192
4192
|
* Constructs a new ConversationsApi.
|
|
4193
4193
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5909,7 +5909,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5909
5909
|
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(){/**
|
|
5910
5910
|
* DataExtensions service.
|
|
5911
5911
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5912
|
-
* @version
|
|
5912
|
+
* @version 202.1.0
|
|
5913
5913
|
*/ /**
|
|
5914
5914
|
* Constructs a new DataExtensionsApi.
|
|
5915
5915
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5930,7 +5930,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5930
5930
|
*/},{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(){/**
|
|
5931
5931
|
* Downloads service.
|
|
5932
5932
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5933
|
-
* @version
|
|
5933
|
+
* @version 202.1.0
|
|
5934
5934
|
*/ /**
|
|
5935
5935
|
* Constructs a new DownloadsApi.
|
|
5936
5936
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5949,7 +5949,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5949
5949
|
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(){/**
|
|
5950
5950
|
* Emails service.
|
|
5951
5951
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5952
|
-
* @version
|
|
5952
|
+
* @version 202.1.0
|
|
5953
5953
|
*/ /**
|
|
5954
5954
|
* Constructs a new EmailsApi.
|
|
5955
5955
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5967,7 +5967,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5967
5967
|
*/},{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(){/**
|
|
5968
5968
|
* EmployeeEngagement service.
|
|
5969
5969
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
5970
|
-
* @version
|
|
5970
|
+
* @version 202.1.0
|
|
5971
5971
|
*/ /**
|
|
5972
5972
|
* Constructs a new EmployeeEngagementApi.
|
|
5973
5973
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6005,7 +6005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6005
6005
|
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(){/**
|
|
6006
6006
|
* Events service.
|
|
6007
6007
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6008
|
-
* @version
|
|
6008
|
+
* @version 202.1.0
|
|
6009
6009
|
*/ /**
|
|
6010
6010
|
* Constructs a new EventsApi.
|
|
6011
6011
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6030,7 +6030,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6030
6030
|
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(){/**
|
|
6031
6031
|
* ExternalContacts service.
|
|
6032
6032
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6033
|
-
* @version
|
|
6033
|
+
* @version 202.1.0
|
|
6034
6034
|
*/ /**
|
|
6035
6035
|
* Constructs a new ExternalContactsApi.
|
|
6036
6036
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6487,7 +6487,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6487
6487
|
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(){/**
|
|
6488
6488
|
* Fax service.
|
|
6489
6489
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6490
|
-
* @version
|
|
6490
|
+
* @version 202.1.0
|
|
6491
6491
|
*/ /**
|
|
6492
6492
|
* Constructs a new FaxApi.
|
|
6493
6493
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6536,7 +6536,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6536
6536
|
*/},{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(){/**
|
|
6537
6537
|
* Flows service.
|
|
6538
6538
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6539
|
-
* @version
|
|
6539
|
+
* @version 202.1.0
|
|
6540
6540
|
*/ /**
|
|
6541
6541
|
* Constructs a new FlowsApi.
|
|
6542
6542
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6584,7 +6584,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6584
6584
|
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(){/**
|
|
6585
6585
|
* Gamification service.
|
|
6586
6586
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6587
|
-
* @version
|
|
6587
|
+
* @version 202.1.0
|
|
6588
6588
|
*/ /**
|
|
6589
6589
|
* Constructs a new GamificationApi.
|
|
6590
6590
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7124,7 +7124,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7124
7124
|
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(){/**
|
|
7125
7125
|
* GeneralDataProtectionRegulation service.
|
|
7126
7126
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7127
|
-
* @version
|
|
7127
|
+
* @version 202.1.0
|
|
7128
7128
|
*/ /**
|
|
7129
7129
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7130
7130
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7159,7 +7159,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7159
7159
|
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(){/**
|
|
7160
7160
|
* Geolocation service.
|
|
7161
7161
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7162
|
-
* @version
|
|
7162
|
+
* @version 202.1.0
|
|
7163
7163
|
*/ /**
|
|
7164
7164
|
* Constructs a new GeolocationApi.
|
|
7165
7165
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7193,7 +7193,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7193
7193
|
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(){/**
|
|
7194
7194
|
* Greetings service.
|
|
7195
7195
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7196
|
-
* @version
|
|
7196
|
+
* @version 202.1.0
|
|
7197
7197
|
*/ /**
|
|
7198
7198
|
* Constructs a new GreetingsApi.
|
|
7199
7199
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7300,7 +7300,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7300
7300
|
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(){/**
|
|
7301
7301
|
* Groups service.
|
|
7302
7302
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7303
|
-
* @version
|
|
7303
|
+
* @version 202.1.0
|
|
7304
7304
|
*/ /**
|
|
7305
7305
|
* Constructs a new GroupsApi.
|
|
7306
7306
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7433,7 +7433,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7433
7433
|
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(){/**
|
|
7434
7434
|
* IdentityProvider service.
|
|
7435
7435
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7436
|
-
* @version
|
|
7436
|
+
* @version 202.1.0
|
|
7437
7437
|
*/ /**
|
|
7438
7438
|
* Constructs a new IdentityProviderApi.
|
|
7439
7439
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7589,7 +7589,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7589
7589
|
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(){/**
|
|
7590
7590
|
* InfrastructureAsCode service.
|
|
7591
7591
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7592
|
-
* @version
|
|
7592
|
+
* @version 202.1.0
|
|
7593
7593
|
*/ /**
|
|
7594
7594
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7595
7595
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7643,7 +7643,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7643
7643
|
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(){/**
|
|
7644
7644
|
* Integrations service.
|
|
7645
7645
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7646
|
-
* @version
|
|
7646
|
+
* @version 202.1.0
|
|
7647
7647
|
*/ /**
|
|
7648
7648
|
* Constructs a new IntegrationsApi.
|
|
7649
7649
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8257,7 +8257,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8257
8257
|
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(){/**
|
|
8258
8258
|
* Journey service.
|
|
8259
8259
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8260
|
-
* @version
|
|
8260
|
+
* @version 202.1.0
|
|
8261
8261
|
*/ /**
|
|
8262
8262
|
* Constructs a new JourneyApi.
|
|
8263
8263
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8666,7 +8666,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8666
8666
|
*/},{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(){/**
|
|
8667
8667
|
* Knowledge service.
|
|
8668
8668
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8669
|
-
* @version
|
|
8669
|
+
* @version 202.1.0
|
|
8670
8670
|
*/ /**
|
|
8671
8671
|
* Constructs a new KnowledgeApi.
|
|
8672
8672
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -9579,7 +9579,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9579
9579
|
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(){/**
|
|
9580
9580
|
* LanguageUnderstanding service.
|
|
9581
9581
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9582
|
-
* @version
|
|
9582
|
+
* @version 202.1.0
|
|
9583
9583
|
*/ /**
|
|
9584
9584
|
* Constructs a new LanguageUnderstandingApi.
|
|
9585
9585
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9839,7 +9839,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9839
9839
|
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(){/**
|
|
9840
9840
|
* Languages service.
|
|
9841
9841
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9842
|
-
* @version
|
|
9842
|
+
* @version 202.1.0
|
|
9843
9843
|
*/ /**
|
|
9844
9844
|
* Constructs a new LanguagesApi.
|
|
9845
9845
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9894,7 +9894,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9894
9894
|
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(){/**
|
|
9895
9895
|
* Learning service.
|
|
9896
9896
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9897
|
-
* @version
|
|
9897
|
+
* @version 202.1.0
|
|
9898
9898
|
*/ /**
|
|
9899
9899
|
* Constructs a new LearningApi.
|
|
9900
9900
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10165,7 +10165,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10165
10165
|
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(){/**
|
|
10166
10166
|
* License service.
|
|
10167
10167
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10168
|
-
* @version
|
|
10168
|
+
* @version 202.1.0
|
|
10169
10169
|
*/ /**
|
|
10170
10170
|
* Constructs a new LicenseApi.
|
|
10171
10171
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10219,7 +10219,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10219
10219
|
*/},{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(){/**
|
|
10220
10220
|
* Locations service.
|
|
10221
10221
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10222
|
-
* @version
|
|
10222
|
+
* @version 202.1.0
|
|
10223
10223
|
*/ /**
|
|
10224
10224
|
* Constructs a new LocationsApi.
|
|
10225
10225
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10278,7 +10278,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10278
10278
|
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(){/**
|
|
10279
10279
|
* LogCapture service.
|
|
10280
10280
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10281
|
-
* @version
|
|
10281
|
+
* @version 202.1.0
|
|
10282
10282
|
*/ /**
|
|
10283
10283
|
* Constructs a new LogCaptureApi.
|
|
10284
10284
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10328,7 +10328,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10328
10328
|
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(){/**
|
|
10329
10329
|
* Messaging service.
|
|
10330
10330
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10331
|
-
* @version
|
|
10331
|
+
* @version 202.1.0
|
|
10332
10332
|
*/ /**
|
|
10333
10333
|
* Constructs a new MessagingApi.
|
|
10334
10334
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10418,7 +10418,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10418
10418
|
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(){/**
|
|
10419
10419
|
* MobileDevices service.
|
|
10420
10420
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10421
|
-
* @version
|
|
10421
|
+
* @version 202.1.0
|
|
10422
10422
|
*/ /**
|
|
10423
10423
|
* Constructs a new MobileDevicesApi.
|
|
10424
10424
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10457,7 +10457,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10457
10457
|
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(){/**
|
|
10458
10458
|
* Notifications service.
|
|
10459
10459
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10460
|
-
* @version
|
|
10460
|
+
* @version 202.1.0
|
|
10461
10461
|
*/ /**
|
|
10462
10462
|
* Constructs a new NotificationsApi.
|
|
10463
10463
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10514,7 +10514,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10514
10514
|
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(){/**
|
|
10515
10515
|
* OAuth service.
|
|
10516
10516
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10517
|
-
* @version
|
|
10517
|
+
* @version 202.1.0
|
|
10518
10518
|
*/ /**
|
|
10519
10519
|
* Constructs a new OAuthApi.
|
|
10520
10520
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10599,7 +10599,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10599
10599
|
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(){/**
|
|
10600
10600
|
* Objects service.
|
|
10601
10601
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10602
|
-
* @version
|
|
10602
|
+
* @version 202.1.0
|
|
10603
10603
|
*/ /**
|
|
10604
10604
|
* Constructs a new ObjectsApi.
|
|
10605
10605
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10670,7 +10670,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10670
10670
|
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(){/**
|
|
10671
10671
|
* OperationalEvents service.
|
|
10672
10672
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10673
|
-
* @version
|
|
10673
|
+
* @version 202.1.0
|
|
10674
10674
|
*/ /**
|
|
10675
10675
|
* Constructs a new OperationalEventsApi.
|
|
10676
10676
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10688,7 +10688,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10688
10688
|
*/},{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(){/**
|
|
10689
10689
|
* Organization service.
|
|
10690
10690
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10691
|
-
* @version
|
|
10691
|
+
* @version 202.1.0
|
|
10692
10692
|
*/ /**
|
|
10693
10693
|
* Constructs a new OrganizationApi.
|
|
10694
10694
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10813,7 +10813,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10813
10813
|
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(){/**
|
|
10814
10814
|
* OrganizationAuthorization service.
|
|
10815
10815
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10816
|
-
* @version
|
|
10816
|
+
* @version 202.1.0
|
|
10817
10817
|
*/ /**
|
|
10818
10818
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10819
10819
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11136,7 +11136,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11136
11136
|
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(){/**
|
|
11137
11137
|
* Outbound service.
|
|
11138
11138
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11139
|
-
* @version
|
|
11139
|
+
* @version 202.1.0
|
|
11140
11140
|
*/ /**
|
|
11141
11141
|
* Constructs a new OutboundApi.
|
|
11142
11142
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11480,6 +11480,18 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
11480
11480
|
*/},{key:"getOutboundContactlistContact",value:function getOutboundContactlistContact(contactListId,contactId){// verify the required parameter 'contactListId' is set
|
|
11481
11481
|
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContact';}// verify the required parameter 'contactId' is set
|
|
11482
11482
|
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']);}/**
|
|
11483
|
+
* Get bulk operation job.
|
|
11484
|
+
*
|
|
11485
|
+
* @param {String} contactListId Contact List ID
|
|
11486
|
+
* @param {String} jobId Job ID
|
|
11487
|
+
*/},{key:"getOutboundContactlistContactsBulkJob",value:function getOutboundContactlistContactsBulkJob(contactListId,jobId){// verify the required parameter 'contactListId' is set
|
|
11488
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling getOutboundContactlistContactsBulkJob';}// verify the required parameter 'jobId' is set
|
|
11489
|
+
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']);}/**
|
|
11490
|
+
* Get 10 most recent bulk operation jobs associated with contact list.
|
|
11491
|
+
*
|
|
11492
|
+
* @param {String} contactListId Contact List ID
|
|
11493
|
+
*/},{key:"getOutboundContactlistContactsBulkJobs",value:function getOutboundContactlistContactsBulkJobs(contactListId){// verify the required parameter 'contactListId' is set
|
|
11494
|
+
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']);}/**
|
|
11483
11495
|
* Get the URI of a contact list export.
|
|
11484
11496
|
*
|
|
11485
11497
|
* @param {String} contactListId ContactList ID
|
|
@@ -12203,7 +12215,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12203
12215
|
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(){/**
|
|
12204
12216
|
* Presence service.
|
|
12205
12217
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12206
|
-
* @version
|
|
12218
|
+
* @version 202.1.0
|
|
12207
12219
|
*/ /**
|
|
12208
12220
|
* Constructs a new PresenceApi.
|
|
12209
12221
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12376,7 +12388,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12376
12388
|
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(){/**
|
|
12377
12389
|
* ProcessAutomation service.
|
|
12378
12390
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12379
|
-
* @version
|
|
12391
|
+
* @version 202.1.0
|
|
12380
12392
|
*/ /**
|
|
12381
12393
|
* Constructs a new ProcessAutomationApi.
|
|
12382
12394
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12439,7 +12451,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12439
12451
|
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(){/**
|
|
12440
12452
|
* Quality service.
|
|
12441
12453
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12442
|
-
* @version
|
|
12454
|
+
* @version 202.1.0
|
|
12443
12455
|
*/ /**
|
|
12444
12456
|
* Constructs a new QualityApi.
|
|
12445
12457
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12916,7 +12928,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12916
12928
|
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(){/**
|
|
12917
12929
|
* Recording service.
|
|
12918
12930
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12919
|
-
* @version
|
|
12931
|
+
* @version 202.1.0
|
|
12920
12932
|
*/ /**
|
|
12921
12933
|
* Constructs a new RecordingApi.
|
|
12922
12934
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13047,7 +13059,7 @@ if(orphanId===undefined||orphanId===null){throw'Missing the required parameter "
|
|
|
13047
13059
|
* @param {Boolean} opts.hasConversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
|
|
13048
13060
|
* @param {Object} opts.media Filter resulting orphans based on their media type
|
|
13049
13061
|
*/},{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']);}/**
|
|
13050
|
-
* Get the status and results for a batch request job, only the user that submitted the job may retrieve results
|
|
13062
|
+
* 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.
|
|
13051
13063
|
*
|
|
13052
13064
|
* @param {String} jobId jobId
|
|
13053
13065
|
*/},{key:"getRecordingBatchrequest",value:function getRecordingBatchrequest(jobId){// verify the required parameter 'jobId' is set
|
|
@@ -13328,7 +13340,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13328
13340
|
*/},{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(){/**
|
|
13329
13341
|
* ResponseManagement service.
|
|
13330
13342
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13331
|
-
* @version
|
|
13343
|
+
* @version 202.1.0
|
|
13332
13344
|
*/ /**
|
|
13333
13345
|
* Constructs a new ResponseManagementApi.
|
|
13334
13346
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13449,7 +13461,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13449
13461
|
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(){/**
|
|
13450
13462
|
* Routing service.
|
|
13451
13463
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13452
|
-
* @version
|
|
13464
|
+
* @version 202.1.0
|
|
13453
13465
|
*/ /**
|
|
13454
13466
|
* Constructs a new RoutingApi.
|
|
13455
13467
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -14446,7 +14458,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14446
14458
|
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(){/**
|
|
14447
14459
|
* SCIM service.
|
|
14448
14460
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14449
|
-
* @version
|
|
14461
|
+
* @version 202.1.0
|
|
14450
14462
|
*/ /**
|
|
14451
14463
|
* Constructs a new SCIMApi.
|
|
14452
14464
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14671,7 +14683,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14671
14683
|
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(){/**
|
|
14672
14684
|
* ScreenRecording service.
|
|
14673
14685
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14674
|
-
* @version
|
|
14686
|
+
* @version 202.1.0
|
|
14675
14687
|
*/ /**
|
|
14676
14688
|
* Constructs a new ScreenRecordingApi.
|
|
14677
14689
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14686,7 +14698,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14686
14698
|
*/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(){/**
|
|
14687
14699
|
* Scripts service.
|
|
14688
14700
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14689
|
-
* @version
|
|
14701
|
+
* @version 202.1.0
|
|
14690
14702
|
*/ /**
|
|
14691
14703
|
* Constructs a new ScriptsApi.
|
|
14692
14704
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14822,7 +14834,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14822
14834
|
*/},{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(){/**
|
|
14823
14835
|
* Search service.
|
|
14824
14836
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14825
|
-
* @version
|
|
14837
|
+
* @version 202.1.0
|
|
14826
14838
|
*/ /**
|
|
14827
14839
|
* Constructs a new SearchApi.
|
|
14828
14840
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14982,7 +14994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14982
14994
|
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(){/**
|
|
14983
14995
|
* Settings service.
|
|
14984
14996
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14985
|
-
* @version
|
|
14997
|
+
* @version 202.1.0
|
|
14986
14998
|
*/ /**
|
|
14987
14999
|
* Constructs a new SettingsApi.
|
|
14988
15000
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15034,7 +15046,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15034
15046
|
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(){/**
|
|
15035
15047
|
* SpeechTextAnalytics service.
|
|
15036
15048
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
15037
|
-
* @version
|
|
15049
|
+
* @version 202.1.0
|
|
15038
15050
|
*/ /**
|
|
15039
15051
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
15040
15052
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -15318,7 +15330,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15318
15330
|
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(){/**
|
|
15319
15331
|
* Stations service.
|
|
15320
15332
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15321
|
-
* @version
|
|
15333
|
+
* @version 202.1.0
|
|
15322
15334
|
*/ /**
|
|
15323
15335
|
* Constructs a new StationsApi.
|
|
15324
15336
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15350,7 +15362,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15350
15362
|
*/},{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(){/**
|
|
15351
15363
|
* Suggest service.
|
|
15352
15364
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15353
|
-
* @version
|
|
15365
|
+
* @version 202.1.0
|
|
15354
15366
|
*/ /**
|
|
15355
15367
|
* Constructs a new SuggestApi.
|
|
15356
15368
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15390,7 +15402,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15390
15402
|
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(){/**
|
|
15391
15403
|
* TaskManagement service.
|
|
15392
15404
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15393
|
-
* @version
|
|
15405
|
+
* @version 202.1.0
|
|
15394
15406
|
*/ /**
|
|
15395
15407
|
* Constructs a new TaskManagementApi.
|
|
15396
15408
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15720,7 +15732,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15720
15732
|
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(){/**
|
|
15721
15733
|
* Teams service.
|
|
15722
15734
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15723
|
-
* @version
|
|
15735
|
+
* @version 202.1.0
|
|
15724
15736
|
*/ /**
|
|
15725
15737
|
* Constructs a new TeamsApi.
|
|
15726
15738
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15798,7 +15810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15798
15810
|
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(){/**
|
|
15799
15811
|
* Telephony service.
|
|
15800
15812
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15801
|
-
* @version
|
|
15813
|
+
* @version 202.1.0
|
|
15802
15814
|
*/ /**
|
|
15803
15815
|
* Constructs a new TelephonyApi.
|
|
15804
15816
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15845,7 +15857,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15845
15857
|
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(){/**
|
|
15846
15858
|
* TelephonyProvidersEdge service.
|
|
15847
15859
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15848
|
-
* @version
|
|
15860
|
+
* @version 202.1.0
|
|
15849
15861
|
*/ /**
|
|
15850
15862
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15851
15863
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16655,7 +16667,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16655
16667
|
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(){/**
|
|
16656
16668
|
* Textbots service.
|
|
16657
16669
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16658
|
-
* @version
|
|
16670
|
+
* @version 202.1.0
|
|
16659
16671
|
*/ /**
|
|
16660
16672
|
* Constructs a new TextbotsApi.
|
|
16661
16673
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16690,7 +16702,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16690
16702
|
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(){/**
|
|
16691
16703
|
* Tokens service.
|
|
16692
16704
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16693
|
-
* @version
|
|
16705
|
+
* @version 202.1.0
|
|
16694
16706
|
*/ /**
|
|
16695
16707
|
* Constructs a new TokensApi.
|
|
16696
16708
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16724,7 +16736,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16724
16736
|
*/},{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(){/**
|
|
16725
16737
|
* Uploads service.
|
|
16726
16738
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16727
|
-
* @version
|
|
16739
|
+
* @version 202.1.0
|
|
16728
16740
|
*/ /**
|
|
16729
16741
|
* Constructs a new UploadsApi.
|
|
16730
16742
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16790,7 +16802,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16790
16802
|
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(){/**
|
|
16791
16803
|
* Usage service.
|
|
16792
16804
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16793
|
-
* @version
|
|
16805
|
+
* @version 202.1.0
|
|
16794
16806
|
*/ /**
|
|
16795
16807
|
* Constructs a new UsageApi.
|
|
16796
16808
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16844,7 +16856,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16844
16856
|
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(){/**
|
|
16845
16857
|
* UserRecordings service.
|
|
16846
16858
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16847
|
-
* @version
|
|
16859
|
+
* @version 202.1.0
|
|
16848
16860
|
*/ /**
|
|
16849
16861
|
* Constructs a new UserRecordingsApi.
|
|
16850
16862
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16865,13 +16877,21 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16865
16877
|
*/},{key:"getUserrecording",value:function getUserrecording(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
16866
16878
|
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']);}/**
|
|
16867
16879
|
* Download a user recording.
|
|
16868
|
-
*
|
|
16880
|
+
* API should migrate to use GET api/v2/userrecordings/{recordingId}/transcoding
|
|
16869
16881
|
* @param {String} recordingId User Recording ID
|
|
16870
16882
|
* @param {Object} opts Optional parameters
|
|
16871
16883
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
16872
16884
|
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
16885
|
+
* @deprecated
|
|
16873
16886
|
*/},{key:"getUserrecordingMedia",value:function getUserrecordingMedia(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
16874
16887
|
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']);}/**
|
|
16888
|
+
* Download a user recording.
|
|
16889
|
+
*
|
|
16890
|
+
* @param {String} recordingId User Recording ID
|
|
16891
|
+
* @param {Object} opts Optional parameters
|
|
16892
|
+
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
16893
|
+
*/},{key:"getUserrecordingTranscoding",value:function getUserrecordingTranscoding(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
|
|
16894
|
+
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']);}/**
|
|
16875
16895
|
* Get a list of user recordings.
|
|
16876
16896
|
*
|
|
16877
16897
|
* @param {Object} opts Optional parameters
|
|
@@ -16893,7 +16913,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16893
16913
|
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(){/**
|
|
16894
16914
|
* Users service.
|
|
16895
16915
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16896
|
-
* @version
|
|
16916
|
+
* @version 202.1.0
|
|
16897
16917
|
*/ /**
|
|
16898
16918
|
* Constructs a new UsersApi.
|
|
16899
16919
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17583,7 +17603,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17583
17603
|
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(){/**
|
|
17584
17604
|
* Utilities service.
|
|
17585
17605
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17586
|
-
* @version
|
|
17606
|
+
* @version 202.1.0
|
|
17587
17607
|
*/ /**
|
|
17588
17608
|
* Constructs a new UtilitiesApi.
|
|
17589
17609
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17610,7 +17630,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17610
17630
|
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(){/**
|
|
17611
17631
|
* Voicemail service.
|
|
17612
17632
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17613
|
-
* @version
|
|
17633
|
+
* @version 202.1.0
|
|
17614
17634
|
*/ /**
|
|
17615
17635
|
* Constructs a new VoicemailApi.
|
|
17616
17636
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17759,7 +17779,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17759
17779
|
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(){/**
|
|
17760
17780
|
* WebChat service.
|
|
17761
17781
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17762
|
-
* @version
|
|
17782
|
+
* @version 202.1.0
|
|
17763
17783
|
*/ /**
|
|
17764
17784
|
* Constructs a new WebChatApi.
|
|
17765
17785
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17894,7 +17914,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17894
17914
|
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(){/**
|
|
17895
17915
|
* WebDeployments service.
|
|
17896
17916
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17897
|
-
* @version
|
|
17917
|
+
* @version 202.1.0
|
|
17898
17918
|
*/ /**
|
|
17899
17919
|
* Constructs a new WebDeploymentsApi.
|
|
17900
17920
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -18015,7 +18035,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18015
18035
|
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(){/**
|
|
18016
18036
|
* WebMessaging service.
|
|
18017
18037
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
18018
|
-
* @version
|
|
18038
|
+
* @version 202.1.0
|
|
18019
18039
|
*/ /**
|
|
18020
18040
|
* Constructs a new WebMessagingApi.
|
|
18021
18041
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -18031,7 +18051,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
18031
18051
|
*/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(){/**
|
|
18032
18052
|
* Widgets service.
|
|
18033
18053
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
18034
|
-
* @version
|
|
18054
|
+
* @version 202.1.0
|
|
18035
18055
|
*/ /**
|
|
18036
18056
|
* Constructs a new WidgetsApi.
|
|
18037
18057
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -18066,7 +18086,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
18066
18086
|
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(){/**
|
|
18067
18087
|
* WorkforceManagement service.
|
|
18068
18088
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
18069
|
-
* @version
|
|
18089
|
+
* @version 202.1.0
|
|
18070
18090
|
*/ /**
|
|
18071
18091
|
* Constructs a new WorkforceManagementApi.
|
|
18072
18092
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -18296,7 +18316,6 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
18296
18316
|
*
|
|
18297
18317
|
* @param {String} businessUnitId The ID of the business unit
|
|
18298
18318
|
* @param {String} activityPlanId The ID of the activity plan to fetch
|
|
18299
|
-
* getWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18300
18319
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplan",value:function getWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
|
|
18301
18320
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
|
|
18302
18321
|
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']);}/**
|
|
@@ -18305,7 +18324,6 @@ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required
|
|
|
18305
18324
|
* @param {String} businessUnitId The ID of the business unit
|
|
18306
18325
|
* @param {String} activityPlanId The ID of the activity plan associated with the run job
|
|
18307
18326
|
* @param {String} jobId The ID of the activity plan run job
|
|
18308
|
-
* getWorkforcemanagementBusinessunitActivityplanRunsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18309
18327
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplanRunsJob",value:function getWorkforcemanagementBusinessunitActivityplanRunsJob(businessUnitId,activityPlanId,jobId){// verify the required parameter 'businessUnitId' is set
|
|
18310
18328
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'activityPlanId' is set
|
|
18311
18329
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';}// verify the required parameter 'jobId' is set
|
|
@@ -18315,13 +18333,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
18315
18333
|
* @param {String} businessUnitId The ID of the business unit
|
|
18316
18334
|
* @param {Object} opts Optional parameters
|
|
18317
18335
|
* @param {Object} opts.state Optionally filter by activity plan state
|
|
18318
|
-
* getWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18319
18336
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplans",value:function getWorkforcemanagementBusinessunitActivityplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
18320
18337
|
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']);}/**
|
|
18321
18338
|
* Gets the latest job for all activity plans in the business unit
|
|
18322
18339
|
*
|
|
18323
18340
|
* @param {String} businessUnitId The ID of the business unit
|
|
18324
|
-
* getWorkforcemanagementBusinessunitActivityplansJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18325
18341
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplansJobs",value:function getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
18326
18342
|
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']);}/**
|
|
18327
18343
|
* Get alternative shifts settings for a business unit
|
|
@@ -18943,7 +18959,6 @@ if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required
|
|
|
18943
18959
|
* @param {String} businessUnitId The ID of the business unit
|
|
18944
18960
|
* @param {String} activityPlanId The ID of the activity plan to update
|
|
18945
18961
|
* @param {Object} body body
|
|
18946
|
-
* patchWorkforcemanagementBusinessunitActivityplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18947
18962
|
*/},{key:"patchWorkforcemanagementBusinessunitActivityplan",value:function patchWorkforcemanagementBusinessunitActivityplan(businessUnitId,activityPlanId,body){// verify the required parameter 'businessUnitId' is set
|
|
18948
18963
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
|
|
18949
18964
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'body' is set
|
|
@@ -19228,7 +19243,6 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
19228
19243
|
* Triggers a job running the activity plan. The activity plan cannot be updated until the job completes
|
|
19229
19244
|
* @param {String} businessUnitId The ID of the business unit
|
|
19230
19245
|
* @param {String} activityPlanId The ID of the activity plan to run
|
|
19231
|
-
* postWorkforcemanagementBusinessunitActivityplanRunsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19232
19246
|
*/},{key:"postWorkforcemanagementBusinessunitActivityplanRunsJobs",value:function postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId,activityPlanId){// verify the required parameter 'businessUnitId' is set
|
|
19233
19247
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';}// verify the required parameter 'activityPlanId' is set
|
|
19234
19248
|
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']);}/**
|
|
@@ -19236,7 +19250,6 @@ if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required
|
|
|
19236
19250
|
*
|
|
19237
19251
|
* @param {String} businessUnitId The ID of the business unit
|
|
19238
19252
|
* @param {Object} body body
|
|
19239
|
-
* postWorkforcemanagementBusinessunitActivityplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19240
19253
|
*/},{key:"postWorkforcemanagementBusinessunitActivityplans",value:function postWorkforcemanagementBusinessunitActivityplans(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
19241
19254
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';}// verify the required parameter 'body' is set
|
|
19242
19255
|
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']);}/**
|
|
@@ -19839,7 +19852,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19839
19852
|
* </pre>
|
|
19840
19853
|
* </p>
|
|
19841
19854
|
* @module purecloud-platform-client-v2/index
|
|
19842
|
-
* @version
|
|
19855
|
+
* @version 202.1.0
|
|
19843
19856
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19844
19857
|
* The ApiClient constructor.
|
|
19845
19858
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|