purecloud-platform-client-v2 229.1.0 → 230.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 +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.js +381 -112
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.js +161 -93
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +425 -287
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +110 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +86 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -28
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +101 -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
|
@@ -908,7 +908,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
908
908
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
909
909
|
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];}}}]);}();/**
|
|
910
910
|
* @module purecloud-platform-client-v2/ApiClient
|
|
911
|
-
* @version
|
|
911
|
+
* @version 230.0.0
|
|
912
912
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
913
913
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
914
914
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1251,7 +1251,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1251
1251
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
|
|
1252
1252
|
* AIStudio service.
|
|
1253
1253
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1254
|
-
* @version
|
|
1254
|
+
* @version 230.0.0
|
|
1255
1255
|
*//**
|
|
1256
1256
|
* Constructs a new AIStudioApi.
|
|
1257
1257
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1365,7 +1365,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1365
1365
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuidesJobs';}return this.apiClient.callApi('/api/v2/guides/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1366
1366
|
* AgentAssistants service.
|
|
1367
1367
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1368
|
-
* @version
|
|
1368
|
+
* @version 230.0.0
|
|
1369
1369
|
*//**
|
|
1370
1370
|
* Constructs a new AgentAssistantsApi.
|
|
1371
1371
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1451,6 +1451,35 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1451
1451
|
*/},{key:"patchAssistantQueues",value:function patchAssistantQueues(assistantId,body){// verify the required parameter 'assistantId' is set
|
|
1452
1452
|
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling patchAssistantQueues';}// verify the required parameter 'body' is set
|
|
1453
1453
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchAssistantQueues';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues','PATCH',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1454
|
+
* Bulk add users to assistant-queue (requires manual assignment mode).
|
|
1455
|
+
*
|
|
1456
|
+
* @param {String} assistantId Assistant ID
|
|
1457
|
+
* @param {String} queueId Queue ID
|
|
1458
|
+
* @param {Object} body
|
|
1459
|
+
*/},{key:"postAssistantQueueUsersBulkAdd",value:function postAssistantQueueUsersBulkAdd(assistantId,queueId,body){// verify the required parameter 'assistantId' is set
|
|
1460
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkAdd';}// verify the required parameter 'queueId' is set
|
|
1461
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkAdd';}// verify the required parameter 'body' is set
|
|
1462
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkAdd';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/add','POST',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1463
|
+
* Bulk remove users from assistant-queue (requires manual assignment mode).
|
|
1464
|
+
*
|
|
1465
|
+
* @param {String} assistantId Assistant ID
|
|
1466
|
+
* @param {String} queueId Queue ID
|
|
1467
|
+
* @param {Object} body
|
|
1468
|
+
*/},{key:"postAssistantQueueUsersBulkRemove",value:function postAssistantQueueUsersBulkRemove(assistantId,queueId,body){// verify the required parameter 'assistantId' is set
|
|
1469
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersBulkRemove';}// verify the required parameter 'queueId' is set
|
|
1470
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersBulkRemove';}// verify the required parameter 'body' is set
|
|
1471
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersBulkRemove';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/bulk/remove','POST',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1472
|
+
* Query for users in the assistant-queue (requires manual assignment mode).
|
|
1473
|
+
*
|
|
1474
|
+
* @param {String} assistantId Assistant ID
|
|
1475
|
+
* @param {String} queueId Queue ID
|
|
1476
|
+
* @param {Object} body
|
|
1477
|
+
* @param {Object} opts Optional parameters
|
|
1478
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand with.
|
|
1479
|
+
*/},{key:"postAssistantQueueUsersQuery",value:function postAssistantQueueUsersQuery(assistantId,queueId,body,opts){opts=opts||{};// verify the required parameter 'assistantId' is set
|
|
1480
|
+
if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling postAssistantQueueUsersQuery';}// verify the required parameter 'queueId' is set
|
|
1481
|
+
if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling postAssistantQueueUsersQuery';}// verify the required parameter 'body' is set
|
|
1482
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAssistantQueueUsersQuery';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}/users/query','POST',{'assistantId':assistantId,'queueId':queueId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1454
1483
|
* Create an Assistant.
|
|
1455
1484
|
*
|
|
1456
1485
|
* @param {Object} body
|
|
@@ -1467,7 +1496,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
1467
1496
|
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(){/**
|
|
1468
1497
|
* AgentCopilot service.
|
|
1469
1498
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1470
|
-
* @version
|
|
1499
|
+
* @version 230.0.0
|
|
1471
1500
|
*//**
|
|
1472
1501
|
* Constructs a new AgentCopilotApi.
|
|
1473
1502
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1489,7 +1518,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1489
1518
|
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(){/**
|
|
1490
1519
|
* AgentUI service.
|
|
1491
1520
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1492
|
-
* @version
|
|
1521
|
+
* @version 230.0.0
|
|
1493
1522
|
*//**
|
|
1494
1523
|
* Constructs a new AgentUIApi.
|
|
1495
1524
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1523,7 +1552,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1523
1552
|
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(){/**
|
|
1524
1553
|
* Alerting service.
|
|
1525
1554
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1526
|
-
* @version
|
|
1555
|
+
* @version 230.0.0
|
|
1527
1556
|
*//**
|
|
1528
1557
|
* Constructs a new AlertingApi.
|
|
1529
1558
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1612,7 +1641,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1612
1641
|
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(){/**
|
|
1613
1642
|
* Analytics service.
|
|
1614
1643
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1615
|
-
* @version
|
|
1644
|
+
* @version 230.0.0
|
|
1616
1645
|
*//**
|
|
1617
1646
|
* Constructs a new AnalyticsApi.
|
|
1618
1647
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2365,7 +2394,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2365
2394
|
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(){/**
|
|
2366
2395
|
* Architect service.
|
|
2367
2396
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2368
|
-
* @version
|
|
2397
|
+
* @version 230.0.0
|
|
2369
2398
|
*//**
|
|
2370
2399
|
* Constructs a new ArchitectApi.
|
|
2371
2400
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3499,7 +3528,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3499
3528
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3500
3529
|
* Audit service.
|
|
3501
3530
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3502
|
-
* @version
|
|
3531
|
+
* @version 230.0.0
|
|
3503
3532
|
*//**
|
|
3504
3533
|
* Constructs a new AuditApi.
|
|
3505
3534
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3549,7 +3578,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3549
3578
|
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(){/**
|
|
3550
3579
|
* Authorization service.
|
|
3551
3580
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3552
|
-
* @version
|
|
3581
|
+
* @version 230.0.0
|
|
3553
3582
|
*//**
|
|
3554
3583
|
* Constructs a new AuthorizationApi.
|
|
3555
3584
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3984,7 +4013,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
3984
4013
|
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(){/**
|
|
3985
4014
|
* Billing service.
|
|
3986
4015
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3987
|
-
* @version
|
|
4016
|
+
* @version 230.0.0
|
|
3988
4017
|
*//**
|
|
3989
4018
|
* Constructs a new BillingApi.
|
|
3990
4019
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4061,7 +4090,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4061
4090
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
4062
4091
|
* BusinessRules service.
|
|
4063
4092
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4064
|
-
* @version
|
|
4093
|
+
* @version 230.0.0
|
|
4065
4094
|
*//**
|
|
4066
4095
|
* Constructs a new BusinessRulesApi.
|
|
4067
4096
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4311,7 +4340,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4311
4340
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
4312
4341
|
* CarrierServices service.
|
|
4313
4342
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4314
|
-
* @version
|
|
4343
|
+
* @version 230.0.0
|
|
4315
4344
|
*//**
|
|
4316
4345
|
* Constructs a new CarrierServicesApi.
|
|
4317
4346
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4331,7 +4360,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4331
4360
|
*/},{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(){/**
|
|
4332
4361
|
* Chat service.
|
|
4333
4362
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4334
|
-
* @version
|
|
4363
|
+
* @version 230.0.0
|
|
4335
4364
|
*//**
|
|
4336
4365
|
* Constructs a new ChatApi.
|
|
4337
4366
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4562,7 +4591,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4562
4591
|
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(){/**
|
|
4563
4592
|
* Coaching service.
|
|
4564
4593
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4565
|
-
* @version
|
|
4594
|
+
* @version 230.0.0
|
|
4566
4595
|
*//**
|
|
4567
4596
|
* Constructs a new CoachingApi.
|
|
4568
4597
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -4715,7 +4744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4715
4744
|
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(){/**
|
|
4716
4745
|
* ContentManagement service.
|
|
4717
4746
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
4718
|
-
* @version
|
|
4747
|
+
* @version 230.0.0
|
|
4719
4748
|
*//**
|
|
4720
4749
|
* Constructs a new ContentManagementApi.
|
|
4721
4750
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4997,7 +5026,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
4997
5026
|
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(){/**
|
|
4998
5027
|
* Conversations service.
|
|
4999
5028
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5000
|
-
* @version
|
|
5029
|
+
* @version 230.0.0
|
|
5001
5030
|
*//**
|
|
5002
5031
|
* Constructs a new ConversationsApi.
|
|
5003
5032
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5016,6 +5045,11 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
5016
5045
|
* @param {String} jobId jobId
|
|
5017
5046
|
*/},{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
|
|
5018
5047
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5048
|
+
* Update a conversation by disconnecting all of the participants
|
|
5049
|
+
*
|
|
5050
|
+
* @param {String} conversationId conversation ID
|
|
5051
|
+
*/},{key:"deleteConversation",value:function deleteConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
5052
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}','DELETE',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5019
5053
|
* Delete a code used to add a communication to this participant
|
|
5020
5054
|
*
|
|
5021
5055
|
* @param {String} conversationId conversation ID
|
|
@@ -5777,6 +5811,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5777
5811
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';}// verify the required parameter 'participantId' is set
|
|
5778
5812
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';}// verify the required parameter 'body' is set
|
|
5779
5813
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationParticipantAttributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/attributes','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5814
|
+
* Update a conversation by setting its recording state
|
|
5815
|
+
*
|
|
5816
|
+
* @param {String} conversationId conversation ID
|
|
5817
|
+
* @param {Object} body SetRecordingState
|
|
5818
|
+
*/},{key:"patchConversationRecordingstate",value:function patchConversationRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5819
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationRecordingstate';}// verify the required parameter 'body' is set
|
|
5820
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordingstate','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5780
5821
|
* Update the secure attributes on a conversation.
|
|
5781
5822
|
*
|
|
5782
5823
|
* @param {String} conversationId conversation ID
|
|
@@ -5827,6 +5868,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5827
5868
|
*/},{key:"patchConversationsCall",value:function patchConversationsCall(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5828
5869
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCall';}// verify the required parameter 'body' is set
|
|
5829
5870
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCall';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5871
|
+
* Update a conversation by merging in other conversations to create a conference
|
|
5872
|
+
*
|
|
5873
|
+
* @param {String} conversationId conversationId
|
|
5874
|
+
* @param {Object} body UpdateConferenceRequest
|
|
5875
|
+
*/},{key:"patchConversationsCallConference",value:function patchConversationsCallConference(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5876
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallConference';}// verify the required parameter 'body' is set
|
|
5877
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallConference';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/conference','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5830
5878
|
* Update conversation participant
|
|
5831
5879
|
*
|
|
5832
5880
|
* @param {String} conversationId conversationId
|
|
@@ -7009,7 +7057,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7009
7057
|
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(){/**
|
|
7010
7058
|
* DataExtensions service.
|
|
7011
7059
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7012
|
-
* @version
|
|
7060
|
+
* @version 230.0.0
|
|
7013
7061
|
*//**
|
|
7014
7062
|
* Constructs a new DataExtensionsApi.
|
|
7015
7063
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7030,7 +7078,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7030
7078
|
*/},{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(){/**
|
|
7031
7079
|
* DataPrivacy service.
|
|
7032
7080
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7033
|
-
* @version
|
|
7081
|
+
* @version 230.0.0
|
|
7034
7082
|
*//**
|
|
7035
7083
|
* Constructs a new DataPrivacyApi.
|
|
7036
7084
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7070,7 +7118,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7070
7118
|
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(){/**
|
|
7071
7119
|
* Downloads service.
|
|
7072
7120
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7073
|
-
* @version
|
|
7121
|
+
* @version 230.0.0
|
|
7074
7122
|
*//**
|
|
7075
7123
|
* Constructs a new DownloadsApi.
|
|
7076
7124
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7089,7 +7137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7089
7137
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
7090
7138
|
* Emails service.
|
|
7091
7139
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7092
|
-
* @version
|
|
7140
|
+
* @version 230.0.0
|
|
7093
7141
|
*//**
|
|
7094
7142
|
* Constructs a new EmailsApi.
|
|
7095
7143
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7118,7 +7166,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7118
7166
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
7119
7167
|
* EmployeeEngagement service.
|
|
7120
7168
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7121
|
-
* @version
|
|
7169
|
+
* @version 230.0.0
|
|
7122
7170
|
*//**
|
|
7123
7171
|
* Constructs a new EmployeeEngagementApi.
|
|
7124
7172
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7156,7 +7204,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7156
7204
|
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(){/**
|
|
7157
7205
|
* Events service.
|
|
7158
7206
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7159
|
-
* @version
|
|
7207
|
+
* @version 230.0.0
|
|
7160
7208
|
*//**
|
|
7161
7209
|
* Constructs a new EventsApi.
|
|
7162
7210
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7181,7 +7229,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7181
7229
|
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(){/**
|
|
7182
7230
|
* ExternalContacts service.
|
|
7183
7231
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7184
|
-
* @version
|
|
7232
|
+
* @version 230.0.0
|
|
7185
7233
|
*//**
|
|
7186
7234
|
* Constructs a new ExternalContactsApi.
|
|
7187
7235
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -7931,7 +7979,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
7931
7979
|
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(){/**
|
|
7932
7980
|
* Fax service.
|
|
7933
7981
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
7934
|
-
* @version
|
|
7982
|
+
* @version 230.0.0
|
|
7935
7983
|
*//**
|
|
7936
7984
|
* Constructs a new FaxApi.
|
|
7937
7985
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -7980,7 +8028,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7980
8028
|
*/},{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(){/**
|
|
7981
8029
|
* Flows service.
|
|
7982
8030
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
7983
|
-
* @version
|
|
8031
|
+
* @version 230.0.0
|
|
7984
8032
|
*//**
|
|
7985
8033
|
* Constructs a new FlowsApi.
|
|
7986
8034
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8034,7 +8082,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8034
8082
|
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(){/**
|
|
8035
8083
|
* Gamification service.
|
|
8036
8084
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8037
|
-
* @version
|
|
8085
|
+
* @version 230.0.0
|
|
8038
8086
|
*//**
|
|
8039
8087
|
* Constructs a new GamificationApi.
|
|
8040
8088
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -8687,7 +8735,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8687
8735
|
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(){/**
|
|
8688
8736
|
* GeneralDataProtectionRegulation service.
|
|
8689
8737
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
8690
|
-
* @version
|
|
8738
|
+
* @version 230.0.0
|
|
8691
8739
|
*//**
|
|
8692
8740
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
8693
8741
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -8722,7 +8770,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
8722
8770
|
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(){/**
|
|
8723
8771
|
* Geolocation service.
|
|
8724
8772
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
8725
|
-
* @version
|
|
8773
|
+
* @version 230.0.0
|
|
8726
8774
|
*//**
|
|
8727
8775
|
* Constructs a new GeolocationApi.
|
|
8728
8776
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -8756,7 +8804,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
8756
8804
|
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(){/**
|
|
8757
8805
|
* Greetings service.
|
|
8758
8806
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
8759
|
-
* @version
|
|
8807
|
+
* @version 230.0.0
|
|
8760
8808
|
*//**
|
|
8761
8809
|
* Constructs a new GreetingsApi.
|
|
8762
8810
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -8884,7 +8932,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
8884
8932
|
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(){/**
|
|
8885
8933
|
* Groups service.
|
|
8886
8934
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
8887
|
-
* @version
|
|
8935
|
+
* @version 230.0.0
|
|
8888
8936
|
*//**
|
|
8889
8937
|
* Constructs a new GroupsApi.
|
|
8890
8938
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9017,7 +9065,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9017
9065
|
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(){/**
|
|
9018
9066
|
* IdentityProvider service.
|
|
9019
9067
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9020
|
-
* @version
|
|
9068
|
+
* @version 230.0.0
|
|
9021
9069
|
*//**
|
|
9022
9070
|
* Constructs a new IdentityProviderApi.
|
|
9023
9071
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9173,7 +9221,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9173
9221
|
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(){/**
|
|
9174
9222
|
* InfrastructureAsCode service.
|
|
9175
9223
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9176
|
-
* @version
|
|
9224
|
+
* @version 230.0.0
|
|
9177
9225
|
*//**
|
|
9178
9226
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9179
9227
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9227,7 +9275,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9227
9275
|
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(){/**
|
|
9228
9276
|
* Integrations service.
|
|
9229
9277
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9230
|
-
* @version
|
|
9278
|
+
* @version 230.0.0
|
|
9231
9279
|
*//**
|
|
9232
9280
|
* Constructs a new IntegrationsApi.
|
|
9233
9281
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -9914,7 +9962,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
9914
9962
|
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(){/**
|
|
9915
9963
|
* Journey service.
|
|
9916
9964
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
9917
|
-
* @version
|
|
9965
|
+
* @version 230.0.0
|
|
9918
9966
|
*//**
|
|
9919
9967
|
* Constructs a new JourneyApi.
|
|
9920
9968
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -10415,7 +10463,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
10415
10463
|
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(){/**
|
|
10416
10464
|
* Knowledge service.
|
|
10417
10465
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
10418
|
-
* @version
|
|
10466
|
+
* @version 230.0.0
|
|
10419
10467
|
*//**
|
|
10420
10468
|
* Constructs a new KnowledgeApi.
|
|
10421
10469
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11485,7 +11533,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
11485
11533
|
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(){/**
|
|
11486
11534
|
* LanguageUnderstanding service.
|
|
11487
11535
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
11488
|
-
* @version
|
|
11536
|
+
* @version 230.0.0
|
|
11489
11537
|
*//**
|
|
11490
11538
|
* Constructs a new LanguageUnderstandingApi.
|
|
11491
11539
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -11744,7 +11792,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
11744
11792
|
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(){/**
|
|
11745
11793
|
* Languages service.
|
|
11746
11794
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
11747
|
-
* @version
|
|
11795
|
+
* @version 230.0.0
|
|
11748
11796
|
*//**
|
|
11749
11797
|
* Constructs a new LanguagesApi.
|
|
11750
11798
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -11799,7 +11847,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
11799
11847
|
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(){/**
|
|
11800
11848
|
* Learning service.
|
|
11801
11849
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
11802
|
-
* @version
|
|
11850
|
+
* @version 230.0.0
|
|
11803
11851
|
*//**
|
|
11804
11852
|
* Constructs a new LearningApi.
|
|
11805
11853
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12070,7 +12118,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12070
12118
|
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(){/**
|
|
12071
12119
|
* License service.
|
|
12072
12120
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12073
|
-
* @version
|
|
12121
|
+
* @version 230.0.0
|
|
12074
12122
|
*//**
|
|
12075
12123
|
* Constructs a new LicenseApi.
|
|
12076
12124
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12124,7 +12172,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12124
12172
|
*/},{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(){/**
|
|
12125
12173
|
* Locations service.
|
|
12126
12174
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12127
|
-
* @version
|
|
12175
|
+
* @version 230.0.0
|
|
12128
12176
|
*//**
|
|
12129
12177
|
* Constructs a new LocationsApi.
|
|
12130
12178
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12183,7 +12231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12183
12231
|
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(){/**
|
|
12184
12232
|
* LogCapture service.
|
|
12185
12233
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12186
|
-
* @version
|
|
12234
|
+
* @version 230.0.0
|
|
12187
12235
|
*//**
|
|
12188
12236
|
* Constructs a new LogCaptureApi.
|
|
12189
12237
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12232,7 +12280,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12232
12280
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
12233
12281
|
* Messaging service.
|
|
12234
12282
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12235
|
-
* @version
|
|
12283
|
+
* @version 230.0.0
|
|
12236
12284
|
*//**
|
|
12237
12285
|
* Constructs a new MessagingApi.
|
|
12238
12286
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -12322,7 +12370,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12322
12370
|
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(){/**
|
|
12323
12371
|
* MobileDevices service.
|
|
12324
12372
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
12325
|
-
* @version
|
|
12373
|
+
* @version 230.0.0
|
|
12326
12374
|
*//**
|
|
12327
12375
|
* Constructs a new MobileDevicesApi.
|
|
12328
12376
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -12361,7 +12409,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12361
12409
|
if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
12362
12410
|
* Notifications service.
|
|
12363
12411
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
12364
|
-
* @version
|
|
12412
|
+
* @version 230.0.0
|
|
12365
12413
|
*//**
|
|
12366
12414
|
* Constructs a new NotificationsApi.
|
|
12367
12415
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -12418,7 +12466,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
12418
12466
|
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(){/**
|
|
12419
12467
|
* OAuth service.
|
|
12420
12468
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
12421
|
-
* @version
|
|
12469
|
+
* @version 230.0.0
|
|
12422
12470
|
*//**
|
|
12423
12471
|
* Constructs a new OAuthApi.
|
|
12424
12472
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -12503,7 +12551,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
12503
12551
|
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(){/**
|
|
12504
12552
|
* Objects service.
|
|
12505
12553
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
12506
|
-
* @version
|
|
12554
|
+
* @version 230.0.0
|
|
12507
12555
|
*//**
|
|
12508
12556
|
* Constructs a new ObjectsApi.
|
|
12509
12557
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -12589,7 +12637,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
12589
12637
|
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(){/**
|
|
12590
12638
|
* OperationalEvents service.
|
|
12591
12639
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
12592
|
-
* @version
|
|
12640
|
+
* @version 230.0.0
|
|
12593
12641
|
*//**
|
|
12594
12642
|
* Constructs a new OperationalEventsApi.
|
|
12595
12643
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -12620,7 +12668,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
12620
12668
|
*/},{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(){/**
|
|
12621
12669
|
* Organization service.
|
|
12622
12670
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
12623
|
-
* @version
|
|
12671
|
+
* @version 230.0.0
|
|
12624
12672
|
*//**
|
|
12625
12673
|
* Constructs a new OrganizationApi.
|
|
12626
12674
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -12725,7 +12773,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12725
12773
|
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(){/**
|
|
12726
12774
|
* OrganizationAuthorization service.
|
|
12727
12775
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
12728
|
-
* @version
|
|
12776
|
+
* @version 230.0.0
|
|
12729
12777
|
*//**
|
|
12730
12778
|
* Constructs a new OrganizationAuthorizationApi.
|
|
12731
12779
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13059,7 +13107,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13059
13107
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
13060
13108
|
* Outbound service.
|
|
13061
13109
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13062
|
-
* @version
|
|
13110
|
+
* @version 230.0.0
|
|
13063
13111
|
*//**
|
|
13064
13112
|
* Constructs a new OutboundApi.
|
|
13065
13113
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -14210,7 +14258,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14210
14258
|
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(){/**
|
|
14211
14259
|
* Presence service.
|
|
14212
14260
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14213
|
-
* @version
|
|
14261
|
+
* @version 230.0.0
|
|
14214
14262
|
*//**
|
|
14215
14263
|
* Constructs a new PresenceApi.
|
|
14216
14264
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -14383,7 +14431,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14383
14431
|
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(){/**
|
|
14384
14432
|
* ProcessAutomation service.
|
|
14385
14433
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14386
|
-
* @version
|
|
14434
|
+
* @version 230.0.0
|
|
14387
14435
|
*//**
|
|
14388
14436
|
* Constructs a new ProcessAutomationApi.
|
|
14389
14437
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -14446,7 +14494,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
14446
14494
|
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(){/**
|
|
14447
14495
|
* Quality service.
|
|
14448
14496
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
14449
|
-
* @version
|
|
14497
|
+
* @version 230.0.0
|
|
14450
14498
|
*//**
|
|
14451
14499
|
* Constructs a new QualityApi.
|
|
14452
14500
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -14936,7 +14984,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
14936
14984
|
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(){/**
|
|
14937
14985
|
* Recording service.
|
|
14938
14986
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
14939
|
-
* @version
|
|
14987
|
+
* @version 230.0.0
|
|
14940
14988
|
*//**
|
|
14941
14989
|
* Constructs a new RecordingApi.
|
|
14942
14990
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -15213,7 +15261,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15213
15261
|
*/},{key:"postRecordingCrossplatformMediaretentionpolicies",value:function postRecordingCrossplatformMediaretentionpolicies(body){// verify the required parameter 'body' is set
|
|
15214
15262
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRecordingCrossplatformMediaretentionpolicies';}return this.apiClient.callApi('/api/v2/recording/crossplatform/mediaretentionpolicies','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15215
15263
|
* Create a recording bulk job.
|
|
15216
|
-
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
15264
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected. It is recommended to query over smaller time periods so your request does not time out.
|
|
15217
15265
|
* @param {Object} body query
|
|
15218
15266
|
*/},{key:"postRecordingJobs",value:function postRecordingJobs(body){// verify the required parameter 'body' is set
|
|
15219
15267
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRecordingJobs';}return this.apiClient.callApi('/api/v2/recording/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15335,7 +15383,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15335
15383
|
*/},{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(){/**
|
|
15336
15384
|
* ResponseManagement service.
|
|
15337
15385
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
15338
|
-
* @version
|
|
15386
|
+
* @version 230.0.0
|
|
15339
15387
|
*//**
|
|
15340
15388
|
* Constructs a new ResponseManagementApi.
|
|
15341
15389
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -15456,7 +15504,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
15456
15504
|
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(){/**
|
|
15457
15505
|
* Routing service.
|
|
15458
15506
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
15459
|
-
* @version
|
|
15507
|
+
* @version 230.0.0
|
|
15460
15508
|
*//**
|
|
15461
15509
|
* Constructs a new RoutingApi.
|
|
15462
15510
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -15677,11 +15725,6 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
|
|
|
15677
15725
|
* @param {String} domainId domain ID
|
|
15678
15726
|
*/},{key:"getRoutingEmailOutboundDomainActivation",value:function getRoutingEmailOutboundDomainActivation(domainId){// verify the required parameter 'domainId' is set
|
|
15679
15727
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}/activation','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15680
|
-
* Search a domain across organizations
|
|
15681
|
-
*
|
|
15682
|
-
* @param {String} domainId domain ID
|
|
15683
|
-
*/},{key:"getRoutingEmailOutboundDomainSearch",value:function getRoutingEmailOutboundDomainSearch(domainId){// verify the required parameter 'domainId' is set
|
|
15684
|
-
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}/search','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15685
15728
|
* Get outbound domains
|
|
15686
15729
|
*
|
|
15687
15730
|
* @param {Object} opts Optional parameters
|
|
@@ -16264,8 +16307,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16264
16307
|
*/},{key:"postRoutingEmailDomainRoutes",value:function postRoutingEmailDomainRoutes(domainName,body){// verify the required parameter 'domainName' is set
|
|
16265
16308
|
if(domainName===undefined||domainName===null||domainName===''){throw'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';}// verify the required parameter 'body' is set
|
|
16266
16309
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailDomainRoutes';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes','POST',{'domainName':domainName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16267
|
-
* Tests the custom SMTP server integration connection set on this domain
|
|
16268
|
-
* The request body is optional. If omitted, this endpoint will just test the connection of the Custom SMTP Server. If the body is specified, there will be an attempt to send an email message to the server.
|
|
16310
|
+
* Tests the custom SMTP server integration connection set on this ACD domain
|
|
16311
|
+
* The request body is optional. If omitted, this endpoint will just test the connection of the Custom SMTP Server used by the ACD domain. If the body is specified, there will be an attempt to send an email message to the server.
|
|
16269
16312
|
* @param {String} domainId domain ID
|
|
16270
16313
|
* @param {Object} opts Optional parameters
|
|
16271
16314
|
* @param {Object} opts.body TestMessage
|
|
@@ -16512,7 +16555,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16512
16555
|
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(){/**
|
|
16513
16556
|
* SCIM service.
|
|
16514
16557
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
16515
|
-
* @version
|
|
16558
|
+
* @version 230.0.0
|
|
16516
16559
|
*//**
|
|
16517
16560
|
* Constructs a new SCIMApi.
|
|
16518
16561
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -16737,7 +16780,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16737
16780
|
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(){/**
|
|
16738
16781
|
* ScreenRecording service.
|
|
16739
16782
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
16740
|
-
* @version
|
|
16783
|
+
* @version 230.0.0
|
|
16741
16784
|
*//**
|
|
16742
16785
|
* Constructs a new ScreenRecordingApi.
|
|
16743
16786
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -16752,7 +16795,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16752
16795
|
*/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(){/**
|
|
16753
16796
|
* Scripts service.
|
|
16754
16797
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
16755
|
-
* @version
|
|
16798
|
+
* @version 230.0.0
|
|
16756
16799
|
*//**
|
|
16757
16800
|
* Constructs a new ScriptsApi.
|
|
16758
16801
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -16898,7 +16941,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
16898
16941
|
*/},{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(){/**
|
|
16899
16942
|
* Search service.
|
|
16900
16943
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
16901
|
-
* @version
|
|
16944
|
+
* @version 230.0.0
|
|
16902
16945
|
*//**
|
|
16903
16946
|
* Constructs a new SearchApi.
|
|
16904
16947
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17065,7 +17108,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17065
17108
|
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(){/**
|
|
17066
17109
|
* Settings service.
|
|
17067
17110
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17068
|
-
* @version
|
|
17111
|
+
* @version 230.0.0
|
|
17069
17112
|
*//**
|
|
17070
17113
|
* Constructs a new SettingsApi.
|
|
17071
17114
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17137,7 +17180,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17137
17180
|
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(){/**
|
|
17138
17181
|
* SocialMedia service.
|
|
17139
17182
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17140
|
-
* @version
|
|
17183
|
+
* @version 230.0.0
|
|
17141
17184
|
*//**
|
|
17142
17185
|
* Constructs a new SocialMediaApi.
|
|
17143
17186
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -17485,7 +17528,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17485
17528
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
17486
17529
|
* SpeechTextAnalytics service.
|
|
17487
17530
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
17488
|
-
* @version
|
|
17531
|
+
* @version 230.0.0
|
|
17489
17532
|
*//**
|
|
17490
17533
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
17491
17534
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -17854,7 +17897,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
17854
17897
|
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(){/**
|
|
17855
17898
|
* Stations service.
|
|
17856
17899
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
17857
|
-
* @version
|
|
17900
|
+
* @version 230.0.0
|
|
17858
17901
|
*//**
|
|
17859
17902
|
* Constructs a new StationsApi.
|
|
17860
17903
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -17886,7 +17929,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
17886
17929
|
*/},{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(){/**
|
|
17887
17930
|
* Suggest service.
|
|
17888
17931
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
17889
|
-
* @version
|
|
17932
|
+
* @version 230.0.0
|
|
17890
17933
|
*//**
|
|
17891
17934
|
* Constructs a new SuggestApi.
|
|
17892
17935
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -17926,7 +17969,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17926
17969
|
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(){/**
|
|
17927
17970
|
* TaskManagement service.
|
|
17928
17971
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
17929
|
-
* @version
|
|
17972
|
+
* @version 230.0.0
|
|
17930
17973
|
*//**
|
|
17931
17974
|
* Constructs a new TaskManagementApi.
|
|
17932
17975
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -18434,7 +18477,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
18434
18477
|
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(){/**
|
|
18435
18478
|
* Teams service.
|
|
18436
18479
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
18437
|
-
* @version
|
|
18480
|
+
* @version 230.0.0
|
|
18438
18481
|
*//**
|
|
18439
18482
|
* Constructs a new TeamsApi.
|
|
18440
18483
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -18514,7 +18557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18514
18557
|
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(){/**
|
|
18515
18558
|
* Telephony service.
|
|
18516
18559
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
18517
|
-
* @version
|
|
18560
|
+
* @version 230.0.0
|
|
18518
18561
|
*//**
|
|
18519
18562
|
* Constructs a new TelephonyApi.
|
|
18520
18563
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -18585,7 +18628,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18585
18628
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
18586
18629
|
* TelephonyProvidersEdge service.
|
|
18587
18630
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
18588
|
-
* @version
|
|
18631
|
+
* @version 230.0.0
|
|
18589
18632
|
*//**
|
|
18590
18633
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
18591
18634
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -19433,7 +19476,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
19433
19476
|
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(){/**
|
|
19434
19477
|
* Textbots service.
|
|
19435
19478
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
19436
|
-
* @version
|
|
19479
|
+
* @version 230.0.0
|
|
19437
19480
|
*//**
|
|
19438
19481
|
* Constructs a new TextbotsApi.
|
|
19439
19482
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -19469,7 +19512,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
19469
19512
|
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(){/**
|
|
19470
19513
|
* Tokens service.
|
|
19471
19514
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
19472
|
-
* @version
|
|
19515
|
+
* @version 230.0.0
|
|
19473
19516
|
*//**
|
|
19474
19517
|
* Constructs a new TokensApi.
|
|
19475
19518
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -19503,7 +19546,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
19503
19546
|
*/},{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(){/**
|
|
19504
19547
|
* Uploads service.
|
|
19505
19548
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
19506
|
-
* @version
|
|
19549
|
+
* @version 230.0.0
|
|
19507
19550
|
*//**
|
|
19508
19551
|
* Constructs a new UploadsApi.
|
|
19509
19552
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -19571,7 +19614,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19571
19614
|
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(){/**
|
|
19572
19615
|
* Usage service.
|
|
19573
19616
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
19574
|
-
* @version
|
|
19617
|
+
* @version 230.0.0
|
|
19575
19618
|
*//**
|
|
19576
19619
|
* Constructs a new UsageApi.
|
|
19577
19620
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -19655,7 +19698,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19655
19698
|
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(){/**
|
|
19656
19699
|
* UserRecordings service.
|
|
19657
19700
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
19658
|
-
* @version
|
|
19701
|
+
* @version 230.0.0
|
|
19659
19702
|
*//**
|
|
19660
19703
|
* Constructs a new UserRecordingsApi.
|
|
19661
19704
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -19712,7 +19755,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
19712
19755
|
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(){/**
|
|
19713
19756
|
* Users service.
|
|
19714
19757
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
19715
|
-
* @version
|
|
19758
|
+
* @version 230.0.0
|
|
19716
19759
|
*//**
|
|
19717
19760
|
* Constructs a new UsersApi.
|
|
19718
19761
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -20456,7 +20499,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
20456
20499
|
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(){/**
|
|
20457
20500
|
* Utilities service.
|
|
20458
20501
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
20459
|
-
* @version
|
|
20502
|
+
* @version 230.0.0
|
|
20460
20503
|
*//**
|
|
20461
20504
|
* Constructs a new UtilitiesApi.
|
|
20462
20505
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -20483,7 +20526,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20483
20526
|
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(){/**
|
|
20484
20527
|
* Voicemail service.
|
|
20485
20528
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
20486
|
-
* @version
|
|
20529
|
+
* @version 230.0.0
|
|
20487
20530
|
*//**
|
|
20488
20531
|
* Constructs a new VoicemailApi.
|
|
20489
20532
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -20645,7 +20688,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20645
20688
|
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(){/**
|
|
20646
20689
|
* WebChat service.
|
|
20647
20690
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
20648
|
-
* @version
|
|
20691
|
+
* @version 230.0.0
|
|
20649
20692
|
*//**
|
|
20650
20693
|
* Constructs a new WebChatApi.
|
|
20651
20694
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -20789,7 +20832,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20789
20832
|
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(){/**
|
|
20790
20833
|
* WebDeployments service.
|
|
20791
20834
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
20792
|
-
* @version
|
|
20835
|
+
* @version 230.0.0
|
|
20793
20836
|
*//**
|
|
20794
20837
|
* Constructs a new WebDeploymentsApi.
|
|
20795
20838
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -20922,7 +20965,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20922
20965
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
20923
20966
|
* WebMessaging service.
|
|
20924
20967
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
20925
|
-
* @version
|
|
20968
|
+
* @version 230.0.0
|
|
20926
20969
|
*//**
|
|
20927
20970
|
* Constructs a new WebMessagingApi.
|
|
20928
20971
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -20930,15 +20973,40 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20930
20973
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
20931
20974
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
20932
20975
|
*/function WebMessagingApi(apiClient){_classCallCheck(this,WebMessagingApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
20976
|
+
* Delete device information
|
|
20977
|
+
*
|
|
20978
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
20979
|
+
* @param {String} tokenId Device token id or cookie id
|
|
20980
|
+
*/return _createClass(WebMessagingApi,[{key:"deleteWebmessagingDeploymentPushdevice",value:function deleteWebmessagingDeploymentPushdevice(deploymentId,tokenId){// verify the required parameter 'deploymentId' is set
|
|
20981
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling deleteWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
20982
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling deleteWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','DELETE',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20933
20983
|
* Get the messages for a web messaging session.
|
|
20934
20984
|
*
|
|
20935
20985
|
* @param {Object} opts Optional parameters
|
|
20936
20986
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
20937
20987
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20938
|
-
*/
|
|
20988
|
+
*/},{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']);}/**
|
|
20989
|
+
* Edit device information
|
|
20990
|
+
*
|
|
20991
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
20992
|
+
* @param {String} tokenId Device token id or cookie id
|
|
20993
|
+
* @param {Object} body Request body
|
|
20994
|
+
*/},{key:"patchWebmessagingDeploymentPushdevice",value:function patchWebmessagingDeploymentPushdevice(deploymentId,tokenId,body){// verify the required parameter 'deploymentId' is set
|
|
20995
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling patchWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
20996
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling patchWebmessagingDeploymentPushdevice';}// verify the required parameter 'body' is set
|
|
20997
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','PATCH',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20998
|
+
* Add a new device information
|
|
20999
|
+
*
|
|
21000
|
+
* @param {String} deploymentId WebMessaging deployment id
|
|
21001
|
+
* @param {String} tokenId Device token id or cookie id
|
|
21002
|
+
* @param {Object} body Request body
|
|
21003
|
+
*/},{key:"postWebmessagingDeploymentPushdevice",value:function postWebmessagingDeploymentPushdevice(deploymentId,tokenId,body){// verify the required parameter 'deploymentId' is set
|
|
21004
|
+
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling postWebmessagingDeploymentPushdevice';}// verify the required parameter 'tokenId' is set
|
|
21005
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling postWebmessagingDeploymentPushdevice';}// verify the required parameter 'body' is set
|
|
21006
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
20939
21007
|
* Widgets service.
|
|
20940
21008
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
20941
|
-
* @version
|
|
21009
|
+
* @version 230.0.0
|
|
20942
21010
|
*//**
|
|
20943
21011
|
* Constructs a new WidgetsApi.
|
|
20944
21012
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -20978,7 +21046,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
20978
21046
|
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(){/**
|
|
20979
21047
|
* WorkforceManagement service.
|
|
20980
21048
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
20981
|
-
* @version
|
|
21049
|
+
* @version 230.0.0
|
|
20982
21050
|
*//**
|
|
20983
21051
|
* Constructs a new WorkforceManagementApi.
|
|
20984
21052
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -22930,7 +22998,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22930
22998
|
* </pre>
|
|
22931
22999
|
* </p>
|
|
22932
23000
|
* @module purecloud-platform-client-v2/index
|
|
22933
|
-
* @version
|
|
23001
|
+
* @version 230.0.0
|
|
22934
23002
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
22935
23003
|
* The ApiClient constructor.
|
|
22936
23004
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|