purecloud-platform-client-v2 225.0.0 → 226.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +232 -128
- package/dist/web-amd/purecloud-platform-client-v2.js +232 -128
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +128 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +128 -94
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +132 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.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 +145 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.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 +3 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -43
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -898,7 +898,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
898
898
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
899
899
|
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:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{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];}}}]);}();/**
|
|
900
900
|
* @module purecloud-platform-client-v2/ApiClient
|
|
901
|
-
* @version
|
|
901
|
+
* @version 226.0.0
|
|
902
902
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
903
903
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
904
904
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1241,7 +1241,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1241
1241
|
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 AIStudioApi=/*#__PURE__*/function(){/**
|
|
1242
1242
|
* AIStudio service.
|
|
1243
1243
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1244
|
-
* @version
|
|
1244
|
+
* @version 226.0.0
|
|
1245
1245
|
*//**
|
|
1246
1246
|
* Constructs a new AIStudioApi.
|
|
1247
1247
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1347,7 +1347,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1347
1347
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuidesJobs';}return this.apiClient.callApi('/api/v2/guides/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1348
1348
|
* AgentAssistants service.
|
|
1349
1349
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1350
|
-
* @version
|
|
1350
|
+
* @version 226.0.0
|
|
1351
1351
|
*//**
|
|
1352
1352
|
* Constructs a new AgentAssistantsApi.
|
|
1353
1353
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1449,7 +1449,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
1449
1449
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1450
1450
|
* AgentCopilot service.
|
|
1451
1451
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1452
|
-
* @version
|
|
1452
|
+
* @version 226.0.0
|
|
1453
1453
|
*//**
|
|
1454
1454
|
* Constructs a new AgentCopilotApi.
|
|
1455
1455
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1471,7 +1471,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1471
1471
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1472
1472
|
* AgentUI service.
|
|
1473
1473
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1474
|
-
* @version
|
|
1474
|
+
* @version 226.0.0
|
|
1475
1475
|
*//**
|
|
1476
1476
|
* Constructs a new AgentUIApi.
|
|
1477
1477
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1505,7 +1505,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1505
1505
|
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(){/**
|
|
1506
1506
|
* Alerting service.
|
|
1507
1507
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1508
|
-
* @version
|
|
1508
|
+
* @version 226.0.0
|
|
1509
1509
|
*//**
|
|
1510
1510
|
* Constructs a new AlertingApi.
|
|
1511
1511
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1594,7 +1594,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1594
1594
|
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(){/**
|
|
1595
1595
|
* Analytics service.
|
|
1596
1596
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1597
|
-
* @version
|
|
1597
|
+
* @version 226.0.0
|
|
1598
1598
|
*//**
|
|
1599
1599
|
* Constructs a new AnalyticsApi.
|
|
1600
1600
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2262,7 +2262,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2262
2262
|
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(){/**
|
|
2263
2263
|
* Architect service.
|
|
2264
2264
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2265
|
-
* @version
|
|
2265
|
+
* @version 226.0.0
|
|
2266
2266
|
*//**
|
|
2267
2267
|
* Constructs a new ArchitectApi.
|
|
2268
2268
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3396,7 +3396,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3396
3396
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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(){/**
|
|
3397
3397
|
* Audit service.
|
|
3398
3398
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3399
|
-
* @version
|
|
3399
|
+
* @version 226.0.0
|
|
3400
3400
|
*//**
|
|
3401
3401
|
* Constructs a new AuditApi.
|
|
3402
3402
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3446,7 +3446,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3446
3446
|
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(){/**
|
|
3447
3447
|
* Authorization service.
|
|
3448
3448
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3449
|
-
* @version
|
|
3449
|
+
* @version 226.0.0
|
|
3450
3450
|
*//**
|
|
3451
3451
|
* Constructs a new AuthorizationApi.
|
|
3452
3452
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3881,7 +3881,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
3881
3881
|
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(){/**
|
|
3882
3882
|
* Billing service.
|
|
3883
3883
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3884
|
-
* @version
|
|
3884
|
+
* @version 226.0.0
|
|
3885
3885
|
*//**
|
|
3886
3886
|
* Constructs a new BillingApi.
|
|
3887
3887
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3958,7 +3958,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3958
3958
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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 BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
3959
3959
|
* BusinessRules service.
|
|
3960
3960
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
3961
|
-
* @version
|
|
3961
|
+
* @version 226.0.0
|
|
3962
3962
|
*//**
|
|
3963
3963
|
* Constructs a new BusinessRulesApi.
|
|
3964
3964
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4221,7 +4221,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4221
4221
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
4222
4222
|
* CarrierServices service.
|
|
4223
4223
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4224
|
-
* @version
|
|
4224
|
+
* @version 226.0.0
|
|
4225
4225
|
*//**
|
|
4226
4226
|
* Constructs a new CarrierServicesApi.
|
|
4227
4227
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4241,7 +4241,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4241
4241
|
*/},{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(){/**
|
|
4242
4242
|
* Chat service.
|
|
4243
4243
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4244
|
-
* @version
|
|
4244
|
+
* @version 226.0.0
|
|
4245
4245
|
*//**
|
|
4246
4246
|
* Constructs a new ChatApi.
|
|
4247
4247
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4461,7 +4461,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4461
4461
|
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(){/**
|
|
4462
4462
|
* Coaching service.
|
|
4463
4463
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4464
|
-
* @version
|
|
4464
|
+
* @version 226.0.0
|
|
4465
4465
|
*//**
|
|
4466
4466
|
* Constructs a new CoachingApi.
|
|
4467
4467
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4614,7 +4614,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4614
4614
|
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(){/**
|
|
4615
4615
|
* ContentManagement service.
|
|
4616
4616
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4617
|
-
* @version
|
|
4617
|
+
* @version 226.0.0
|
|
4618
4618
|
*//**
|
|
4619
4619
|
* Constructs a new ContentManagementApi.
|
|
4620
4620
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4896,7 +4896,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
4896
4896
|
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(){/**
|
|
4897
4897
|
* Conversations service.
|
|
4898
4898
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4899
|
-
* @version
|
|
4899
|
+
* @version 226.0.0
|
|
4900
4900
|
*//**
|
|
4901
4901
|
* Constructs a new ConversationsApi.
|
|
4902
4902
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6144,6 +6144,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6144
6144
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
6145
6145
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
6146
6146
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantReplaceAgent';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/replace/agent','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6147
|
+
* Replace this participant with the an external contact
|
|
6148
|
+
*
|
|
6149
|
+
* @param {String} conversationId conversation ID
|
|
6150
|
+
* @param {String} participantId participant ID
|
|
6151
|
+
* @param {Object} body Transfer request
|
|
6152
|
+
* postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6153
|
+
*/},{key:"postConversationParticipantReplaceContactExternal",value:function postConversationParticipantReplaceContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6154
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'participantId' is set
|
|
6155
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'body' is set
|
|
6156
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6147
6157
|
* Replace this participant with the an external contact
|
|
6148
6158
|
*
|
|
6149
6159
|
* @param {String} conversationId conversation ID
|
|
@@ -6171,6 +6181,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6171
6181
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
6172
6182
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
6173
6183
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6184
|
+
* Replace this participant by another one using the address of the destination.
|
|
6185
|
+
*
|
|
6186
|
+
* @param {String} conversationId conversation ID
|
|
6187
|
+
* @param {String} participantId participant ID
|
|
6188
|
+
* @param {Object} body Transfer request
|
|
6189
|
+
* postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6190
|
+
*/},{key:"postConversationParticipantTransfer",value:function postConversationParticipantTransfer(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6191
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';}// verify the required parameter 'participantId' is set
|
|
6192
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';}// verify the required parameter 'body' is set
|
|
6193
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationParticipantTransfer';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/transfer','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6174
6194
|
* Save an engagement on the suggestion.
|
|
6175
6195
|
*
|
|
6176
6196
|
* @param {String} conversationId Conversation ID
|
|
@@ -6247,6 +6267,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6247
6267
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
6248
6268
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
6249
6269
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultAgent';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/agent','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6270
|
+
* Initiate a consult transfer to an external contact
|
|
6271
|
+
*
|
|
6272
|
+
* @param {String} conversationId conversationId
|
|
6273
|
+
* @param {String} participantId participantId
|
|
6274
|
+
* @param {Object} body Destination address and initial speak to
|
|
6275
|
+
* postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6276
|
+
*/},{key:"postConversationsCallParticipantConsultContactExternal",value:function postConversationsCallParticipantConsultContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6277
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'participantId' is set
|
|
6278
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'body' is set
|
|
6279
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6250
6280
|
* Initiate a consult transfer to an external contact
|
|
6251
6281
|
*
|
|
6252
6282
|
* @param {String} conversationId conversationId
|
|
@@ -6281,6 +6311,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
6281
6311
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
6282
6312
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
|
|
6283
6313
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6314
|
+
* Initiate voice consult transfer
|
|
6315
|
+
*
|
|
6316
|
+
* @param {String} conversationId conversationId
|
|
6317
|
+
* @param {String} participantId participantId
|
|
6318
|
+
* @param {Object} body Destination address and initial speak to
|
|
6319
|
+
* postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6320
|
+
*/},{key:"postConversationsCallParticipantVoiceConsult",value:function postConversationsCallParticipantVoiceConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6321
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'participantId' is set
|
|
6322
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'body' is set
|
|
6323
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantVoiceConsult';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/voice/consult','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6284
6324
|
* Add participants to a conversation
|
|
6285
6325
|
*
|
|
6286
6326
|
* @param {String} conversationId conversationId
|
|
@@ -6862,7 +6902,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
6862
6902
|
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(){/**
|
|
6863
6903
|
* DataExtensions service.
|
|
6864
6904
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6865
|
-
* @version
|
|
6905
|
+
* @version 226.0.0
|
|
6866
6906
|
*//**
|
|
6867
6907
|
* Constructs a new DataExtensionsApi.
|
|
6868
6908
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6883,7 +6923,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
6883
6923
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
6884
6924
|
* DataPrivacy service.
|
|
6885
6925
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6886
|
-
* @version
|
|
6926
|
+
* @version 226.0.0
|
|
6887
6927
|
*//**
|
|
6888
6928
|
* Constructs a new DataPrivacyApi.
|
|
6889
6929
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6923,7 +6963,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6923
6963
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
6924
6964
|
* Downloads service.
|
|
6925
6965
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6926
|
-
* @version
|
|
6966
|
+
* @version 226.0.0
|
|
6927
6967
|
*//**
|
|
6928
6968
|
* Constructs a new DownloadsApi.
|
|
6929
6969
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6942,7 +6982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6942
6982
|
if(downloadId===undefined||downloadId===null||downloadId===''){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(){/**
|
|
6943
6983
|
* Emails service.
|
|
6944
6984
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6945
|
-
* @version
|
|
6985
|
+
* @version 226.0.0
|
|
6946
6986
|
*//**
|
|
6947
6987
|
* Constructs a new EmailsApi.
|
|
6948
6988
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6971,7 +7011,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
6971
7011
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6972
7012
|
* EmployeeEngagement service.
|
|
6973
7013
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6974
|
-
* @version
|
|
7014
|
+
* @version 226.0.0
|
|
6975
7015
|
*//**
|
|
6976
7016
|
* Constructs a new EmployeeEngagementApi.
|
|
6977
7017
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7009,7 +7049,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7009
7049
|
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(){/**
|
|
7010
7050
|
* Events service.
|
|
7011
7051
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7012
|
-
* @version
|
|
7052
|
+
* @version 226.0.0
|
|
7013
7053
|
*//**
|
|
7014
7054
|
* Constructs a new EventsApi.
|
|
7015
7055
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7034,7 +7074,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7034
7074
|
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(){/**
|
|
7035
7075
|
* ExternalContacts service.
|
|
7036
7076
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7037
|
-
* @version
|
|
7077
|
+
* @version 226.0.0
|
|
7038
7078
|
*//**
|
|
7039
7079
|
* Constructs a new ExternalContactsApi.
|
|
7040
7080
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -7769,7 +7809,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
7769
7809
|
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(){/**
|
|
7770
7810
|
* Fax service.
|
|
7771
7811
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
7772
|
-
* @version
|
|
7812
|
+
* @version 226.0.0
|
|
7773
7813
|
*//**
|
|
7774
7814
|
* Constructs a new FaxApi.
|
|
7775
7815
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -7818,7 +7858,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7818
7858
|
*/},{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(){/**
|
|
7819
7859
|
* Flows service.
|
|
7820
7860
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
7821
|
-
* @version
|
|
7861
|
+
* @version 226.0.0
|
|
7822
7862
|
*//**
|
|
7823
7863
|
* Constructs a new FlowsApi.
|
|
7824
7864
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -7866,7 +7906,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7866
7906
|
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(){/**
|
|
7867
7907
|
* Gamification service.
|
|
7868
7908
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
7869
|
-
* @version
|
|
7909
|
+
* @version 226.0.0
|
|
7870
7910
|
*//**
|
|
7871
7911
|
* Constructs a new GamificationApi.
|
|
7872
7912
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8519,7 +8559,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8519
8559
|
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(){/**
|
|
8520
8560
|
* GeneralDataProtectionRegulation service.
|
|
8521
8561
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8522
|
-
* @version
|
|
8562
|
+
* @version 226.0.0
|
|
8523
8563
|
*//**
|
|
8524
8564
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8525
8565
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8554,7 +8594,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8554
8594
|
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(){/**
|
|
8555
8595
|
* Geolocation service.
|
|
8556
8596
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8557
|
-
* @version
|
|
8597
|
+
* @version 226.0.0
|
|
8558
8598
|
*//**
|
|
8559
8599
|
* Constructs a new GeolocationApi.
|
|
8560
8600
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8588,7 +8628,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8588
8628
|
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(){/**
|
|
8589
8629
|
* Greetings service.
|
|
8590
8630
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8591
|
-
* @version
|
|
8631
|
+
* @version 226.0.0
|
|
8592
8632
|
*//**
|
|
8593
8633
|
* Constructs a new GreetingsApi.
|
|
8594
8634
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -8716,7 +8756,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
8716
8756
|
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(){/**
|
|
8717
8757
|
* Groups service.
|
|
8718
8758
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
8719
|
-
* @version
|
|
8759
|
+
* @version 226.0.0
|
|
8720
8760
|
*//**
|
|
8721
8761
|
* Constructs a new GroupsApi.
|
|
8722
8762
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -8849,7 +8889,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
8849
8889
|
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(){/**
|
|
8850
8890
|
* IdentityProvider service.
|
|
8851
8891
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
8852
|
-
* @version
|
|
8892
|
+
* @version 226.0.0
|
|
8853
8893
|
*//**
|
|
8854
8894
|
* Constructs a new IdentityProviderApi.
|
|
8855
8895
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9005,7 +9045,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9005
9045
|
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(){/**
|
|
9006
9046
|
* InfrastructureAsCode service.
|
|
9007
9047
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9008
|
-
* @version
|
|
9048
|
+
* @version 226.0.0
|
|
9009
9049
|
*//**
|
|
9010
9050
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9011
9051
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9059,7 +9099,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9059
9099
|
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(){/**
|
|
9060
9100
|
* Integrations service.
|
|
9061
9101
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9062
|
-
* @version
|
|
9102
|
+
* @version 226.0.0
|
|
9063
9103
|
*//**
|
|
9064
9104
|
* Constructs a new IntegrationsApi.
|
|
9065
9105
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -9319,10 +9359,11 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
9319
9359
|
*/},{key:"getIntegrationsCredential",value:function getIntegrationsCredential(credentialId){// verify the required parameter 'credentialId' is set
|
|
9320
9360
|
if(credentialId===undefined||credentialId===null||credentialId===''){throw'Missing the required parameter "credentialId" when calling getIntegrationsCredential';}return this.apiClient.callApi('/api/v2/integrations/credentials/{credentialId}','GET',{'credentialId':credentialId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9321
9361
|
* List multiple sets of credentials
|
|
9322
|
-
*
|
|
9362
|
+
* This endpoint is deprecated. Please see the Listing API (GET /api/v2/integrations/credentials/listing)
|
|
9323
9363
|
* @param {Object} opts Optional parameters
|
|
9324
9364
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9325
9365
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9366
|
+
* @deprecated
|
|
9326
9367
|
*/},{key:"getIntegrationsCredentials",value:function getIntegrationsCredentials(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/credentials','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9327
9368
|
* List multiple sets of credentials using cursor-based paging
|
|
9328
9369
|
*
|
|
@@ -9745,7 +9786,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
9745
9786
|
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(){/**
|
|
9746
9787
|
* Journey service.
|
|
9747
9788
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
9748
|
-
* @version
|
|
9789
|
+
* @version 226.0.0
|
|
9749
9790
|
*//**
|
|
9750
9791
|
* Constructs a new JourneyApi.
|
|
9751
9792
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10225,7 +10266,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10225
10266
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
10226
10267
|
* Knowledge service.
|
|
10227
10268
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10228
|
-
* @version
|
|
10269
|
+
* @version 226.0.0
|
|
10229
10270
|
*//**
|
|
10230
10271
|
* Constructs a new KnowledgeApi.
|
|
10231
10272
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11288,7 +11329,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11288
11329
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
11289
11330
|
* LanguageUnderstanding service.
|
|
11290
11331
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11291
|
-
* @version
|
|
11332
|
+
* @version 226.0.0
|
|
11292
11333
|
*//**
|
|
11293
11334
|
* Constructs a new LanguageUnderstandingApi.
|
|
11294
11335
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11547,7 +11588,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11547
11588
|
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(){/**
|
|
11548
11589
|
* Languages service.
|
|
11549
11590
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11550
|
-
* @version
|
|
11591
|
+
* @version 226.0.0
|
|
11551
11592
|
*//**
|
|
11552
11593
|
* Constructs a new LanguagesApi.
|
|
11553
11594
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -11602,7 +11643,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
11602
11643
|
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(){/**
|
|
11603
11644
|
* Learning service.
|
|
11604
11645
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
11605
|
-
* @version
|
|
11646
|
+
* @version 226.0.0
|
|
11606
11647
|
*//**
|
|
11607
11648
|
* Constructs a new LearningApi.
|
|
11608
11649
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -11873,7 +11914,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
11873
11914
|
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(){/**
|
|
11874
11915
|
* License service.
|
|
11875
11916
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
11876
|
-
* @version
|
|
11917
|
+
* @version 226.0.0
|
|
11877
11918
|
*//**
|
|
11878
11919
|
* Constructs a new LicenseApi.
|
|
11879
11920
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -11927,7 +11968,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
11927
11968
|
*/},{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(){/**
|
|
11928
11969
|
* Locations service.
|
|
11929
11970
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
11930
|
-
* @version
|
|
11971
|
+
* @version 226.0.0
|
|
11931
11972
|
*//**
|
|
11932
11973
|
* Constructs a new LocationsApi.
|
|
11933
11974
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -11986,7 +12027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11986
12027
|
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(){/**
|
|
11987
12028
|
* LogCapture service.
|
|
11988
12029
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
11989
|
-
* @version
|
|
12030
|
+
* @version 226.0.0
|
|
11990
12031
|
*//**
|
|
11991
12032
|
* Constructs a new LogCaptureApi.
|
|
11992
12033
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12035,7 +12076,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12035
12076
|
if(userId===undefined||userId===null||userId===''){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(){/**
|
|
12036
12077
|
* Messaging service.
|
|
12037
12078
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12038
|
-
* @version
|
|
12079
|
+
* @version 226.0.0
|
|
12039
12080
|
*//**
|
|
12040
12081
|
* Constructs a new MessagingApi.
|
|
12041
12082
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12125,7 +12166,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12125
12166
|
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(){/**
|
|
12126
12167
|
* MobileDevices service.
|
|
12127
12168
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12128
|
-
* @version
|
|
12169
|
+
* @version 226.0.0
|
|
12129
12170
|
*//**
|
|
12130
12171
|
* Constructs a new MobileDevicesApi.
|
|
12131
12172
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12164,7 +12205,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12164
12205
|
if(deviceId===undefined||deviceId===null||deviceId===''){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(){/**
|
|
12165
12206
|
* Notifications service.
|
|
12166
12207
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12167
|
-
* @version
|
|
12208
|
+
* @version 226.0.0
|
|
12168
12209
|
*//**
|
|
12169
12210
|
* Constructs a new NotificationsApi.
|
|
12170
12211
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12221,7 +12262,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12221
12262
|
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(){/**
|
|
12222
12263
|
* OAuth service.
|
|
12223
12264
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12224
|
-
* @version
|
|
12265
|
+
* @version 226.0.0
|
|
12225
12266
|
*//**
|
|
12226
12267
|
* Constructs a new OAuthApi.
|
|
12227
12268
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12306,7 +12347,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12306
12347
|
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(){/**
|
|
12307
12348
|
* Objects service.
|
|
12308
12349
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12309
|
-
* @version
|
|
12350
|
+
* @version 226.0.0
|
|
12310
12351
|
*//**
|
|
12311
12352
|
* Constructs a new ObjectsApi.
|
|
12312
12353
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12392,7 +12433,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12392
12433
|
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(){/**
|
|
12393
12434
|
* OperationalEvents service.
|
|
12394
12435
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12395
|
-
* @version
|
|
12436
|
+
* @version 226.0.0
|
|
12396
12437
|
*//**
|
|
12397
12438
|
* Constructs a new OperationalEventsApi.
|
|
12398
12439
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12423,7 +12464,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12423
12464
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
12424
12465
|
* Organization service.
|
|
12425
12466
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12426
|
-
* @version
|
|
12467
|
+
* @version 226.0.0
|
|
12427
12468
|
*//**
|
|
12428
12469
|
* Constructs a new OrganizationApi.
|
|
12429
12470
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12528,7 +12569,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12528
12569
|
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(){/**
|
|
12529
12570
|
* OrganizationAuthorization service.
|
|
12530
12571
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12531
|
-
* @version
|
|
12572
|
+
* @version 226.0.0
|
|
12532
12573
|
*//**
|
|
12533
12574
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12534
12575
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -12862,7 +12903,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
12862
12903
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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(){/**
|
|
12863
12904
|
* Outbound service.
|
|
12864
12905
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
12865
|
-
* @version
|
|
12906
|
+
* @version 226.0.0
|
|
12866
12907
|
*//**
|
|
12867
12908
|
* Constructs a new OutboundApi.
|
|
12868
12909
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -13993,7 +14034,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13993
14034
|
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(){/**
|
|
13994
14035
|
* Presence service.
|
|
13995
14036
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
13996
|
-
* @version
|
|
14037
|
+
* @version 226.0.0
|
|
13997
14038
|
*//**
|
|
13998
14039
|
* Constructs a new PresenceApi.
|
|
13999
14040
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14166,7 +14207,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14166
14207
|
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(){/**
|
|
14167
14208
|
* ProcessAutomation service.
|
|
14168
14209
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14169
|
-
* @version
|
|
14210
|
+
* @version 226.0.0
|
|
14170
14211
|
*//**
|
|
14171
14212
|
* Constructs a new ProcessAutomationApi.
|
|
14172
14213
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14229,7 +14270,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14229
14270
|
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(){/**
|
|
14230
14271
|
* Quality service.
|
|
14231
14272
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14232
|
-
* @version
|
|
14273
|
+
* @version 226.0.0
|
|
14233
14274
|
*//**
|
|
14234
14275
|
* Constructs a new QualityApi.
|
|
14235
14276
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -14707,7 +14748,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
14707
14748
|
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(){/**
|
|
14708
14749
|
* Recording service.
|
|
14709
14750
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
14710
|
-
* @version
|
|
14751
|
+
* @version 226.0.0
|
|
14711
14752
|
*//**
|
|
14712
14753
|
* Constructs a new RecordingApi.
|
|
14713
14754
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15106,7 +15147,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15106
15147
|
*/},{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(){/**
|
|
15107
15148
|
* ResponseManagement service.
|
|
15108
15149
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15109
|
-
* @version
|
|
15150
|
+
* @version 226.0.0
|
|
15110
15151
|
*//**
|
|
15111
15152
|
* Constructs a new ResponseManagementApi.
|
|
15112
15153
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15227,7 +15268,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15227
15268
|
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(){/**
|
|
15228
15269
|
* Routing service.
|
|
15229
15270
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15230
|
-
* @version
|
|
15271
|
+
* @version 226.0.0
|
|
15231
15272
|
*//**
|
|
15232
15273
|
* Constructs a new RoutingApi.
|
|
15233
15274
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15611,8 +15652,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
15611
15652
|
* @param {Object} opts Optional parameters
|
|
15612
15653
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15613
15654
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15655
|
+
* @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
|
|
15614
15656
|
*/},{key:"getRoutingQueueWrapupcodes",value:function getRoutingQueueWrapupcodes(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
15615
|
-
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/wrapupcodes','GET',{'queueId':queueId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15657
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueWrapupcodes';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/wrapupcodes','GET',{'queueId':queueId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15616
15658
|
* Get list of queues.
|
|
15617
15659
|
*
|
|
15618
15660
|
* @param {Object} opts Optional parameters
|
|
@@ -16282,7 +16324,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16282
16324
|
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(){/**
|
|
16283
16325
|
* SCIM service.
|
|
16284
16326
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16285
|
-
* @version
|
|
16327
|
+
* @version 226.0.0
|
|
16286
16328
|
*//**
|
|
16287
16329
|
* Constructs a new SCIMApi.
|
|
16288
16330
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -16507,7 +16549,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16507
16549
|
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(){/**
|
|
16508
16550
|
* ScreenRecording service.
|
|
16509
16551
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
16510
|
-
* @version
|
|
16552
|
+
* @version 226.0.0
|
|
16511
16553
|
*//**
|
|
16512
16554
|
* Constructs a new ScreenRecordingApi.
|
|
16513
16555
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -16522,7 +16564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16522
16564
|
*/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(){/**
|
|
16523
16565
|
* Scripts service.
|
|
16524
16566
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
16525
|
-
* @version
|
|
16567
|
+
* @version 226.0.0
|
|
16526
16568
|
*//**
|
|
16527
16569
|
* Constructs a new ScriptsApi.
|
|
16528
16570
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -16668,7 +16710,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
16668
16710
|
*/},{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(){/**
|
|
16669
16711
|
* Search service.
|
|
16670
16712
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
16671
|
-
* @version
|
|
16713
|
+
* @version 226.0.0
|
|
16672
16714
|
*//**
|
|
16673
16715
|
* Constructs a new SearchApi.
|
|
16674
16716
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -16840,7 +16882,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16840
16882
|
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(){/**
|
|
16841
16883
|
* Settings service.
|
|
16842
16884
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
16843
|
-
* @version
|
|
16885
|
+
* @version 226.0.0
|
|
16844
16886
|
*//**
|
|
16845
16887
|
* Constructs a new SettingsApi.
|
|
16846
16888
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -16912,7 +16954,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
16912
16954
|
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 SocialMediaApi=/*#__PURE__*/function(){/**
|
|
16913
16955
|
* SocialMedia service.
|
|
16914
16956
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
16915
|
-
* @version
|
|
16957
|
+
* @version 226.0.0
|
|
16916
16958
|
*//**
|
|
16917
16959
|
* Constructs a new SocialMediaApi.
|
|
16918
16960
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17260,7 +17302,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17260
17302
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
17261
17303
|
* SpeechTextAnalytics service.
|
|
17262
17304
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17263
|
-
* @version
|
|
17305
|
+
* @version 226.0.0
|
|
17264
17306
|
*//**
|
|
17265
17307
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17266
17308
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -17591,7 +17633,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17591
17633
|
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(){/**
|
|
17592
17634
|
* Stations service.
|
|
17593
17635
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
17594
|
-
* @version
|
|
17636
|
+
* @version 226.0.0
|
|
17595
17637
|
*//**
|
|
17596
17638
|
* Constructs a new StationsApi.
|
|
17597
17639
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -17623,7 +17665,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
17623
17665
|
*/},{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(){/**
|
|
17624
17666
|
* Suggest service.
|
|
17625
17667
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
17626
|
-
* @version
|
|
17668
|
+
* @version 226.0.0
|
|
17627
17669
|
*//**
|
|
17628
17670
|
* Constructs a new SuggestApi.
|
|
17629
17671
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -17663,7 +17705,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17663
17705
|
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(){/**
|
|
17664
17706
|
* TaskManagement service.
|
|
17665
17707
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
17666
|
-
* @version
|
|
17708
|
+
* @version 226.0.0
|
|
17667
17709
|
*//**
|
|
17668
17710
|
* Constructs a new TaskManagementApi.
|
|
17669
17711
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18171,7 +18213,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18171
18213
|
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(){/**
|
|
18172
18214
|
* Teams service.
|
|
18173
18215
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18174
|
-
* @version
|
|
18216
|
+
* @version 226.0.0
|
|
18175
18217
|
*//**
|
|
18176
18218
|
* Constructs a new TeamsApi.
|
|
18177
18219
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18251,7 +18293,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18251
18293
|
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(){/**
|
|
18252
18294
|
* Telephony service.
|
|
18253
18295
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18254
|
-
* @version
|
|
18296
|
+
* @version 226.0.0
|
|
18255
18297
|
*//**
|
|
18256
18298
|
* Constructs a new TelephonyApi.
|
|
18257
18299
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18298,7 +18340,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
18298
18340
|
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(){/**
|
|
18299
18341
|
* TelephonyProvidersEdge service.
|
|
18300
18342
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18301
|
-
* @version
|
|
18343
|
+
* @version 226.0.0
|
|
18302
18344
|
*//**
|
|
18303
18345
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18304
18346
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19146,7 +19188,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19146
19188
|
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(){/**
|
|
19147
19189
|
* Textbots service.
|
|
19148
19190
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19149
|
-
* @version
|
|
19191
|
+
* @version 226.0.0
|
|
19150
19192
|
*//**
|
|
19151
19193
|
* Constructs a new TextbotsApi.
|
|
19152
19194
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19182,7 +19224,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19182
19224
|
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(){/**
|
|
19183
19225
|
* Tokens service.
|
|
19184
19226
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19185
|
-
* @version
|
|
19227
|
+
* @version 226.0.0
|
|
19186
19228
|
*//**
|
|
19187
19229
|
* Constructs a new TokensApi.
|
|
19188
19230
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19216,7 +19258,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19216
19258
|
*/},{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(){/**
|
|
19217
19259
|
* Uploads service.
|
|
19218
19260
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19219
|
-
* @version
|
|
19261
|
+
* @version 226.0.0
|
|
19220
19262
|
*//**
|
|
19221
19263
|
* Constructs a new UploadsApi.
|
|
19222
19264
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19284,7 +19326,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19284
19326
|
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(){/**
|
|
19285
19327
|
* Usage service.
|
|
19286
19328
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19287
|
-
* @version
|
|
19329
|
+
* @version 226.0.0
|
|
19288
19330
|
*//**
|
|
19289
19331
|
* Constructs a new UsageApi.
|
|
19290
19332
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19338,7 +19380,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19338
19380
|
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(){/**
|
|
19339
19381
|
* UserRecordings service.
|
|
19340
19382
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19341
|
-
* @version
|
|
19383
|
+
* @version 226.0.0
|
|
19342
19384
|
*//**
|
|
19343
19385
|
* Constructs a new UserRecordingsApi.
|
|
19344
19386
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -19395,7 +19437,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
19395
19437
|
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(){/**
|
|
19396
19438
|
* Users service.
|
|
19397
19439
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
19398
|
-
* @version
|
|
19440
|
+
* @version 226.0.0
|
|
19399
19441
|
*//**
|
|
19400
19442
|
* Constructs a new UsersApi.
|
|
19401
19443
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20133,7 +20175,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20133
20175
|
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(){/**
|
|
20134
20176
|
* Utilities service.
|
|
20135
20177
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20136
|
-
* @version
|
|
20178
|
+
* @version 226.0.0
|
|
20137
20179
|
*//**
|
|
20138
20180
|
* Constructs a new UtilitiesApi.
|
|
20139
20181
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20160,7 +20202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20160
20202
|
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(){/**
|
|
20161
20203
|
* Voicemail service.
|
|
20162
20204
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20163
|
-
* @version
|
|
20205
|
+
* @version 226.0.0
|
|
20164
20206
|
*//**
|
|
20165
20207
|
* Constructs a new VoicemailApi.
|
|
20166
20208
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20322,7 +20364,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20322
20364
|
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(){/**
|
|
20323
20365
|
* WebChat service.
|
|
20324
20366
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20325
|
-
* @version
|
|
20367
|
+
* @version 226.0.0
|
|
20326
20368
|
*//**
|
|
20327
20369
|
* Constructs a new WebChatApi.
|
|
20328
20370
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -20466,7 +20508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20466
20508
|
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(){/**
|
|
20467
20509
|
* WebDeployments service.
|
|
20468
20510
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
20469
|
-
* @version
|
|
20511
|
+
* @version 226.0.0
|
|
20470
20512
|
*//**
|
|
20471
20513
|
* Constructs a new WebDeploymentsApi.
|
|
20472
20514
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -20599,7 +20641,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20599
20641
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
20600
20642
|
* WebMessaging service.
|
|
20601
20643
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
20602
|
-
* @version
|
|
20644
|
+
* @version 226.0.0
|
|
20603
20645
|
*//**
|
|
20604
20646
|
* Constructs a new WebMessagingApi.
|
|
20605
20647
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -20615,7 +20657,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20615
20657
|
*/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(){/**
|
|
20616
20658
|
* Widgets service.
|
|
20617
20659
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
20618
|
-
* @version
|
|
20660
|
+
* @version 226.0.0
|
|
20619
20661
|
*//**
|
|
20620
20662
|
* Constructs a new WidgetsApi.
|
|
20621
20663
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -20655,7 +20697,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20655
20697
|
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(){/**
|
|
20656
20698
|
* WorkforceManagement service.
|
|
20657
20699
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
20658
|
-
* @version
|
|
20700
|
+
* @version 226.0.0
|
|
20659
20701
|
*//**
|
|
20660
20702
|
* Constructs a new WorkforceManagementApi.
|
|
20661
20703
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -21268,10 +21310,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
21268
21310
|
* Retrieves all delete job status for historical data
|
|
21269
21311
|
*
|
|
21270
21312
|
*/},{key:"getWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function getWorkforcemanagementHistoricaldataBulkRemoveJobs(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21271
|
-
* Retrieves delete job status for historical data imports of the organization.
|
|
21272
|
-
* Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
21273
|
-
* @deprecated
|
|
21274
|
-
*/},{key:"getWorkforcemanagementHistoricaldataDeletejob",value:function getWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21275
21313
|
* Retrieves status of the historical data imports of the organization
|
|
21276
21314
|
*
|
|
21277
21315
|
*/},{key:"getWorkforcemanagementHistoricaldataImportstatus",value:function getWorkforcemanagementHistoricaldataImportstatus(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -22153,10 +22191,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22153
22191
|
* @param {Object} body body
|
|
22154
22192
|
*/},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(body){// verify the required parameter 'body' is set
|
|
22155
22193
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22156
|
-
* Delete the entries of the historical data imports in the organization.
|
|
22157
|
-
* Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
22158
|
-
* @deprecated
|
|
22159
|
-
*/},{key:"postWorkforcemanagementHistoricaldataDeletejob",value:function postWorkforcemanagementHistoricaldataDeletejob(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/deletejob','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22160
22194
|
* Trigger validation process for historical import
|
|
22161
22195
|
*
|
|
22162
22196
|
* @param {Object} body body
|
|
@@ -22488,7 +22522,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22488
22522
|
* </pre>
|
|
22489
22523
|
* </p>
|
|
22490
22524
|
* @module purecloud-platform-client-v2/index
|
|
22491
|
-
* @version
|
|
22525
|
+
* @version 226.0.0
|
|
22492
22526
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
22493
22527
|
* The ApiClient constructor.
|
|
22494
22528
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|