purecloud-platform-client-v2 199.0.0 → 200.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 +381 -82
- package/dist/web-amd/purecloud-platform-client-v2.js +381 -82
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +144 -81
- package/dist/web-cjs/purecloud-platform-client-v2.js +144 -81
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +278 -223
- 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 +3 -2
- 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 +10 -3
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +146 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +146 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6060,7 +6060,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6060
6060
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6061
6061
|
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];}}}]);}();/**
|
|
6062
6062
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6063
|
-
* @version
|
|
6063
|
+
* @version 200.0.0
|
|
6064
6064
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6065
6065
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6066
6066
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6372,7 +6372,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6372
6372
|
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(){/**
|
|
6373
6373
|
* AgentUI service.
|
|
6374
6374
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6375
|
-
* @version
|
|
6375
|
+
* @version 200.0.0
|
|
6376
6376
|
*/ /**
|
|
6377
6377
|
* Constructs a new AgentUIApi.
|
|
6378
6378
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6406,7 +6406,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6406
6406
|
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(){/**
|
|
6407
6407
|
* Alerting service.
|
|
6408
6408
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6409
|
-
* @version
|
|
6409
|
+
* @version 200.0.0
|
|
6410
6410
|
*/ /**
|
|
6411
6411
|
* Constructs a new AlertingApi.
|
|
6412
6412
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6563,7 +6563,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6563
6563
|
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(){/**
|
|
6564
6564
|
* Analytics service.
|
|
6565
6565
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6566
|
-
* @version
|
|
6566
|
+
* @version 200.0.0
|
|
6567
6567
|
*/ /**
|
|
6568
6568
|
* Constructs a new AnalyticsApi.
|
|
6569
6569
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7184,7 +7184,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7184
7184
|
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(){/**
|
|
7185
7185
|
* Architect service.
|
|
7186
7186
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7187
|
-
* @version
|
|
7187
|
+
* @version 200.0.0
|
|
7188
7188
|
*/ /**
|
|
7189
7189
|
* Constructs a new ArchitectApi.
|
|
7190
7190
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8300,7 +8300,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8300
8300
|
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(){/**
|
|
8301
8301
|
* Audit service.
|
|
8302
8302
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8303
|
-
* @version
|
|
8303
|
+
* @version 200.0.0
|
|
8304
8304
|
*/ /**
|
|
8305
8305
|
* Constructs a new AuditApi.
|
|
8306
8306
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8326,8 +8326,9 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
8326
8326
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
8327
8327
|
* @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
|
|
8328
8328
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
8329
|
+
* @param {Boolean} opts.allowRedirect Result sets with large amounts of data will respond with a download url
|
|
8329
8330
|
*/},{key:"getAuditsQueryTransactionIdResults",value:function getAuditsQueryTransactionIdResults(transactionId,opts){opts=opts||{};// verify the required parameter 'transactionId' is set
|
|
8330
|
-
if(transactionId===undefined||transactionId===null){throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';}return this.apiClient.callApi('/api/v2/audits/query/{transactionId}/results','GET',{'transactionId':transactionId},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8331
|
+
if(transactionId===undefined||transactionId===null){throw'Missing the required parameter "transactionId" when calling getAuditsQueryTransactionIdResults';}return this.apiClient.callApi('/api/v2/audits/query/{transactionId}/results','GET',{'transactionId':transactionId},{'cursor':opts['cursor'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'allowRedirect':opts['allowRedirect']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8331
8332
|
* Create audit query execution
|
|
8332
8333
|
* Use /api/v2/audits/query/servicemapping endpoint for a list of valid values
|
|
8333
8334
|
* @param {Object} body query
|
|
@@ -8349,7 +8350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8349
8350
|
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(){/**
|
|
8350
8351
|
* Authorization service.
|
|
8351
8352
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8352
|
-
* @version
|
|
8353
|
+
* @version 200.0.0
|
|
8353
8354
|
*/ /**
|
|
8354
8355
|
* Constructs a new AuthorizationApi.
|
|
8355
8356
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8664,7 +8665,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8664
8665
|
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(){/**
|
|
8665
8666
|
* Billing service.
|
|
8666
8667
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8667
|
-
* @version
|
|
8668
|
+
* @version 200.0.0
|
|
8668
8669
|
*/ /**
|
|
8669
8670
|
* Constructs a new BillingApi.
|
|
8670
8671
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8688,7 +8689,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8688
8689
|
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(){/**
|
|
8689
8690
|
* CarrierServices service.
|
|
8690
8691
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8691
|
-
* @version
|
|
8692
|
+
* @version 200.0.0
|
|
8692
8693
|
*/ /**
|
|
8693
8694
|
* Constructs a new CarrierServicesApi.
|
|
8694
8695
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8708,7 +8709,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8708
8709
|
*/},{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(){/**
|
|
8709
8710
|
* Chat service.
|
|
8710
8711
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8711
|
-
* @version
|
|
8712
|
+
* @version 200.0.0
|
|
8712
8713
|
*/ /**
|
|
8713
8714
|
* Constructs a new ChatApi.
|
|
8714
8715
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8933,7 +8934,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8933
8934
|
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(){/**
|
|
8934
8935
|
* Coaching service.
|
|
8935
8936
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8936
|
-
* @version
|
|
8937
|
+
* @version 200.0.0
|
|
8937
8938
|
*/ /**
|
|
8938
8939
|
* Constructs a new CoachingApi.
|
|
8939
8940
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9086,7 +9087,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9086
9087
|
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(){/**
|
|
9087
9088
|
* ContentManagement service.
|
|
9088
9089
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9089
|
-
* @version
|
|
9090
|
+
* @version 200.0.0
|
|
9090
9091
|
*/ /**
|
|
9091
9092
|
* Constructs a new ContentManagementApi.
|
|
9092
9093
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9369,7 +9370,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9369
9370
|
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(){/**
|
|
9370
9371
|
* Conversations service.
|
|
9371
9372
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9372
|
-
* @version
|
|
9373
|
+
* @version 200.0.0
|
|
9373
9374
|
*/ /**
|
|
9374
9375
|
* Constructs a new ConversationsApi.
|
|
9375
9376
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11091,7 +11092,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11091
11092
|
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(){/**
|
|
11092
11093
|
* DataExtensions service.
|
|
11093
11094
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11094
|
-
* @version
|
|
11095
|
+
* @version 200.0.0
|
|
11095
11096
|
*/ /**
|
|
11096
11097
|
* Constructs a new DataExtensionsApi.
|
|
11097
11098
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11112,7 +11113,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11112
11113
|
*/},{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(){/**
|
|
11113
11114
|
* Downloads service.
|
|
11114
11115
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11115
|
-
* @version
|
|
11116
|
+
* @version 200.0.0
|
|
11116
11117
|
*/ /**
|
|
11117
11118
|
* Constructs a new DownloadsApi.
|
|
11118
11119
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11131,7 +11132,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11131
11132
|
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(){/**
|
|
11132
11133
|
* Emails service.
|
|
11133
11134
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11134
|
-
* @version
|
|
11135
|
+
* @version 200.0.0
|
|
11135
11136
|
*/ /**
|
|
11136
11137
|
* Constructs a new EmailsApi.
|
|
11137
11138
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11149,7 +11150,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11149
11150
|
*/},{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(){/**
|
|
11150
11151
|
* EmployeeEngagement service.
|
|
11151
11152
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11152
|
-
* @version
|
|
11153
|
+
* @version 200.0.0
|
|
11153
11154
|
*/ /**
|
|
11154
11155
|
* Constructs a new EmployeeEngagementApi.
|
|
11155
11156
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11187,7 +11188,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11187
11188
|
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(){/**
|
|
11188
11189
|
* Events service.
|
|
11189
11190
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11190
|
-
* @version
|
|
11191
|
+
* @version 200.0.0
|
|
11191
11192
|
*/ /**
|
|
11192
11193
|
* Constructs a new EventsApi.
|
|
11193
11194
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11212,7 +11213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11212
11213
|
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(){/**
|
|
11213
11214
|
* ExternalContacts service.
|
|
11214
11215
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11215
|
-
* @version
|
|
11216
|
+
* @version 200.0.0
|
|
11216
11217
|
*/ /**
|
|
11217
11218
|
* Constructs a new ExternalContactsApi.
|
|
11218
11219
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11669,7 +11670,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11669
11670
|
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(){/**
|
|
11670
11671
|
* Fax service.
|
|
11671
11672
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11672
|
-
* @version
|
|
11673
|
+
* @version 200.0.0
|
|
11673
11674
|
*/ /**
|
|
11674
11675
|
* Constructs a new FaxApi.
|
|
11675
11676
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11718,7 +11719,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11718
11719
|
*/},{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(){/**
|
|
11719
11720
|
* Flows service.
|
|
11720
11721
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11721
|
-
* @version
|
|
11722
|
+
* @version 200.0.0
|
|
11722
11723
|
*/ /**
|
|
11723
11724
|
* Constructs a new FlowsApi.
|
|
11724
11725
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11766,7 +11767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11766
11767
|
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(){/**
|
|
11767
11768
|
* Gamification service.
|
|
11768
11769
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11769
|
-
* @version
|
|
11770
|
+
* @version 200.0.0
|
|
11770
11771
|
*/ /**
|
|
11771
11772
|
* Constructs a new GamificationApi.
|
|
11772
11773
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12306,7 +12307,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12306
12307
|
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(){/**
|
|
12307
12308
|
* GeneralDataProtectionRegulation service.
|
|
12308
12309
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12309
|
-
* @version
|
|
12310
|
+
* @version 200.0.0
|
|
12310
12311
|
*/ /**
|
|
12311
12312
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12312
12313
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12341,7 +12342,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12341
12342
|
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(){/**
|
|
12342
12343
|
* Geolocation service.
|
|
12343
12344
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12344
|
-
* @version
|
|
12345
|
+
* @version 200.0.0
|
|
12345
12346
|
*/ /**
|
|
12346
12347
|
* Constructs a new GeolocationApi.
|
|
12347
12348
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12375,7 +12376,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12375
12376
|
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(){/**
|
|
12376
12377
|
* Greetings service.
|
|
12377
12378
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12378
|
-
* @version
|
|
12379
|
+
* @version 200.0.0
|
|
12379
12380
|
*/ /**
|
|
12380
12381
|
* Constructs a new GreetingsApi.
|
|
12381
12382
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12482,7 +12483,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12482
12483
|
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(){/**
|
|
12483
12484
|
* Groups service.
|
|
12484
12485
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12485
|
-
* @version
|
|
12486
|
+
* @version 200.0.0
|
|
12486
12487
|
*/ /**
|
|
12487
12488
|
* Constructs a new GroupsApi.
|
|
12488
12489
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12615,7 +12616,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12615
12616
|
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(){/**
|
|
12616
12617
|
* IdentityProvider service.
|
|
12617
12618
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12618
|
-
* @version
|
|
12619
|
+
* @version 200.0.0
|
|
12619
12620
|
*/ /**
|
|
12620
12621
|
* Constructs a new IdentityProviderApi.
|
|
12621
12622
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12771,7 +12772,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12771
12772
|
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(){/**
|
|
12772
12773
|
* InfrastructureAsCode service.
|
|
12773
12774
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12774
|
-
* @version
|
|
12775
|
+
* @version 200.0.0
|
|
12775
12776
|
*/ /**
|
|
12776
12777
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12777
12778
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12825,7 +12826,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12825
12826
|
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(){/**
|
|
12826
12827
|
* Integrations service.
|
|
12827
12828
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12828
|
-
* @version
|
|
12829
|
+
* @version 200.0.0
|
|
12829
12830
|
*/ /**
|
|
12830
12831
|
* Constructs a new IntegrationsApi.
|
|
12831
12832
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13436,7 +13437,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13436
13437
|
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(){/**
|
|
13437
13438
|
* Journey service.
|
|
13438
13439
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13439
|
-
* @version
|
|
13440
|
+
* @version 200.0.0
|
|
13440
13441
|
*/ /**
|
|
13441
13442
|
* Constructs a new JourneyApi.
|
|
13442
13443
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13681,8 +13682,13 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
13681
13682
|
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13682
13683
|
* Get a list of Journey Views
|
|
13683
13684
|
*
|
|
13685
|
+
* @param {Object} opts Optional parameters
|
|
13686
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13687
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
13688
|
+
* @param {String} opts.nameOrCreatedBy Journey View Name or Created By
|
|
13689
|
+
* @param {Object} opts.expand Parameter to request additional data to return in Journey payload
|
|
13684
13690
|
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13685
|
-
*/},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13691
|
+
*/},{key:"getJourneyViews",value:function getJourneyViews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'nameOrCreatedBy':opts['nameOrCreatedBy'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13686
13692
|
* Get an Event Definition
|
|
13687
13693
|
*
|
|
13688
13694
|
* @param {String} eventDefinitionId Event Definition ID
|
|
@@ -13840,7 +13846,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13840
13846
|
*/},{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(){/**
|
|
13841
13847
|
* Knowledge service.
|
|
13842
13848
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13843
|
-
* @version
|
|
13849
|
+
* @version 200.0.0
|
|
13844
13850
|
*/ /**
|
|
13845
13851
|
* Constructs a new KnowledgeApi.
|
|
13846
13852
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14753,7 +14759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14753
14759
|
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(){/**
|
|
14754
14760
|
* LanguageUnderstanding service.
|
|
14755
14761
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14756
|
-
* @version
|
|
14762
|
+
* @version 200.0.0
|
|
14757
14763
|
*/ /**
|
|
14758
14764
|
* Constructs a new LanguageUnderstandingApi.
|
|
14759
14765
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15013,7 +15019,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15013
15019
|
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(){/**
|
|
15014
15020
|
* Languages service.
|
|
15015
15021
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15016
|
-
* @version
|
|
15022
|
+
* @version 200.0.0
|
|
15017
15023
|
*/ /**
|
|
15018
15024
|
* Constructs a new LanguagesApi.
|
|
15019
15025
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15068,7 +15074,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15068
15074
|
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(){/**
|
|
15069
15075
|
* Learning service.
|
|
15070
15076
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15071
|
-
* @version
|
|
15077
|
+
* @version 200.0.0
|
|
15072
15078
|
*/ /**
|
|
15073
15079
|
* Constructs a new LearningApi.
|
|
15074
15080
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15339,7 +15345,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15339
15345
|
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(){/**
|
|
15340
15346
|
* License service.
|
|
15341
15347
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15342
|
-
* @version
|
|
15348
|
+
* @version 200.0.0
|
|
15343
15349
|
*/ /**
|
|
15344
15350
|
* Constructs a new LicenseApi.
|
|
15345
15351
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15393,7 +15399,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15393
15399
|
*/},{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(){/**
|
|
15394
15400
|
* Locations service.
|
|
15395
15401
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15396
|
-
* @version
|
|
15402
|
+
* @version 200.0.0
|
|
15397
15403
|
*/ /**
|
|
15398
15404
|
* Constructs a new LocationsApi.
|
|
15399
15405
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15452,7 +15458,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15452
15458
|
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(){/**
|
|
15453
15459
|
* LogCapture service.
|
|
15454
15460
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15455
|
-
* @version
|
|
15461
|
+
* @version 200.0.0
|
|
15456
15462
|
*/ /**
|
|
15457
15463
|
* Constructs a new LogCaptureApi.
|
|
15458
15464
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15502,7 +15508,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15502
15508
|
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(){/**
|
|
15503
15509
|
* Messaging service.
|
|
15504
15510
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15505
|
-
* @version
|
|
15511
|
+
* @version 200.0.0
|
|
15506
15512
|
*/ /**
|
|
15507
15513
|
* Constructs a new MessagingApi.
|
|
15508
15514
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15592,7 +15598,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15592
15598
|
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(){/**
|
|
15593
15599
|
* MobileDevices service.
|
|
15594
15600
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15595
|
-
* @version
|
|
15601
|
+
* @version 200.0.0
|
|
15596
15602
|
*/ /**
|
|
15597
15603
|
* Constructs a new MobileDevicesApi.
|
|
15598
15604
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15631,7 +15637,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15631
15637
|
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(){/**
|
|
15632
15638
|
* Notifications service.
|
|
15633
15639
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15634
|
-
* @version
|
|
15640
|
+
* @version 200.0.0
|
|
15635
15641
|
*/ /**
|
|
15636
15642
|
* Constructs a new NotificationsApi.
|
|
15637
15643
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15688,7 +15694,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15688
15694
|
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(){/**
|
|
15689
15695
|
* OAuth service.
|
|
15690
15696
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15691
|
-
* @version
|
|
15697
|
+
* @version 200.0.0
|
|
15692
15698
|
*/ /**
|
|
15693
15699
|
* Constructs a new OAuthApi.
|
|
15694
15700
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15773,7 +15779,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15773
15779
|
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(){/**
|
|
15774
15780
|
* Objects service.
|
|
15775
15781
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15776
|
-
* @version
|
|
15782
|
+
* @version 200.0.0
|
|
15777
15783
|
*/ /**
|
|
15778
15784
|
* Constructs a new ObjectsApi.
|
|
15779
15785
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15844,7 +15850,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15844
15850
|
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(){/**
|
|
15845
15851
|
* OperationalEvents service.
|
|
15846
15852
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15847
|
-
* @version
|
|
15853
|
+
* @version 200.0.0
|
|
15848
15854
|
*/ /**
|
|
15849
15855
|
* Constructs a new OperationalEventsApi.
|
|
15850
15856
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15862,7 +15868,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15862
15868
|
*/},{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(){/**
|
|
15863
15869
|
* Organization service.
|
|
15864
15870
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15865
|
-
* @version
|
|
15871
|
+
* @version 200.0.0
|
|
15866
15872
|
*/ /**
|
|
15867
15873
|
* Constructs a new OrganizationApi.
|
|
15868
15874
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15967,7 +15973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15967
15973
|
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(){/**
|
|
15968
15974
|
* OrganizationAuthorization service.
|
|
15969
15975
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15970
|
-
* @version
|
|
15976
|
+
* @version 200.0.0
|
|
15971
15977
|
*/ /**
|
|
15972
15978
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15973
15979
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16290,7 +16296,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16290
16296
|
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(){/**
|
|
16291
16297
|
* Outbound service.
|
|
16292
16298
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16293
|
-
* @version
|
|
16299
|
+
* @version 200.0.0
|
|
16294
16300
|
*/ /**
|
|
16295
16301
|
* Constructs a new OutboundApi.
|
|
16296
16302
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17357,7 +17363,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17357
17363
|
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(){/**
|
|
17358
17364
|
* Presence service.
|
|
17359
17365
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17360
|
-
* @version
|
|
17366
|
+
* @version 200.0.0
|
|
17361
17367
|
*/ /**
|
|
17362
17368
|
* Constructs a new PresenceApi.
|
|
17363
17369
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17530,7 +17536,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17530
17536
|
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(){/**
|
|
17531
17537
|
* ProcessAutomation service.
|
|
17532
17538
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17533
|
-
* @version
|
|
17539
|
+
* @version 200.0.0
|
|
17534
17540
|
*/ /**
|
|
17535
17541
|
* Constructs a new ProcessAutomationApi.
|
|
17536
17542
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17593,7 +17599,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17593
17599
|
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(){/**
|
|
17594
17600
|
* Quality service.
|
|
17595
17601
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17596
|
-
* @version
|
|
17602
|
+
* @version 200.0.0
|
|
17597
17603
|
*/ /**
|
|
17598
17604
|
* Constructs a new QualityApi.
|
|
17599
17605
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18070,7 +18076,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18070
18076
|
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(){/**
|
|
18071
18077
|
* Recording service.
|
|
18072
18078
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18073
|
-
* @version
|
|
18079
|
+
* @version 200.0.0
|
|
18074
18080
|
*/ /**
|
|
18075
18081
|
* Constructs a new RecordingApi.
|
|
18076
18082
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18333,10 +18339,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18333
18339
|
if(policyId===undefined||policyId===null){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
|
|
18334
18340
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRecordingMediaretentionpolicy';}return this.apiClient.callApi('/api/v2/recording/mediaretentionpolicies/{policyId}','PATCH',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18335
18341
|
* Update a screen recording session
|
|
18336
|
-
*
|
|
18342
|
+
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
18337
18343
|
* @param {String} recordingSessionId Screen recording session ID
|
|
18338
18344
|
* @param {Object} opts Optional parameters
|
|
18339
18345
|
* @param {Object} opts.body
|
|
18346
|
+
* @deprecated
|
|
18340
18347
|
*/},{key:"patchRecordingsScreensession",value:function patchRecordingsScreensession(recordingSessionId,opts){opts=opts||{};// verify the required parameter 'recordingSessionId' is set
|
|
18341
18348
|
if(recordingSessionId===undefined||recordingSessionId===null){throw'Missing the required parameter "recordingSessionId" when calling patchRecordingsScreensession';}return this.apiClient.callApi('/api/v2/recordings/screensessions/{recordingSessionId}','PATCH',{'recordingSessionId':recordingSessionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18342
18349
|
* Create annotation
|
|
@@ -18481,7 +18488,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18481
18488
|
*/},{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(){/**
|
|
18482
18489
|
* ResponseManagement service.
|
|
18483
18490
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18484
|
-
* @version
|
|
18491
|
+
* @version 200.0.0
|
|
18485
18492
|
*/ /**
|
|
18486
18493
|
* Constructs a new ResponseManagementApi.
|
|
18487
18494
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18602,7 +18609,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18602
18609
|
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(){/**
|
|
18603
18610
|
* Routing service.
|
|
18604
18611
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18605
|
-
* @version
|
|
18612
|
+
* @version 200.0.0
|
|
18606
18613
|
*/ /**
|
|
18607
18614
|
* Constructs a new RoutingApi.
|
|
18608
18615
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18615,6 +18622,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18615
18622
|
* @param {String} assessmentId Benefit Assessment ID
|
|
18616
18623
|
*/return _createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
|
|
18617
18624
|
if(assessmentId===undefined||assessmentId===null){throw'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';}return this.apiClient.callApi('/api/v2/routing/assessments/{assessmentId}','DELETE',{'assessmentId':assessmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18625
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
18626
|
+
*
|
|
18627
|
+
*/},{key:"deleteRoutingDirectroutingbackupSettingsMe",value:function deleteRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18618
18628
|
* Delete a domain
|
|
18619
18629
|
*
|
|
18620
18630
|
* @param {String} domainId domain ID
|
|
@@ -18694,6 +18704,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
18694
18704
|
* @param {String} addressId Address ID
|
|
18695
18705
|
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
18696
18706
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{addressId}','DELETE',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18707
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
18708
|
+
*
|
|
18709
|
+
* @param {String} userId User ID
|
|
18710
|
+
*/},{key:"deleteRoutingUserDirectroutingbackupSettings",value:function deleteRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
18711
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18697
18712
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
18698
18713
|
*
|
|
18699
18714
|
* @param {String} userId User ID
|
|
@@ -18763,6 +18778,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
18763
18778
|
* Get available media types
|
|
18764
18779
|
*
|
|
18765
18780
|
*/},{key:"getRoutingAvailablemediatypes",value:function getRoutingAvailablemediatypes(){return this.apiClient.callApi('/api/v2/routing/availablemediatypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18781
|
+
* Get the user's Direct Routing Backup settings.
|
|
18782
|
+
*
|
|
18783
|
+
*/},{key:"getRoutingDirectroutingbackupSettingsMe",value:function getRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18766
18784
|
* Get domain
|
|
18767
18785
|
*
|
|
18768
18786
|
* @param {String} domainId domain ID
|
|
@@ -19086,6 +19104,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
19086
19104
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
19087
19105
|
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
19088
19106
|
*/},{key:"getRoutingSmsPhonenumbers",value:function getRoutingSmsPhonenumbers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','GET',{},{'phoneNumber':opts['phoneNumber'],'phoneNumberType':this.apiClient.buildCollectionParam(opts['phoneNumberType'],'multi'),'phoneNumberStatus':this.apiClient.buildCollectionParam(opts['phoneNumberStatus'],'multi'),'countryCode':this.apiClient.buildCollectionParam(opts['countryCode'],'multi'),'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'language':opts['language'],'integration.id':opts['integrationId'],'supportedContent.id':opts['supportedContentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19107
|
+
* Get the user's Direct Routing Backup settings.
|
|
19108
|
+
*
|
|
19109
|
+
* @param {String} userId User ID
|
|
19110
|
+
*/},{key:"getRoutingUserDirectroutingbackupSettings",value:function getRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
19111
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19089
19112
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
19090
19113
|
*
|
|
19091
19114
|
* @param {String} userId User ID
|
|
@@ -19482,6 +19505,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19482
19505
|
*/},{key:"postUserRoutingskills",value:function postUserRoutingskills(userId,body){// verify the required parameter 'userId' is set
|
|
19483
19506
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutingskills';}// verify the required parameter 'body' is set
|
|
19484
19507
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUserRoutingskills';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19508
|
+
* Update the user's Direct Routing Backup settings.
|
|
19509
|
+
*
|
|
19510
|
+
* @param {Object} body directRoutingBackup
|
|
19511
|
+
*/},{key:"putRoutingDirectroutingbackupSettingsMe",value:function putRoutingDirectroutingbackupSettingsMe(body){// verify the required parameter 'body' is set
|
|
19512
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';}return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19485
19513
|
* Update a route
|
|
19486
19514
|
*
|
|
19487
19515
|
* @param {String} domainName email domain
|
|
@@ -19527,6 +19555,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19527
19555
|
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
|
|
19528
19556
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
19529
19557
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{addressId}','PUT',{'addressId':addressId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19558
|
+
* Update the user's Direct Routing Backup settings.
|
|
19559
|
+
*
|
|
19560
|
+
* @param {String} userId User ID
|
|
19561
|
+
* @param {Object} body directRoutingBackup
|
|
19562
|
+
*/},{key:"putRoutingUserDirectroutingbackupSettings",value:function putRoutingUserDirectroutingbackupSettings(userId,body){// verify the required parameter 'userId' is set
|
|
19563
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';}// verify the required parameter 'body' is set
|
|
19564
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19530
19565
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
19531
19566
|
*
|
|
19532
19567
|
* @param {String} userId User ID
|
|
@@ -19571,7 +19606,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19571
19606
|
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(){/**
|
|
19572
19607
|
* SCIM service.
|
|
19573
19608
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19574
|
-
* @version
|
|
19609
|
+
* @version 200.0.0
|
|
19575
19610
|
*/ /**
|
|
19576
19611
|
* Constructs a new SCIMApi.
|
|
19577
19612
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19796,7 +19831,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19796
19831
|
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(){/**
|
|
19797
19832
|
* ScreenRecording service.
|
|
19798
19833
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19799
|
-
* @version
|
|
19834
|
+
* @version 200.0.0
|
|
19800
19835
|
*/ /**
|
|
19801
19836
|
* Constructs a new ScreenRecordingApi.
|
|
19802
19837
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19811,7 +19846,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19811
19846
|
*/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(){/**
|
|
19812
19847
|
* Scripts service.
|
|
19813
19848
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19814
|
-
* @version
|
|
19849
|
+
* @version 200.0.0
|
|
19815
19850
|
*/ /**
|
|
19816
19851
|
* Constructs a new ScriptsApi.
|
|
19817
19852
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19947,7 +19982,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19947
19982
|
*/},{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(){/**
|
|
19948
19983
|
* Search service.
|
|
19949
19984
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19950
|
-
* @version
|
|
19985
|
+
* @version 200.0.0
|
|
19951
19986
|
*/ /**
|
|
19952
19987
|
* Constructs a new SearchApi.
|
|
19953
19988
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20107,7 +20142,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20107
20142
|
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(){/**
|
|
20108
20143
|
* Settings service.
|
|
20109
20144
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20110
|
-
* @version
|
|
20145
|
+
* @version 200.0.0
|
|
20111
20146
|
*/ /**
|
|
20112
20147
|
* Constructs a new SettingsApi.
|
|
20113
20148
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20159,7 +20194,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20159
20194
|
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(){/**
|
|
20160
20195
|
* SpeechTextAnalytics service.
|
|
20161
20196
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20162
|
-
* @version
|
|
20197
|
+
* @version 200.0.0
|
|
20163
20198
|
*/ /**
|
|
20164
20199
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20165
20200
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20443,7 +20478,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20443
20478
|
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(){/**
|
|
20444
20479
|
* Stations service.
|
|
20445
20480
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20446
|
-
* @version
|
|
20481
|
+
* @version 200.0.0
|
|
20447
20482
|
*/ /**
|
|
20448
20483
|
* Constructs a new StationsApi.
|
|
20449
20484
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20475,7 +20510,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20475
20510
|
*/},{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(){/**
|
|
20476
20511
|
* Suggest service.
|
|
20477
20512
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20478
|
-
* @version
|
|
20513
|
+
* @version 200.0.0
|
|
20479
20514
|
*/ /**
|
|
20480
20515
|
* Constructs a new SuggestApi.
|
|
20481
20516
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20515,7 +20550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20515
20550
|
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(){/**
|
|
20516
20551
|
* TaskManagement service.
|
|
20517
20552
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20518
|
-
* @version
|
|
20553
|
+
* @version 200.0.0
|
|
20519
20554
|
*/ /**
|
|
20520
20555
|
* Constructs a new TaskManagementApi.
|
|
20521
20556
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20845,7 +20880,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20845
20880
|
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(){/**
|
|
20846
20881
|
* Teams service.
|
|
20847
20882
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20848
|
-
* @version
|
|
20883
|
+
* @version 200.0.0
|
|
20849
20884
|
*/ /**
|
|
20850
20885
|
* Constructs a new TeamsApi.
|
|
20851
20886
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20923,7 +20958,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20923
20958
|
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(){/**
|
|
20924
20959
|
* Telephony service.
|
|
20925
20960
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20926
|
-
* @version
|
|
20961
|
+
* @version 200.0.0
|
|
20927
20962
|
*/ /**
|
|
20928
20963
|
* Constructs a new TelephonyApi.
|
|
20929
20964
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20970,7 +21005,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20970
21005
|
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(){/**
|
|
20971
21006
|
* TelephonyProvidersEdge service.
|
|
20972
21007
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20973
|
-
* @version
|
|
21008
|
+
* @version 200.0.0
|
|
20974
21009
|
*/ /**
|
|
20975
21010
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20976
21011
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21780,7 +21815,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21780
21815
|
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(){/**
|
|
21781
21816
|
* Textbots service.
|
|
21782
21817
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21783
|
-
* @version
|
|
21818
|
+
* @version 200.0.0
|
|
21784
21819
|
*/ /**
|
|
21785
21820
|
* Constructs a new TextbotsApi.
|
|
21786
21821
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21815,7 +21850,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21815
21850
|
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(){/**
|
|
21816
21851
|
* Tokens service.
|
|
21817
21852
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21818
|
-
* @version
|
|
21853
|
+
* @version 200.0.0
|
|
21819
21854
|
*/ /**
|
|
21820
21855
|
* Constructs a new TokensApi.
|
|
21821
21856
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21849,7 +21884,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21849
21884
|
*/},{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(){/**
|
|
21850
21885
|
* Uploads service.
|
|
21851
21886
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21852
|
-
* @version
|
|
21887
|
+
* @version 200.0.0
|
|
21853
21888
|
*/ /**
|
|
21854
21889
|
* Constructs a new UploadsApi.
|
|
21855
21890
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21915,7 +21950,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21915
21950
|
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(){/**
|
|
21916
21951
|
* Usage service.
|
|
21917
21952
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21918
|
-
* @version
|
|
21953
|
+
* @version 200.0.0
|
|
21919
21954
|
*/ /**
|
|
21920
21955
|
* Constructs a new UsageApi.
|
|
21921
21956
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21969,7 +22004,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21969
22004
|
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(){/**
|
|
21970
22005
|
* UserRecordings service.
|
|
21971
22006
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21972
|
-
* @version
|
|
22007
|
+
* @version 200.0.0
|
|
21973
22008
|
*/ /**
|
|
21974
22009
|
* Constructs a new UserRecordingsApi.
|
|
21975
22010
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22018,7 +22053,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22018
22053
|
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(){/**
|
|
22019
22054
|
* Users service.
|
|
22020
22055
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22021
|
-
* @version
|
|
22056
|
+
* @version 200.0.0
|
|
22022
22057
|
*/ /**
|
|
22023
22058
|
* Constructs a new UsersApi.
|
|
22024
22059
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22040,6 +22075,14 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
22040
22075
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'divisionId' is set
|
|
22041
22076
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'roleId' is set
|
|
22042
22077
|
if(roleId===undefined||roleId===null){throw'Missing the required parameter "roleId" when calling deleteAuthorizationSubjectDivisionRole';}return this.apiClient.callApi('/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}','DELETE',{'subjectId':subjectId,'divisionId':divisionId,'roleId':roleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22078
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
22079
|
+
*
|
|
22080
|
+
*/},{key:"deleteRoutingDirectroutingbackupSettingsMe",value:function deleteRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22081
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
22082
|
+
*
|
|
22083
|
+
* @param {String} userId User ID
|
|
22084
|
+
*/},{key:"deleteRoutingUserDirectroutingbackupSettings",value:function deleteRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
22085
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22043
22086
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
22044
22087
|
*
|
|
22045
22088
|
* @param {String} userId User ID
|
|
@@ -22168,6 +22211,14 @@ if(type===undefined||type===null){throw'Missing the required parameter "type" wh
|
|
|
22168
22211
|
* @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand.
|
|
22169
22212
|
* @deprecated
|
|
22170
22213
|
*/},{key:"getProfilesUsers",value:function getProfilesUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/profiles/users','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'jid':this.apiClient.buildCollectionParam(opts['jid'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'integrationPresenceSource':opts['integrationPresenceSource']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22214
|
+
* Get the user's Direct Routing Backup settings.
|
|
22215
|
+
*
|
|
22216
|
+
*/},{key:"getRoutingDirectroutingbackupSettingsMe",value:function getRoutingDirectroutingbackupSettingsMe(){return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22217
|
+
* Get the user's Direct Routing Backup settings.
|
|
22218
|
+
*
|
|
22219
|
+
* @param {String} userId User ID
|
|
22220
|
+
*/},{key:"getRoutingUserDirectroutingbackupSettings",value:function getRoutingUserDirectroutingbackupSettings(userId){// verify the required parameter 'userId' is set
|
|
22221
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22171
22222
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
22172
22223
|
*
|
|
22173
22224
|
* @param {String} userId User ID
|
|
@@ -22590,6 +22641,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22590
22641
|
* @param {Object} body Search request options
|
|
22591
22642
|
*/},{key:"postUsersSearchTeamsAssign",value:function postUsersSearchTeamsAssign(body){// verify the required parameter 'body' is set
|
|
22592
22643
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';}return this.apiClient.callApi('/api/v2/users/search/teams/assign','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22644
|
+
* Update the user's Direct Routing Backup settings.
|
|
22645
|
+
*
|
|
22646
|
+
* @param {Object} body directRoutingBackup
|
|
22647
|
+
*/},{key:"putRoutingDirectroutingbackupSettingsMe",value:function putRoutingDirectroutingbackupSettingsMe(body){// verify the required parameter 'body' is set
|
|
22648
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';}return this.apiClient.callApi('/api/v2/routing/directroutingbackup/settings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22649
|
+
* Update the user's Direct Routing Backup settings.
|
|
22650
|
+
*
|
|
22651
|
+
* @param {String} userId User ID
|
|
22652
|
+
* @param {Object} body directRoutingBackup
|
|
22653
|
+
*/},{key:"putRoutingUserDirectroutingbackupSettings",value:function putRoutingUserDirectroutingbackupSettings(userId,body){// verify the required parameter 'userId' is set
|
|
22654
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';}// verify the required parameter 'body' is set
|
|
22655
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';}return this.apiClient.callApi('/api/v2/routing/users/{userId}/directroutingbackup/settings','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22593
22656
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
22594
22657
|
*
|
|
22595
22658
|
* @param {String} userId User ID
|
|
@@ -22680,7 +22743,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22680
22743
|
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(){/**
|
|
22681
22744
|
* Utilities service.
|
|
22682
22745
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22683
|
-
* @version
|
|
22746
|
+
* @version 200.0.0
|
|
22684
22747
|
*/ /**
|
|
22685
22748
|
* Constructs a new UtilitiesApi.
|
|
22686
22749
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22707,7 +22770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22707
22770
|
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(){/**
|
|
22708
22771
|
* Voicemail service.
|
|
22709
22772
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22710
|
-
* @version
|
|
22773
|
+
* @version 200.0.0
|
|
22711
22774
|
*/ /**
|
|
22712
22775
|
* Constructs a new VoicemailApi.
|
|
22713
22776
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22856,7 +22919,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22856
22919
|
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(){/**
|
|
22857
22920
|
* WebChat service.
|
|
22858
22921
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22859
|
-
* @version
|
|
22922
|
+
* @version 200.0.0
|
|
22860
22923
|
*/ /**
|
|
22861
22924
|
* Constructs a new WebChatApi.
|
|
22862
22925
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22991,7 +23054,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22991
23054
|
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(){/**
|
|
22992
23055
|
* WebDeployments service.
|
|
22993
23056
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22994
|
-
* @version
|
|
23057
|
+
* @version 200.0.0
|
|
22995
23058
|
*/ /**
|
|
22996
23059
|
* Constructs a new WebDeploymentsApi.
|
|
22997
23060
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23112,7 +23175,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23112
23175
|
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(){/**
|
|
23113
23176
|
* WebMessaging service.
|
|
23114
23177
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23115
|
-
* @version
|
|
23178
|
+
* @version 200.0.0
|
|
23116
23179
|
*/ /**
|
|
23117
23180
|
* Constructs a new WebMessagingApi.
|
|
23118
23181
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23128,7 +23191,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23128
23191
|
*/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(){/**
|
|
23129
23192
|
* Widgets service.
|
|
23130
23193
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23131
|
-
* @version
|
|
23194
|
+
* @version 200.0.0
|
|
23132
23195
|
*/ /**
|
|
23133
23196
|
* Constructs a new WidgetsApi.
|
|
23134
23197
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23163,7 +23226,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23163
23226
|
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(){/**
|
|
23164
23227
|
* WorkforceManagement service.
|
|
23165
23228
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23166
|
-
* @version
|
|
23229
|
+
* @version 200.0.0
|
|
23167
23230
|
*/ /**
|
|
23168
23231
|
* Constructs a new WorkforceManagementApi.
|
|
23169
23232
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24695,7 +24758,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24695
24758
|
* </pre>
|
|
24696
24759
|
* </p>
|
|
24697
24760
|
* @module purecloud-platform-client-v2/index
|
|
24698
|
-
* @version
|
|
24761
|
+
* @version 200.0.0
|
|
24699
24762
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24700
24763
|
* The ApiClient constructor.
|
|
24701
24764
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|