purecloud-platform-client-v2 194.0.0 → 195.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +589 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +589 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +205 -96
- package/dist/web-cjs/purecloud-platform-client-v2.js +205 -96
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +401 -299
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -32
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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/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 +3 -2
- 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 +174 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -7
- 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/SpeechTextAnalyticsApi.js +165 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -855,7 +855,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
855
855
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
856
856
|
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:"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];}}}]);}();/**
|
|
857
857
|
* @module purecloud-platform-client-v2/ApiClient
|
|
858
|
-
* @version
|
|
858
|
+
* @version 195.0.0
|
|
859
859
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
860
860
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
861
861
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1084,7 +1084,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
1084
1084
|
* Returns a string representation for an actual parameter.
|
|
1085
1085
|
* @param param The actual parameter.
|
|
1086
1086
|
* @returns {String} The string representation of <code>param</code>.
|
|
1087
|
-
*/},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}return param.toString();}/**
|
|
1087
|
+
*/},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
|
|
1088
1088
|
* Returns query parameters serialized in the format needed for an axios request.
|
|
1089
1089
|
* @param param The unserialized query parameters.
|
|
1090
1090
|
* @returns {Object} The serialized representation the query parameters.
|
|
@@ -1167,7 +1167,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1167
1167
|
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 AlertingApi=/*#__PURE__*/function(){/**
|
|
1168
1168
|
* Alerting service.
|
|
1169
1169
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1170
|
-
* @version
|
|
1170
|
+
* @version 195.0.0
|
|
1171
1171
|
*/ /**
|
|
1172
1172
|
* Constructs a new AlertingApi.
|
|
1173
1173
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1324,7 +1324,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1324
1324
|
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(){/**
|
|
1325
1325
|
* Analytics service.
|
|
1326
1326
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1327
|
-
* @version
|
|
1327
|
+
* @version 195.0.0
|
|
1328
1328
|
*/ /**
|
|
1329
1329
|
* Constructs a new AnalyticsApi.
|
|
1330
1330
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1356,6 +1356,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1356
1356
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1357
1357
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1358
1358
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1359
|
+
* Get status for async query for agent copilot aggregates
|
|
1360
|
+
*
|
|
1361
|
+
* @param {String} jobId jobId
|
|
1362
|
+
* getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1363
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
1364
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1365
|
+
* Fetch a page of results for an async aggregates query
|
|
1366
|
+
*
|
|
1367
|
+
* @param {String} jobId jobId
|
|
1368
|
+
* @param {Object} opts Optional parameters
|
|
1369
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
1370
|
+
* getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1371
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1372
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1359
1373
|
* Get Reporting Turns (division aware).
|
|
1360
1374
|
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1361
1375
|
* @param {String} botFlowId ID of the bot flow.
|
|
@@ -1547,6 +1561,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
1547
1561
|
* Get AnalyticsReportingSettings for an organization
|
|
1548
1562
|
*
|
|
1549
1563
|
*/},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1564
|
+
* Get list of dashboard configurations
|
|
1565
|
+
*
|
|
1566
|
+
* @param {Object} dashboardType List dashboard of given type
|
|
1567
|
+
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
1568
|
+
* @param {Object} opts Optional parameters
|
|
1569
|
+
* @param {String} opts.sortBy (default to desc)
|
|
1570
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
1571
|
+
* @param {Number} opts.pageSize (default to 9)
|
|
1572
|
+
*/},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
|
|
1573
|
+
if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
|
|
1574
|
+
if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'dashboardType':dashboardType,'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1550
1575
|
* Get list of dashboards for an user
|
|
1551
1576
|
*
|
|
1552
1577
|
* @param {String} userId User ID
|
|
@@ -1661,6 +1686,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1661
1686
|
* @param {Object} body query
|
|
1662
1687
|
*/},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1663
1688
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1689
|
+
* Query for agent copilot aggregates asynchronously
|
|
1690
|
+
*
|
|
1691
|
+
* @param {Object} body query
|
|
1692
|
+
* postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1693
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
1694
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1695
|
+
* Query for agent copilot aggregates
|
|
1696
|
+
*
|
|
1697
|
+
* @param {Object} body query
|
|
1698
|
+
* postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1699
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1700
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1664
1701
|
* Query for bot aggregates asynchronously
|
|
1665
1702
|
*
|
|
1666
1703
|
* @param {Object} body query
|
|
@@ -1786,8 +1823,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1786
1823
|
* @param {Object} body query
|
|
1787
1824
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
1788
1825
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1789
|
-
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
1790
|
-
*
|
|
1826
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
|
|
1827
|
+
* The max property can be used to determine estimated rate limit value hit.
|
|
1791
1828
|
* @param {Object} body query
|
|
1792
1829
|
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1793
1830
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -1908,7 +1945,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1908
1945
|
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(){/**
|
|
1909
1946
|
* Architect service.
|
|
1910
1947
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1911
|
-
* @version
|
|
1948
|
+
* @version 195.0.0
|
|
1912
1949
|
*/ /**
|
|
1913
1950
|
* Constructs a new ArchitectApi.
|
|
1914
1951
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3024,7 +3061,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3024
3061
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3025
3062
|
* Audit service.
|
|
3026
3063
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3027
|
-
* @version
|
|
3064
|
+
* @version 195.0.0
|
|
3028
3065
|
*/ /**
|
|
3029
3066
|
* Constructs a new AuditApi.
|
|
3030
3067
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3073,7 +3110,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3073
3110
|
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(){/**
|
|
3074
3111
|
* Authorization service.
|
|
3075
3112
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3076
|
-
* @version
|
|
3113
|
+
* @version 195.0.0
|
|
3077
3114
|
*/ /**
|
|
3078
3115
|
* Constructs a new AuthorizationApi.
|
|
3079
3116
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3388,7 +3425,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3388
3425
|
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(){/**
|
|
3389
3426
|
* Billing service.
|
|
3390
3427
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3391
|
-
* @version
|
|
3428
|
+
* @version 195.0.0
|
|
3392
3429
|
*/ /**
|
|
3393
3430
|
* Constructs a new BillingApi.
|
|
3394
3431
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3412,7 +3449,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3412
3449
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3413
3450
|
* CarrierServices service.
|
|
3414
3451
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3415
|
-
* @version
|
|
3452
|
+
* @version 195.0.0
|
|
3416
3453
|
*/ /**
|
|
3417
3454
|
* Constructs a new CarrierServicesApi.
|
|
3418
3455
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3432,7 +3469,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3432
3469
|
*/},{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(){/**
|
|
3433
3470
|
* Chat service.
|
|
3434
3471
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3435
|
-
* @version
|
|
3472
|
+
* @version 195.0.0
|
|
3436
3473
|
*/ /**
|
|
3437
3474
|
* Constructs a new ChatApi.
|
|
3438
3475
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3657,7 +3694,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3657
3694
|
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(){/**
|
|
3658
3695
|
* Coaching service.
|
|
3659
3696
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3660
|
-
* @version
|
|
3697
|
+
* @version 195.0.0
|
|
3661
3698
|
*/ /**
|
|
3662
3699
|
* Constructs a new CoachingApi.
|
|
3663
3700
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3810,7 +3847,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3810
3847
|
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(){/**
|
|
3811
3848
|
* ContentManagement service.
|
|
3812
3849
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3813
|
-
* @version
|
|
3850
|
+
* @version 195.0.0
|
|
3814
3851
|
*/ /**
|
|
3815
3852
|
* Constructs a new ContentManagementApi.
|
|
3816
3853
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4093,7 +4130,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4093
4130
|
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(){/**
|
|
4094
4131
|
* Conversations service.
|
|
4095
4132
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4096
|
-
* @version
|
|
4133
|
+
* @version 195.0.0
|
|
4097
4134
|
*/ /**
|
|
4098
4135
|
* Constructs a new ConversationsApi.
|
|
4099
4136
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4662,15 +4699,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
|
|
|
4662
4699
|
* Get the organization's default settings that will be used as the default when creating an integration.
|
|
4663
4700
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
4664
4701
|
*/},{key:"getConversationsMessagingSettingsDefault",value:function getConversationsMessagingSettingsDefault(){return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4665
|
-
* Get a list of Messaging Stickers (Deprecated)
|
|
4666
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
4667
|
-
* @param {Object} messengerType Messenger Type
|
|
4668
|
-
* @param {Object} opts Optional parameters
|
|
4669
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
4670
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
4671
|
-
* @deprecated
|
|
4672
|
-
*/},{key:"getConversationsMessagingSticker",value:function getConversationsMessagingSticker(messengerType,opts){opts=opts||{};// verify the required parameter 'messengerType' is set
|
|
4673
|
-
if(messengerType===undefined||messengerType===null){throw'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';}return this.apiClient.callApi('/api/v2/conversations/messaging/stickers/{messengerType}','GET',{'messengerType':messengerType},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4674
4702
|
* Get a list of Supported Content profiles
|
|
4675
4703
|
*
|
|
4676
4704
|
* @param {Object} opts Optional parameters
|
|
@@ -5445,6 +5473,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
5445
5473
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
5446
5474
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
|
|
5447
5475
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5476
|
+
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
5477
|
+
*
|
|
5478
|
+
* @param {String} conversationId conversationId
|
|
5479
|
+
*/},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
|
|
5480
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/reconnect','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5448
5481
|
* Create an email conversation
|
|
5449
5482
|
* If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
|
|
5450
5483
|
* @param {Object} body Create email request
|
|
@@ -5777,7 +5810,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5777
5810
|
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(){/**
|
|
5778
5811
|
* DataExtensions service.
|
|
5779
5812
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5780
|
-
* @version
|
|
5813
|
+
* @version 195.0.0
|
|
5781
5814
|
*/ /**
|
|
5782
5815
|
* Constructs a new DataExtensionsApi.
|
|
5783
5816
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5798,7 +5831,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5798
5831
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
5799
5832
|
* Downloads service.
|
|
5800
5833
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5801
|
-
* @version
|
|
5834
|
+
* @version 195.0.0
|
|
5802
5835
|
*/ /**
|
|
5803
5836
|
* Constructs a new DownloadsApi.
|
|
5804
5837
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5817,7 +5850,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5817
5850
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
5818
5851
|
* Emails service.
|
|
5819
5852
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5820
|
-
* @version
|
|
5853
|
+
* @version 195.0.0
|
|
5821
5854
|
*/ /**
|
|
5822
5855
|
* Constructs a new EmailsApi.
|
|
5823
5856
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5835,7 +5868,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5835
5868
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
5836
5869
|
* Events service.
|
|
5837
5870
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5838
|
-
* @version
|
|
5871
|
+
* @version 195.0.0
|
|
5839
5872
|
*/ /**
|
|
5840
5873
|
* Constructs a new EventsApi.
|
|
5841
5874
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5860,7 +5893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5860
5893
|
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(){/**
|
|
5861
5894
|
* ExternalContacts service.
|
|
5862
5895
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5863
|
-
* @version
|
|
5896
|
+
* @version 195.0.0
|
|
5864
5897
|
*/ /**
|
|
5865
5898
|
* Constructs a new ExternalContactsApi.
|
|
5866
5899
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6315,7 +6348,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6315
6348
|
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(){/**
|
|
6316
6349
|
* Fax service.
|
|
6317
6350
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6318
|
-
* @version
|
|
6351
|
+
* @version 195.0.0
|
|
6319
6352
|
*/ /**
|
|
6320
6353
|
* Constructs a new FaxApi.
|
|
6321
6354
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6364,7 +6397,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6364
6397
|
*/},{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(){/**
|
|
6365
6398
|
* Flows service.
|
|
6366
6399
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6367
|
-
* @version
|
|
6400
|
+
* @version 195.0.0
|
|
6368
6401
|
*/ /**
|
|
6369
6402
|
* Constructs a new FlowsApi.
|
|
6370
6403
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6412,7 +6445,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6412
6445
|
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(){/**
|
|
6413
6446
|
* Gamification service.
|
|
6414
6447
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6415
|
-
* @version
|
|
6448
|
+
* @version 195.0.0
|
|
6416
6449
|
*/ /**
|
|
6417
6450
|
* Constructs a new GamificationApi.
|
|
6418
6451
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -6952,7 +6985,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6952
6985
|
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(){/**
|
|
6953
6986
|
* GeneralDataProtectionRegulation service.
|
|
6954
6987
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
6955
|
-
* @version
|
|
6988
|
+
* @version 195.0.0
|
|
6956
6989
|
*/ /**
|
|
6957
6990
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
6958
6991
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -6987,7 +7020,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
6987
7020
|
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(){/**
|
|
6988
7021
|
* Geolocation service.
|
|
6989
7022
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
6990
|
-
* @version
|
|
7023
|
+
* @version 195.0.0
|
|
6991
7024
|
*/ /**
|
|
6992
7025
|
* Constructs a new GeolocationApi.
|
|
6993
7026
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7021,7 +7054,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7021
7054
|
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(){/**
|
|
7022
7055
|
* Greetings service.
|
|
7023
7056
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7024
|
-
* @version
|
|
7057
|
+
* @version 195.0.0
|
|
7025
7058
|
*/ /**
|
|
7026
7059
|
* Constructs a new GreetingsApi.
|
|
7027
7060
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7128,7 +7161,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7128
7161
|
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(){/**
|
|
7129
7162
|
* Groups service.
|
|
7130
7163
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7131
|
-
* @version
|
|
7164
|
+
* @version 195.0.0
|
|
7132
7165
|
*/ /**
|
|
7133
7166
|
* Constructs a new GroupsApi.
|
|
7134
7167
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7261,7 +7294,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7261
7294
|
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(){/**
|
|
7262
7295
|
* IdentityProvider service.
|
|
7263
7296
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7264
|
-
* @version
|
|
7297
|
+
* @version 195.0.0
|
|
7265
7298
|
*/ /**
|
|
7266
7299
|
* Constructs a new IdentityProviderApi.
|
|
7267
7300
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7417,7 +7450,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7417
7450
|
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(){/**
|
|
7418
7451
|
* InfrastructureAsCode service.
|
|
7419
7452
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7420
|
-
* @version
|
|
7453
|
+
* @version 195.0.0
|
|
7421
7454
|
*/ /**
|
|
7422
7455
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7423
7456
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7471,7 +7504,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7471
7504
|
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(){/**
|
|
7472
7505
|
* Integrations service.
|
|
7473
7506
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7474
|
-
* @version
|
|
7507
|
+
* @version 195.0.0
|
|
7475
7508
|
*/ /**
|
|
7476
7509
|
* Constructs a new IntegrationsApi.
|
|
7477
7510
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8082,7 +8115,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8082
8115
|
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(){/**
|
|
8083
8116
|
* Journey service.
|
|
8084
8117
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8085
|
-
* @version
|
|
8118
|
+
* @version 195.0.0
|
|
8086
8119
|
*/ /**
|
|
8087
8120
|
* Constructs a new JourneyApi.
|
|
8088
8121
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8470,7 +8503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8470
8503
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8471
8504
|
* Knowledge service.
|
|
8472
8505
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8473
|
-
* @version
|
|
8506
|
+
* @version 195.0.0
|
|
8474
8507
|
*/ /**
|
|
8475
8508
|
* Constructs a new KnowledgeApi.
|
|
8476
8509
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8883,9 +8916,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
8883
8916
|
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
8884
8917
|
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
8885
8918
|
* @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
8919
|
+
* @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
|
|
8886
8920
|
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8887
8921
|
*/},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8888
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8922
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval'],'sourceId':this.apiClient.buildCollectionParam(opts['sourceId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8889
8923
|
* Get ids of operation creator users and oauth clients
|
|
8890
8924
|
*
|
|
8891
8925
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9382,7 +9416,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9382
9416
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9383
9417
|
* LanguageUnderstanding service.
|
|
9384
9418
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9385
|
-
* @version
|
|
9419
|
+
* @version 195.0.0
|
|
9386
9420
|
*/ /**
|
|
9387
9421
|
* Constructs a new LanguageUnderstandingApi.
|
|
9388
9422
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9642,7 +9676,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9642
9676
|
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(){/**
|
|
9643
9677
|
* Languages service.
|
|
9644
9678
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9645
|
-
* @version
|
|
9679
|
+
* @version 195.0.0
|
|
9646
9680
|
*/ /**
|
|
9647
9681
|
* Constructs a new LanguagesApi.
|
|
9648
9682
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9697,7 +9731,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9697
9731
|
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(){/**
|
|
9698
9732
|
* Learning service.
|
|
9699
9733
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9700
|
-
* @version
|
|
9734
|
+
* @version 195.0.0
|
|
9701
9735
|
*/ /**
|
|
9702
9736
|
* Constructs a new LearningApi.
|
|
9703
9737
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9722,6 +9756,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9722
9756
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9723
9757
|
*/},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9724
9758
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}','GET',{'assignmentId':assignmentId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9759
|
+
* Get Learning Assignment Step
|
|
9760
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
9761
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
9762
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
9763
|
+
* @param {Object} opts Optional parameters
|
|
9764
|
+
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
9765
|
+
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9766
|
+
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9767
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
9768
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9725
9769
|
* List of Learning module Assignments
|
|
9726
9770
|
* Either moduleId or user value is required
|
|
9727
9771
|
* @param {Object} opts Optional parameters
|
|
@@ -9773,6 +9817,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9773
9817
|
*/},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
|
|
9774
9818
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
|
|
9775
9819
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getLearningModuleJob';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/jobs/{jobId}','GET',{'moduleId':moduleId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9820
|
+
* Get a learning module preview
|
|
9821
|
+
*
|
|
9822
|
+
* @param {String} moduleId The ID of the learning module
|
|
9823
|
+
*/},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
|
|
9824
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','GET',{'moduleId':moduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9776
9825
|
* Get a learning module rule
|
|
9777
9826
|
*
|
|
9778
9827
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9819,6 +9868,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
|
|
|
9819
9868
|
* @param {String} coverArtId Key identifier for the cover art
|
|
9820
9869
|
*/},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
|
|
9821
9870
|
if(coverArtId===undefined||coverArtId===null){throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';}return this.apiClient.callApi('/api/v2/learning/modules/coverart/{coverArtId}','GET',{'coverArtId':coverArtId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9871
|
+
* Get Learning SCORM Result
|
|
9872
|
+
*
|
|
9873
|
+
* @param {String} scormId The ID of the SCORM package
|
|
9874
|
+
*/},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
|
|
9875
|
+
if(scormId===undefined||scormId===null){throw'Missing the required parameter "scormId" when calling getLearningScormScormId';}return this.apiClient.callApi('/api/v2/learning/scorm/{scormId}','GET',{'scormId':scormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9822
9876
|
* Update Learning Assignment
|
|
9823
9877
|
*
|
|
9824
9878
|
* @param {String} assignmentId The ID of Learning Assignment
|
|
@@ -9833,6 +9887,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
9833
9887
|
* @param {Object} opts.body The Learning assignment reschedule model
|
|
9834
9888
|
*/},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9835
9889
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/reschedule','PATCH',{'assignmentId':assignmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9890
|
+
* Update Learning Assignment Step
|
|
9891
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
9892
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
9893
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
9894
|
+
* @param {Object} opts Optional parameters
|
|
9895
|
+
* @param {Object} opts.body The Learning Assignment Step to be updated
|
|
9896
|
+
*/},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9897
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
9898
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','PATCH',{'assignmentId':assignmentId,'stepId':stepId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9836
9899
|
* Update an external assignment for a specific user
|
|
9837
9900
|
*
|
|
9838
9901
|
* @param {String} moduleId Key identifier for the module
|
|
@@ -9910,6 +9973,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9910
9973
|
* @param {Object} body The slot search request
|
|
9911
9974
|
*/},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
|
|
9912
9975
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9976
|
+
* Create a SCORM package upload request
|
|
9977
|
+
*
|
|
9978
|
+
* @param {Object} opts Optional parameters
|
|
9979
|
+
* @param {Object} opts.body The SCORM package to be uploaded
|
|
9980
|
+
*/},{key:"postLearningScorm",value:function postLearningScorm(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/scorm','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9913
9981
|
* Update a learning module
|
|
9914
9982
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
9915
9983
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9917,6 +9985,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9917
9985
|
*/},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
9918
9986
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
|
|
9919
9987
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9988
|
+
* Update a learning module preview
|
|
9989
|
+
* This will update a learning module preview
|
|
9990
|
+
* @param {String} moduleId The ID of the learning module
|
|
9991
|
+
* @param {Object} body The learning module to be updated
|
|
9992
|
+
*/},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
9993
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
|
|
9994
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9920
9995
|
* Update a learning module rule
|
|
9921
9996
|
* This will update a learning module rule with the specified fields.
|
|
9922
9997
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9926,7 +10001,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9926
10001
|
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(){/**
|
|
9927
10002
|
* License service.
|
|
9928
10003
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9929
|
-
* @version
|
|
10004
|
+
* @version 195.0.0
|
|
9930
10005
|
*/ /**
|
|
9931
10006
|
* Constructs a new LicenseApi.
|
|
9932
10007
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -9980,7 +10055,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
9980
10055
|
*/},{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(){/**
|
|
9981
10056
|
* Locations service.
|
|
9982
10057
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
9983
|
-
* @version
|
|
10058
|
+
* @version 195.0.0
|
|
9984
10059
|
*/ /**
|
|
9985
10060
|
* Constructs a new LocationsApi.
|
|
9986
10061
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10039,7 +10114,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10039
10114
|
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(){/**
|
|
10040
10115
|
* LogCapture service.
|
|
10041
10116
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10042
|
-
* @version
|
|
10117
|
+
* @version 195.0.0
|
|
10043
10118
|
*/ /**
|
|
10044
10119
|
* Constructs a new LogCaptureApi.
|
|
10045
10120
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10089,7 +10164,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10089
10164
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10090
10165
|
* Messaging service.
|
|
10091
10166
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10092
|
-
* @version
|
|
10167
|
+
* @version 195.0.0
|
|
10093
10168
|
*/ /**
|
|
10094
10169
|
* Constructs a new MessagingApi.
|
|
10095
10170
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10179,7 +10254,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10179
10254
|
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(){/**
|
|
10180
10255
|
* MobileDevices service.
|
|
10181
10256
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10182
|
-
* @version
|
|
10257
|
+
* @version 195.0.0
|
|
10183
10258
|
*/ /**
|
|
10184
10259
|
* Constructs a new MobileDevicesApi.
|
|
10185
10260
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10218,7 +10293,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10218
10293
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
10219
10294
|
* Notifications service.
|
|
10220
10295
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10221
|
-
* @version
|
|
10296
|
+
* @version 195.0.0
|
|
10222
10297
|
*/ /**
|
|
10223
10298
|
* Constructs a new NotificationsApi.
|
|
10224
10299
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10275,7 +10350,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10275
10350
|
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(){/**
|
|
10276
10351
|
* OAuth service.
|
|
10277
10352
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10278
|
-
* @version
|
|
10353
|
+
* @version 195.0.0
|
|
10279
10354
|
*/ /**
|
|
10280
10355
|
* Constructs a new OAuthApi.
|
|
10281
10356
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10360,7 +10435,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10360
10435
|
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(){/**
|
|
10361
10436
|
* Objects service.
|
|
10362
10437
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10363
|
-
* @version
|
|
10438
|
+
* @version 195.0.0
|
|
10364
10439
|
*/ /**
|
|
10365
10440
|
* Constructs a new ObjectsApi.
|
|
10366
10441
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10431,7 +10506,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10431
10506
|
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(){/**
|
|
10432
10507
|
* OperationalEvents service.
|
|
10433
10508
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10434
|
-
* @version
|
|
10509
|
+
* @version 195.0.0
|
|
10435
10510
|
*/ /**
|
|
10436
10511
|
* Constructs a new OperationalEventsApi.
|
|
10437
10512
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10449,7 +10524,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10449
10524
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
10450
10525
|
* Organization service.
|
|
10451
10526
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10452
|
-
* @version
|
|
10527
|
+
* @version 195.0.0
|
|
10453
10528
|
*/ /**
|
|
10454
10529
|
* Constructs a new OrganizationApi.
|
|
10455
10530
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10554,7 +10629,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10554
10629
|
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(){/**
|
|
10555
10630
|
* OrganizationAuthorization service.
|
|
10556
10631
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10557
|
-
* @version
|
|
10632
|
+
* @version 195.0.0
|
|
10558
10633
|
*/ /**
|
|
10559
10634
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10560
10635
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10877,7 +10952,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10877
10952
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
10878
10953
|
* Outbound service.
|
|
10879
10954
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10880
|
-
* @version
|
|
10955
|
+
* @version 195.0.0
|
|
10881
10956
|
*/ /**
|
|
10882
10957
|
* Constructs a new OutboundApi.
|
|
10883
10958
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11949,7 +12024,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11949
12024
|
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(){/**
|
|
11950
12025
|
* Presence service.
|
|
11951
12026
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11952
|
-
* @version
|
|
12027
|
+
* @version 195.0.0
|
|
11953
12028
|
*/ /**
|
|
11954
12029
|
* Constructs a new PresenceApi.
|
|
11955
12030
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12122,7 +12197,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12122
12197
|
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(){/**
|
|
12123
12198
|
* ProcessAutomation service.
|
|
12124
12199
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12125
|
-
* @version
|
|
12200
|
+
* @version 195.0.0
|
|
12126
12201
|
*/ /**
|
|
12127
12202
|
* Constructs a new ProcessAutomationApi.
|
|
12128
12203
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12185,7 +12260,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12185
12260
|
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(){/**
|
|
12186
12261
|
* Quality service.
|
|
12187
12262
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12188
|
-
* @version
|
|
12263
|
+
* @version 195.0.0
|
|
12189
12264
|
*/ /**
|
|
12190
12265
|
* Constructs a new QualityApi.
|
|
12191
12266
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12656,7 +12731,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12656
12731
|
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(){/**
|
|
12657
12732
|
* Recording service.
|
|
12658
12733
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12659
|
-
* @version
|
|
12734
|
+
* @version 195.0.0
|
|
12660
12735
|
*/ /**
|
|
12661
12736
|
* Constructs a new RecordingApi.
|
|
12662
12737
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13067,7 +13142,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13067
13142
|
*/},{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(){/**
|
|
13068
13143
|
* ResponseManagement service.
|
|
13069
13144
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13070
|
-
* @version
|
|
13145
|
+
* @version 195.0.0
|
|
13071
13146
|
*/ /**
|
|
13072
13147
|
* Constructs a new ResponseManagementApi.
|
|
13073
13148
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13188,7 +13263,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13188
13263
|
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(){/**
|
|
13189
13264
|
* Routing service.
|
|
13190
13265
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13191
|
-
* @version
|
|
13266
|
+
* @version 195.0.0
|
|
13192
13267
|
*/ /**
|
|
13193
13268
|
* Constructs a new RoutingApi.
|
|
13194
13269
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13293,7 +13368,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13293
13368
|
* @param {String} labelId Utilization Label ID
|
|
13294
13369
|
* @param {Object} opts Optional parameters
|
|
13295
13370
|
* @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
|
|
13296
|
-
* deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13297
13371
|
*/},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
|
|
13298
13372
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','DELETE',{'labelId':labelId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13299
13373
|
* Delete an utilization tag
|
|
@@ -13683,13 +13757,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13683
13757
|
* Get details about this utilization label
|
|
13684
13758
|
*
|
|
13685
13759
|
* @param {String} labelId Utilization Label ID
|
|
13686
|
-
* getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13687
13760
|
*/},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
|
|
13688
13761
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13689
13762
|
* Get list of agent ids associated with a utilization label
|
|
13690
13763
|
*
|
|
13691
13764
|
* @param {String} labelId Utilization Label ID
|
|
13692
|
-
* getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13693
13765
|
*/},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
|
|
13694
13766
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}/agents','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13695
13767
|
* Get list of utilization labels
|
|
@@ -13699,7 +13771,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
|
|
|
13699
13771
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13700
13772
|
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
13701
13773
|
* @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
|
|
13702
|
-
* getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13703
13774
|
*/},{key:"getRoutingUtilizationLabels",value:function getRoutingUtilizationLabels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/utilization/labels','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13704
13775
|
* Get details about this utilization tag
|
|
13705
13776
|
*
|
|
@@ -14044,7 +14115,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14044
14115
|
* Create a utilization label
|
|
14045
14116
|
*
|
|
14046
14117
|
* @param {Object} body UtilizationLabel
|
|
14047
|
-
* postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14048
14118
|
*/},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
|
|
14049
14119
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';}return this.apiClient.callApi('/api/v2/routing/utilization/labels','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14050
14120
|
* Create an utilization tag
|
|
@@ -14133,7 +14203,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14133
14203
|
*
|
|
14134
14204
|
* @param {String} labelId Utilization Label ID
|
|
14135
14205
|
* @param {Object} body UtilizationLabel
|
|
14136
|
-
* putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14137
14206
|
*/},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
|
|
14138
14207
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
|
|
14139
14208
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','PUT',{'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14162,7 +14231,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14162
14231
|
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(){/**
|
|
14163
14232
|
* SCIM service.
|
|
14164
14233
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14165
|
-
* @version
|
|
14234
|
+
* @version 195.0.0
|
|
14166
14235
|
*/ /**
|
|
14167
14236
|
* Constructs a new SCIMApi.
|
|
14168
14237
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14387,7 +14456,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14387
14456
|
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(){/**
|
|
14388
14457
|
* ScreenRecording service.
|
|
14389
14458
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14390
|
-
* @version
|
|
14459
|
+
* @version 195.0.0
|
|
14391
14460
|
*/ /**
|
|
14392
14461
|
* Constructs a new ScreenRecordingApi.
|
|
14393
14462
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14402,7 +14471,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14402
14471
|
*/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(){/**
|
|
14403
14472
|
* Scripts service.
|
|
14404
14473
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14405
|
-
* @version
|
|
14474
|
+
* @version 195.0.0
|
|
14406
14475
|
*/ /**
|
|
14407
14476
|
* Constructs a new ScriptsApi.
|
|
14408
14477
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14538,7 +14607,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14538
14607
|
*/},{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(){/**
|
|
14539
14608
|
* Search service.
|
|
14540
14609
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14541
|
-
* @version
|
|
14610
|
+
* @version 195.0.0
|
|
14542
14611
|
*/ /**
|
|
14543
14612
|
* Constructs a new SearchApi.
|
|
14544
14613
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14698,7 +14767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14698
14767
|
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(){/**
|
|
14699
14768
|
* Settings service.
|
|
14700
14769
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14701
|
-
* @version
|
|
14770
|
+
* @version 195.0.0
|
|
14702
14771
|
*/ /**
|
|
14703
14772
|
* Constructs a new SettingsApi.
|
|
14704
14773
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14726,7 +14795,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14726
14795
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
14727
14796
|
* SpeechTextAnalytics service.
|
|
14728
14797
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14729
|
-
* @version
|
|
14798
|
+
* @version 195.0.0
|
|
14730
14799
|
*/ /**
|
|
14731
14800
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14732
14801
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14734,10 +14803,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14734
14803
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14735
14804
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14736
14805
|
*/function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14806
|
+
* Delete a Speech and Text Analytics category by ID
|
|
14807
|
+
*
|
|
14808
|
+
* @param {String} categoryId The id of the category
|
|
14809
|
+
*/return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
14810
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','DELETE',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14737
14811
|
* Delete a Speech and Text Analytics DictionaryFeedback by Id
|
|
14738
14812
|
*
|
|
14739
14813
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
14740
|
-
*/
|
|
14814
|
+
*/},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
|
|
14741
14815
|
if(dictionaryFeedbackId===undefined||dictionaryFeedbackId===null){throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}','DELETE',{'dictionaryFeedbackId':dictionaryFeedbackId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14742
14816
|
* Delete a Speech and Text Analytics program by id
|
|
14743
14817
|
*
|
|
@@ -14759,11 +14833,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
|
|
|
14759
14833
|
* @param {String} topicId The id of the topic
|
|
14760
14834
|
*/},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
|
|
14761
14835
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','DELETE',{'topicId':topicId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14836
|
+
* Get the list of Speech and Text Analytics categories
|
|
14837
|
+
*
|
|
14838
|
+
* @param {Object} opts Optional parameters
|
|
14839
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
14840
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
14841
|
+
* @param {String} opts.name The category name filter applied to the listing
|
|
14842
|
+
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
14843
|
+
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
14844
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
14845
|
+
*/},{key:"getSpeechandtextanalyticsCategories",value:function getSpeechandtextanalyticsCategories(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14846
|
+
* Get a Speech and Text Analytics Category by ID
|
|
14847
|
+
*
|
|
14848
|
+
* @param {String} categoryId The id of the category
|
|
14849
|
+
*/},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
14850
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','GET',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14762
14851
|
* Get Speech and Text Analytics for a specific conversation
|
|
14763
14852
|
*
|
|
14764
14853
|
* @param {String} conversationId Conversation Id
|
|
14765
14854
|
*/},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
14766
14855
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14856
|
+
* Get the list of detected Speech and Text Analytics categories of conversation
|
|
14857
|
+
*
|
|
14858
|
+
* @param {String} conversationId The id of the conversation
|
|
14859
|
+
* @param {Object} opts Optional parameters
|
|
14860
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
14861
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
14862
|
+
*/},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
14863
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/categories','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14767
14864
|
* Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
|
|
14768
14865
|
*
|
|
14769
14866
|
* @param {String} conversationId Conversation ID
|
|
@@ -14888,6 +14985,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
14888
14985
|
* @param {Object} body Speech And Text Analytics Settings
|
|
14889
14986
|
*/},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
|
|
14890
14987
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14988
|
+
* Create new Speech and Text Analytics category
|
|
14989
|
+
*
|
|
14990
|
+
* @param {Object} body The category to create
|
|
14991
|
+
*/},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
|
|
14992
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14891
14993
|
* Create a Speech and Text Analytics DictionaryFeedback
|
|
14892
14994
|
*
|
|
14893
14995
|
* @param {Object} body The DictionaryFeedback to create
|
|
@@ -14928,6 +15030,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14928
15030
|
* @param {Object} body Search request options
|
|
14929
15031
|
*/},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
|
|
14930
15032
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/transcripts/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15033
|
+
* Update a Speech and Text Analytics category by ID
|
|
15034
|
+
*
|
|
15035
|
+
* @param {String} categoryId The id of the category
|
|
15036
|
+
* @param {Object} body The updated category
|
|
15037
|
+
*/},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
|
|
15038
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
|
|
15039
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','PUT',{'categoryId':categoryId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14931
15040
|
* Update existing Speech and Text Analytics dictionary feedback by id
|
|
14932
15041
|
*
|
|
14933
15042
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
@@ -14970,7 +15079,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
14970
15079
|
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(){/**
|
|
14971
15080
|
* Stations service.
|
|
14972
15081
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
14973
|
-
* @version
|
|
15082
|
+
* @version 195.0.0
|
|
14974
15083
|
*/ /**
|
|
14975
15084
|
* Constructs a new StationsApi.
|
|
14976
15085
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15002,7 +15111,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15002
15111
|
*/},{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(){/**
|
|
15003
15112
|
* Suggest service.
|
|
15004
15113
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15005
|
-
* @version
|
|
15114
|
+
* @version 195.0.0
|
|
15006
15115
|
*/ /**
|
|
15007
15116
|
* Constructs a new SuggestApi.
|
|
15008
15117
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15042,7 +15151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15042
15151
|
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(){/**
|
|
15043
15152
|
* TaskManagement service.
|
|
15044
15153
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15045
|
-
* @version
|
|
15154
|
+
* @version 195.0.0
|
|
15046
15155
|
*/ /**
|
|
15047
15156
|
* Constructs a new TaskManagementApi.
|
|
15048
15157
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15371,7 +15480,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15371
15480
|
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(){/**
|
|
15372
15481
|
* Teams service.
|
|
15373
15482
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15374
|
-
* @version
|
|
15483
|
+
* @version 195.0.0
|
|
15375
15484
|
*/ /**
|
|
15376
15485
|
* Constructs a new TeamsApi.
|
|
15377
15486
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15449,7 +15558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15449
15558
|
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(){/**
|
|
15450
15559
|
* Telephony service.
|
|
15451
15560
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15452
|
-
* @version
|
|
15561
|
+
* @version 195.0.0
|
|
15453
15562
|
*/ /**
|
|
15454
15563
|
* Constructs a new TelephonyApi.
|
|
15455
15564
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15496,7 +15605,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15496
15605
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
15497
15606
|
* TelephonyProvidersEdge service.
|
|
15498
15607
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15499
|
-
* @version
|
|
15608
|
+
* @version 195.0.0
|
|
15500
15609
|
*/ /**
|
|
15501
15610
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15502
15611
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16306,7 +16415,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16306
16415
|
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(){/**
|
|
16307
16416
|
* Textbots service.
|
|
16308
16417
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16309
|
-
* @version
|
|
16418
|
+
* @version 195.0.0
|
|
16310
16419
|
*/ /**
|
|
16311
16420
|
* Constructs a new TextbotsApi.
|
|
16312
16421
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16341,7 +16450,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16341
16450
|
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(){/**
|
|
16342
16451
|
* Tokens service.
|
|
16343
16452
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16344
|
-
* @version
|
|
16453
|
+
* @version 195.0.0
|
|
16345
16454
|
*/ /**
|
|
16346
16455
|
* Constructs a new TokensApi.
|
|
16347
16456
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16375,7 +16484,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16375
16484
|
*/},{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(){/**
|
|
16376
16485
|
* Uploads service.
|
|
16377
16486
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16378
|
-
* @version
|
|
16487
|
+
* @version 195.0.0
|
|
16379
16488
|
*/ /**
|
|
16380
16489
|
* Constructs a new UploadsApi.
|
|
16381
16490
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16441,7 +16550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16441
16550
|
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(){/**
|
|
16442
16551
|
* Usage service.
|
|
16443
16552
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16444
|
-
* @version
|
|
16553
|
+
* @version 195.0.0
|
|
16445
16554
|
*/ /**
|
|
16446
16555
|
* Constructs a new UsageApi.
|
|
16447
16556
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16495,7 +16604,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16495
16604
|
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(){/**
|
|
16496
16605
|
* UserRecordings service.
|
|
16497
16606
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16498
|
-
* @version
|
|
16607
|
+
* @version 195.0.0
|
|
16499
16608
|
*/ /**
|
|
16500
16609
|
* Constructs a new UserRecordingsApi.
|
|
16501
16610
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16544,7 +16653,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16544
16653
|
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(){/**
|
|
16545
16654
|
* Users service.
|
|
16546
16655
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16547
|
-
* @version
|
|
16656
|
+
* @version 195.0.0
|
|
16548
16657
|
*/ /**
|
|
16549
16658
|
* Constructs a new UsersApi.
|
|
16550
16659
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17206,7 +17315,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17206
17315
|
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(){/**
|
|
17207
17316
|
* Utilities service.
|
|
17208
17317
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17209
|
-
* @version
|
|
17318
|
+
* @version 195.0.0
|
|
17210
17319
|
*/ /**
|
|
17211
17320
|
* Constructs a new UtilitiesApi.
|
|
17212
17321
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17233,7 +17342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17233
17342
|
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(){/**
|
|
17234
17343
|
* Voicemail service.
|
|
17235
17344
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17236
|
-
* @version
|
|
17345
|
+
* @version 195.0.0
|
|
17237
17346
|
*/ /**
|
|
17238
17347
|
* Constructs a new VoicemailApi.
|
|
17239
17348
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17382,7 +17491,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17382
17491
|
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(){/**
|
|
17383
17492
|
* WebChat service.
|
|
17384
17493
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17385
|
-
* @version
|
|
17494
|
+
* @version 195.0.0
|
|
17386
17495
|
*/ /**
|
|
17387
17496
|
* Constructs a new WebChatApi.
|
|
17388
17497
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17517,7 +17626,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17517
17626
|
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(){/**
|
|
17518
17627
|
* WebDeployments service.
|
|
17519
17628
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17520
|
-
* @version
|
|
17629
|
+
* @version 195.0.0
|
|
17521
17630
|
*/ /**
|
|
17522
17631
|
* Constructs a new WebDeploymentsApi.
|
|
17523
17632
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17638,7 +17747,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17638
17747
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
17639
17748
|
* WebMessaging service.
|
|
17640
17749
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17641
|
-
* @version
|
|
17750
|
+
* @version 195.0.0
|
|
17642
17751
|
*/ /**
|
|
17643
17752
|
* Constructs a new WebMessagingApi.
|
|
17644
17753
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17654,7 +17763,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17654
17763
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
17655
17764
|
* Widgets service.
|
|
17656
17765
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17657
|
-
* @version
|
|
17766
|
+
* @version 195.0.0
|
|
17658
17767
|
*/ /**
|
|
17659
17768
|
* Constructs a new WidgetsApi.
|
|
17660
17769
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17689,7 +17798,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17689
17798
|
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(){/**
|
|
17690
17799
|
* WorkforceManagement service.
|
|
17691
17800
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17692
|
-
* @version
|
|
17801
|
+
* @version 195.0.0
|
|
17693
17802
|
*/ /**
|
|
17694
17803
|
* Constructs a new WorkforceManagementApi.
|
|
17695
17804
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19169,7 +19278,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19169
19278
|
* </pre>
|
|
19170
19279
|
* </p>
|
|
19171
19280
|
* @module purecloud-platform-client-v2/index
|
|
19172
|
-
* @version
|
|
19281
|
+
* @version 195.0.0
|
|
19173
19282
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19174
19283
|
* The ApiClient constructor.
|
|
19175
19284
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|