purecloud-platform-client-v2 213.0.0 → 214.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 +356 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +356 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +144 -95
- package/dist/web-cjs/purecloud-platform-client-v2.js +144 -95
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +364 -230
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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 +45 -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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 -6
- 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 -31
- 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 +107 -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 -2
- 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 +125 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -882,7 +882,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
882
882
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
883
883
|
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];}}}]);}();/**
|
|
884
884
|
* @module purecloud-platform-client-v2/ApiClient
|
|
885
|
-
* @version
|
|
885
|
+
* @version 214.0.0
|
|
886
886
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
887
887
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
888
888
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1219,7 +1219,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1219
1219
|
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 AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1220
1220
|
* AgentAssistants service.
|
|
1221
1221
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1222
|
-
* @version
|
|
1222
|
+
* @version 214.0.0
|
|
1223
1223
|
*//**
|
|
1224
1224
|
* Constructs a new AgentAssistantsApi.
|
|
1225
1225
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1320,7 +1320,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
1320
1320
|
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(){/**
|
|
1321
1321
|
* AgentCopilot service.
|
|
1322
1322
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1323
|
-
* @version
|
|
1323
|
+
* @version 214.0.0
|
|
1324
1324
|
*//**
|
|
1325
1325
|
* Constructs a new AgentCopilotApi.
|
|
1326
1326
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1342,7 +1342,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
1342
1342
|
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(){/**
|
|
1343
1343
|
* AgentUI service.
|
|
1344
1344
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1345
|
-
* @version
|
|
1345
|
+
* @version 214.0.0
|
|
1346
1346
|
*//**
|
|
1347
1347
|
* Constructs a new AgentUIApi.
|
|
1348
1348
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1376,7 +1376,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
1376
1376
|
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(){/**
|
|
1377
1377
|
* Alerting service.
|
|
1378
1378
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1379
|
-
* @version
|
|
1379
|
+
* @version 214.0.0
|
|
1380
1380
|
*//**
|
|
1381
1381
|
* Constructs a new AlertingApi.
|
|
1382
1382
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1389,6 +1389,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1389
1389
|
* @param {String} alertId Alert ID
|
|
1390
1390
|
*/return _createClass(AlertingApi,[{key:"deleteAlertingAlert",value:function deleteAlertingAlert(alertId){// verify the required parameter 'alertId' is set
|
|
1391
1391
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1392
|
+
* Delete all alerts for the user
|
|
1393
|
+
*
|
|
1394
|
+
*/},{key:"deleteAlertingAlertsAll",value:function deleteAlertingAlertsAll(){return this.apiClient.callApi('/api/v2/alerting/alerts/all','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1392
1395
|
* Delete an interaction stats alert
|
|
1393
1396
|
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
1394
1397
|
* @param {String} alertId Alert ID
|
|
@@ -1459,6 +1462,11 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1459
1462
|
* @param {Object} opts.body
|
|
1460
1463
|
*/},{key:"patchAlertingAlert",value:function patchAlertingAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
1461
1464
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling patchAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','PATCH',{'alertId':alertId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1465
|
+
* Updates all alerts
|
|
1466
|
+
*
|
|
1467
|
+
* @param {Object} opts Optional parameters
|
|
1468
|
+
* @param {Object} opts.body
|
|
1469
|
+
*/},{key:"patchAlertingAlertsAll",value:function patchAlertingAlertsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/alerts/all','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1462
1470
|
* Bulk alert updates
|
|
1463
1471
|
*
|
|
1464
1472
|
* @param {Object} body
|
|
@@ -1533,7 +1541,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1533
1541
|
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(){/**
|
|
1534
1542
|
* Analytics service.
|
|
1535
1543
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1536
|
-
* @version
|
|
1544
|
+
* @version 214.0.0
|
|
1537
1545
|
*//**
|
|
1538
1546
|
* Constructs a new AnalyticsApi.
|
|
1539
1547
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2205,7 +2213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2205
2213
|
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(){/**
|
|
2206
2214
|
* Architect service.
|
|
2207
2215
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2208
|
-
* @version
|
|
2216
|
+
* @version 214.0.0
|
|
2209
2217
|
*//**
|
|
2210
2218
|
* Constructs a new ArchitectApi.
|
|
2211
2219
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3297,7 +3305,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3297
3305
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3298
3306
|
* Audit service.
|
|
3299
3307
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3300
|
-
* @version
|
|
3308
|
+
* @version 214.0.0
|
|
3301
3309
|
*//**
|
|
3302
3310
|
* Constructs a new AuditApi.
|
|
3303
3311
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3347,7 +3355,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3347
3355
|
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(){/**
|
|
3348
3356
|
* Authorization service.
|
|
3349
3357
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3350
|
-
* @version
|
|
3358
|
+
* @version 214.0.0
|
|
3351
3359
|
*//**
|
|
3352
3360
|
* Constructs a new AuthorizationApi.
|
|
3353
3361
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3670,7 +3678,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3670
3678
|
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(){/**
|
|
3671
3679
|
* Billing service.
|
|
3672
3680
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3673
|
-
* @version
|
|
3681
|
+
* @version 214.0.0
|
|
3674
3682
|
*//**
|
|
3675
3683
|
* Constructs a new BillingApi.
|
|
3676
3684
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3694,7 +3702,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3694
3702
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3695
3703
|
* CarrierServices service.
|
|
3696
3704
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3697
|
-
* @version
|
|
3705
|
+
* @version 214.0.0
|
|
3698
3706
|
*//**
|
|
3699
3707
|
* Constructs a new CarrierServicesApi.
|
|
3700
3708
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3714,7 +3722,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3714
3722
|
*/},{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(){/**
|
|
3715
3723
|
* Chat service.
|
|
3716
3724
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3717
|
-
* @version
|
|
3725
|
+
* @version 214.0.0
|
|
3718
3726
|
*//**
|
|
3719
3727
|
* Constructs a new ChatApi.
|
|
3720
3728
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3939,7 +3947,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3939
3947
|
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(){/**
|
|
3940
3948
|
* Coaching service.
|
|
3941
3949
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3942
|
-
* @version
|
|
3950
|
+
* @version 214.0.0
|
|
3943
3951
|
*//**
|
|
3944
3952
|
* Constructs a new CoachingApi.
|
|
3945
3953
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4092,7 +4100,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4092
4100
|
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(){/**
|
|
4093
4101
|
* ContentManagement service.
|
|
4094
4102
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4095
|
-
* @version
|
|
4103
|
+
* @version 214.0.0
|
|
4096
4104
|
*//**
|
|
4097
4105
|
* Constructs a new ContentManagementApi.
|
|
4098
4106
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4374,7 +4382,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4374
4382
|
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(){/**
|
|
4375
4383
|
* Conversations service.
|
|
4376
4384
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4377
|
-
* @version
|
|
4385
|
+
* @version 214.0.0
|
|
4378
4386
|
*//**
|
|
4379
4387
|
* Constructs a new ConversationsApi.
|
|
4380
4388
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6121,7 +6129,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
6121
6129
|
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(){/**
|
|
6122
6130
|
* DataExtensions service.
|
|
6123
6131
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
6124
|
-
* @version
|
|
6132
|
+
* @version 214.0.0
|
|
6125
6133
|
*//**
|
|
6126
6134
|
* Constructs a new DataExtensionsApi.
|
|
6127
6135
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -6142,7 +6150,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
6142
6150
|
*/},{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(){/**
|
|
6143
6151
|
* DataPrivacy service.
|
|
6144
6152
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
6145
|
-
* @version
|
|
6153
|
+
* @version 214.0.0
|
|
6146
6154
|
*//**
|
|
6147
6155
|
* Constructs a new DataPrivacyApi.
|
|
6148
6156
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -6182,7 +6190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6182
6190
|
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(){/**
|
|
6183
6191
|
* Downloads service.
|
|
6184
6192
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
6185
|
-
* @version
|
|
6193
|
+
* @version 214.0.0
|
|
6186
6194
|
*//**
|
|
6187
6195
|
* Constructs a new DownloadsApi.
|
|
6188
6196
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -6201,7 +6209,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6201
6209
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
6202
6210
|
* Emails service.
|
|
6203
6211
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
6204
|
-
* @version
|
|
6212
|
+
* @version 214.0.0
|
|
6205
6213
|
*//**
|
|
6206
6214
|
* Constructs a new EmailsApi.
|
|
6207
6215
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -6219,7 +6227,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
6219
6227
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
6220
6228
|
* EmployeeEngagement service.
|
|
6221
6229
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
6222
|
-
* @version
|
|
6230
|
+
* @version 214.0.0
|
|
6223
6231
|
*//**
|
|
6224
6232
|
* Constructs a new EmployeeEngagementApi.
|
|
6225
6233
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -6257,7 +6265,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6257
6265
|
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(){/**
|
|
6258
6266
|
* Events service.
|
|
6259
6267
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
6260
|
-
* @version
|
|
6268
|
+
* @version 214.0.0
|
|
6261
6269
|
*//**
|
|
6262
6270
|
* Constructs a new EventsApi.
|
|
6263
6271
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -6282,7 +6290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6282
6290
|
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(){/**
|
|
6283
6291
|
* ExternalContacts service.
|
|
6284
6292
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
6285
|
-
* @version
|
|
6293
|
+
* @version 214.0.0
|
|
6286
6294
|
*//**
|
|
6287
6295
|
* Constructs a new ExternalContactsApi.
|
|
6288
6296
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6874,7 +6882,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6874
6882
|
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(){/**
|
|
6875
6883
|
* Fax service.
|
|
6876
6884
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6877
|
-
* @version
|
|
6885
|
+
* @version 214.0.0
|
|
6878
6886
|
*//**
|
|
6879
6887
|
* Constructs a new FaxApi.
|
|
6880
6888
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6923,7 +6931,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6923
6931
|
*/},{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(){/**
|
|
6924
6932
|
* Flows service.
|
|
6925
6933
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6926
|
-
* @version
|
|
6934
|
+
* @version 214.0.0
|
|
6927
6935
|
*//**
|
|
6928
6936
|
* Constructs a new FlowsApi.
|
|
6929
6937
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6971,7 +6979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6971
6979
|
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(){/**
|
|
6972
6980
|
* Gamification service.
|
|
6973
6981
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6974
|
-
* @version
|
|
6982
|
+
* @version 214.0.0
|
|
6975
6983
|
*//**
|
|
6976
6984
|
* Constructs a new GamificationApi.
|
|
6977
6985
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7530,7 +7538,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7530
7538
|
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(){/**
|
|
7531
7539
|
* GeneralDataProtectionRegulation service.
|
|
7532
7540
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7533
|
-
* @version
|
|
7541
|
+
* @version 214.0.0
|
|
7534
7542
|
*//**
|
|
7535
7543
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7536
7544
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7565,7 +7573,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7565
7573
|
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(){/**
|
|
7566
7574
|
* Geolocation service.
|
|
7567
7575
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7568
|
-
* @version
|
|
7576
|
+
* @version 214.0.0
|
|
7569
7577
|
*//**
|
|
7570
7578
|
* Constructs a new GeolocationApi.
|
|
7571
7579
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7599,7 +7607,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7599
7607
|
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(){/**
|
|
7600
7608
|
* Greetings service.
|
|
7601
7609
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7602
|
-
* @version
|
|
7610
|
+
* @version 214.0.0
|
|
7603
7611
|
*//**
|
|
7604
7612
|
* Constructs a new GreetingsApi.
|
|
7605
7613
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7706,7 +7714,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7706
7714
|
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(){/**
|
|
7707
7715
|
* Groups service.
|
|
7708
7716
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7709
|
-
* @version
|
|
7717
|
+
* @version 214.0.0
|
|
7710
7718
|
*//**
|
|
7711
7719
|
* Constructs a new GroupsApi.
|
|
7712
7720
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7839,7 +7847,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7839
7847
|
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(){/**
|
|
7840
7848
|
* IdentityProvider service.
|
|
7841
7849
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7842
|
-
* @version
|
|
7850
|
+
* @version 214.0.0
|
|
7843
7851
|
*//**
|
|
7844
7852
|
* Constructs a new IdentityProviderApi.
|
|
7845
7853
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7995,7 +8003,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7995
8003
|
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(){/**
|
|
7996
8004
|
* InfrastructureAsCode service.
|
|
7997
8005
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7998
|
-
* @version
|
|
8006
|
+
* @version 214.0.0
|
|
7999
8007
|
*//**
|
|
8000
8008
|
* Constructs a new InfrastructureAsCodeApi.
|
|
8001
8009
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -8049,7 +8057,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
8049
8057
|
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(){/**
|
|
8050
8058
|
* Integrations service.
|
|
8051
8059
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8052
|
-
* @version
|
|
8060
|
+
* @version 214.0.0
|
|
8053
8061
|
*//**
|
|
8054
8062
|
* Constructs a new IntegrationsApi.
|
|
8055
8063
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8123,7 +8131,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
8123
8131
|
* Get draft function settings for Action
|
|
8124
8132
|
*
|
|
8125
8133
|
* @param {String} actionId actionId
|
|
8126
|
-
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8127
8134
|
*/},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
|
|
8128
8135
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8129
8136
|
* Retrieve schema for a Draft based on filename.
|
|
@@ -8150,7 +8157,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
8150
8157
|
* Get published function settings for Action
|
|
8151
8158
|
*
|
|
8152
8159
|
* @param {String} actionId actionId
|
|
8153
|
-
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8154
8160
|
*/},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
|
|
8155
8161
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8156
8162
|
* Retrieve schema for an action based on filename.
|
|
@@ -8221,7 +8227,6 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
8221
8227
|
*/},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8222
8228
|
* Get action function settings for Action
|
|
8223
8229
|
*
|
|
8224
|
-
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8225
8230
|
*/},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8226
8231
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
8227
8232
|
*
|
|
@@ -8555,7 +8560,6 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
8555
8560
|
*
|
|
8556
8561
|
* @param {String} actionId actionId
|
|
8557
8562
|
* @param {Object} body Input used to request URL upload.
|
|
8558
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8559
8563
|
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
8560
8564
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
8561
8565
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8645,7 +8649,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
8645
8649
|
*
|
|
8646
8650
|
* @param {String} actionId actionId
|
|
8647
8651
|
* @param {Object} body Input used to update function settings.
|
|
8648
|
-
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8649
8652
|
*/},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
|
|
8650
8653
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
|
|
8651
8654
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8684,7 +8687,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8684
8687
|
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(){/**
|
|
8685
8688
|
* Journey service.
|
|
8686
8689
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8687
|
-
* @version
|
|
8690
|
+
* @version 214.0.0
|
|
8688
8691
|
*//**
|
|
8689
8692
|
* Constructs a new JourneyApi.
|
|
8690
8693
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -9161,7 +9164,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
9161
9164
|
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(){/**
|
|
9162
9165
|
* Knowledge service.
|
|
9163
9166
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
9164
|
-
* @version
|
|
9167
|
+
* @version 214.0.0
|
|
9165
9168
|
*//**
|
|
9166
9169
|
* Constructs a new KnowledgeApi.
|
|
9167
9170
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -10231,7 +10234,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
10231
10234
|
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(){/**
|
|
10232
10235
|
* LanguageUnderstanding service.
|
|
10233
10236
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
10234
|
-
* @version
|
|
10237
|
+
* @version 214.0.0
|
|
10235
10238
|
*//**
|
|
10236
10239
|
* Constructs a new LanguageUnderstandingApi.
|
|
10237
10240
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -10490,7 +10493,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
10490
10493
|
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(){/**
|
|
10491
10494
|
* Languages service.
|
|
10492
10495
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
10493
|
-
* @version
|
|
10496
|
+
* @version 214.0.0
|
|
10494
10497
|
*//**
|
|
10495
10498
|
* Constructs a new LanguagesApi.
|
|
10496
10499
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -10545,7 +10548,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10545
10548
|
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(){/**
|
|
10546
10549
|
* Learning service.
|
|
10547
10550
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
10548
|
-
* @version
|
|
10551
|
+
* @version 214.0.0
|
|
10549
10552
|
*//**
|
|
10550
10553
|
* Constructs a new LearningApi.
|
|
10551
10554
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -10816,7 +10819,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
10816
10819
|
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(){/**
|
|
10817
10820
|
* License service.
|
|
10818
10821
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
10819
|
-
* @version
|
|
10822
|
+
* @version 214.0.0
|
|
10820
10823
|
*//**
|
|
10821
10824
|
* Constructs a new LicenseApi.
|
|
10822
10825
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10870,7 +10873,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10870
10873
|
*/},{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(){/**
|
|
10871
10874
|
* Locations service.
|
|
10872
10875
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10873
|
-
* @version
|
|
10876
|
+
* @version 214.0.0
|
|
10874
10877
|
*//**
|
|
10875
10878
|
* Constructs a new LocationsApi.
|
|
10876
10879
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10929,7 +10932,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10929
10932
|
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(){/**
|
|
10930
10933
|
* LogCapture service.
|
|
10931
10934
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10932
|
-
* @version
|
|
10935
|
+
* @version 214.0.0
|
|
10933
10936
|
*//**
|
|
10934
10937
|
* Constructs a new LogCaptureApi.
|
|
10935
10938
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10979,7 +10982,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10979
10982
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10980
10983
|
* Messaging service.
|
|
10981
10984
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10982
|
-
* @version
|
|
10985
|
+
* @version 214.0.0
|
|
10983
10986
|
*//**
|
|
10984
10987
|
* Constructs a new MessagingApi.
|
|
10985
10988
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -11069,7 +11072,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11069
11072
|
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(){/**
|
|
11070
11073
|
* MobileDevices service.
|
|
11071
11074
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
11072
|
-
* @version
|
|
11075
|
+
* @version 214.0.0
|
|
11073
11076
|
*//**
|
|
11074
11077
|
* Constructs a new MobileDevicesApi.
|
|
11075
11078
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -11108,7 +11111,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11108
11111
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
11109
11112
|
* Notifications service.
|
|
11110
11113
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
11111
|
-
* @version
|
|
11114
|
+
* @version 214.0.0
|
|
11112
11115
|
*//**
|
|
11113
11116
|
* Constructs a new NotificationsApi.
|
|
11114
11117
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -11165,7 +11168,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
11165
11168
|
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(){/**
|
|
11166
11169
|
* OAuth service.
|
|
11167
11170
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
11168
|
-
* @version
|
|
11171
|
+
* @version 214.0.0
|
|
11169
11172
|
*//**
|
|
11170
11173
|
* Constructs a new OAuthApi.
|
|
11171
11174
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -11250,7 +11253,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
11250
11253
|
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(){/**
|
|
11251
11254
|
* Objects service.
|
|
11252
11255
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
11253
|
-
* @version
|
|
11256
|
+
* @version 214.0.0
|
|
11254
11257
|
*//**
|
|
11255
11258
|
* Constructs a new ObjectsApi.
|
|
11256
11259
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -11321,7 +11324,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
11321
11324
|
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(){/**
|
|
11322
11325
|
* OperationalEvents service.
|
|
11323
11326
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
11324
|
-
* @version
|
|
11327
|
+
* @version 214.0.0
|
|
11325
11328
|
*//**
|
|
11326
11329
|
* Constructs a new OperationalEventsApi.
|
|
11327
11330
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -11352,7 +11355,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
11352
11355
|
*/},{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(){/**
|
|
11353
11356
|
* Organization service.
|
|
11354
11357
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
11355
|
-
* @version
|
|
11358
|
+
* @version 214.0.0
|
|
11356
11359
|
*//**
|
|
11357
11360
|
* Constructs a new OrganizationApi.
|
|
11358
11361
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -11477,7 +11480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11477
11480
|
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(){/**
|
|
11478
11481
|
* OrganizationAuthorization service.
|
|
11479
11482
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
11480
|
-
* @version
|
|
11483
|
+
* @version 214.0.0
|
|
11481
11484
|
*//**
|
|
11482
11485
|
* Constructs a new OrganizationAuthorizationApi.
|
|
11483
11486
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -11811,7 +11814,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
11811
11814
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
11812
11815
|
* Outbound service.
|
|
11813
11816
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
11814
|
-
* @version
|
|
11817
|
+
* @version 214.0.0
|
|
11815
11818
|
*//**
|
|
11816
11819
|
* Constructs a new OutboundApi.
|
|
11817
11820
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -12922,7 +12925,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12922
12925
|
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(){/**
|
|
12923
12926
|
* Presence service.
|
|
12924
12927
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
12925
|
-
* @version
|
|
12928
|
+
* @version 214.0.0
|
|
12926
12929
|
*//**
|
|
12927
12930
|
* Constructs a new PresenceApi.
|
|
12928
12931
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -13095,7 +13098,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13095
13098
|
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(){/**
|
|
13096
13099
|
* ProcessAutomation service.
|
|
13097
13100
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
13098
|
-
* @version
|
|
13101
|
+
* @version 214.0.0
|
|
13099
13102
|
*//**
|
|
13100
13103
|
* Constructs a new ProcessAutomationApi.
|
|
13101
13104
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -13158,7 +13161,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
13158
13161
|
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(){/**
|
|
13159
13162
|
* Quality service.
|
|
13160
13163
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
13161
|
-
* @version
|
|
13164
|
+
* @version 214.0.0
|
|
13162
13165
|
*//**
|
|
13163
13166
|
* Constructs a new QualityApi.
|
|
13164
13167
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -13637,7 +13640,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
13637
13640
|
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(){/**
|
|
13638
13641
|
* Recording service.
|
|
13639
13642
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
13640
|
-
* @version
|
|
13643
|
+
* @version 214.0.0
|
|
13641
13644
|
*//**
|
|
13642
13645
|
* Constructs a new RecordingApi.
|
|
13643
13646
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -14049,7 +14052,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14049
14052
|
*/},{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(){/**
|
|
14050
14053
|
* ResponseManagement service.
|
|
14051
14054
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
14052
|
-
* @version
|
|
14055
|
+
* @version 214.0.0
|
|
14053
14056
|
*//**
|
|
14054
14057
|
* Constructs a new ResponseManagementApi.
|
|
14055
14058
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -14170,7 +14173,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
14170
14173
|
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(){/**
|
|
14171
14174
|
* Routing service.
|
|
14172
14175
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
14173
|
-
* @version
|
|
14176
|
+
* @version 214.0.0
|
|
14174
14177
|
*//**
|
|
14175
14178
|
* Constructs a new RoutingApi.
|
|
14176
14179
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15118,13 +15121,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15118
15121
|
* @param {Object} body Organization Settings
|
|
15119
15122
|
*/},{key:"putRoutingSettingsTranscription",value:function putRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
15120
15123
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15121
|
-
* Update a phone number provisioned for SMS.
|
|
15122
|
-
*
|
|
15123
|
-
* @param {String} phoneNumberId phone number
|
|
15124
|
-
* @param {Object} body SmsPhoneNumber
|
|
15125
|
-
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
15126
|
-
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
15127
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','PUT',{'phoneNumberId':phoneNumberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15128
15124
|
* Update the user's Direct Routing Backup settings.
|
|
15129
15125
|
*
|
|
15130
15126
|
* @param {String} userId User ID
|
|
@@ -15176,7 +15172,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15176
15172
|
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(){/**
|
|
15177
15173
|
* SCIM service.
|
|
15178
15174
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
15179
|
-
* @version
|
|
15175
|
+
* @version 214.0.0
|
|
15180
15176
|
*//**
|
|
15181
15177
|
* Constructs a new SCIMApi.
|
|
15182
15178
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -15401,7 +15397,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15401
15397
|
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(){/**
|
|
15402
15398
|
* ScreenRecording service.
|
|
15403
15399
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
15404
|
-
* @version
|
|
15400
|
+
* @version 214.0.0
|
|
15405
15401
|
*//**
|
|
15406
15402
|
* Constructs a new ScreenRecordingApi.
|
|
15407
15403
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -15416,7 +15412,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15416
15412
|
*/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(){/**
|
|
15417
15413
|
* Scripts service.
|
|
15418
15414
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
15419
|
-
* @version
|
|
15415
|
+
* @version 214.0.0
|
|
15420
15416
|
*//**
|
|
15421
15417
|
* Constructs a new ScriptsApi.
|
|
15422
15418
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -15552,7 +15548,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
15552
15548
|
*/},{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(){/**
|
|
15553
15549
|
* Search service.
|
|
15554
15550
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
15555
|
-
* @version
|
|
15551
|
+
* @version 214.0.0
|
|
15556
15552
|
*//**
|
|
15557
15553
|
* Constructs a new SearchApi.
|
|
15558
15554
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -15724,7 +15720,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15724
15720
|
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(){/**
|
|
15725
15721
|
* Settings service.
|
|
15726
15722
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
15727
|
-
* @version
|
|
15723
|
+
* @version 214.0.0
|
|
15728
15724
|
*//**
|
|
15729
15725
|
* Constructs a new SettingsApi.
|
|
15730
15726
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -15774,7 +15770,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
15774
15770
|
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(){/**
|
|
15775
15771
|
* SocialMedia service.
|
|
15776
15772
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
15777
|
-
* @version
|
|
15773
|
+
* @version 214.0.0
|
|
15778
15774
|
*//**
|
|
15779
15775
|
* Constructs a new SocialMediaApi.
|
|
15780
15776
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -16039,7 +16035,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16039
16035
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){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(){/**
|
|
16040
16036
|
* SpeechTextAnalytics service.
|
|
16041
16037
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
16042
|
-
* @version
|
|
16038
|
+
* @version 214.0.0
|
|
16043
16039
|
*//**
|
|
16044
16040
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
16045
16041
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -16119,6 +16115,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
16119
16115
|
*/},{key:"getSpeechandtextanalyticsConversationCommunicationTranscripturls",value:function getSpeechandtextanalyticsConversationCommunicationTranscripturls(conversationId,communicationId){// verify the required parameter 'conversationId' is set
|
|
16120
16116
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';}// verify the required parameter 'communicationId' is set
|
|
16121
16117
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls','GET',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16118
|
+
* Get conversation summaries by conversation id.
|
|
16119
|
+
*
|
|
16120
|
+
* @param {String} conversationId The conversation ID of the summaries
|
|
16121
|
+
*/},{key:"getSpeechandtextanalyticsConversationSummaries",value:function getSpeechandtextanalyticsConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
16122
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16122
16123
|
* Get the list of Speech and Text Analytics dictionary feedbacks
|
|
16123
16124
|
*
|
|
16124
16125
|
* @param {Object} opts Optional parameters
|
|
@@ -16141,6 +16142,11 @@ if(programId===undefined||programId===null){throw'Missing the required parameter
|
|
|
16141
16142
|
* @param {String} programId The id of the program
|
|
16142
16143
|
*/},{key:"getSpeechandtextanalyticsProgramMappings",value:function getSpeechandtextanalyticsProgramMappings(programId){// verify the required parameter 'programId' is set
|
|
16143
16144
|
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramMappings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/mappings','GET',{'programId':programId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16145
|
+
* Get AI Insights settings of a program
|
|
16146
|
+
*
|
|
16147
|
+
* @param {String} programId The id of the program
|
|
16148
|
+
*/},{key:"getSpeechandtextanalyticsProgramSettingsInsights",value:function getSpeechandtextanalyticsProgramSettingsInsights(programId){// verify the required parameter 'programId' is set
|
|
16149
|
+
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/settings/insights','GET',{'programId':programId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16144
16150
|
* Get transcription engine settings of a program
|
|
16145
16151
|
*
|
|
16146
16152
|
* @param {String} programId The id of the program
|
|
@@ -16169,6 +16175,13 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
16169
16175
|
* @param {String} jobId The id of the publish programs job
|
|
16170
16176
|
*/},{key:"getSpeechandtextanalyticsProgramsPublishjob",value:function getSpeechandtextanalyticsProgramsPublishjob(jobId){// verify the required parameter 'jobId' is set
|
|
16171
16177
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsPublishjob';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/publishjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16178
|
+
* Get the list of program AI Insights settings for the organization
|
|
16179
|
+
*
|
|
16180
|
+
* @param {Object} opts Optional parameters
|
|
16181
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 100)
|
|
16182
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
16183
|
+
* @param {Array.<String>} opts.programIds Comma separated Program IDs to filter by. Maximum of 50 IDs allowed.
|
|
16184
|
+
*/},{key:"getSpeechandtextanalyticsProgramsSettingsInsights",value:function getSpeechandtextanalyticsProgramsSettingsInsights(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/settings/insights','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'programIds':this.apiClient.buildCollectionParam(opts['programIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16172
16185
|
* Get supported dialects for each transcription engine
|
|
16173
16186
|
*
|
|
16174
16187
|
*/},{key:"getSpeechandtextanalyticsProgramsTranscriptionenginesDialects",value:function getSpeechandtextanalyticsProgramsTranscriptionenginesDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16317,6 +16330,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16317
16330
|
*/},{key:"putSpeechandtextanalyticsProgramMappings",value:function putSpeechandtextanalyticsProgramMappings(programId,body){// verify the required parameter 'programId' is set
|
|
16318
16331
|
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramMappings';}// verify the required parameter 'body' is set
|
|
16319
16332
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramMappings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/mappings','PUT',{'programId':programId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16333
|
+
* Update AI Insights settings of a program
|
|
16334
|
+
*
|
|
16335
|
+
* @param {String} programId The id of the program
|
|
16336
|
+
* @param {Object} body Program AI Insights setting
|
|
16337
|
+
*/},{key:"putSpeechandtextanalyticsProgramSettingsInsights",value:function putSpeechandtextanalyticsProgramSettingsInsights(programId,body){// verify the required parameter 'programId' is set
|
|
16338
|
+
if(programId===undefined||programId===null){throw'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';}// verify the required parameter 'body' is set
|
|
16339
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/programs/{programId}/settings/insights','PUT',{'programId':programId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16320
16340
|
* Update transcription engine settings of a program
|
|
16321
16341
|
*
|
|
16322
16342
|
* @param {String} programId The id of the program
|
|
@@ -16338,7 +16358,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
16338
16358
|
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(){/**
|
|
16339
16359
|
* Stations service.
|
|
16340
16360
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
16341
|
-
* @version
|
|
16361
|
+
* @version 214.0.0
|
|
16342
16362
|
*//**
|
|
16343
16363
|
* Constructs a new StationsApi.
|
|
16344
16364
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -16370,7 +16390,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
16370
16390
|
*/},{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(){/**
|
|
16371
16391
|
* Suggest service.
|
|
16372
16392
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
16373
|
-
* @version
|
|
16393
|
+
* @version 214.0.0
|
|
16374
16394
|
*//**
|
|
16375
16395
|
* Constructs a new SuggestApi.
|
|
16376
16396
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -16410,7 +16430,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16410
16430
|
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(){/**
|
|
16411
16431
|
* TaskManagement service.
|
|
16412
16432
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
16413
|
-
* @version
|
|
16433
|
+
* @version 214.0.0
|
|
16414
16434
|
*//**
|
|
16415
16435
|
* Constructs a new TaskManagementApi.
|
|
16416
16436
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -16916,7 +16936,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
16916
16936
|
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(){/**
|
|
16917
16937
|
* Teams service.
|
|
16918
16938
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
16919
|
-
* @version
|
|
16939
|
+
* @version 214.0.0
|
|
16920
16940
|
*//**
|
|
16921
16941
|
* Constructs a new TeamsApi.
|
|
16922
16942
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -16996,7 +17016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16996
17016
|
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(){/**
|
|
16997
17017
|
* Telephony service.
|
|
16998
17018
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
16999
|
-
* @version
|
|
17019
|
+
* @version 214.0.0
|
|
17000
17020
|
*//**
|
|
17001
17021
|
* Constructs a new TelephonyApi.
|
|
17002
17022
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -17043,7 +17063,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
17043
17063
|
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(){/**
|
|
17044
17064
|
* TelephonyProvidersEdge service.
|
|
17045
17065
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
17046
|
-
* @version
|
|
17066
|
+
* @version 214.0.0
|
|
17047
17067
|
*//**
|
|
17048
17068
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
17049
17069
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -17878,7 +17898,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
17878
17898
|
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(){/**
|
|
17879
17899
|
* Textbots service.
|
|
17880
17900
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
17881
|
-
* @version
|
|
17901
|
+
* @version 214.0.0
|
|
17882
17902
|
*//**
|
|
17883
17903
|
* Constructs a new TextbotsApi.
|
|
17884
17904
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -17913,7 +17933,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
17913
17933
|
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(){/**
|
|
17914
17934
|
* Tokens service.
|
|
17915
17935
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
17916
|
-
* @version
|
|
17936
|
+
* @version 214.0.0
|
|
17917
17937
|
*//**
|
|
17918
17938
|
* Constructs a new TokensApi.
|
|
17919
17939
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -17947,7 +17967,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17947
17967
|
*/},{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(){/**
|
|
17948
17968
|
* Uploads service.
|
|
17949
17969
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
17950
|
-
* @version
|
|
17970
|
+
* @version 214.0.0
|
|
17951
17971
|
*//**
|
|
17952
17972
|
* Constructs a new UploadsApi.
|
|
17953
17973
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -17967,7 +17987,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
17967
17987
|
*
|
|
17968
17988
|
* @param {String} actionId actionId
|
|
17969
17989
|
* @param {Object} body Input used to request URL upload.
|
|
17970
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17971
17990
|
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
17972
17991
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
17973
17992
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -18013,7 +18032,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18013
18032
|
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(){/**
|
|
18014
18033
|
* Usage service.
|
|
18015
18034
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
18016
|
-
* @version
|
|
18035
|
+
* @version 214.0.0
|
|
18017
18036
|
*//**
|
|
18018
18037
|
* Constructs a new UsageApi.
|
|
18019
18038
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -18067,7 +18086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18067
18086
|
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(){/**
|
|
18068
18087
|
* UserRecordings service.
|
|
18069
18088
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
18070
|
-
* @version
|
|
18089
|
+
* @version 214.0.0
|
|
18071
18090
|
*//**
|
|
18072
18091
|
* Constructs a new UserRecordingsApi.
|
|
18073
18092
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -18124,7 +18143,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
18124
18143
|
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(){/**
|
|
18125
18144
|
* Users service.
|
|
18126
18145
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
18127
|
-
* @version
|
|
18146
|
+
* @version 214.0.0
|
|
18128
18147
|
*//**
|
|
18129
18148
|
* Constructs a new UsersApi.
|
|
18130
18149
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -18164,6 +18183,15 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18164
18183
|
* @param {String} userId User ID
|
|
18165
18184
|
*/},{key:"deleteUser",value:function deleteUser(userId){// verify the required parameter 'userId' is set
|
|
18166
18185
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUser';}return this.apiClient.callApi('/api/v2/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18186
|
+
* Delete the external identifier for user.
|
|
18187
|
+
*
|
|
18188
|
+
* @param {String} userId User ID
|
|
18189
|
+
* @param {String} authorityName Authority Name
|
|
18190
|
+
* @param {String} externalKey External Key
|
|
18191
|
+
*/},{key:"deleteUserExternalidAuthorityNameExternalKey",value:function deleteUserExternalidAuthorityNameExternalKey(userId,authorityName,externalKey){// verify the required parameter 'userId' is set
|
|
18192
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';}// verify the required parameter 'authorityName' is set
|
|
18193
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';}// verify the required parameter 'externalKey' is set
|
|
18194
|
+
if(externalKey===undefined||externalKey===null){throw'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}','DELETE',{'userId':userId,'authorityName':authorityName,'externalKey':externalKey},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18167
18195
|
* Remove a routing language from a user
|
|
18168
18196
|
*
|
|
18169
18197
|
* @param {String} userId User ID
|
|
@@ -18323,6 +18351,18 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18323
18351
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
18324
18352
|
*/},{key:"getUserDirectreports",value:function getUserDirectreports(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
18325
18353
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserDirectreports';}return this.apiClient.callApi('/api/v2/users/{userId}/directreports','GET',{'userId':userId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18354
|
+
* Get the external identifiers for a user.
|
|
18355
|
+
*
|
|
18356
|
+
* @param {String} userId User ID
|
|
18357
|
+
*/},{key:"getUserExternalid",value:function getUserExternalid(userId){// verify the required parameter 'userId' is set
|
|
18358
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserExternalid';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18359
|
+
* Get the external identifier of user for an authority.
|
|
18360
|
+
* Authority name and external key are case sensitive.
|
|
18361
|
+
* @param {String} userId User ID
|
|
18362
|
+
* @param {String} authorityName Authority Name
|
|
18363
|
+
*/},{key:"getUserExternalidAuthorityName",value:function getUserExternalidAuthorityName(userId,authorityName){// verify the required parameter 'userId' is set
|
|
18364
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';}// verify the required parameter 'authorityName' is set
|
|
18365
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';}return this.apiClient.callApi('/api/v2/users/{userId}/externalid/{authorityName}','GET',{'userId':userId,'authorityName':authorityName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18326
18366
|
* Deprecated; will be revived with new contract
|
|
18327
18367
|
*
|
|
18328
18368
|
* @param {String} userId User ID
|
|
@@ -18494,6 +18534,15 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18494
18534
|
*/},{key:"getUsersDevelopmentActivity",value:function getUsersDevelopmentActivity(activityId,type){// verify the required parameter 'activityId' is set
|
|
18495
18535
|
if(activityId===undefined||activityId===null){throw'Missing the required parameter "activityId" when calling getUsersDevelopmentActivity';}// verify the required parameter 'type' is set
|
|
18496
18536
|
if(type===undefined||type===null){throw'Missing the required parameter "type" when calling getUsersDevelopmentActivity';}return this.apiClient.callApi('/api/v2/users/development/activities/{activityId}','GET',{'activityId':activityId},{'type':type},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18537
|
+
* Get the user associated with external identifier.
|
|
18538
|
+
* Authority name and external key are case sensitive.
|
|
18539
|
+
* @param {String} authorityName Authority Name
|
|
18540
|
+
* @param {String} externalKey External Key
|
|
18541
|
+
* @param {Object} opts Optional parameters
|
|
18542
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
18543
|
+
*/},{key:"getUsersExternalidAuthorityNameExternalKey",value:function getUsersExternalidAuthorityNameExternalKey(authorityName,externalKey,opts){opts=opts||{};// verify the required parameter 'authorityName' is set
|
|
18544
|
+
if(authorityName===undefined||authorityName===null){throw'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';}// verify the required parameter 'externalKey' is set
|
|
18545
|
+
if(externalKey===undefined||externalKey===null){throw'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';}return this.apiClient.callApi('/api/v2/users/externalid/{authorityName}/{externalKey}','GET',{'authorityName':authorityName,'externalKey':externalKey},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18497
18546
|
* Get current user details.
|
|
18498
18547
|
* This request is not valid when using the Client Credentials OAuth grant.
|
|
18499
18548
|
* @param {Object} opts Optional parameters
|
|
@@ -18821,7 +18870,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
18821
18870
|
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(){/**
|
|
18822
18871
|
* Utilities service.
|
|
18823
18872
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
18824
|
-
* @version
|
|
18873
|
+
* @version 214.0.0
|
|
18825
18874
|
*//**
|
|
18826
18875
|
* Constructs a new UtilitiesApi.
|
|
18827
18876
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -18848,7 +18897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18848
18897
|
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(){/**
|
|
18849
18898
|
* Voicemail service.
|
|
18850
18899
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
18851
|
-
* @version
|
|
18900
|
+
* @version 214.0.0
|
|
18852
18901
|
*//**
|
|
18853
18902
|
* Constructs a new VoicemailApi.
|
|
18854
18903
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -19010,7 +19059,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19010
19059
|
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(){/**
|
|
19011
19060
|
* WebChat service.
|
|
19012
19061
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
19013
|
-
* @version
|
|
19062
|
+
* @version 214.0.0
|
|
19014
19063
|
*//**
|
|
19015
19064
|
* Constructs a new WebChatApi.
|
|
19016
19065
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -19145,7 +19194,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19145
19194
|
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(){/**
|
|
19146
19195
|
* WebDeployments service.
|
|
19147
19196
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
19148
|
-
* @version
|
|
19197
|
+
* @version 214.0.0
|
|
19149
19198
|
*//**
|
|
19150
19199
|
* Constructs a new WebDeploymentsApi.
|
|
19151
19200
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -19266,7 +19315,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19266
19315
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
19267
19316
|
* WebMessaging service.
|
|
19268
19317
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
19269
|
-
* @version
|
|
19318
|
+
* @version 214.0.0
|
|
19270
19319
|
*//**
|
|
19271
19320
|
* Constructs a new WebMessagingApi.
|
|
19272
19321
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -19282,7 +19331,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
19282
19331
|
*/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(){/**
|
|
19283
19332
|
* Widgets service.
|
|
19284
19333
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
19285
|
-
* @version
|
|
19334
|
+
* @version 214.0.0
|
|
19286
19335
|
*//**
|
|
19287
19336
|
* Constructs a new WidgetsApi.
|
|
19288
19337
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -19317,7 +19366,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
19317
19366
|
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(){/**
|
|
19318
19367
|
* WorkforceManagement service.
|
|
19319
19368
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
19320
|
-
* @version
|
|
19369
|
+
* @version 214.0.0
|
|
19321
19370
|
*//**
|
|
19322
19371
|
* Constructs a new WorkforceManagementApi.
|
|
19323
19372
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -21123,7 +21172,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
21123
21172
|
* </pre>
|
|
21124
21173
|
* </p>
|
|
21125
21174
|
* @module purecloud-platform-client-v2/index
|
|
21126
|
-
* @version
|
|
21175
|
+
* @version 214.0.0
|
|
21127
21176
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
21128
21177
|
* The ApiClient constructor.
|
|
21129
21178
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|