purecloud-platform-client-v2 198.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 +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.js +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +82 -23
- 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 -3
- 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 +8 -8
- 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
|
|
@@ -10419,7 +10420,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10419
10420
|
* Barge a conversation creating a barged in conference of connected participants.
|
|
10420
10421
|
*
|
|
10421
10422
|
* @param {String} conversationId conversation ID
|
|
10422
|
-
* postConversationBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10423
10423
|
*/},{key:"postConversationBarge",value:function postConversationBarge(conversationId){// verify the required parameter 'conversationId' is set
|
|
10424
10424
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationBarge';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/barge','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10425
10425
|
* Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
|
|
@@ -10531,7 +10531,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10531
10531
|
*
|
|
10532
10532
|
* @param {String} conversationId conversationId
|
|
10533
10533
|
* @param {String} participantId participantId
|
|
10534
|
-
* postConversationsCallParticipantBarge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10535
10534
|
*/},{key:"postConversationsCallParticipantBarge",value:function postConversationsCallParticipantBarge(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
10536
10535
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';}// verify the required parameter 'participantId' is set
|
|
10537
10536
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/barge','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11093,7 +11092,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11093
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(){/**
|
|
11094
11093
|
* DataExtensions service.
|
|
11095
11094
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11096
|
-
* @version
|
|
11095
|
+
* @version 200.0.0
|
|
11097
11096
|
*/ /**
|
|
11098
11097
|
* Constructs a new DataExtensionsApi.
|
|
11099
11098
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11114,7 +11113,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11114
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(){/**
|
|
11115
11114
|
* Downloads service.
|
|
11116
11115
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11117
|
-
* @version
|
|
11116
|
+
* @version 200.0.0
|
|
11118
11117
|
*/ /**
|
|
11119
11118
|
* Constructs a new DownloadsApi.
|
|
11120
11119
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11133,7 +11132,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11133
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(){/**
|
|
11134
11133
|
* Emails service.
|
|
11135
11134
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11136
|
-
* @version
|
|
11135
|
+
* @version 200.0.0
|
|
11137
11136
|
*/ /**
|
|
11138
11137
|
* Constructs a new EmailsApi.
|
|
11139
11138
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11151,7 +11150,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11151
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(){/**
|
|
11152
11151
|
* EmployeeEngagement service.
|
|
11153
11152
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11154
|
-
* @version
|
|
11153
|
+
* @version 200.0.0
|
|
11155
11154
|
*/ /**
|
|
11156
11155
|
* Constructs a new EmployeeEngagementApi.
|
|
11157
11156
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11189,7 +11188,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11189
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(){/**
|
|
11190
11189
|
* Events service.
|
|
11191
11190
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11192
|
-
* @version
|
|
11191
|
+
* @version 200.0.0
|
|
11193
11192
|
*/ /**
|
|
11194
11193
|
* Constructs a new EventsApi.
|
|
11195
11194
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11214,7 +11213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11214
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(){/**
|
|
11215
11214
|
* ExternalContacts service.
|
|
11216
11215
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11217
|
-
* @version
|
|
11216
|
+
* @version 200.0.0
|
|
11218
11217
|
*/ /**
|
|
11219
11218
|
* Constructs a new ExternalContactsApi.
|
|
11220
11219
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11671,7 +11670,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11671
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(){/**
|
|
11672
11671
|
* Fax service.
|
|
11673
11672
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11674
|
-
* @version
|
|
11673
|
+
* @version 200.0.0
|
|
11675
11674
|
*/ /**
|
|
11676
11675
|
* Constructs a new FaxApi.
|
|
11677
11676
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11720,7 +11719,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11720
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(){/**
|
|
11721
11720
|
* Flows service.
|
|
11722
11721
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11723
|
-
* @version
|
|
11722
|
+
* @version 200.0.0
|
|
11724
11723
|
*/ /**
|
|
11725
11724
|
* Constructs a new FlowsApi.
|
|
11726
11725
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11768,7 +11767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11768
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(){/**
|
|
11769
11768
|
* Gamification service.
|
|
11770
11769
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11771
|
-
* @version
|
|
11770
|
+
* @version 200.0.0
|
|
11772
11771
|
*/ /**
|
|
11773
11772
|
* Constructs a new GamificationApi.
|
|
11774
11773
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12308,7 +12307,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12308
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(){/**
|
|
12309
12308
|
* GeneralDataProtectionRegulation service.
|
|
12310
12309
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12311
|
-
* @version
|
|
12310
|
+
* @version 200.0.0
|
|
12312
12311
|
*/ /**
|
|
12313
12312
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12314
12313
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12343,7 +12342,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12343
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(){/**
|
|
12344
12343
|
* Geolocation service.
|
|
12345
12344
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12346
|
-
* @version
|
|
12345
|
+
* @version 200.0.0
|
|
12347
12346
|
*/ /**
|
|
12348
12347
|
* Constructs a new GeolocationApi.
|
|
12349
12348
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12377,7 +12376,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12377
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(){/**
|
|
12378
12377
|
* Greetings service.
|
|
12379
12378
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12380
|
-
* @version
|
|
12379
|
+
* @version 200.0.0
|
|
12381
12380
|
*/ /**
|
|
12382
12381
|
* Constructs a new GreetingsApi.
|
|
12383
12382
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12484,7 +12483,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12484
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(){/**
|
|
12485
12484
|
* Groups service.
|
|
12486
12485
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12487
|
-
* @version
|
|
12486
|
+
* @version 200.0.0
|
|
12488
12487
|
*/ /**
|
|
12489
12488
|
* Constructs a new GroupsApi.
|
|
12490
12489
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12617,7 +12616,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12617
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(){/**
|
|
12618
12617
|
* IdentityProvider service.
|
|
12619
12618
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12620
|
-
* @version
|
|
12619
|
+
* @version 200.0.0
|
|
12621
12620
|
*/ /**
|
|
12622
12621
|
* Constructs a new IdentityProviderApi.
|
|
12623
12622
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12773,7 +12772,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12773
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(){/**
|
|
12774
12773
|
* InfrastructureAsCode service.
|
|
12775
12774
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12776
|
-
* @version
|
|
12775
|
+
* @version 200.0.0
|
|
12777
12776
|
*/ /**
|
|
12778
12777
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12779
12778
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12827,7 +12826,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12827
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(){/**
|
|
12828
12827
|
* Integrations service.
|
|
12829
12828
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12830
|
-
* @version
|
|
12829
|
+
* @version 200.0.0
|
|
12831
12830
|
*/ /**
|
|
12832
12831
|
* Constructs a new IntegrationsApi.
|
|
12833
12832
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13438,7 +13437,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13438
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(){/**
|
|
13439
13438
|
* Journey service.
|
|
13440
13439
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13441
|
-
* @version
|
|
13440
|
+
* @version 200.0.0
|
|
13442
13441
|
*/ /**
|
|
13443
13442
|
* Constructs a new JourneyApi.
|
|
13444
13443
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13683,8 +13682,13 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
13683
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']);}/**
|
|
13684
13683
|
* Get a list of Journey Views
|
|
13685
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
|
|
13686
13690
|
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13687
|
-
*/},{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']);}/**
|
|
13688
13692
|
* Get an Event Definition
|
|
13689
13693
|
*
|
|
13690
13694
|
* @param {String} eventDefinitionId Event Definition ID
|
|
@@ -13842,7 +13846,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13842
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(){/**
|
|
13843
13847
|
* Knowledge service.
|
|
13844
13848
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13845
|
-
* @version
|
|
13849
|
+
* @version 200.0.0
|
|
13846
13850
|
*/ /**
|
|
13847
13851
|
* Constructs a new KnowledgeApi.
|
|
13848
13852
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14755,7 +14759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14755
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(){/**
|
|
14756
14760
|
* LanguageUnderstanding service.
|
|
14757
14761
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14758
|
-
* @version
|
|
14762
|
+
* @version 200.0.0
|
|
14759
14763
|
*/ /**
|
|
14760
14764
|
* Constructs a new LanguageUnderstandingApi.
|
|
14761
14765
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15015,7 +15019,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15015
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(){/**
|
|
15016
15020
|
* Languages service.
|
|
15017
15021
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15018
|
-
* @version
|
|
15022
|
+
* @version 200.0.0
|
|
15019
15023
|
*/ /**
|
|
15020
15024
|
* Constructs a new LanguagesApi.
|
|
15021
15025
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15070,7 +15074,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15070
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(){/**
|
|
15071
15075
|
* Learning service.
|
|
15072
15076
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15073
|
-
* @version
|
|
15077
|
+
* @version 200.0.0
|
|
15074
15078
|
*/ /**
|
|
15075
15079
|
* Constructs a new LearningApi.
|
|
15076
15080
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15341,7 +15345,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15341
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(){/**
|
|
15342
15346
|
* License service.
|
|
15343
15347
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15344
|
-
* @version
|
|
15348
|
+
* @version 200.0.0
|
|
15345
15349
|
*/ /**
|
|
15346
15350
|
* Constructs a new LicenseApi.
|
|
15347
15351
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15395,7 +15399,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15395
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(){/**
|
|
15396
15400
|
* Locations service.
|
|
15397
15401
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15398
|
-
* @version
|
|
15402
|
+
* @version 200.0.0
|
|
15399
15403
|
*/ /**
|
|
15400
15404
|
* Constructs a new LocationsApi.
|
|
15401
15405
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15454,7 +15458,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15454
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(){/**
|
|
15455
15459
|
* LogCapture service.
|
|
15456
15460
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15457
|
-
* @version
|
|
15461
|
+
* @version 200.0.0
|
|
15458
15462
|
*/ /**
|
|
15459
15463
|
* Constructs a new LogCaptureApi.
|
|
15460
15464
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15504,7 +15508,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15504
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(){/**
|
|
15505
15509
|
* Messaging service.
|
|
15506
15510
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15507
|
-
* @version
|
|
15511
|
+
* @version 200.0.0
|
|
15508
15512
|
*/ /**
|
|
15509
15513
|
* Constructs a new MessagingApi.
|
|
15510
15514
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15594,7 +15598,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15594
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(){/**
|
|
15595
15599
|
* MobileDevices service.
|
|
15596
15600
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15597
|
-
* @version
|
|
15601
|
+
* @version 200.0.0
|
|
15598
15602
|
*/ /**
|
|
15599
15603
|
* Constructs a new MobileDevicesApi.
|
|
15600
15604
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15633,7 +15637,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15633
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(){/**
|
|
15634
15638
|
* Notifications service.
|
|
15635
15639
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15636
|
-
* @version
|
|
15640
|
+
* @version 200.0.0
|
|
15637
15641
|
*/ /**
|
|
15638
15642
|
* Constructs a new NotificationsApi.
|
|
15639
15643
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15690,7 +15694,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15690
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(){/**
|
|
15691
15695
|
* OAuth service.
|
|
15692
15696
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15693
|
-
* @version
|
|
15697
|
+
* @version 200.0.0
|
|
15694
15698
|
*/ /**
|
|
15695
15699
|
* Constructs a new OAuthApi.
|
|
15696
15700
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15775,7 +15779,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15775
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(){/**
|
|
15776
15780
|
* Objects service.
|
|
15777
15781
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15778
|
-
* @version
|
|
15782
|
+
* @version 200.0.0
|
|
15779
15783
|
*/ /**
|
|
15780
15784
|
* Constructs a new ObjectsApi.
|
|
15781
15785
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15846,7 +15850,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15846
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(){/**
|
|
15847
15851
|
* OperationalEvents service.
|
|
15848
15852
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15849
|
-
* @version
|
|
15853
|
+
* @version 200.0.0
|
|
15850
15854
|
*/ /**
|
|
15851
15855
|
* Constructs a new OperationalEventsApi.
|
|
15852
15856
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15864,7 +15868,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15864
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(){/**
|
|
15865
15869
|
* Organization service.
|
|
15866
15870
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15867
|
-
* @version
|
|
15871
|
+
* @version 200.0.0
|
|
15868
15872
|
*/ /**
|
|
15869
15873
|
* Constructs a new OrganizationApi.
|
|
15870
15874
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15969,7 +15973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15969
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(){/**
|
|
15970
15974
|
* OrganizationAuthorization service.
|
|
15971
15975
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15972
|
-
* @version
|
|
15976
|
+
* @version 200.0.0
|
|
15973
15977
|
*/ /**
|
|
15974
15978
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15975
15979
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16292,7 +16296,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16292
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(){/**
|
|
16293
16297
|
* Outbound service.
|
|
16294
16298
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16295
|
-
* @version
|
|
16299
|
+
* @version 200.0.0
|
|
16296
16300
|
*/ /**
|
|
16297
16301
|
* Constructs a new OutboundApi.
|
|
16298
16302
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17359,7 +17363,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17359
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(){/**
|
|
17360
17364
|
* Presence service.
|
|
17361
17365
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17362
|
-
* @version
|
|
17366
|
+
* @version 200.0.0
|
|
17363
17367
|
*/ /**
|
|
17364
17368
|
* Constructs a new PresenceApi.
|
|
17365
17369
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17532,7 +17536,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17532
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(){/**
|
|
17533
17537
|
* ProcessAutomation service.
|
|
17534
17538
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17535
|
-
* @version
|
|
17539
|
+
* @version 200.0.0
|
|
17536
17540
|
*/ /**
|
|
17537
17541
|
* Constructs a new ProcessAutomationApi.
|
|
17538
17542
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17595,7 +17599,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17595
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(){/**
|
|
17596
17600
|
* Quality service.
|
|
17597
17601
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17598
|
-
* @version
|
|
17602
|
+
* @version 200.0.0
|
|
17599
17603
|
*/ /**
|
|
17600
17604
|
* Constructs a new QualityApi.
|
|
17601
17605
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18048,14 +18052,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18048
18052
|
*/},{key:"putQualityFormsEvaluation",value:function putQualityFormsEvaluation(formId,body){// verify the required parameter 'formId' is set
|
|
18049
18053
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluation';}// verify the required parameter 'body' is set
|
|
18050
18054
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluation';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18051
|
-
* Update the
|
|
18055
|
+
* Update the AI Scoring settings of an evaluation form.
|
|
18052
18056
|
*
|
|
18053
18057
|
* @param {String} formId Form ID
|
|
18054
|
-
* @param {Object} body
|
|
18055
|
-
*
|
|
18056
|
-
*/},{key:"
|
|
18057
|
-
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling
|
|
18058
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling
|
|
18058
|
+
* @param {Object} body AI Scoring Settings
|
|
18059
|
+
* putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18060
|
+
*/},{key:"putQualityFormsEvaluationAiscoringSettings",value:function putQualityFormsEvaluationAiscoringSettings(formId,body){// verify the required parameter 'formId' is set
|
|
18061
|
+
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';}// verify the required parameter 'body' is set
|
|
18062
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings','PUT',{'formId':formId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18059
18063
|
* Update a survey form.
|
|
18060
18064
|
*
|
|
18061
18065
|
* @param {String} formId Form ID
|
|
@@ -18072,7 +18076,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18072
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(){/**
|
|
18073
18077
|
* Recording service.
|
|
18074
18078
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18075
|
-
* @version
|
|
18079
|
+
* @version 200.0.0
|
|
18076
18080
|
*/ /**
|
|
18077
18081
|
* Constructs a new RecordingApi.
|
|
18078
18082
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18335,10 +18339,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18335
18339
|
if(policyId===undefined||policyId===null){throw'Missing the required parameter "policyId" when calling patchRecordingMediaretentionpolicy';}// verify the required parameter 'body' is set
|
|
18336
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']);}/**
|
|
18337
18341
|
* Update a screen recording session
|
|
18338
|
-
*
|
|
18342
|
+
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
18339
18343
|
* @param {String} recordingSessionId Screen recording session ID
|
|
18340
18344
|
* @param {Object} opts Optional parameters
|
|
18341
18345
|
* @param {Object} opts.body
|
|
18346
|
+
* @deprecated
|
|
18342
18347
|
*/},{key:"patchRecordingsScreensession",value:function patchRecordingsScreensession(recordingSessionId,opts){opts=opts||{};// verify the required parameter 'recordingSessionId' is set
|
|
18343
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']);}/**
|
|
18344
18349
|
* Create annotation
|
|
@@ -18483,7 +18488,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18483
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(){/**
|
|
18484
18489
|
* ResponseManagement service.
|
|
18485
18490
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18486
|
-
* @version
|
|
18491
|
+
* @version 200.0.0
|
|
18487
18492
|
*/ /**
|
|
18488
18493
|
* Constructs a new ResponseManagementApi.
|
|
18489
18494
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18604,7 +18609,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18604
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(){/**
|
|
18605
18610
|
* Routing service.
|
|
18606
18611
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18607
|
-
* @version
|
|
18612
|
+
* @version 200.0.0
|
|
18608
18613
|
*/ /**
|
|
18609
18614
|
* Constructs a new RoutingApi.
|
|
18610
18615
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18617,6 +18622,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18617
18622
|
* @param {String} assessmentId Benefit Assessment ID
|
|
18618
18623
|
*/return _createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
|
|
18619
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']);}/**
|
|
18620
18628
|
* Delete a domain
|
|
18621
18629
|
*
|
|
18622
18630
|
* @param {String} domainId domain ID
|
|
@@ -18696,6 +18704,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
18696
18704
|
* @param {String} addressId Address ID
|
|
18697
18705
|
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
18698
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']);}/**
|
|
18699
18712
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
18700
18713
|
*
|
|
18701
18714
|
* @param {String} userId User ID
|
|
@@ -18765,6 +18778,9 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
18765
18778
|
* Get available media types
|
|
18766
18779
|
*
|
|
18767
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']);}/**
|
|
18768
18784
|
* Get domain
|
|
18769
18785
|
*
|
|
18770
18786
|
* @param {String} domainId domain ID
|
|
@@ -19088,6 +19104,11 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
19088
19104
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
19089
19105
|
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
19090
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']);}/**
|
|
19091
19112
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
19092
19113
|
*
|
|
19093
19114
|
* @param {String} userId User ID
|
|
@@ -19484,6 +19505,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19484
19505
|
*/},{key:"postUserRoutingskills",value:function postUserRoutingskills(userId,body){// verify the required parameter 'userId' is set
|
|
19485
19506
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postUserRoutingskills';}// verify the required parameter 'body' is set
|
|
19486
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']);}/**
|
|
19487
19513
|
* Update a route
|
|
19488
19514
|
*
|
|
19489
19515
|
* @param {String} domainName email domain
|
|
@@ -19529,6 +19555,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19529
19555
|
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
|
|
19530
19556
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
19531
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']);}/**
|
|
19532
19565
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
19533
19566
|
*
|
|
19534
19567
|
* @param {String} userId User ID
|
|
@@ -19573,7 +19606,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19573
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(){/**
|
|
19574
19607
|
* SCIM service.
|
|
19575
19608
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19576
|
-
* @version
|
|
19609
|
+
* @version 200.0.0
|
|
19577
19610
|
*/ /**
|
|
19578
19611
|
* Constructs a new SCIMApi.
|
|
19579
19612
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19798,7 +19831,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19798
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(){/**
|
|
19799
19832
|
* ScreenRecording service.
|
|
19800
19833
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19801
|
-
* @version
|
|
19834
|
+
* @version 200.0.0
|
|
19802
19835
|
*/ /**
|
|
19803
19836
|
* Constructs a new ScreenRecordingApi.
|
|
19804
19837
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19813,7 +19846,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19813
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(){/**
|
|
19814
19847
|
* Scripts service.
|
|
19815
19848
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19816
|
-
* @version
|
|
19849
|
+
* @version 200.0.0
|
|
19817
19850
|
*/ /**
|
|
19818
19851
|
* Constructs a new ScriptsApi.
|
|
19819
19852
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19949,7 +19982,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19949
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(){/**
|
|
19950
19983
|
* Search service.
|
|
19951
19984
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19952
|
-
* @version
|
|
19985
|
+
* @version 200.0.0
|
|
19953
19986
|
*/ /**
|
|
19954
19987
|
* Constructs a new SearchApi.
|
|
19955
19988
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20109,7 +20142,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20109
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(){/**
|
|
20110
20143
|
* Settings service.
|
|
20111
20144
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20112
|
-
* @version
|
|
20145
|
+
* @version 200.0.0
|
|
20113
20146
|
*/ /**
|
|
20114
20147
|
* Constructs a new SettingsApi.
|
|
20115
20148
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20161,7 +20194,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20161
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(){/**
|
|
20162
20195
|
* SpeechTextAnalytics service.
|
|
20163
20196
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20164
|
-
* @version
|
|
20197
|
+
* @version 200.0.0
|
|
20165
20198
|
*/ /**
|
|
20166
20199
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20167
20200
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20445,7 +20478,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20445
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(){/**
|
|
20446
20479
|
* Stations service.
|
|
20447
20480
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20448
|
-
* @version
|
|
20481
|
+
* @version 200.0.0
|
|
20449
20482
|
*/ /**
|
|
20450
20483
|
* Constructs a new StationsApi.
|
|
20451
20484
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20477,7 +20510,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20477
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(){/**
|
|
20478
20511
|
* Suggest service.
|
|
20479
20512
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20480
|
-
* @version
|
|
20513
|
+
* @version 200.0.0
|
|
20481
20514
|
*/ /**
|
|
20482
20515
|
* Constructs a new SuggestApi.
|
|
20483
20516
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20517,7 +20550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20517
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(){/**
|
|
20518
20551
|
* TaskManagement service.
|
|
20519
20552
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20520
|
-
* @version
|
|
20553
|
+
* @version 200.0.0
|
|
20521
20554
|
*/ /**
|
|
20522
20555
|
* Constructs a new TaskManagementApi.
|
|
20523
20556
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20847,7 +20880,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20847
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(){/**
|
|
20848
20881
|
* Teams service.
|
|
20849
20882
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20850
|
-
* @version
|
|
20883
|
+
* @version 200.0.0
|
|
20851
20884
|
*/ /**
|
|
20852
20885
|
* Constructs a new TeamsApi.
|
|
20853
20886
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20925,7 +20958,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20925
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(){/**
|
|
20926
20959
|
* Telephony service.
|
|
20927
20960
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20928
|
-
* @version
|
|
20961
|
+
* @version 200.0.0
|
|
20929
20962
|
*/ /**
|
|
20930
20963
|
* Constructs a new TelephonyApi.
|
|
20931
20964
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20972,7 +21005,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20972
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(){/**
|
|
20973
21006
|
* TelephonyProvidersEdge service.
|
|
20974
21007
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20975
|
-
* @version
|
|
21008
|
+
* @version 200.0.0
|
|
20976
21009
|
*/ /**
|
|
20977
21010
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20978
21011
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21782,7 +21815,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21782
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(){/**
|
|
21783
21816
|
* Textbots service.
|
|
21784
21817
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21785
|
-
* @version
|
|
21818
|
+
* @version 200.0.0
|
|
21786
21819
|
*/ /**
|
|
21787
21820
|
* Constructs a new TextbotsApi.
|
|
21788
21821
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21817,7 +21850,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21817
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(){/**
|
|
21818
21851
|
* Tokens service.
|
|
21819
21852
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21820
|
-
* @version
|
|
21853
|
+
* @version 200.0.0
|
|
21821
21854
|
*/ /**
|
|
21822
21855
|
* Constructs a new TokensApi.
|
|
21823
21856
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21851,7 +21884,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21851
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(){/**
|
|
21852
21885
|
* Uploads service.
|
|
21853
21886
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21854
|
-
* @version
|
|
21887
|
+
* @version 200.0.0
|
|
21855
21888
|
*/ /**
|
|
21856
21889
|
* Constructs a new UploadsApi.
|
|
21857
21890
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21917,7 +21950,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21917
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(){/**
|
|
21918
21951
|
* Usage service.
|
|
21919
21952
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21920
|
-
* @version
|
|
21953
|
+
* @version 200.0.0
|
|
21921
21954
|
*/ /**
|
|
21922
21955
|
* Constructs a new UsageApi.
|
|
21923
21956
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21971,7 +22004,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21971
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(){/**
|
|
21972
22005
|
* UserRecordings service.
|
|
21973
22006
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21974
|
-
* @version
|
|
22007
|
+
* @version 200.0.0
|
|
21975
22008
|
*/ /**
|
|
21976
22009
|
* Constructs a new UserRecordingsApi.
|
|
21977
22010
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22020,7 +22053,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22020
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(){/**
|
|
22021
22054
|
* Users service.
|
|
22022
22055
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22023
|
-
* @version
|
|
22056
|
+
* @version 200.0.0
|
|
22024
22057
|
*/ /**
|
|
22025
22058
|
* Constructs a new UsersApi.
|
|
22026
22059
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22042,6 +22075,14 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
22042
22075
|
if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'divisionId' is set
|
|
22043
22076
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationSubjectDivisionRole';}// verify the required parameter 'roleId' is set
|
|
22044
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']);}/**
|
|
22045
22086
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
22046
22087
|
*
|
|
22047
22088
|
* @param {String} userId User ID
|
|
@@ -22170,6 +22211,14 @@ if(type===undefined||type===null){throw'Missing the required parameter "type" wh
|
|
|
22170
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.
|
|
22171
22212
|
* @deprecated
|
|
22172
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']);}/**
|
|
22173
22222
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
22174
22223
|
*
|
|
22175
22224
|
* @param {String} userId User ID
|
|
@@ -22592,6 +22641,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22592
22641
|
* @param {Object} body Search request options
|
|
22593
22642
|
*/},{key:"postUsersSearchTeamsAssign",value:function postUsersSearchTeamsAssign(body){// verify the required parameter 'body' is set
|
|
22594
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']);}/**
|
|
22595
22656
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
22596
22657
|
*
|
|
22597
22658
|
* @param {String} userId User ID
|
|
@@ -22682,7 +22743,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22682
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(){/**
|
|
22683
22744
|
* Utilities service.
|
|
22684
22745
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22685
|
-
* @version
|
|
22746
|
+
* @version 200.0.0
|
|
22686
22747
|
*/ /**
|
|
22687
22748
|
* Constructs a new UtilitiesApi.
|
|
22688
22749
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22709,7 +22770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22709
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(){/**
|
|
22710
22771
|
* Voicemail service.
|
|
22711
22772
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22712
|
-
* @version
|
|
22773
|
+
* @version 200.0.0
|
|
22713
22774
|
*/ /**
|
|
22714
22775
|
* Constructs a new VoicemailApi.
|
|
22715
22776
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22858,7 +22919,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22858
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(){/**
|
|
22859
22920
|
* WebChat service.
|
|
22860
22921
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22861
|
-
* @version
|
|
22922
|
+
* @version 200.0.0
|
|
22862
22923
|
*/ /**
|
|
22863
22924
|
* Constructs a new WebChatApi.
|
|
22864
22925
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22993,7 +23054,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22993
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(){/**
|
|
22994
23055
|
* WebDeployments service.
|
|
22995
23056
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22996
|
-
* @version
|
|
23057
|
+
* @version 200.0.0
|
|
22997
23058
|
*/ /**
|
|
22998
23059
|
* Constructs a new WebDeploymentsApi.
|
|
22999
23060
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23114,7 +23175,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23114
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(){/**
|
|
23115
23176
|
* WebMessaging service.
|
|
23116
23177
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23117
|
-
* @version
|
|
23178
|
+
* @version 200.0.0
|
|
23118
23179
|
*/ /**
|
|
23119
23180
|
* Constructs a new WebMessagingApi.
|
|
23120
23181
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23130,7 +23191,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23130
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(){/**
|
|
23131
23192
|
* Widgets service.
|
|
23132
23193
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23133
|
-
* @version
|
|
23194
|
+
* @version 200.0.0
|
|
23134
23195
|
*/ /**
|
|
23135
23196
|
* Constructs a new WidgetsApi.
|
|
23136
23197
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23165,7 +23226,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23165
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(){/**
|
|
23166
23227
|
* WorkforceManagement service.
|
|
23167
23228
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23168
|
-
* @version
|
|
23229
|
+
* @version 200.0.0
|
|
23169
23230
|
*/ /**
|
|
23170
23231
|
* Constructs a new WorkforceManagementApi.
|
|
23171
23232
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24697,7 +24758,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24697
24758
|
* </pre>
|
|
24698
24759
|
* </p>
|
|
24699
24760
|
* @module purecloud-platform-client-v2/index
|
|
24700
|
-
* @version
|
|
24761
|
+
* @version 200.0.0
|
|
24701
24762
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24702
24763
|
* The ApiClient constructor.
|
|
24703
24764
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|