purecloud-platform-client-v2 226.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 +154 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +154 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +97 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +97 -84
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +752 -723
- 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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 -1
- 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
|
|
@@ -6902,7 +6910,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
6902
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(){/**
|
|
6903
6911
|
* DataExtensions service.
|
|
6904
6912
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6905
|
-
* @version
|
|
6913
|
+
* @version 227.0.0
|
|
6906
6914
|
*//**
|
|
6907
6915
|
* Constructs a new DataExtensionsApi.
|
|
6908
6916
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6923,7 +6931,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
6923
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(){/**
|
|
6924
6932
|
* DataPrivacy service.
|
|
6925
6933
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6926
|
-
* @version
|
|
6934
|
+
* @version 227.0.0
|
|
6927
6935
|
*//**
|
|
6928
6936
|
* Constructs a new DataPrivacyApi.
|
|
6929
6937
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6963,7 +6971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6963
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(){/**
|
|
6964
6972
|
* Downloads service.
|
|
6965
6973
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6966
|
-
* @version
|
|
6974
|
+
* @version 227.0.0
|
|
6967
6975
|
*//**
|
|
6968
6976
|
* Constructs a new DownloadsApi.
|
|
6969
6977
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6982,7 +6990,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6982
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(){/**
|
|
6983
6991
|
* Emails service.
|
|
6984
6992
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6985
|
-
* @version
|
|
6993
|
+
* @version 227.0.0
|
|
6986
6994
|
*//**
|
|
6987
6995
|
* Constructs a new EmailsApi.
|
|
6988
6996
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7011,7 +7019,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7011
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(){/**
|
|
7012
7020
|
* EmployeeEngagement service.
|
|
7013
7021
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7014
|
-
* @version
|
|
7022
|
+
* @version 227.0.0
|
|
7015
7023
|
*//**
|
|
7016
7024
|
* Constructs a new EmployeeEngagementApi.
|
|
7017
7025
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7049,7 +7057,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7049
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(){/**
|
|
7050
7058
|
* Events service.
|
|
7051
7059
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7052
|
-
* @version
|
|
7060
|
+
* @version 227.0.0
|
|
7053
7061
|
*//**
|
|
7054
7062
|
* Constructs a new EventsApi.
|
|
7055
7063
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7074,7 +7082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7074
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(){/**
|
|
7075
7083
|
* ExternalContacts service.
|
|
7076
7084
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7077
|
-
* @version
|
|
7085
|
+
* @version 227.0.0
|
|
7078
7086
|
*//**
|
|
7079
7087
|
* Constructs a new ExternalContactsApi.
|
|
7080
7088
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -7809,7 +7817,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
7809
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(){/**
|
|
7810
7818
|
* Fax service.
|
|
7811
7819
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
7812
|
-
* @version
|
|
7820
|
+
* @version 227.0.0
|
|
7813
7821
|
*//**
|
|
7814
7822
|
* Constructs a new FaxApi.
|
|
7815
7823
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -7858,7 +7866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7858
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(){/**
|
|
7859
7867
|
* Flows service.
|
|
7860
7868
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
7861
|
-
* @version
|
|
7869
|
+
* @version 227.0.0
|
|
7862
7870
|
*//**
|
|
7863
7871
|
* Constructs a new FlowsApi.
|
|
7864
7872
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -7906,7 +7914,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7906
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(){/**
|
|
7907
7915
|
* Gamification service.
|
|
7908
7916
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
7909
|
-
* @version
|
|
7917
|
+
* @version 227.0.0
|
|
7910
7918
|
*//**
|
|
7911
7919
|
* Constructs a new GamificationApi.
|
|
7912
7920
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8559,7 +8567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8559
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(){/**
|
|
8560
8568
|
* GeneralDataProtectionRegulation service.
|
|
8561
8569
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8562
|
-
* @version
|
|
8570
|
+
* @version 227.0.0
|
|
8563
8571
|
*//**
|
|
8564
8572
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8565
8573
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8594,7 +8602,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8594
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(){/**
|
|
8595
8603
|
* Geolocation service.
|
|
8596
8604
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8597
|
-
* @version
|
|
8605
|
+
* @version 227.0.0
|
|
8598
8606
|
*//**
|
|
8599
8607
|
* Constructs a new GeolocationApi.
|
|
8600
8608
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8628,7 +8636,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8628
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(){/**
|
|
8629
8637
|
* Greetings service.
|
|
8630
8638
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8631
|
-
* @version
|
|
8639
|
+
* @version 227.0.0
|
|
8632
8640
|
*//**
|
|
8633
8641
|
* Constructs a new GreetingsApi.
|
|
8634
8642
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -8756,7 +8764,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
8756
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(){/**
|
|
8757
8765
|
* Groups service.
|
|
8758
8766
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
8759
|
-
* @version
|
|
8767
|
+
* @version 227.0.0
|
|
8760
8768
|
*//**
|
|
8761
8769
|
* Constructs a new GroupsApi.
|
|
8762
8770
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -8889,7 +8897,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
8889
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(){/**
|
|
8890
8898
|
* IdentityProvider service.
|
|
8891
8899
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
8892
|
-
* @version
|
|
8900
|
+
* @version 227.0.0
|
|
8893
8901
|
*//**
|
|
8894
8902
|
* Constructs a new IdentityProviderApi.
|
|
8895
8903
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9045,7 +9053,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9045
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(){/**
|
|
9046
9054
|
* InfrastructureAsCode service.
|
|
9047
9055
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9048
|
-
* @version
|
|
9056
|
+
* @version 227.0.0
|
|
9049
9057
|
*//**
|
|
9050
9058
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9051
9059
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9099,7 +9107,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9099
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(){/**
|
|
9100
9108
|
* Integrations service.
|
|
9101
9109
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9102
|
-
* @version
|
|
9110
|
+
* @version 227.0.0
|
|
9103
9111
|
*//**
|
|
9104
9112
|
* Constructs a new IntegrationsApi.
|
|
9105
9113
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -9786,7 +9794,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
9786
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(){/**
|
|
9787
9795
|
* Journey service.
|
|
9788
9796
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
9789
|
-
* @version
|
|
9797
|
+
* @version 227.0.0
|
|
9790
9798
|
*//**
|
|
9791
9799
|
* Constructs a new JourneyApi.
|
|
9792
9800
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10266,7 +10274,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10266
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(){/**
|
|
10267
10275
|
* Knowledge service.
|
|
10268
10276
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10269
|
-
* @version
|
|
10277
|
+
* @version 227.0.0
|
|
10270
10278
|
*//**
|
|
10271
10279
|
* Constructs a new KnowledgeApi.
|
|
10272
10280
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11329,7 +11337,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11329
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(){/**
|
|
11330
11338
|
* LanguageUnderstanding service.
|
|
11331
11339
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11332
|
-
* @version
|
|
11340
|
+
* @version 227.0.0
|
|
11333
11341
|
*//**
|
|
11334
11342
|
* Constructs a new LanguageUnderstandingApi.
|
|
11335
11343
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11588,7 +11596,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11588
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(){/**
|
|
11589
11597
|
* Languages service.
|
|
11590
11598
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11591
|
-
* @version
|
|
11599
|
+
* @version 227.0.0
|
|
11592
11600
|
*//**
|
|
11593
11601
|
* Constructs a new LanguagesApi.
|
|
11594
11602
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -11643,7 +11651,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
11643
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(){/**
|
|
11644
11652
|
* Learning service.
|
|
11645
11653
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
11646
|
-
* @version
|
|
11654
|
+
* @version 227.0.0
|
|
11647
11655
|
*//**
|
|
11648
11656
|
* Constructs a new LearningApi.
|
|
11649
11657
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -11914,7 +11922,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
11914
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(){/**
|
|
11915
11923
|
* License service.
|
|
11916
11924
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
11917
|
-
* @version
|
|
11925
|
+
* @version 227.0.0
|
|
11918
11926
|
*//**
|
|
11919
11927
|
* Constructs a new LicenseApi.
|
|
11920
11928
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -11968,7 +11976,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
11968
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(){/**
|
|
11969
11977
|
* Locations service.
|
|
11970
11978
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
11971
|
-
* @version
|
|
11979
|
+
* @version 227.0.0
|
|
11972
11980
|
*//**
|
|
11973
11981
|
* Constructs a new LocationsApi.
|
|
11974
11982
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12027,7 +12035,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12027
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(){/**
|
|
12028
12036
|
* LogCapture service.
|
|
12029
12037
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12030
|
-
* @version
|
|
12038
|
+
* @version 227.0.0
|
|
12031
12039
|
*//**
|
|
12032
12040
|
* Constructs a new LogCaptureApi.
|
|
12033
12041
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12076,7 +12084,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12076
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(){/**
|
|
12077
12085
|
* Messaging service.
|
|
12078
12086
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12079
|
-
* @version
|
|
12087
|
+
* @version 227.0.0
|
|
12080
12088
|
*//**
|
|
12081
12089
|
* Constructs a new MessagingApi.
|
|
12082
12090
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12166,7 +12174,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12166
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(){/**
|
|
12167
12175
|
* MobileDevices service.
|
|
12168
12176
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12169
|
-
* @version
|
|
12177
|
+
* @version 227.0.0
|
|
12170
12178
|
*//**
|
|
12171
12179
|
* Constructs a new MobileDevicesApi.
|
|
12172
12180
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12205,7 +12213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12205
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(){/**
|
|
12206
12214
|
* Notifications service.
|
|
12207
12215
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12208
|
-
* @version
|
|
12216
|
+
* @version 227.0.0
|
|
12209
12217
|
*//**
|
|
12210
12218
|
* Constructs a new NotificationsApi.
|
|
12211
12219
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12262,7 +12270,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12262
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(){/**
|
|
12263
12271
|
* OAuth service.
|
|
12264
12272
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12265
|
-
* @version
|
|
12273
|
+
* @version 227.0.0
|
|
12266
12274
|
*//**
|
|
12267
12275
|
* Constructs a new OAuthApi.
|
|
12268
12276
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12347,7 +12355,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12347
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(){/**
|
|
12348
12356
|
* Objects service.
|
|
12349
12357
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12350
|
-
* @version
|
|
12358
|
+
* @version 227.0.0
|
|
12351
12359
|
*//**
|
|
12352
12360
|
* Constructs a new ObjectsApi.
|
|
12353
12361
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12433,7 +12441,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12433
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(){/**
|
|
12434
12442
|
* OperationalEvents service.
|
|
12435
12443
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12436
|
-
* @version
|
|
12444
|
+
* @version 227.0.0
|
|
12437
12445
|
*//**
|
|
12438
12446
|
* Constructs a new OperationalEventsApi.
|
|
12439
12447
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12464,7 +12472,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12464
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(){/**
|
|
12465
12473
|
* Organization service.
|
|
12466
12474
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12467
|
-
* @version
|
|
12475
|
+
* @version 227.0.0
|
|
12468
12476
|
*//**
|
|
12469
12477
|
* Constructs a new OrganizationApi.
|
|
12470
12478
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12569,7 +12577,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12569
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(){/**
|
|
12570
12578
|
* OrganizationAuthorization service.
|
|
12571
12579
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12572
|
-
* @version
|
|
12580
|
+
* @version 227.0.0
|
|
12573
12581
|
*//**
|
|
12574
12582
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12575
12583
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -12903,7 +12911,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
12903
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(){/**
|
|
12904
12912
|
* Outbound service.
|
|
12905
12913
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
12906
|
-
* @version
|
|
12914
|
+
* @version 227.0.0
|
|
12907
12915
|
*//**
|
|
12908
12916
|
* Constructs a new OutboundApi.
|
|
12909
12917
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14034,7 +14042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14034
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(){/**
|
|
14035
14043
|
* Presence service.
|
|
14036
14044
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14037
|
-
* @version
|
|
14045
|
+
* @version 227.0.0
|
|
14038
14046
|
*//**
|
|
14039
14047
|
* Constructs a new PresenceApi.
|
|
14040
14048
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14207,7 +14215,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14207
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(){/**
|
|
14208
14216
|
* ProcessAutomation service.
|
|
14209
14217
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14210
|
-
* @version
|
|
14218
|
+
* @version 227.0.0
|
|
14211
14219
|
*//**
|
|
14212
14220
|
* Constructs a new ProcessAutomationApi.
|
|
14213
14221
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14270,7 +14278,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14270
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(){/**
|
|
14271
14279
|
* Quality service.
|
|
14272
14280
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14273
|
-
* @version
|
|
14281
|
+
* @version 227.0.0
|
|
14274
14282
|
*//**
|
|
14275
14283
|
* Constructs a new QualityApi.
|
|
14276
14284
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -14748,7 +14756,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
14748
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(){/**
|
|
14749
14757
|
* Recording service.
|
|
14750
14758
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
14751
|
-
* @version
|
|
14759
|
+
* @version 227.0.0
|
|
14752
14760
|
*//**
|
|
14753
14761
|
* Constructs a new RecordingApi.
|
|
14754
14762
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15147,7 +15155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15147
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(){/**
|
|
15148
15156
|
* ResponseManagement service.
|
|
15149
15157
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15150
|
-
* @version
|
|
15158
|
+
* @version 227.0.0
|
|
15151
15159
|
*//**
|
|
15152
15160
|
* Constructs a new ResponseManagementApi.
|
|
15153
15161
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15268,7 +15276,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15268
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(){/**
|
|
15269
15277
|
* Routing service.
|
|
15270
15278
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15271
|
-
* @version
|
|
15279
|
+
* @version 227.0.0
|
|
15272
15280
|
*//**
|
|
15273
15281
|
* Constructs a new RoutingApi.
|
|
15274
15282
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -16324,7 +16332,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16324
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(){/**
|
|
16325
16333
|
* SCIM service.
|
|
16326
16334
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16327
|
-
* @version
|
|
16335
|
+
* @version 227.0.0
|
|
16328
16336
|
*//**
|
|
16329
16337
|
* Constructs a new SCIMApi.
|
|
16330
16338
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -16549,7 +16557,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16549
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(){/**
|
|
16550
16558
|
* ScreenRecording service.
|
|
16551
16559
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
16552
|
-
* @version
|
|
16560
|
+
* @version 227.0.0
|
|
16553
16561
|
*//**
|
|
16554
16562
|
* Constructs a new ScreenRecordingApi.
|
|
16555
16563
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -16564,7 +16572,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16564
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(){/**
|
|
16565
16573
|
* Scripts service.
|
|
16566
16574
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
16567
|
-
* @version
|
|
16575
|
+
* @version 227.0.0
|
|
16568
16576
|
*//**
|
|
16569
16577
|
* Constructs a new ScriptsApi.
|
|
16570
16578
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -16710,7 +16718,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
16710
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(){/**
|
|
16711
16719
|
* Search service.
|
|
16712
16720
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
16713
|
-
* @version
|
|
16721
|
+
* @version 227.0.0
|
|
16714
16722
|
*//**
|
|
16715
16723
|
* Constructs a new SearchApi.
|
|
16716
16724
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -16882,7 +16890,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16882
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(){/**
|
|
16883
16891
|
* Settings service.
|
|
16884
16892
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
16885
|
-
* @version
|
|
16893
|
+
* @version 227.0.0
|
|
16886
16894
|
*//**
|
|
16887
16895
|
* Constructs a new SettingsApi.
|
|
16888
16896
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -16954,7 +16962,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
16954
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(){/**
|
|
16955
16963
|
* SocialMedia service.
|
|
16956
16964
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
16957
|
-
* @version
|
|
16965
|
+
* @version 227.0.0
|
|
16958
16966
|
*//**
|
|
16959
16967
|
* Constructs a new SocialMediaApi.
|
|
16960
16968
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17302,7 +17310,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17302
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(){/**
|
|
17303
17311
|
* SpeechTextAnalytics service.
|
|
17304
17312
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17305
|
-
* @version
|
|
17313
|
+
* @version 227.0.0
|
|
17306
17314
|
*//**
|
|
17307
17315
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17308
17316
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -17633,7 +17641,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17633
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(){/**
|
|
17634
17642
|
* Stations service.
|
|
17635
17643
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
17636
|
-
* @version
|
|
17644
|
+
* @version 227.0.0
|
|
17637
17645
|
*//**
|
|
17638
17646
|
* Constructs a new StationsApi.
|
|
17639
17647
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -17665,7 +17673,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
17665
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(){/**
|
|
17666
17674
|
* Suggest service.
|
|
17667
17675
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
17668
|
-
* @version
|
|
17676
|
+
* @version 227.0.0
|
|
17669
17677
|
*//**
|
|
17670
17678
|
* Constructs a new SuggestApi.
|
|
17671
17679
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -17705,7 +17713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17705
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(){/**
|
|
17706
17714
|
* TaskManagement service.
|
|
17707
17715
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
17708
|
-
* @version
|
|
17716
|
+
* @version 227.0.0
|
|
17709
17717
|
*//**
|
|
17710
17718
|
* Constructs a new TaskManagementApi.
|
|
17711
17719
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18213,7 +18221,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18213
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(){/**
|
|
18214
18222
|
* Teams service.
|
|
18215
18223
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18216
|
-
* @version
|
|
18224
|
+
* @version 227.0.0
|
|
18217
18225
|
*//**
|
|
18218
18226
|
* Constructs a new TeamsApi.
|
|
18219
18227
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18293,7 +18301,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18293
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(){/**
|
|
18294
18302
|
* Telephony service.
|
|
18295
18303
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18296
|
-
* @version
|
|
18304
|
+
* @version 227.0.0
|
|
18297
18305
|
*//**
|
|
18298
18306
|
* Constructs a new TelephonyApi.
|
|
18299
18307
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18340,7 +18348,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
18340
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(){/**
|
|
18341
18349
|
* TelephonyProvidersEdge service.
|
|
18342
18350
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18343
|
-
* @version
|
|
18351
|
+
* @version 227.0.0
|
|
18344
18352
|
*//**
|
|
18345
18353
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18346
18354
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19188,7 +19196,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19188
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(){/**
|
|
19189
19197
|
* Textbots service.
|
|
19190
19198
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19191
|
-
* @version
|
|
19199
|
+
* @version 227.0.0
|
|
19192
19200
|
*//**
|
|
19193
19201
|
* Constructs a new TextbotsApi.
|
|
19194
19202
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19224,7 +19232,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19224
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(){/**
|
|
19225
19233
|
* Tokens service.
|
|
19226
19234
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19227
|
-
* @version
|
|
19235
|
+
* @version 227.0.0
|
|
19228
19236
|
*//**
|
|
19229
19237
|
* Constructs a new TokensApi.
|
|
19230
19238
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19258,7 +19266,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19258
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(){/**
|
|
19259
19267
|
* Uploads service.
|
|
19260
19268
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19261
|
-
* @version
|
|
19269
|
+
* @version 227.0.0
|
|
19262
19270
|
*//**
|
|
19263
19271
|
* Constructs a new UploadsApi.
|
|
19264
19272
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19326,7 +19334,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19326
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(){/**
|
|
19327
19335
|
* Usage service.
|
|
19328
19336
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19329
|
-
* @version
|
|
19337
|
+
* @version 227.0.0
|
|
19330
19338
|
*//**
|
|
19331
19339
|
* Constructs a new UsageApi.
|
|
19332
19340
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19380,7 +19388,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19380
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(){/**
|
|
19381
19389
|
* UserRecordings service.
|
|
19382
19390
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19383
|
-
* @version
|
|
19391
|
+
* @version 227.0.0
|
|
19384
19392
|
*//**
|
|
19385
19393
|
* Constructs a new UserRecordingsApi.
|
|
19386
19394
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -19437,7 +19445,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
19437
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(){/**
|
|
19438
19446
|
* Users service.
|
|
19439
19447
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
19440
|
-
* @version
|
|
19448
|
+
* @version 227.0.0
|
|
19441
19449
|
*//**
|
|
19442
19450
|
* Constructs a new UsersApi.
|
|
19443
19451
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20175,7 +20183,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20175
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(){/**
|
|
20176
20184
|
* Utilities service.
|
|
20177
20185
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20178
|
-
* @version
|
|
20186
|
+
* @version 227.0.0
|
|
20179
20187
|
*//**
|
|
20180
20188
|
* Constructs a new UtilitiesApi.
|
|
20181
20189
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20202,7 +20210,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20202
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(){/**
|
|
20203
20211
|
* Voicemail service.
|
|
20204
20212
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20205
|
-
* @version
|
|
20213
|
+
* @version 227.0.0
|
|
20206
20214
|
*//**
|
|
20207
20215
|
* Constructs a new VoicemailApi.
|
|
20208
20216
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20364,7 +20372,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20364
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(){/**
|
|
20365
20373
|
* WebChat service.
|
|
20366
20374
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20367
|
-
* @version
|
|
20375
|
+
* @version 227.0.0
|
|
20368
20376
|
*//**
|
|
20369
20377
|
* Constructs a new WebChatApi.
|
|
20370
20378
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -20508,7 +20516,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20508
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(){/**
|
|
20509
20517
|
* WebDeployments service.
|
|
20510
20518
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
20511
|
-
* @version
|
|
20519
|
+
* @version 227.0.0
|
|
20512
20520
|
*//**
|
|
20513
20521
|
* Constructs a new WebDeploymentsApi.
|
|
20514
20522
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -20641,7 +20649,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20641
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(){/**
|
|
20642
20650
|
* WebMessaging service.
|
|
20643
20651
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
20644
|
-
* @version
|
|
20652
|
+
* @version 227.0.0
|
|
20645
20653
|
*//**
|
|
20646
20654
|
* Constructs a new WebMessagingApi.
|
|
20647
20655
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -20657,7 +20665,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20657
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(){/**
|
|
20658
20666
|
* Widgets service.
|
|
20659
20667
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
20660
|
-
* @version
|
|
20668
|
+
* @version 227.0.0
|
|
20661
20669
|
*//**
|
|
20662
20670
|
* Constructs a new WidgetsApi.
|
|
20663
20671
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -20697,7 +20705,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20697
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(){/**
|
|
20698
20706
|
* WorkforceManagement service.
|
|
20699
20707
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
20700
|
-
* @version
|
|
20708
|
+
* @version 227.0.0
|
|
20701
20709
|
*//**
|
|
20702
20710
|
* Constructs a new WorkforceManagementApi.
|
|
20703
20711
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -21524,6 +21532,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
21524
21532
|
* @param {String} jobId jobId
|
|
21525
21533
|
*/},{key:"getWorkforcemanagementShrinkageJob",value:function getWorkforcemanagementShrinkageJob(jobId){// verify the required parameter 'jobId' is set
|
|
21526
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']);}/**
|
|
21527
21540
|
* Query the results of time off types job
|
|
21528
21541
|
*
|
|
21529
21542
|
* @param {String} jobId The ID of the job.
|
|
@@ -22522,7 +22535,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22522
22535
|
* </pre>
|
|
22523
22536
|
* </p>
|
|
22524
22537
|
* @module purecloud-platform-client-v2/index
|
|
22525
|
-
* @version
|
|
22538
|
+
* @version 227.0.0
|
|
22526
22539
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
22527
22540
|
* The ApiClient constructor.
|
|
22528
22541
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|