purecloud-platform-client-v2 225.0.0 → 227.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 +302 -128
- package/dist/web-amd/purecloud-platform-client-v2.js +302 -128
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +141 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +141 -94
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +884 -885
- 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 +46 -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 +26 -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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.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 227.0.0
|
|
4245
4245
|
*//**
|
|
4246
4246
|
* Constructs a new ChatApi.
|
|
4247
4247
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4284,6 +4284,9 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
4284
4284
|
*/},{key:"deleteChatsUserMessagesPin",value:function deleteChatsUserMessagesPin(userId,pinnedMessageId){// verify the required parameter 'userId' is set
|
|
4285
4285
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';}// verify the required parameter 'pinnedMessageId' is set
|
|
4286
4286
|
if(pinnedMessageId===undefined||pinnedMessageId===null||pinnedMessageId===''){throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}','DELETE',{'userId':userId,'pinnedMessageId':pinnedMessageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4287
|
+
* Delete a user's chat settings
|
|
4288
|
+
*
|
|
4289
|
+
*/},{key:"deleteChatsUsersMeSettings",value:function deleteChatsUsersMeSettings(){return this.apiClient.callApi('/api/v2/chats/users/me/settings','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4287
4290
|
* Get a message
|
|
4288
4291
|
*
|
|
4289
4292
|
* @param {String} messageId messageId
|
|
@@ -4447,6 +4450,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4447
4450
|
*/},{key:"postChatsUserMessagesPins",value:function postChatsUserMessagesPins(userId,body){// verify the required parameter 'userId' is set
|
|
4448
4451
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postChatsUserMessagesPins';}// verify the required parameter 'body' is set
|
|
4449
4452
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUserMessagesPins';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/pins','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4453
|
+
* Create a user's chat settings
|
|
4454
|
+
*
|
|
4455
|
+
* @param {Object} body
|
|
4456
|
+
*/},{key:"postChatsUsersMeSettings",value:function postChatsUsersMeSettings(body){// verify the required parameter 'body' is set
|
|
4457
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUsersMeSettings';}return this.apiClient.callApi('/api/v2/chats/users/me/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4450
4458
|
* Update reactions to a message
|
|
4451
4459
|
*
|
|
4452
4460
|
* @param {String} messageId messageId
|
|
@@ -4461,7 +4469,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4461
4469
|
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
4470
|
* Coaching service.
|
|
4463
4471
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4464
|
-
* @version
|
|
4472
|
+
* @version 227.0.0
|
|
4465
4473
|
*//**
|
|
4466
4474
|
* Constructs a new CoachingApi.
|
|
4467
4475
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4614,7 +4622,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4614
4622
|
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
4623
|
* ContentManagement service.
|
|
4616
4624
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4617
|
-
* @version
|
|
4625
|
+
* @version 227.0.0
|
|
4618
4626
|
*//**
|
|
4619
4627
|
* Constructs a new ContentManagementApi.
|
|
4620
4628
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4896,7 +4904,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
4896
4904
|
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
4905
|
* Conversations service.
|
|
4898
4906
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4899
|
-
* @version
|
|
4907
|
+
* @version 227.0.0
|
|
4900
4908
|
*//**
|
|
4901
4909
|
* Constructs a new ConversationsApi.
|
|
4902
4910
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6144,6 +6152,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6144
6152
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
6145
6153
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
6146
6154
|
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']);}/**
|
|
6155
|
+
* Replace this participant with the an external contact
|
|
6156
|
+
*
|
|
6157
|
+
* @param {String} conversationId conversation ID
|
|
6158
|
+
* @param {String} participantId participant ID
|
|
6159
|
+
* @param {Object} body Transfer request
|
|
6160
|
+
* postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6161
|
+
*/},{key:"postConversationParticipantReplaceContactExternal",value:function postConversationParticipantReplaceContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6162
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'participantId' is set
|
|
6163
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';}// verify the required parameter 'body' is set
|
|
6164
|
+
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
6165
|
* Replace this participant with the an external contact
|
|
6148
6166
|
*
|
|
6149
6167
|
* @param {String} conversationId conversation ID
|
|
@@ -6171,6 +6189,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6171
6189
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
6172
6190
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
6173
6191
|
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']);}/**
|
|
6192
|
+
* Replace this participant by another one using the address of the destination.
|
|
6193
|
+
*
|
|
6194
|
+
* @param {String} conversationId conversation ID
|
|
6195
|
+
* @param {String} participantId participant ID
|
|
6196
|
+
* @param {Object} body Transfer request
|
|
6197
|
+
* postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6198
|
+
*/},{key:"postConversationParticipantTransfer",value:function postConversationParticipantTransfer(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6199
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';}// verify the required parameter 'participantId' is set
|
|
6200
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';}// verify the required parameter 'body' is set
|
|
6201
|
+
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
6202
|
* Save an engagement on the suggestion.
|
|
6175
6203
|
*
|
|
6176
6204
|
* @param {String} conversationId Conversation ID
|
|
@@ -6247,6 +6275,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6247
6275
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
6248
6276
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
6249
6277
|
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']);}/**
|
|
6278
|
+
* Initiate a consult transfer to an external contact
|
|
6279
|
+
*
|
|
6280
|
+
* @param {String} conversationId conversationId
|
|
6281
|
+
* @param {String} participantId participantId
|
|
6282
|
+
* @param {Object} body Destination address and initial speak to
|
|
6283
|
+
* postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6284
|
+
*/},{key:"postConversationsCallParticipantConsultContactExternal",value:function postConversationsCallParticipantConsultContactExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6285
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'participantId' is set
|
|
6286
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';}// verify the required parameter 'body' is set
|
|
6287
|
+
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
6288
|
* Initiate a consult transfer to an external contact
|
|
6251
6289
|
*
|
|
6252
6290
|
* @param {String} conversationId conversationId
|
|
@@ -6281,6 +6319,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
6281
6319
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
6282
6320
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';}// verify the required parameter 'body' is set
|
|
6283
6321
|
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']);}/**
|
|
6322
|
+
* Initiate voice consult transfer
|
|
6323
|
+
*
|
|
6324
|
+
* @param {String} conversationId conversationId
|
|
6325
|
+
* @param {String} participantId participantId
|
|
6326
|
+
* @param {Object} body Destination address and initial speak to
|
|
6327
|
+
* postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6328
|
+
*/},{key:"postConversationsCallParticipantVoiceConsult",value:function postConversationsCallParticipantVoiceConsult(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
6329
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'participantId' is set
|
|
6330
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';}// verify the required parameter 'body' is set
|
|
6331
|
+
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
6332
|
* Add participants to a conversation
|
|
6285
6333
|
*
|
|
6286
6334
|
* @param {String} conversationId conversationId
|
|
@@ -6862,7 +6910,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
6862
6910
|
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
6911
|
* DataExtensions service.
|
|
6864
6912
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6865
|
-
* @version
|
|
6913
|
+
* @version 227.0.0
|
|
6866
6914
|
*//**
|
|
6867
6915
|
* Constructs a new DataExtensionsApi.
|
|
6868
6916
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6883,7 +6931,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
6883
6931
|
*/},{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
6932
|
* DataPrivacy service.
|
|
6885
6933
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6886
|
-
* @version
|
|
6934
|
+
* @version 227.0.0
|
|
6887
6935
|
*//**
|
|
6888
6936
|
* Constructs a new DataPrivacyApi.
|
|
6889
6937
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6923,7 +6971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6923
6971
|
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
6972
|
* Downloads service.
|
|
6925
6973
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6926
|
-
* @version
|
|
6974
|
+
* @version 227.0.0
|
|
6927
6975
|
*//**
|
|
6928
6976
|
* Constructs a new DownloadsApi.
|
|
6929
6977
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6942,7 +6990,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6942
6990
|
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
6991
|
* Emails service.
|
|
6944
6992
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6945
|
-
* @version
|
|
6993
|
+
* @version 227.0.0
|
|
6946
6994
|
*//**
|
|
6947
6995
|
* Constructs a new EmailsApi.
|
|
6948
6996
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6971,7 +7019,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
6971
7019
|
*/},{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
7020
|
* EmployeeEngagement service.
|
|
6973
7021
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6974
|
-
* @version
|
|
7022
|
+
* @version 227.0.0
|
|
6975
7023
|
*//**
|
|
6976
7024
|
* Constructs a new EmployeeEngagementApi.
|
|
6977
7025
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7009,7 +7057,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7009
7057
|
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
7058
|
* Events service.
|
|
7011
7059
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7012
|
-
* @version
|
|
7060
|
+
* @version 227.0.0
|
|
7013
7061
|
*//**
|
|
7014
7062
|
* Constructs a new EventsApi.
|
|
7015
7063
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7034,7 +7082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7034
7082
|
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
7083
|
* ExternalContacts service.
|
|
7036
7084
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7037
|
-
* @version
|
|
7085
|
+
* @version 227.0.0
|
|
7038
7086
|
*//**
|
|
7039
7087
|
* Constructs a new ExternalContactsApi.
|
|
7040
7088
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -7769,7 +7817,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
7769
7817
|
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
7818
|
* Fax service.
|
|
7771
7819
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
7772
|
-
* @version
|
|
7820
|
+
* @version 227.0.0
|
|
7773
7821
|
*//**
|
|
7774
7822
|
* Constructs a new FaxApi.
|
|
7775
7823
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -7818,7 +7866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7818
7866
|
*/},{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
7867
|
* Flows service.
|
|
7820
7868
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
7821
|
-
* @version
|
|
7869
|
+
* @version 227.0.0
|
|
7822
7870
|
*//**
|
|
7823
7871
|
* Constructs a new FlowsApi.
|
|
7824
7872
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -7866,7 +7914,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7866
7914
|
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
7915
|
* Gamification service.
|
|
7868
7916
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
7869
|
-
* @version
|
|
7917
|
+
* @version 227.0.0
|
|
7870
7918
|
*//**
|
|
7871
7919
|
* Constructs a new GamificationApi.
|
|
7872
7920
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8519,7 +8567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8519
8567
|
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
8568
|
* GeneralDataProtectionRegulation service.
|
|
8521
8569
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8522
|
-
* @version
|
|
8570
|
+
* @version 227.0.0
|
|
8523
8571
|
*//**
|
|
8524
8572
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8525
8573
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8554,7 +8602,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8554
8602
|
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
8603
|
* Geolocation service.
|
|
8556
8604
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8557
|
-
* @version
|
|
8605
|
+
* @version 227.0.0
|
|
8558
8606
|
*//**
|
|
8559
8607
|
* Constructs a new GeolocationApi.
|
|
8560
8608
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8588,7 +8636,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8588
8636
|
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
8637
|
* Greetings service.
|
|
8590
8638
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8591
|
-
* @version
|
|
8639
|
+
* @version 227.0.0
|
|
8592
8640
|
*//**
|
|
8593
8641
|
* Constructs a new GreetingsApi.
|
|
8594
8642
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -8716,7 +8764,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
8716
8764
|
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
8765
|
* Groups service.
|
|
8718
8766
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
8719
|
-
* @version
|
|
8767
|
+
* @version 227.0.0
|
|
8720
8768
|
*//**
|
|
8721
8769
|
* Constructs a new GroupsApi.
|
|
8722
8770
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -8849,7 +8897,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
8849
8897
|
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
8898
|
* IdentityProvider service.
|
|
8851
8899
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
8852
|
-
* @version
|
|
8900
|
+
* @version 227.0.0
|
|
8853
8901
|
*//**
|
|
8854
8902
|
* Constructs a new IdentityProviderApi.
|
|
8855
8903
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9005,7 +9053,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9005
9053
|
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
9054
|
* InfrastructureAsCode service.
|
|
9007
9055
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9008
|
-
* @version
|
|
9056
|
+
* @version 227.0.0
|
|
9009
9057
|
*//**
|
|
9010
9058
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9011
9059
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9059,7 +9107,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9059
9107
|
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
9108
|
* Integrations service.
|
|
9061
9109
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9062
|
-
* @version
|
|
9110
|
+
* @version 227.0.0
|
|
9063
9111
|
*//**
|
|
9064
9112
|
* Constructs a new IntegrationsApi.
|
|
9065
9113
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -9319,10 +9367,11 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
9319
9367
|
*/},{key:"getIntegrationsCredential",value:function getIntegrationsCredential(credentialId){// verify the required parameter 'credentialId' is set
|
|
9320
9368
|
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
9369
|
* List multiple sets of credentials
|
|
9322
|
-
*
|
|
9370
|
+
* This endpoint is deprecated. Please see the Listing API (GET /api/v2/integrations/credentials/listing)
|
|
9323
9371
|
* @param {Object} opts Optional parameters
|
|
9324
9372
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9325
9373
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9374
|
+
* @deprecated
|
|
9326
9375
|
*/},{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
9376
|
* List multiple sets of credentials using cursor-based paging
|
|
9328
9377
|
*
|
|
@@ -9745,7 +9794,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
9745
9794
|
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
9795
|
* Journey service.
|
|
9747
9796
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
9748
|
-
* @version
|
|
9797
|
+
* @version 227.0.0
|
|
9749
9798
|
*//**
|
|
9750
9799
|
* Constructs a new JourneyApi.
|
|
9751
9800
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10225,7 +10274,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10225
10274
|
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
10275
|
* Knowledge service.
|
|
10227
10276
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10228
|
-
* @version
|
|
10277
|
+
* @version 227.0.0
|
|
10229
10278
|
*//**
|
|
10230
10279
|
* Constructs a new KnowledgeApi.
|
|
10231
10280
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11288,7 +11337,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11288
11337
|
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
11338
|
* LanguageUnderstanding service.
|
|
11290
11339
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11291
|
-
* @version
|
|
11340
|
+
* @version 227.0.0
|
|
11292
11341
|
*//**
|
|
11293
11342
|
* Constructs a new LanguageUnderstandingApi.
|
|
11294
11343
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11547,7 +11596,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11547
11596
|
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
11597
|
* Languages service.
|
|
11549
11598
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11550
|
-
* @version
|
|
11599
|
+
* @version 227.0.0
|
|
11551
11600
|
*//**
|
|
11552
11601
|
* Constructs a new LanguagesApi.
|
|
11553
11602
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -11602,7 +11651,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
11602
11651
|
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
11652
|
* Learning service.
|
|
11604
11653
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
11605
|
-
* @version
|
|
11654
|
+
* @version 227.0.0
|
|
11606
11655
|
*//**
|
|
11607
11656
|
* Constructs a new LearningApi.
|
|
11608
11657
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -11873,7 +11922,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
11873
11922
|
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
11923
|
* License service.
|
|
11875
11924
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
11876
|
-
* @version
|
|
11925
|
+
* @version 227.0.0
|
|
11877
11926
|
*//**
|
|
11878
11927
|
* Constructs a new LicenseApi.
|
|
11879
11928
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -11927,7 +11976,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
11927
11976
|
*/},{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
11977
|
* Locations service.
|
|
11929
11978
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
11930
|
-
* @version
|
|
11979
|
+
* @version 227.0.0
|
|
11931
11980
|
*//**
|
|
11932
11981
|
* Constructs a new LocationsApi.
|
|
11933
11982
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -11986,7 +12035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11986
12035
|
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
12036
|
* LogCapture service.
|
|
11988
12037
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
11989
|
-
* @version
|
|
12038
|
+
* @version 227.0.0
|
|
11990
12039
|
*//**
|
|
11991
12040
|
* Constructs a new LogCaptureApi.
|
|
11992
12041
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12035,7 +12084,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12035
12084
|
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
12085
|
* Messaging service.
|
|
12037
12086
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12038
|
-
* @version
|
|
12087
|
+
* @version 227.0.0
|
|
12039
12088
|
*//**
|
|
12040
12089
|
* Constructs a new MessagingApi.
|
|
12041
12090
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12125,7 +12174,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12125
12174
|
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
12175
|
* MobileDevices service.
|
|
12127
12176
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12128
|
-
* @version
|
|
12177
|
+
* @version 227.0.0
|
|
12129
12178
|
*//**
|
|
12130
12179
|
* Constructs a new MobileDevicesApi.
|
|
12131
12180
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12164,7 +12213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12164
12213
|
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
12214
|
* Notifications service.
|
|
12166
12215
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12167
|
-
* @version
|
|
12216
|
+
* @version 227.0.0
|
|
12168
12217
|
*//**
|
|
12169
12218
|
* Constructs a new NotificationsApi.
|
|
12170
12219
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12221,7 +12270,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12221
12270
|
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
12271
|
* OAuth service.
|
|
12223
12272
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12224
|
-
* @version
|
|
12273
|
+
* @version 227.0.0
|
|
12225
12274
|
*//**
|
|
12226
12275
|
* Constructs a new OAuthApi.
|
|
12227
12276
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12306,7 +12355,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12306
12355
|
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
12356
|
* Objects service.
|
|
12308
12357
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12309
|
-
* @version
|
|
12358
|
+
* @version 227.0.0
|
|
12310
12359
|
*//**
|
|
12311
12360
|
* Constructs a new ObjectsApi.
|
|
12312
12361
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12392,7 +12441,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12392
12441
|
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
12442
|
* OperationalEvents service.
|
|
12394
12443
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12395
|
-
* @version
|
|
12444
|
+
* @version 227.0.0
|
|
12396
12445
|
*//**
|
|
12397
12446
|
* Constructs a new OperationalEventsApi.
|
|
12398
12447
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12423,7 +12472,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12423
12472
|
*/},{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
12473
|
* Organization service.
|
|
12425
12474
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12426
|
-
* @version
|
|
12475
|
+
* @version 227.0.0
|
|
12427
12476
|
*//**
|
|
12428
12477
|
* Constructs a new OrganizationApi.
|
|
12429
12478
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12528,7 +12577,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12528
12577
|
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
12578
|
* OrganizationAuthorization service.
|
|
12530
12579
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12531
|
-
* @version
|
|
12580
|
+
* @version 227.0.0
|
|
12532
12581
|
*//**
|
|
12533
12582
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12534
12583
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -12862,7 +12911,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
12862
12911
|
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
12912
|
* Outbound service.
|
|
12864
12913
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
12865
|
-
* @version
|
|
12914
|
+
* @version 227.0.0
|
|
12866
12915
|
*//**
|
|
12867
12916
|
* Constructs a new OutboundApi.
|
|
12868
12917
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -13993,7 +14042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13993
14042
|
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
14043
|
* Presence service.
|
|
13995
14044
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
13996
|
-
* @version
|
|
14045
|
+
* @version 227.0.0
|
|
13997
14046
|
*//**
|
|
13998
14047
|
* Constructs a new PresenceApi.
|
|
13999
14048
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14166,7 +14215,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14166
14215
|
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
14216
|
* ProcessAutomation service.
|
|
14168
14217
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14169
|
-
* @version
|
|
14218
|
+
* @version 227.0.0
|
|
14170
14219
|
*//**
|
|
14171
14220
|
* Constructs a new ProcessAutomationApi.
|
|
14172
14221
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14229,7 +14278,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14229
14278
|
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
14279
|
* Quality service.
|
|
14231
14280
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14232
|
-
* @version
|
|
14281
|
+
* @version 227.0.0
|
|
14233
14282
|
*//**
|
|
14234
14283
|
* Constructs a new QualityApi.
|
|
14235
14284
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -14707,7 +14756,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
14707
14756
|
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
14757
|
* Recording service.
|
|
14709
14758
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
14710
|
-
* @version
|
|
14759
|
+
* @version 227.0.0
|
|
14711
14760
|
*//**
|
|
14712
14761
|
* Constructs a new RecordingApi.
|
|
14713
14762
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15106,7 +15155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15106
15155
|
*/},{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
15156
|
* ResponseManagement service.
|
|
15108
15157
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15109
|
-
* @version
|
|
15158
|
+
* @version 227.0.0
|
|
15110
15159
|
*//**
|
|
15111
15160
|
* Constructs a new ResponseManagementApi.
|
|
15112
15161
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15227,7 +15276,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15227
15276
|
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
15277
|
* Routing service.
|
|
15229
15278
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15230
|
-
* @version
|
|
15279
|
+
* @version 227.0.0
|
|
15231
15280
|
*//**
|
|
15232
15281
|
* Constructs a new RoutingApi.
|
|
15233
15282
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15611,8 +15660,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
15611
15660
|
* @param {Object} opts Optional parameters
|
|
15612
15661
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15613
15662
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15663
|
+
* @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
|
|
15614
15664
|
*/},{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']);}/**
|
|
15665
|
+
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
15666
|
* Get list of queues.
|
|
15617
15667
|
*
|
|
15618
15668
|
* @param {Object} opts Optional parameters
|
|
@@ -16282,7 +16332,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16282
16332
|
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
16333
|
* SCIM service.
|
|
16284
16334
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16285
|
-
* @version
|
|
16335
|
+
* @version 227.0.0
|
|
16286
16336
|
*//**
|
|
16287
16337
|
* Constructs a new SCIMApi.
|
|
16288
16338
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -16507,7 +16557,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16507
16557
|
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
16558
|
* ScreenRecording service.
|
|
16509
16559
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
16510
|
-
* @version
|
|
16560
|
+
* @version 227.0.0
|
|
16511
16561
|
*//**
|
|
16512
16562
|
* Constructs a new ScreenRecordingApi.
|
|
16513
16563
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -16522,7 +16572,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16522
16572
|
*/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
16573
|
* Scripts service.
|
|
16524
16574
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
16525
|
-
* @version
|
|
16575
|
+
* @version 227.0.0
|
|
16526
16576
|
*//**
|
|
16527
16577
|
* Constructs a new ScriptsApi.
|
|
16528
16578
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -16668,7 +16718,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
16668
16718
|
*/},{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
16719
|
* Search service.
|
|
16670
16720
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
16671
|
-
* @version
|
|
16721
|
+
* @version 227.0.0
|
|
16672
16722
|
*//**
|
|
16673
16723
|
* Constructs a new SearchApi.
|
|
16674
16724
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -16840,7 +16890,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16840
16890
|
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
16891
|
* Settings service.
|
|
16842
16892
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
16843
|
-
* @version
|
|
16893
|
+
* @version 227.0.0
|
|
16844
16894
|
*//**
|
|
16845
16895
|
* Constructs a new SettingsApi.
|
|
16846
16896
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -16912,7 +16962,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
16912
16962
|
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
16963
|
* SocialMedia service.
|
|
16914
16964
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
16915
|
-
* @version
|
|
16965
|
+
* @version 227.0.0
|
|
16916
16966
|
*//**
|
|
16917
16967
|
* Constructs a new SocialMediaApi.
|
|
16918
16968
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17260,7 +17310,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17260
17310
|
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
17311
|
* SpeechTextAnalytics service.
|
|
17262
17312
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17263
|
-
* @version
|
|
17313
|
+
* @version 227.0.0
|
|
17264
17314
|
*//**
|
|
17265
17315
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17266
17316
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -17591,7 +17641,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17591
17641
|
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
17642
|
* Stations service.
|
|
17593
17643
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
17594
|
-
* @version
|
|
17644
|
+
* @version 227.0.0
|
|
17595
17645
|
*//**
|
|
17596
17646
|
* Constructs a new StationsApi.
|
|
17597
17647
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -17623,7 +17673,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
17623
17673
|
*/},{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
17674
|
* Suggest service.
|
|
17625
17675
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
17626
|
-
* @version
|
|
17676
|
+
* @version 227.0.0
|
|
17627
17677
|
*//**
|
|
17628
17678
|
* Constructs a new SuggestApi.
|
|
17629
17679
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -17663,7 +17713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17663
17713
|
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
17714
|
* TaskManagement service.
|
|
17665
17715
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
17666
|
-
* @version
|
|
17716
|
+
* @version 227.0.0
|
|
17667
17717
|
*//**
|
|
17668
17718
|
* Constructs a new TaskManagementApi.
|
|
17669
17719
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18171,7 +18221,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18171
18221
|
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
18222
|
* Teams service.
|
|
18173
18223
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18174
|
-
* @version
|
|
18224
|
+
* @version 227.0.0
|
|
18175
18225
|
*//**
|
|
18176
18226
|
* Constructs a new TeamsApi.
|
|
18177
18227
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18251,7 +18301,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18251
18301
|
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
18302
|
* Telephony service.
|
|
18253
18303
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18254
|
-
* @version
|
|
18304
|
+
* @version 227.0.0
|
|
18255
18305
|
*//**
|
|
18256
18306
|
* Constructs a new TelephonyApi.
|
|
18257
18307
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18298,7 +18348,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
18298
18348
|
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
18349
|
* TelephonyProvidersEdge service.
|
|
18300
18350
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18301
|
-
* @version
|
|
18351
|
+
* @version 227.0.0
|
|
18302
18352
|
*//**
|
|
18303
18353
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18304
18354
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19146,7 +19196,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19146
19196
|
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
19197
|
* Textbots service.
|
|
19148
19198
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19149
|
-
* @version
|
|
19199
|
+
* @version 227.0.0
|
|
19150
19200
|
*//**
|
|
19151
19201
|
* Constructs a new TextbotsApi.
|
|
19152
19202
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19182,7 +19232,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19182
19232
|
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
19233
|
* Tokens service.
|
|
19184
19234
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19185
|
-
* @version
|
|
19235
|
+
* @version 227.0.0
|
|
19186
19236
|
*//**
|
|
19187
19237
|
* Constructs a new TokensApi.
|
|
19188
19238
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19216,7 +19266,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19216
19266
|
*/},{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
19267
|
* Uploads service.
|
|
19218
19268
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19219
|
-
* @version
|
|
19269
|
+
* @version 227.0.0
|
|
19220
19270
|
*//**
|
|
19221
19271
|
* Constructs a new UploadsApi.
|
|
19222
19272
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19284,7 +19334,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19284
19334
|
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
19335
|
* Usage service.
|
|
19286
19336
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19287
|
-
* @version
|
|
19337
|
+
* @version 227.0.0
|
|
19288
19338
|
*//**
|
|
19289
19339
|
* Constructs a new UsageApi.
|
|
19290
19340
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19338,7 +19388,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19338
19388
|
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
19389
|
* UserRecordings service.
|
|
19340
19390
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19341
|
-
* @version
|
|
19391
|
+
* @version 227.0.0
|
|
19342
19392
|
*//**
|
|
19343
19393
|
* Constructs a new UserRecordingsApi.
|
|
19344
19394
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -19395,7 +19445,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
19395
19445
|
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
19446
|
* Users service.
|
|
19397
19447
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
19398
|
-
* @version
|
|
19448
|
+
* @version 227.0.0
|
|
19399
19449
|
*//**
|
|
19400
19450
|
* Constructs a new UsersApi.
|
|
19401
19451
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20133,7 +20183,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20133
20183
|
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
20184
|
* Utilities service.
|
|
20135
20185
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20136
|
-
* @version
|
|
20186
|
+
* @version 227.0.0
|
|
20137
20187
|
*//**
|
|
20138
20188
|
* Constructs a new UtilitiesApi.
|
|
20139
20189
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20160,7 +20210,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20160
20210
|
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
20211
|
* Voicemail service.
|
|
20162
20212
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20163
|
-
* @version
|
|
20213
|
+
* @version 227.0.0
|
|
20164
20214
|
*//**
|
|
20165
20215
|
* Constructs a new VoicemailApi.
|
|
20166
20216
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20322,7 +20372,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20322
20372
|
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
20373
|
* WebChat service.
|
|
20324
20374
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20325
|
-
* @version
|
|
20375
|
+
* @version 227.0.0
|
|
20326
20376
|
*//**
|
|
20327
20377
|
* Constructs a new WebChatApi.
|
|
20328
20378
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -20466,7 +20516,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20466
20516
|
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
20517
|
* WebDeployments service.
|
|
20468
20518
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
20469
|
-
* @version
|
|
20519
|
+
* @version 227.0.0
|
|
20470
20520
|
*//**
|
|
20471
20521
|
* Constructs a new WebDeploymentsApi.
|
|
20472
20522
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -20599,7 +20649,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20599
20649
|
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
20650
|
* WebMessaging service.
|
|
20601
20651
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
20602
|
-
* @version
|
|
20652
|
+
* @version 227.0.0
|
|
20603
20653
|
*//**
|
|
20604
20654
|
* Constructs a new WebMessagingApi.
|
|
20605
20655
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -20615,7 +20665,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20615
20665
|
*/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
20666
|
* Widgets service.
|
|
20617
20667
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
20618
|
-
* @version
|
|
20668
|
+
* @version 227.0.0
|
|
20619
20669
|
*//**
|
|
20620
20670
|
* Constructs a new WidgetsApi.
|
|
20621
20671
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -20655,7 +20705,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20655
20705
|
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
20706
|
* WorkforceManagement service.
|
|
20657
20707
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
20658
|
-
* @version
|
|
20708
|
+
* @version 227.0.0
|
|
20659
20709
|
*//**
|
|
20660
20710
|
* Constructs a new WorkforceManagementApi.
|
|
20661
20711
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -21268,10 +21318,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
21268
21318
|
* Retrieves all delete job status for historical data
|
|
21269
21319
|
*
|
|
21270
21320
|
*/},{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
21321
|
* Retrieves status of the historical data imports of the organization
|
|
21276
21322
|
*
|
|
21277
21323
|
*/},{key:"getWorkforcemanagementHistoricaldataImportstatus",value:function getWorkforcemanagementHistoricaldataImportstatus(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -21486,6 +21532,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
21486
21532
|
* @param {String} jobId jobId
|
|
21487
21533
|
*/},{key:"getWorkforcemanagementShrinkageJob",value:function getWorkforcemanagementShrinkageJob(jobId){// verify the required parameter 'jobId' is set
|
|
21488
21534
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/shrinkage/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21535
|
+
* Get a list of user schedule adherence records for the requested team
|
|
21536
|
+
*
|
|
21537
|
+
* @param {String} teamId The ID of the team
|
|
21538
|
+
*/},{key:"getWorkforcemanagementTeamAdherence",value:function getWorkforcemanagementTeamAdherence(teamId){// verify the required parameter 'teamId' is set
|
|
21539
|
+
if(teamId===undefined||teamId===null||teamId===''){throw'Missing the required parameter "teamId" when calling getWorkforcemanagementTeamAdherence';}return this.apiClient.callApi('/api/v2/workforcemanagement/teams/{teamId}/adherence','GET',{'teamId':teamId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21489
21540
|
* Query the results of time off types job
|
|
21490
21541
|
*
|
|
21491
21542
|
* @param {String} jobId The ID of the job.
|
|
@@ -22153,10 +22204,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22153
22204
|
* @param {Object} body body
|
|
22154
22205
|
*/},{key:"postWorkforcemanagementHistoricaldataBulkRemoveJobs",value:function postWorkforcemanagementHistoricaldataBulkRemoveJobs(body){// verify the required parameter 'body' is set
|
|
22155
22206
|
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
22207
|
* Trigger validation process for historical import
|
|
22161
22208
|
*
|
|
22162
22209
|
* @param {Object} body body
|
|
@@ -22488,7 +22535,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22488
22535
|
* </pre>
|
|
22489
22536
|
* </p>
|
|
22490
22537
|
* @module purecloud-platform-client-v2/index
|
|
22491
|
-
* @version
|
|
22538
|
+
* @version 227.0.0
|
|
22492
22539
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
22493
22540
|
* The ApiClient constructor.
|
|
22494
22541
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|