purecloud-platform-client-v2 194.0.0 → 196.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 +618 -119
- package/dist/web-amd/purecloud-platform-client-v2.js +618 -119
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +215 -99
- package/dist/web-cjs/purecloud-platform-client-v2.js +219 -100
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +644 -516
- 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 +29 -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 +2 -4
- 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
|
@@ -3792,7 +3792,10 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
3792
3792
|
if (typeof window !== 'undefined' && obj === window) {
|
|
3793
3793
|
return '{ [object Window] }';
|
|
3794
3794
|
}
|
|
3795
|
-
if (
|
|
3795
|
+
if (
|
|
3796
|
+
(typeof globalThis !== 'undefined' && obj === globalThis)
|
|
3797
|
+
|| (typeof global !== 'undefined' && obj === global)
|
|
3798
|
+
) {
|
|
3796
3799
|
return '{ [object globalThis] }';
|
|
3797
3800
|
}
|
|
3798
3801
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
@@ -6054,7 +6057,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6054
6057
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6055
6058
|
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];}}}]);}();/**
|
|
6056
6059
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6057
|
-
* @version
|
|
6060
|
+
* @version 196.0.0
|
|
6058
6061
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6059
6062
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6060
6063
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6283,7 +6286,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
6283
6286
|
* Returns a string representation for an actual parameter.
|
|
6284
6287
|
* @param param The actual parameter.
|
|
6285
6288
|
* @returns {String} The string representation of <code>param</code>.
|
|
6286
|
-
*/},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}return param.toString();}/**
|
|
6289
|
+
*/},{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();}/**
|
|
6287
6290
|
* Returns query parameters serialized in the format needed for an axios request.
|
|
6288
6291
|
* @param param The unserialized query parameters.
|
|
6289
6292
|
* @returns {Object} The serialized representation the query parameters.
|
|
@@ -6366,7 +6369,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6366
6369
|
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(){/**
|
|
6367
6370
|
* Alerting service.
|
|
6368
6371
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6369
|
-
* @version
|
|
6372
|
+
* @version 196.0.0
|
|
6370
6373
|
*/ /**
|
|
6371
6374
|
* Constructs a new AlertingApi.
|
|
6372
6375
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6523,7 +6526,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6523
6526
|
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(){/**
|
|
6524
6527
|
* Analytics service.
|
|
6525
6528
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6526
|
-
* @version
|
|
6529
|
+
* @version 196.0.0
|
|
6527
6530
|
*/ /**
|
|
6528
6531
|
* Constructs a new AnalyticsApi.
|
|
6529
6532
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6555,6 +6558,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6555
6558
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6556
6559
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6557
6560
|
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']);}/**
|
|
6561
|
+
* Get status for async query for agent copilot aggregates
|
|
6562
|
+
*
|
|
6563
|
+
* @param {String} jobId jobId
|
|
6564
|
+
* getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6565
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
6566
|
+
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']);}/**
|
|
6567
|
+
* Fetch a page of results for an async aggregates query
|
|
6568
|
+
*
|
|
6569
|
+
* @param {String} jobId jobId
|
|
6570
|
+
* @param {Object} opts Optional parameters
|
|
6571
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
6572
|
+
* getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6573
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6574
|
+
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']);}/**
|
|
6558
6575
|
* Get Reporting Turns (division aware).
|
|
6559
6576
|
* 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.
|
|
6560
6577
|
* @param {String} botFlowId ID of the bot flow.
|
|
@@ -6746,6 +6763,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
6746
6763
|
* Get AnalyticsReportingSettings for an organization
|
|
6747
6764
|
*
|
|
6748
6765
|
*/},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6766
|
+
* Get list of dashboard configurations
|
|
6767
|
+
*
|
|
6768
|
+
* @param {Object} dashboardType List dashboard of given type
|
|
6769
|
+
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
6770
|
+
* @param {Object} opts Optional parameters
|
|
6771
|
+
* @param {String} opts.sortBy (default to desc)
|
|
6772
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
6773
|
+
* @param {Number} opts.pageSize (default to 9)
|
|
6774
|
+
*/},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
|
|
6775
|
+
if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
|
|
6776
|
+
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']);}/**
|
|
6749
6777
|
* Get list of dashboards for an user
|
|
6750
6778
|
*
|
|
6751
6779
|
* @param {String} userId User ID
|
|
@@ -6860,6 +6888,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6860
6888
|
* @param {Object} body query
|
|
6861
6889
|
*/},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6862
6890
|
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']);}/**
|
|
6891
|
+
* Query for agent copilot aggregates asynchronously
|
|
6892
|
+
*
|
|
6893
|
+
* @param {Object} body query
|
|
6894
|
+
* postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6895
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
6896
|
+
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']);}/**
|
|
6897
|
+
* Query for agent copilot aggregates
|
|
6898
|
+
*
|
|
6899
|
+
* @param {Object} body query
|
|
6900
|
+
* postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6901
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6902
|
+
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']);}/**
|
|
6863
6903
|
* Query for bot aggregates asynchronously
|
|
6864
6904
|
*
|
|
6865
6905
|
* @param {Object} body query
|
|
@@ -6985,8 +7025,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6985
7025
|
* @param {Object} body query
|
|
6986
7026
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
6987
7027
|
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']);}/**
|
|
6988
|
-
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
6989
|
-
*
|
|
7028
|
+
* 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.
|
|
7029
|
+
* The max property can be used to determine estimated rate limit value hit.
|
|
6990
7030
|
* @param {Object} body query
|
|
6991
7031
|
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6992
7032
|
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']);}/**
|
|
@@ -7107,7 +7147,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7107
7147
|
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(){/**
|
|
7108
7148
|
* Architect service.
|
|
7109
7149
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7110
|
-
* @version
|
|
7150
|
+
* @version 196.0.0
|
|
7111
7151
|
*/ /**
|
|
7112
7152
|
* Constructs a new ArchitectApi.
|
|
7113
7153
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8223,7 +8263,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8223
8263
|
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(){/**
|
|
8224
8264
|
* Audit service.
|
|
8225
8265
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8226
|
-
* @version
|
|
8266
|
+
* @version 196.0.0
|
|
8227
8267
|
*/ /**
|
|
8228
8268
|
* Constructs a new AuditApi.
|
|
8229
8269
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8272,7 +8312,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8272
8312
|
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(){/**
|
|
8273
8313
|
* Authorization service.
|
|
8274
8314
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8275
|
-
* @version
|
|
8315
|
+
* @version 196.0.0
|
|
8276
8316
|
*/ /**
|
|
8277
8317
|
* Constructs a new AuthorizationApi.
|
|
8278
8318
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8587,7 +8627,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8587
8627
|
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(){/**
|
|
8588
8628
|
* Billing service.
|
|
8589
8629
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8590
|
-
* @version
|
|
8630
|
+
* @version 196.0.0
|
|
8591
8631
|
*/ /**
|
|
8592
8632
|
* Constructs a new BillingApi.
|
|
8593
8633
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8611,7 +8651,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8611
8651
|
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(){/**
|
|
8612
8652
|
* CarrierServices service.
|
|
8613
8653
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8614
|
-
* @version
|
|
8654
|
+
* @version 196.0.0
|
|
8615
8655
|
*/ /**
|
|
8616
8656
|
* Constructs a new CarrierServicesApi.
|
|
8617
8657
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8631,7 +8671,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8631
8671
|
*/},{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(){/**
|
|
8632
8672
|
* Chat service.
|
|
8633
8673
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8634
|
-
* @version
|
|
8674
|
+
* @version 196.0.0
|
|
8635
8675
|
*/ /**
|
|
8636
8676
|
* Constructs a new ChatApi.
|
|
8637
8677
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8856,7 +8896,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8856
8896
|
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(){/**
|
|
8857
8897
|
* Coaching service.
|
|
8858
8898
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8859
|
-
* @version
|
|
8899
|
+
* @version 196.0.0
|
|
8860
8900
|
*/ /**
|
|
8861
8901
|
* Constructs a new CoachingApi.
|
|
8862
8902
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9009,7 +9049,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9009
9049
|
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(){/**
|
|
9010
9050
|
* ContentManagement service.
|
|
9011
9051
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9012
|
-
* @version
|
|
9052
|
+
* @version 196.0.0
|
|
9013
9053
|
*/ /**
|
|
9014
9054
|
* Constructs a new ContentManagementApi.
|
|
9015
9055
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9292,7 +9332,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9292
9332
|
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(){/**
|
|
9293
9333
|
* Conversations service.
|
|
9294
9334
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9295
|
-
* @version
|
|
9335
|
+
* @version 196.0.0
|
|
9296
9336
|
*/ /**
|
|
9297
9337
|
* Constructs a new ConversationsApi.
|
|
9298
9338
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9861,15 +9901,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
|
|
|
9861
9901
|
* Get the organization's default settings that will be used as the default when creating an integration.
|
|
9862
9902
|
* 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.
|
|
9863
9903
|
*/},{key:"getConversationsMessagingSettingsDefault",value:function getConversationsMessagingSettingsDefault(){return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9864
|
-
* Get a list of Messaging Stickers (Deprecated)
|
|
9865
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9866
|
-
* @param {Object} messengerType Messenger Type
|
|
9867
|
-
* @param {Object} opts Optional parameters
|
|
9868
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9869
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9870
|
-
* @deprecated
|
|
9871
|
-
*/},{key:"getConversationsMessagingSticker",value:function getConversationsMessagingSticker(messengerType,opts){opts=opts||{};// verify the required parameter 'messengerType' is set
|
|
9872
|
-
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']);}/**
|
|
9873
9904
|
* Get a list of Supported Content profiles
|
|
9874
9905
|
*
|
|
9875
9906
|
* @param {Object} opts Optional parameters
|
|
@@ -10644,6 +10675,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
10644
10675
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
10645
10676
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
|
|
10646
10677
|
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']);}/**
|
|
10678
|
+
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
10679
|
+
*
|
|
10680
|
+
* @param {String} conversationId conversationId
|
|
10681
|
+
*/},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
|
|
10682
|
+
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']);}/**
|
|
10647
10683
|
* Create an email conversation
|
|
10648
10684
|
* 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.
|
|
10649
10685
|
* @param {Object} body Create email request
|
|
@@ -10976,7 +11012,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10976
11012
|
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(){/**
|
|
10977
11013
|
* DataExtensions service.
|
|
10978
11014
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10979
|
-
* @version
|
|
11015
|
+
* @version 196.0.0
|
|
10980
11016
|
*/ /**
|
|
10981
11017
|
* Constructs a new DataExtensionsApi.
|
|
10982
11018
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10997,7 +11033,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10997
11033
|
*/},{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(){/**
|
|
10998
11034
|
* Downloads service.
|
|
10999
11035
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11000
|
-
* @version
|
|
11036
|
+
* @version 196.0.0
|
|
11001
11037
|
*/ /**
|
|
11002
11038
|
* Constructs a new DownloadsApi.
|
|
11003
11039
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11016,7 +11052,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11016
11052
|
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(){/**
|
|
11017
11053
|
* Emails service.
|
|
11018
11054
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11019
|
-
* @version
|
|
11055
|
+
* @version 196.0.0
|
|
11020
11056
|
*/ /**
|
|
11021
11057
|
* Constructs a new EmailsApi.
|
|
11022
11058
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11034,7 +11070,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11034
11070
|
*/},{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(){/**
|
|
11035
11071
|
* Events service.
|
|
11036
11072
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11037
|
-
* @version
|
|
11073
|
+
* @version 196.0.0
|
|
11038
11074
|
*/ /**
|
|
11039
11075
|
* Constructs a new EventsApi.
|
|
11040
11076
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11059,7 +11095,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11059
11095
|
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(){/**
|
|
11060
11096
|
* ExternalContacts service.
|
|
11061
11097
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11062
|
-
* @version
|
|
11098
|
+
* @version 196.0.0
|
|
11063
11099
|
*/ /**
|
|
11064
11100
|
* Constructs a new ExternalContactsApi.
|
|
11065
11101
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11514,7 +11550,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11514
11550
|
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(){/**
|
|
11515
11551
|
* Fax service.
|
|
11516
11552
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11517
|
-
* @version
|
|
11553
|
+
* @version 196.0.0
|
|
11518
11554
|
*/ /**
|
|
11519
11555
|
* Constructs a new FaxApi.
|
|
11520
11556
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11563,7 +11599,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11563
11599
|
*/},{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(){/**
|
|
11564
11600
|
* Flows service.
|
|
11565
11601
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11566
|
-
* @version
|
|
11602
|
+
* @version 196.0.0
|
|
11567
11603
|
*/ /**
|
|
11568
11604
|
* Constructs a new FlowsApi.
|
|
11569
11605
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11611,7 +11647,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11611
11647
|
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(){/**
|
|
11612
11648
|
* Gamification service.
|
|
11613
11649
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11614
|
-
* @version
|
|
11650
|
+
* @version 196.0.0
|
|
11615
11651
|
*/ /**
|
|
11616
11652
|
* Constructs a new GamificationApi.
|
|
11617
11653
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12151,7 +12187,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12151
12187
|
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(){/**
|
|
12152
12188
|
* GeneralDataProtectionRegulation service.
|
|
12153
12189
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12154
|
-
* @version
|
|
12190
|
+
* @version 196.0.0
|
|
12155
12191
|
*/ /**
|
|
12156
12192
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12157
12193
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12186,7 +12222,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12186
12222
|
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(){/**
|
|
12187
12223
|
* Geolocation service.
|
|
12188
12224
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12189
|
-
* @version
|
|
12225
|
+
* @version 196.0.0
|
|
12190
12226
|
*/ /**
|
|
12191
12227
|
* Constructs a new GeolocationApi.
|
|
12192
12228
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12220,7 +12256,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12220
12256
|
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(){/**
|
|
12221
12257
|
* Greetings service.
|
|
12222
12258
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12223
|
-
* @version
|
|
12259
|
+
* @version 196.0.0
|
|
12224
12260
|
*/ /**
|
|
12225
12261
|
* Constructs a new GreetingsApi.
|
|
12226
12262
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12327,7 +12363,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12327
12363
|
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(){/**
|
|
12328
12364
|
* Groups service.
|
|
12329
12365
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12330
|
-
* @version
|
|
12366
|
+
* @version 196.0.0
|
|
12331
12367
|
*/ /**
|
|
12332
12368
|
* Constructs a new GroupsApi.
|
|
12333
12369
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12460,7 +12496,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12460
12496
|
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(){/**
|
|
12461
12497
|
* IdentityProvider service.
|
|
12462
12498
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12463
|
-
* @version
|
|
12499
|
+
* @version 196.0.0
|
|
12464
12500
|
*/ /**
|
|
12465
12501
|
* Constructs a new IdentityProviderApi.
|
|
12466
12502
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12616,7 +12652,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12616
12652
|
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(){/**
|
|
12617
12653
|
* InfrastructureAsCode service.
|
|
12618
12654
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12619
|
-
* @version
|
|
12655
|
+
* @version 196.0.0
|
|
12620
12656
|
*/ /**
|
|
12621
12657
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12622
12658
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12670,7 +12706,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12670
12706
|
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(){/**
|
|
12671
12707
|
* Integrations service.
|
|
12672
12708
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12673
|
-
* @version
|
|
12709
|
+
* @version 196.0.0
|
|
12674
12710
|
*/ /**
|
|
12675
12711
|
* Constructs a new IntegrationsApi.
|
|
12676
12712
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13281,7 +13317,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13281
13317
|
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(){/**
|
|
13282
13318
|
* Journey service.
|
|
13283
13319
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13284
|
-
* @version
|
|
13320
|
+
* @version 196.0.0
|
|
13285
13321
|
*/ /**
|
|
13286
13322
|
* Constructs a new JourneyApi.
|
|
13287
13323
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13538,6 +13574,15 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
13538
13574
|
*
|
|
13539
13575
|
* getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13540
13576
|
*/},{key:"getJourneyViewsEventdefinitions",value:function getJourneyViewsEventdefinitions(){return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13577
|
+
* Get the jobs for an organization.
|
|
13578
|
+
*
|
|
13579
|
+
* @param {Object} opts Optional parameters
|
|
13580
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
13581
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
13582
|
+
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
13583
|
+
* @param {String} opts.statuses Job statuses to filter for
|
|
13584
|
+
* getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13585
|
+
*/},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13541
13586
|
* Update single action map.
|
|
13542
13587
|
*
|
|
13543
13588
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -13669,7 +13714,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13669
13714
|
*/},{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(){/**
|
|
13670
13715
|
* Knowledge service.
|
|
13671
13716
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13672
|
-
* @version
|
|
13717
|
+
* @version 196.0.0
|
|
13673
13718
|
*/ /**
|
|
13674
13719
|
* Constructs a new KnowledgeApi.
|
|
13675
13720
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14082,9 +14127,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
14082
14127
|
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
14083
14128
|
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
14084
14129
|
* @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
|
|
14130
|
+
* @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
|
|
14085
14131
|
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14086
14132
|
*/},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14087
|
-
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']);}/**
|
|
14133
|
+
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']);}/**
|
|
14088
14134
|
* Get ids of operation creator users and oauth clients
|
|
14089
14135
|
*
|
|
14090
14136
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14581,7 +14627,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14581
14627
|
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(){/**
|
|
14582
14628
|
* LanguageUnderstanding service.
|
|
14583
14629
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14584
|
-
* @version
|
|
14630
|
+
* @version 196.0.0
|
|
14585
14631
|
*/ /**
|
|
14586
14632
|
* Constructs a new LanguageUnderstandingApi.
|
|
14587
14633
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14841,7 +14887,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14841
14887
|
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(){/**
|
|
14842
14888
|
* Languages service.
|
|
14843
14889
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14844
|
-
* @version
|
|
14890
|
+
* @version 196.0.0
|
|
14845
14891
|
*/ /**
|
|
14846
14892
|
* Constructs a new LanguagesApi.
|
|
14847
14893
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14896,7 +14942,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14896
14942
|
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(){/**
|
|
14897
14943
|
* Learning service.
|
|
14898
14944
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14899
|
-
* @version
|
|
14945
|
+
* @version 196.0.0
|
|
14900
14946
|
*/ /**
|
|
14901
14947
|
* Constructs a new LearningApi.
|
|
14902
14948
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14921,6 +14967,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14921
14967
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14922
14968
|
*/},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14923
14969
|
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']);}/**
|
|
14970
|
+
* Get Learning Assignment Step
|
|
14971
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
14972
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
14973
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
14974
|
+
* @param {Object} opts Optional parameters
|
|
14975
|
+
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
14976
|
+
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14977
|
+
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14978
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
14979
|
+
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']);}/**
|
|
14924
14980
|
* List of Learning module Assignments
|
|
14925
14981
|
* Either moduleId or user value is required
|
|
14926
14982
|
* @param {Object} opts Optional parameters
|
|
@@ -14972,6 +15028,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14972
15028
|
*/},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
|
|
14973
15029
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
|
|
14974
15030
|
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']);}/**
|
|
15031
|
+
* Get a learning module preview
|
|
15032
|
+
*
|
|
15033
|
+
* @param {String} moduleId The ID of the learning module
|
|
15034
|
+
*/},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
|
|
15035
|
+
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']);}/**
|
|
14975
15036
|
* Get a learning module rule
|
|
14976
15037
|
*
|
|
14977
15038
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15018,6 +15079,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
|
|
|
15018
15079
|
* @param {String} coverArtId Key identifier for the cover art
|
|
15019
15080
|
*/},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
|
|
15020
15081
|
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']);}/**
|
|
15082
|
+
* Get Learning SCORM Result
|
|
15083
|
+
*
|
|
15084
|
+
* @param {String} scormId The ID of the SCORM package
|
|
15085
|
+
*/},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
|
|
15086
|
+
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']);}/**
|
|
15021
15087
|
* Update Learning Assignment
|
|
15022
15088
|
*
|
|
15023
15089
|
* @param {String} assignmentId The ID of Learning Assignment
|
|
@@ -15032,6 +15098,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
15032
15098
|
* @param {Object} opts.body The Learning assignment reschedule model
|
|
15033
15099
|
*/},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
15034
15100
|
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']);}/**
|
|
15101
|
+
* Update Learning Assignment Step
|
|
15102
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
15103
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
15104
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
15105
|
+
* @param {Object} opts Optional parameters
|
|
15106
|
+
* @param {Object} opts.body The Learning Assignment Step to be updated
|
|
15107
|
+
*/},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
15108
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
15109
|
+
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']);}/**
|
|
15035
15110
|
* Update an external assignment for a specific user
|
|
15036
15111
|
*
|
|
15037
15112
|
* @param {String} moduleId Key identifier for the module
|
|
@@ -15109,6 +15184,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15109
15184
|
* @param {Object} body The slot search request
|
|
15110
15185
|
*/},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
|
|
15111
15186
|
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']);}/**
|
|
15187
|
+
* Create a SCORM package upload request
|
|
15188
|
+
*
|
|
15189
|
+
* @param {Object} opts Optional parameters
|
|
15190
|
+
* @param {Object} opts.body The SCORM package to be uploaded
|
|
15191
|
+
*/},{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']);}/**
|
|
15112
15192
|
* Update a learning module
|
|
15113
15193
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
15114
15194
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15116,6 +15196,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15116
15196
|
*/},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
15117
15197
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
|
|
15118
15198
|
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']);}/**
|
|
15199
|
+
* Update a learning module preview
|
|
15200
|
+
* This will update a learning module preview
|
|
15201
|
+
* @param {String} moduleId The ID of the learning module
|
|
15202
|
+
* @param {Object} body The learning module to be updated
|
|
15203
|
+
*/},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
15204
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
|
|
15205
|
+
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']);}/**
|
|
15119
15206
|
* Update a learning module rule
|
|
15120
15207
|
* This will update a learning module rule with the specified fields.
|
|
15121
15208
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15125,7 +15212,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15125
15212
|
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(){/**
|
|
15126
15213
|
* License service.
|
|
15127
15214
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15128
|
-
* @version
|
|
15215
|
+
* @version 196.0.0
|
|
15129
15216
|
*/ /**
|
|
15130
15217
|
* Constructs a new LicenseApi.
|
|
15131
15218
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15179,7 +15266,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15179
15266
|
*/},{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(){/**
|
|
15180
15267
|
* Locations service.
|
|
15181
15268
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15182
|
-
* @version
|
|
15269
|
+
* @version 196.0.0
|
|
15183
15270
|
*/ /**
|
|
15184
15271
|
* Constructs a new LocationsApi.
|
|
15185
15272
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15238,7 +15325,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15238
15325
|
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(){/**
|
|
15239
15326
|
* LogCapture service.
|
|
15240
15327
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15241
|
-
* @version
|
|
15328
|
+
* @version 196.0.0
|
|
15242
15329
|
*/ /**
|
|
15243
15330
|
* Constructs a new LogCaptureApi.
|
|
15244
15331
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15288,7 +15375,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15288
15375
|
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(){/**
|
|
15289
15376
|
* Messaging service.
|
|
15290
15377
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15291
|
-
* @version
|
|
15378
|
+
* @version 196.0.0
|
|
15292
15379
|
*/ /**
|
|
15293
15380
|
* Constructs a new MessagingApi.
|
|
15294
15381
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15378,7 +15465,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15378
15465
|
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(){/**
|
|
15379
15466
|
* MobileDevices service.
|
|
15380
15467
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15381
|
-
* @version
|
|
15468
|
+
* @version 196.0.0
|
|
15382
15469
|
*/ /**
|
|
15383
15470
|
* Constructs a new MobileDevicesApi.
|
|
15384
15471
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15417,7 +15504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15417
15504
|
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(){/**
|
|
15418
15505
|
* Notifications service.
|
|
15419
15506
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15420
|
-
* @version
|
|
15507
|
+
* @version 196.0.0
|
|
15421
15508
|
*/ /**
|
|
15422
15509
|
* Constructs a new NotificationsApi.
|
|
15423
15510
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15474,7 +15561,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15474
15561
|
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(){/**
|
|
15475
15562
|
* OAuth service.
|
|
15476
15563
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15477
|
-
* @version
|
|
15564
|
+
* @version 196.0.0
|
|
15478
15565
|
*/ /**
|
|
15479
15566
|
* Constructs a new OAuthApi.
|
|
15480
15567
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15559,7 +15646,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15559
15646
|
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(){/**
|
|
15560
15647
|
* Objects service.
|
|
15561
15648
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15562
|
-
* @version
|
|
15649
|
+
* @version 196.0.0
|
|
15563
15650
|
*/ /**
|
|
15564
15651
|
* Constructs a new ObjectsApi.
|
|
15565
15652
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15630,7 +15717,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15630
15717
|
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(){/**
|
|
15631
15718
|
* OperationalEvents service.
|
|
15632
15719
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15633
|
-
* @version
|
|
15720
|
+
* @version 196.0.0
|
|
15634
15721
|
*/ /**
|
|
15635
15722
|
* Constructs a new OperationalEventsApi.
|
|
15636
15723
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15648,7 +15735,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15648
15735
|
*/},{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(){/**
|
|
15649
15736
|
* Organization service.
|
|
15650
15737
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15651
|
-
* @version
|
|
15738
|
+
* @version 196.0.0
|
|
15652
15739
|
*/ /**
|
|
15653
15740
|
* Constructs a new OrganizationApi.
|
|
15654
15741
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15753,7 +15840,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15753
15840
|
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(){/**
|
|
15754
15841
|
* OrganizationAuthorization service.
|
|
15755
15842
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15756
|
-
* @version
|
|
15843
|
+
* @version 196.0.0
|
|
15757
15844
|
*/ /**
|
|
15758
15845
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15759
15846
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16076,7 +16163,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16076
16163
|
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(){/**
|
|
16077
16164
|
* Outbound service.
|
|
16078
16165
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16079
|
-
* @version
|
|
16166
|
+
* @version 196.0.0
|
|
16080
16167
|
*/ /**
|
|
16081
16168
|
* Constructs a new OutboundApi.
|
|
16082
16169
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17148,7 +17235,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17148
17235
|
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(){/**
|
|
17149
17236
|
* Presence service.
|
|
17150
17237
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17151
|
-
* @version
|
|
17238
|
+
* @version 196.0.0
|
|
17152
17239
|
*/ /**
|
|
17153
17240
|
* Constructs a new PresenceApi.
|
|
17154
17241
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17321,7 +17408,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17321
17408
|
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(){/**
|
|
17322
17409
|
* ProcessAutomation service.
|
|
17323
17410
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17324
|
-
* @version
|
|
17411
|
+
* @version 196.0.0
|
|
17325
17412
|
*/ /**
|
|
17326
17413
|
* Constructs a new ProcessAutomationApi.
|
|
17327
17414
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17384,7 +17471,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17384
17471
|
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(){/**
|
|
17385
17472
|
* Quality service.
|
|
17386
17473
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17387
|
-
* @version
|
|
17474
|
+
* @version 196.0.0
|
|
17388
17475
|
*/ /**
|
|
17389
17476
|
* Constructs a new QualityApi.
|
|
17390
17477
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17526,9 +17613,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
17526
17613
|
* @param {Object} opts Optional parameters
|
|
17527
17614
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
17528
17615
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
17529
|
-
* @param {String} opts.sortBy NOTE: Does not work when querying evaluations
|
|
17530
17616
|
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
17531
|
-
* @param {String} opts.nextPage NOTE: Does not work when querying evaluations
|
|
17532
17617
|
* @param {String} opts.previousPage Previous page token
|
|
17533
17618
|
* @param {String} opts.conversationId conversationId specified
|
|
17534
17619
|
* @param {String} opts.agentUserId user id of the agent
|
|
@@ -17545,7 +17630,7 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
17545
17630
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
17546
17631
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
17547
17632
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
17548
|
-
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'
|
|
17633
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17549
17634
|
* Get an evaluator activity
|
|
17550
17635
|
*
|
|
17551
17636
|
* @param {Object} opts Optional parameters
|
|
@@ -17855,7 +17940,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17855
17940
|
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(){/**
|
|
17856
17941
|
* Recording service.
|
|
17857
17942
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17858
|
-
* @version
|
|
17943
|
+
* @version 196.0.0
|
|
17859
17944
|
*/ /**
|
|
17860
17945
|
* Constructs a new RecordingApi.
|
|
17861
17946
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18266,7 +18351,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18266
18351
|
*/},{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(){/**
|
|
18267
18352
|
* ResponseManagement service.
|
|
18268
18353
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18269
|
-
* @version
|
|
18354
|
+
* @version 196.0.0
|
|
18270
18355
|
*/ /**
|
|
18271
18356
|
* Constructs a new ResponseManagementApi.
|
|
18272
18357
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18387,7 +18472,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18387
18472
|
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(){/**
|
|
18388
18473
|
* Routing service.
|
|
18389
18474
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18390
|
-
* @version
|
|
18475
|
+
* @version 196.0.0
|
|
18391
18476
|
*/ /**
|
|
18392
18477
|
* Constructs a new RoutingApi.
|
|
18393
18478
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18492,7 +18577,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18492
18577
|
* @param {String} labelId Utilization Label ID
|
|
18493
18578
|
* @param {Object} opts Optional parameters
|
|
18494
18579
|
* @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
|
|
18495
|
-
* deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18496
18580
|
*/},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
|
|
18497
18581
|
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']);}/**
|
|
18498
18582
|
* Delete an utilization tag
|
|
@@ -18882,13 +18966,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18882
18966
|
* Get details about this utilization label
|
|
18883
18967
|
*
|
|
18884
18968
|
* @param {String} labelId Utilization Label ID
|
|
18885
|
-
* getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18886
18969
|
*/},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
|
|
18887
18970
|
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']);}/**
|
|
18888
18971
|
* Get list of agent ids associated with a utilization label
|
|
18889
18972
|
*
|
|
18890
18973
|
* @param {String} labelId Utilization Label ID
|
|
18891
|
-
* getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18892
18974
|
*/},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
|
|
18893
18975
|
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']);}/**
|
|
18894
18976
|
* Get list of utilization labels
|
|
@@ -18898,7 +18980,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
|
|
|
18898
18980
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18899
18981
|
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
18900
18982
|
* @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
|
|
18901
|
-
* getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18902
18983
|
*/},{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']);}/**
|
|
18903
18984
|
* Get details about this utilization tag
|
|
18904
18985
|
*
|
|
@@ -19243,7 +19324,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19243
19324
|
* Create a utilization label
|
|
19244
19325
|
*
|
|
19245
19326
|
* @param {Object} body UtilizationLabel
|
|
19246
|
-
* postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19247
19327
|
*/},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
|
|
19248
19328
|
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']);}/**
|
|
19249
19329
|
* Create an utilization tag
|
|
@@ -19332,7 +19412,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19332
19412
|
*
|
|
19333
19413
|
* @param {String} labelId Utilization Label ID
|
|
19334
19414
|
* @param {Object} body UtilizationLabel
|
|
19335
|
-
* putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19336
19415
|
*/},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
|
|
19337
19416
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
|
|
19338
19417
|
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']);}/**
|
|
@@ -19361,7 +19440,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19361
19440
|
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(){/**
|
|
19362
19441
|
* SCIM service.
|
|
19363
19442
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19364
|
-
* @version
|
|
19443
|
+
* @version 196.0.0
|
|
19365
19444
|
*/ /**
|
|
19366
19445
|
* Constructs a new SCIMApi.
|
|
19367
19446
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19586,7 +19665,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19586
19665
|
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(){/**
|
|
19587
19666
|
* ScreenRecording service.
|
|
19588
19667
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19589
|
-
* @version
|
|
19668
|
+
* @version 196.0.0
|
|
19590
19669
|
*/ /**
|
|
19591
19670
|
* Constructs a new ScreenRecordingApi.
|
|
19592
19671
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19601,7 +19680,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19601
19680
|
*/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(){/**
|
|
19602
19681
|
* Scripts service.
|
|
19603
19682
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19604
|
-
* @version
|
|
19683
|
+
* @version 196.0.0
|
|
19605
19684
|
*/ /**
|
|
19606
19685
|
* Constructs a new ScriptsApi.
|
|
19607
19686
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19737,7 +19816,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19737
19816
|
*/},{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(){/**
|
|
19738
19817
|
* Search service.
|
|
19739
19818
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19740
|
-
* @version
|
|
19819
|
+
* @version 196.0.0
|
|
19741
19820
|
*/ /**
|
|
19742
19821
|
* Constructs a new SearchApi.
|
|
19743
19822
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19897,7 +19976,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19897
19976
|
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(){/**
|
|
19898
19977
|
* Settings service.
|
|
19899
19978
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19900
|
-
* @version
|
|
19979
|
+
* @version 196.0.0
|
|
19901
19980
|
*/ /**
|
|
19902
19981
|
* Constructs a new SettingsApi.
|
|
19903
19982
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19925,7 +20004,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19925
20004
|
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(){/**
|
|
19926
20005
|
* SpeechTextAnalytics service.
|
|
19927
20006
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19928
|
-
* @version
|
|
20007
|
+
* @version 196.0.0
|
|
19929
20008
|
*/ /**
|
|
19930
20009
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19931
20010
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19933,10 +20012,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19933
20012
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
19934
20013
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
19935
20014
|
*/function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
20015
|
+
* Delete a Speech and Text Analytics category by ID
|
|
20016
|
+
*
|
|
20017
|
+
* @param {String} categoryId The id of the category
|
|
20018
|
+
*/return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
20019
|
+
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']);}/**
|
|
19936
20020
|
* Delete a Speech and Text Analytics DictionaryFeedback by Id
|
|
19937
20021
|
*
|
|
19938
20022
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
19939
|
-
*/
|
|
20023
|
+
*/},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
|
|
19940
20024
|
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']);}/**
|
|
19941
20025
|
* Delete a Speech and Text Analytics program by id
|
|
19942
20026
|
*
|
|
@@ -19958,11 +20042,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
|
|
|
19958
20042
|
* @param {String} topicId The id of the topic
|
|
19959
20043
|
*/},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
|
|
19960
20044
|
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']);}/**
|
|
20045
|
+
* Get the list of Speech and Text Analytics categories
|
|
20046
|
+
*
|
|
20047
|
+
* @param {Object} opts Optional parameters
|
|
20048
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
20049
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
20050
|
+
* @param {String} opts.name The category name filter applied to the listing
|
|
20051
|
+
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
20052
|
+
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
20053
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
20054
|
+
*/},{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']);}/**
|
|
20055
|
+
* Get a Speech and Text Analytics Category by ID
|
|
20056
|
+
*
|
|
20057
|
+
* @param {String} categoryId The id of the category
|
|
20058
|
+
*/},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
20059
|
+
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']);}/**
|
|
19961
20060
|
* Get Speech and Text Analytics for a specific conversation
|
|
19962
20061
|
*
|
|
19963
20062
|
* @param {String} conversationId Conversation Id
|
|
19964
20063
|
*/},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
19965
20064
|
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']);}/**
|
|
20065
|
+
* Get the list of detected Speech and Text Analytics categories of conversation
|
|
20066
|
+
*
|
|
20067
|
+
* @param {String} conversationId The id of the conversation
|
|
20068
|
+
* @param {Object} opts Optional parameters
|
|
20069
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
20070
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
20071
|
+
*/},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
20072
|
+
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']);}/**
|
|
19966
20073
|
* Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
|
|
19967
20074
|
*
|
|
19968
20075
|
* @param {String} conversationId Conversation ID
|
|
@@ -20087,6 +20194,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
20087
20194
|
* @param {Object} body Speech And Text Analytics Settings
|
|
20088
20195
|
*/},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
|
|
20089
20196
|
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']);}/**
|
|
20197
|
+
* Create new Speech and Text Analytics category
|
|
20198
|
+
*
|
|
20199
|
+
* @param {Object} body The category to create
|
|
20200
|
+
*/},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
|
|
20201
|
+
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']);}/**
|
|
20090
20202
|
* Create a Speech and Text Analytics DictionaryFeedback
|
|
20091
20203
|
*
|
|
20092
20204
|
* @param {Object} body The DictionaryFeedback to create
|
|
@@ -20127,6 +20239,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20127
20239
|
* @param {Object} body Search request options
|
|
20128
20240
|
*/},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
|
|
20129
20241
|
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']);}/**
|
|
20242
|
+
* Update a Speech and Text Analytics category by ID
|
|
20243
|
+
*
|
|
20244
|
+
* @param {String} categoryId The id of the category
|
|
20245
|
+
* @param {Object} body The updated category
|
|
20246
|
+
*/},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
|
|
20247
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
|
|
20248
|
+
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']);}/**
|
|
20130
20249
|
* Update existing Speech and Text Analytics dictionary feedback by id
|
|
20131
20250
|
*
|
|
20132
20251
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
@@ -20169,7 +20288,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20169
20288
|
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(){/**
|
|
20170
20289
|
* Stations service.
|
|
20171
20290
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20172
|
-
* @version
|
|
20291
|
+
* @version 196.0.0
|
|
20173
20292
|
*/ /**
|
|
20174
20293
|
* Constructs a new StationsApi.
|
|
20175
20294
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20201,7 +20320,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20201
20320
|
*/},{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(){/**
|
|
20202
20321
|
* Suggest service.
|
|
20203
20322
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20204
|
-
* @version
|
|
20323
|
+
* @version 196.0.0
|
|
20205
20324
|
*/ /**
|
|
20206
20325
|
* Constructs a new SuggestApi.
|
|
20207
20326
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20241,7 +20360,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20241
20360
|
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(){/**
|
|
20242
20361
|
* TaskManagement service.
|
|
20243
20362
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20244
|
-
* @version
|
|
20363
|
+
* @version 196.0.0
|
|
20245
20364
|
*/ /**
|
|
20246
20365
|
* Constructs a new TaskManagementApi.
|
|
20247
20366
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20570,7 +20689,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20570
20689
|
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(){/**
|
|
20571
20690
|
* Teams service.
|
|
20572
20691
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20573
|
-
* @version
|
|
20692
|
+
* @version 196.0.0
|
|
20574
20693
|
*/ /**
|
|
20575
20694
|
* Constructs a new TeamsApi.
|
|
20576
20695
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20648,7 +20767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20648
20767
|
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(){/**
|
|
20649
20768
|
* Telephony service.
|
|
20650
20769
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20651
|
-
* @version
|
|
20770
|
+
* @version 196.0.0
|
|
20652
20771
|
*/ /**
|
|
20653
20772
|
* Constructs a new TelephonyApi.
|
|
20654
20773
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20695,7 +20814,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20695
20814
|
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(){/**
|
|
20696
20815
|
* TelephonyProvidersEdge service.
|
|
20697
20816
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20698
|
-
* @version
|
|
20817
|
+
* @version 196.0.0
|
|
20699
20818
|
*/ /**
|
|
20700
20819
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20701
20820
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21505,7 +21624,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21505
21624
|
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(){/**
|
|
21506
21625
|
* Textbots service.
|
|
21507
21626
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21508
|
-
* @version
|
|
21627
|
+
* @version 196.0.0
|
|
21509
21628
|
*/ /**
|
|
21510
21629
|
* Constructs a new TextbotsApi.
|
|
21511
21630
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21540,7 +21659,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21540
21659
|
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(){/**
|
|
21541
21660
|
* Tokens service.
|
|
21542
21661
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21543
|
-
* @version
|
|
21662
|
+
* @version 196.0.0
|
|
21544
21663
|
*/ /**
|
|
21545
21664
|
* Constructs a new TokensApi.
|
|
21546
21665
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21574,7 +21693,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21574
21693
|
*/},{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(){/**
|
|
21575
21694
|
* Uploads service.
|
|
21576
21695
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21577
|
-
* @version
|
|
21696
|
+
* @version 196.0.0
|
|
21578
21697
|
*/ /**
|
|
21579
21698
|
* Constructs a new UploadsApi.
|
|
21580
21699
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21640,7 +21759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21640
21759
|
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(){/**
|
|
21641
21760
|
* Usage service.
|
|
21642
21761
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21643
|
-
* @version
|
|
21762
|
+
* @version 196.0.0
|
|
21644
21763
|
*/ /**
|
|
21645
21764
|
* Constructs a new UsageApi.
|
|
21646
21765
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21694,7 +21813,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21694
21813
|
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(){/**
|
|
21695
21814
|
* UserRecordings service.
|
|
21696
21815
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21697
|
-
* @version
|
|
21816
|
+
* @version 196.0.0
|
|
21698
21817
|
*/ /**
|
|
21699
21818
|
* Constructs a new UserRecordingsApi.
|
|
21700
21819
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21743,7 +21862,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21743
21862
|
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(){/**
|
|
21744
21863
|
* Users service.
|
|
21745
21864
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21746
|
-
* @version
|
|
21865
|
+
* @version 196.0.0
|
|
21747
21866
|
*/ /**
|
|
21748
21867
|
* Constructs a new UsersApi.
|
|
21749
21868
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22405,7 +22524,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22405
22524
|
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(){/**
|
|
22406
22525
|
* Utilities service.
|
|
22407
22526
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22408
|
-
* @version
|
|
22527
|
+
* @version 196.0.0
|
|
22409
22528
|
*/ /**
|
|
22410
22529
|
* Constructs a new UtilitiesApi.
|
|
22411
22530
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22432,7 +22551,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22432
22551
|
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(){/**
|
|
22433
22552
|
* Voicemail service.
|
|
22434
22553
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22435
|
-
* @version
|
|
22554
|
+
* @version 196.0.0
|
|
22436
22555
|
*/ /**
|
|
22437
22556
|
* Constructs a new VoicemailApi.
|
|
22438
22557
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22581,7 +22700,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22581
22700
|
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(){/**
|
|
22582
22701
|
* WebChat service.
|
|
22583
22702
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22584
|
-
* @version
|
|
22703
|
+
* @version 196.0.0
|
|
22585
22704
|
*/ /**
|
|
22586
22705
|
* Constructs a new WebChatApi.
|
|
22587
22706
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22716,7 +22835,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22716
22835
|
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(){/**
|
|
22717
22836
|
* WebDeployments service.
|
|
22718
22837
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22719
|
-
* @version
|
|
22838
|
+
* @version 196.0.0
|
|
22720
22839
|
*/ /**
|
|
22721
22840
|
* Constructs a new WebDeploymentsApi.
|
|
22722
22841
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22837,7 +22956,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22837
22956
|
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(){/**
|
|
22838
22957
|
* WebMessaging service.
|
|
22839
22958
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22840
|
-
* @version
|
|
22959
|
+
* @version 196.0.0
|
|
22841
22960
|
*/ /**
|
|
22842
22961
|
* Constructs a new WebMessagingApi.
|
|
22843
22962
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22853,7 +22972,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22853
22972
|
*/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(){/**
|
|
22854
22973
|
* Widgets service.
|
|
22855
22974
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22856
|
-
* @version
|
|
22975
|
+
* @version 196.0.0
|
|
22857
22976
|
*/ /**
|
|
22858
22977
|
* Constructs a new WidgetsApi.
|
|
22859
22978
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22888,7 +23007,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22888
23007
|
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(){/**
|
|
22889
23008
|
* WorkforceManagement service.
|
|
22890
23009
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22891
|
-
* @version
|
|
23010
|
+
* @version 196.0.0
|
|
22892
23011
|
*/ /**
|
|
22893
23012
|
* Constructs a new WorkforceManagementApi.
|
|
22894
23013
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24368,7 +24487,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24368
24487
|
* </pre>
|
|
24369
24488
|
* </p>
|
|
24370
24489
|
* @module purecloud-platform-client-v2/index
|
|
24371
|
-
* @version
|
|
24490
|
+
* @version 196.0.0
|
|
24372
24491
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24373
24492
|
* The ApiClient constructor.
|
|
24374
24493
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|