purecloud-platform-client-v2 194.0.0 → 195.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +589 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +589 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +205 -96
- package/dist/web-cjs/purecloud-platform-client-v2.js +205 -96
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +401 -299
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -32
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +174 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -7
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +165 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -6054,7 +6054,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6054
6054
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6055
6055
|
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
6056
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6057
|
-
* @version
|
|
6057
|
+
* @version 195.0.0
|
|
6058
6058
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6059
6059
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6060
6060
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6283,7 +6283,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
6283
6283
|
* Returns a string representation for an actual parameter.
|
|
6284
6284
|
* @param param The actual parameter.
|
|
6285
6285
|
* @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();}/**
|
|
6286
|
+
*/},{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
6287
|
* Returns query parameters serialized in the format needed for an axios request.
|
|
6288
6288
|
* @param param The unserialized query parameters.
|
|
6289
6289
|
* @returns {Object} The serialized representation the query parameters.
|
|
@@ -6366,7 +6366,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6366
6366
|
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
6367
|
* Alerting service.
|
|
6368
6368
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6369
|
-
* @version
|
|
6369
|
+
* @version 195.0.0
|
|
6370
6370
|
*/ /**
|
|
6371
6371
|
* Constructs a new AlertingApi.
|
|
6372
6372
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6523,7 +6523,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6523
6523
|
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
6524
|
* Analytics service.
|
|
6525
6525
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6526
|
-
* @version
|
|
6526
|
+
* @version 195.0.0
|
|
6527
6527
|
*/ /**
|
|
6528
6528
|
* Constructs a new AnalyticsApi.
|
|
6529
6529
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6555,6 +6555,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6555
6555
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6556
6556
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6557
6557
|
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']);}/**
|
|
6558
|
+
* Get status for async query for agent copilot aggregates
|
|
6559
|
+
*
|
|
6560
|
+
* @param {String} jobId jobId
|
|
6561
|
+
* getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6562
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
6563
|
+
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']);}/**
|
|
6564
|
+
* Fetch a page of results for an async aggregates query
|
|
6565
|
+
*
|
|
6566
|
+
* @param {String} jobId jobId
|
|
6567
|
+
* @param {Object} opts Optional parameters
|
|
6568
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
6569
|
+
* getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6570
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6571
|
+
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
6572
|
* Get Reporting Turns (division aware).
|
|
6559
6573
|
* 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
6574
|
* @param {String} botFlowId ID of the bot flow.
|
|
@@ -6746,6 +6760,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
6746
6760
|
* Get AnalyticsReportingSettings for an organization
|
|
6747
6761
|
*
|
|
6748
6762
|
*/},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6763
|
+
* Get list of dashboard configurations
|
|
6764
|
+
*
|
|
6765
|
+
* @param {Object} dashboardType List dashboard of given type
|
|
6766
|
+
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
6767
|
+
* @param {Object} opts Optional parameters
|
|
6768
|
+
* @param {String} opts.sortBy (default to desc)
|
|
6769
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
6770
|
+
* @param {Number} opts.pageSize (default to 9)
|
|
6771
|
+
*/},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
|
|
6772
|
+
if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
|
|
6773
|
+
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
6774
|
* Get list of dashboards for an user
|
|
6750
6775
|
*
|
|
6751
6776
|
* @param {String} userId User ID
|
|
@@ -6860,6 +6885,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6860
6885
|
* @param {Object} body query
|
|
6861
6886
|
*/},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6862
6887
|
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']);}/**
|
|
6888
|
+
* Query for agent copilot aggregates asynchronously
|
|
6889
|
+
*
|
|
6890
|
+
* @param {Object} body query
|
|
6891
|
+
* postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6892
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
6893
|
+
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']);}/**
|
|
6894
|
+
* Query for agent copilot aggregates
|
|
6895
|
+
*
|
|
6896
|
+
* @param {Object} body query
|
|
6897
|
+
* postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6898
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6899
|
+
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
6900
|
* Query for bot aggregates asynchronously
|
|
6864
6901
|
*
|
|
6865
6902
|
* @param {Object} body query
|
|
@@ -6985,8 +7022,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6985
7022
|
* @param {Object} body query
|
|
6986
7023
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
6987
7024
|
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
|
-
*
|
|
7025
|
+
* 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.
|
|
7026
|
+
* The max property can be used to determine estimated rate limit value hit.
|
|
6990
7027
|
* @param {Object} body query
|
|
6991
7028
|
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6992
7029
|
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 +7144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7107
7144
|
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
7145
|
* Architect service.
|
|
7109
7146
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7110
|
-
* @version
|
|
7147
|
+
* @version 195.0.0
|
|
7111
7148
|
*/ /**
|
|
7112
7149
|
* Constructs a new ArchitectApi.
|
|
7113
7150
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8223,7 +8260,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8223
8260
|
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
8261
|
* Audit service.
|
|
8225
8262
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8226
|
-
* @version
|
|
8263
|
+
* @version 195.0.0
|
|
8227
8264
|
*/ /**
|
|
8228
8265
|
* Constructs a new AuditApi.
|
|
8229
8266
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8272,7 +8309,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8272
8309
|
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
8310
|
* Authorization service.
|
|
8274
8311
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8275
|
-
* @version
|
|
8312
|
+
* @version 195.0.0
|
|
8276
8313
|
*/ /**
|
|
8277
8314
|
* Constructs a new AuthorizationApi.
|
|
8278
8315
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8587,7 +8624,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8587
8624
|
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
8625
|
* Billing service.
|
|
8589
8626
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8590
|
-
* @version
|
|
8627
|
+
* @version 195.0.0
|
|
8591
8628
|
*/ /**
|
|
8592
8629
|
* Constructs a new BillingApi.
|
|
8593
8630
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8611,7 +8648,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8611
8648
|
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
8649
|
* CarrierServices service.
|
|
8613
8650
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8614
|
-
* @version
|
|
8651
|
+
* @version 195.0.0
|
|
8615
8652
|
*/ /**
|
|
8616
8653
|
* Constructs a new CarrierServicesApi.
|
|
8617
8654
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8631,7 +8668,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8631
8668
|
*/},{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
8669
|
* Chat service.
|
|
8633
8670
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8634
|
-
* @version
|
|
8671
|
+
* @version 195.0.0
|
|
8635
8672
|
*/ /**
|
|
8636
8673
|
* Constructs a new ChatApi.
|
|
8637
8674
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8856,7 +8893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8856
8893
|
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
8894
|
* Coaching service.
|
|
8858
8895
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8859
|
-
* @version
|
|
8896
|
+
* @version 195.0.0
|
|
8860
8897
|
*/ /**
|
|
8861
8898
|
* Constructs a new CoachingApi.
|
|
8862
8899
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9009,7 +9046,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9009
9046
|
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
9047
|
* ContentManagement service.
|
|
9011
9048
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9012
|
-
* @version
|
|
9049
|
+
* @version 195.0.0
|
|
9013
9050
|
*/ /**
|
|
9014
9051
|
* Constructs a new ContentManagementApi.
|
|
9015
9052
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9292,7 +9329,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9292
9329
|
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
9330
|
* Conversations service.
|
|
9294
9331
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9295
|
-
* @version
|
|
9332
|
+
* @version 195.0.0
|
|
9296
9333
|
*/ /**
|
|
9297
9334
|
* Constructs a new ConversationsApi.
|
|
9298
9335
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9861,15 +9898,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
|
|
|
9861
9898
|
* Get the organization's default settings that will be used as the default when creating an integration.
|
|
9862
9899
|
* 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
9900
|
*/},{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
9901
|
* Get a list of Supported Content profiles
|
|
9874
9902
|
*
|
|
9875
9903
|
* @param {Object} opts Optional parameters
|
|
@@ -10644,6 +10672,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
10644
10672
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
10645
10673
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
|
|
10646
10674
|
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']);}/**
|
|
10675
|
+
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
10676
|
+
*
|
|
10677
|
+
* @param {String} conversationId conversationId
|
|
10678
|
+
*/},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
|
|
10679
|
+
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
10680
|
* Create an email conversation
|
|
10648
10681
|
* 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
10682
|
* @param {Object} body Create email request
|
|
@@ -10976,7 +11009,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10976
11009
|
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
11010
|
* DataExtensions service.
|
|
10978
11011
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10979
|
-
* @version
|
|
11012
|
+
* @version 195.0.0
|
|
10980
11013
|
*/ /**
|
|
10981
11014
|
* Constructs a new DataExtensionsApi.
|
|
10982
11015
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10997,7 +11030,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10997
11030
|
*/},{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
11031
|
* Downloads service.
|
|
10999
11032
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11000
|
-
* @version
|
|
11033
|
+
* @version 195.0.0
|
|
11001
11034
|
*/ /**
|
|
11002
11035
|
* Constructs a new DownloadsApi.
|
|
11003
11036
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11016,7 +11049,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11016
11049
|
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
11050
|
* Emails service.
|
|
11018
11051
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11019
|
-
* @version
|
|
11052
|
+
* @version 195.0.0
|
|
11020
11053
|
*/ /**
|
|
11021
11054
|
* Constructs a new EmailsApi.
|
|
11022
11055
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11034,7 +11067,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11034
11067
|
*/},{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
11068
|
* Events service.
|
|
11036
11069
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11037
|
-
* @version
|
|
11070
|
+
* @version 195.0.0
|
|
11038
11071
|
*/ /**
|
|
11039
11072
|
* Constructs a new EventsApi.
|
|
11040
11073
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11059,7 +11092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11059
11092
|
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
11093
|
* ExternalContacts service.
|
|
11061
11094
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11062
|
-
* @version
|
|
11095
|
+
* @version 195.0.0
|
|
11063
11096
|
*/ /**
|
|
11064
11097
|
* Constructs a new ExternalContactsApi.
|
|
11065
11098
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11514,7 +11547,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11514
11547
|
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
11548
|
* Fax service.
|
|
11516
11549
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11517
|
-
* @version
|
|
11550
|
+
* @version 195.0.0
|
|
11518
11551
|
*/ /**
|
|
11519
11552
|
* Constructs a new FaxApi.
|
|
11520
11553
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11563,7 +11596,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11563
11596
|
*/},{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
11597
|
* Flows service.
|
|
11565
11598
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11566
|
-
* @version
|
|
11599
|
+
* @version 195.0.0
|
|
11567
11600
|
*/ /**
|
|
11568
11601
|
* Constructs a new FlowsApi.
|
|
11569
11602
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11611,7 +11644,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11611
11644
|
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
11645
|
* Gamification service.
|
|
11613
11646
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11614
|
-
* @version
|
|
11647
|
+
* @version 195.0.0
|
|
11615
11648
|
*/ /**
|
|
11616
11649
|
* Constructs a new GamificationApi.
|
|
11617
11650
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12151,7 +12184,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12151
12184
|
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
12185
|
* GeneralDataProtectionRegulation service.
|
|
12153
12186
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12154
|
-
* @version
|
|
12187
|
+
* @version 195.0.0
|
|
12155
12188
|
*/ /**
|
|
12156
12189
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12157
12190
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12186,7 +12219,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12186
12219
|
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
12220
|
* Geolocation service.
|
|
12188
12221
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12189
|
-
* @version
|
|
12222
|
+
* @version 195.0.0
|
|
12190
12223
|
*/ /**
|
|
12191
12224
|
* Constructs a new GeolocationApi.
|
|
12192
12225
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12220,7 +12253,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12220
12253
|
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
12254
|
* Greetings service.
|
|
12222
12255
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12223
|
-
* @version
|
|
12256
|
+
* @version 195.0.0
|
|
12224
12257
|
*/ /**
|
|
12225
12258
|
* Constructs a new GreetingsApi.
|
|
12226
12259
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12327,7 +12360,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12327
12360
|
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
12361
|
* Groups service.
|
|
12329
12362
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12330
|
-
* @version
|
|
12363
|
+
* @version 195.0.0
|
|
12331
12364
|
*/ /**
|
|
12332
12365
|
* Constructs a new GroupsApi.
|
|
12333
12366
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12460,7 +12493,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12460
12493
|
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
12494
|
* IdentityProvider service.
|
|
12462
12495
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12463
|
-
* @version
|
|
12496
|
+
* @version 195.0.0
|
|
12464
12497
|
*/ /**
|
|
12465
12498
|
* Constructs a new IdentityProviderApi.
|
|
12466
12499
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12616,7 +12649,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12616
12649
|
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
12650
|
* InfrastructureAsCode service.
|
|
12618
12651
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12619
|
-
* @version
|
|
12652
|
+
* @version 195.0.0
|
|
12620
12653
|
*/ /**
|
|
12621
12654
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12622
12655
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12670,7 +12703,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12670
12703
|
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
12704
|
* Integrations service.
|
|
12672
12705
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12673
|
-
* @version
|
|
12706
|
+
* @version 195.0.0
|
|
12674
12707
|
*/ /**
|
|
12675
12708
|
* Constructs a new IntegrationsApi.
|
|
12676
12709
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13281,7 +13314,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13281
13314
|
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
13315
|
* Journey service.
|
|
13283
13316
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13284
|
-
* @version
|
|
13317
|
+
* @version 195.0.0
|
|
13285
13318
|
*/ /**
|
|
13286
13319
|
* Constructs a new JourneyApi.
|
|
13287
13320
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13669,7 +13702,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13669
13702
|
*/},{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
13703
|
* Knowledge service.
|
|
13671
13704
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13672
|
-
* @version
|
|
13705
|
+
* @version 195.0.0
|
|
13673
13706
|
*/ /**
|
|
13674
13707
|
* Constructs a new KnowledgeApi.
|
|
13675
13708
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14082,9 +14115,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
14082
14115
|
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
14083
14116
|
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
14084
14117
|
* @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
|
|
14118
|
+
* @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
|
|
14085
14119
|
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14086
14120
|
*/},{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']);}/**
|
|
14121
|
+
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
14122
|
* Get ids of operation creator users and oauth clients
|
|
14089
14123
|
*
|
|
14090
14124
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14581,7 +14615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14581
14615
|
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
14616
|
* LanguageUnderstanding service.
|
|
14583
14617
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14584
|
-
* @version
|
|
14618
|
+
* @version 195.0.0
|
|
14585
14619
|
*/ /**
|
|
14586
14620
|
* Constructs a new LanguageUnderstandingApi.
|
|
14587
14621
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14841,7 +14875,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14841
14875
|
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
14876
|
* Languages service.
|
|
14843
14877
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14844
|
-
* @version
|
|
14878
|
+
* @version 195.0.0
|
|
14845
14879
|
*/ /**
|
|
14846
14880
|
* Constructs a new LanguagesApi.
|
|
14847
14881
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14896,7 +14930,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14896
14930
|
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
14931
|
* Learning service.
|
|
14898
14932
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14899
|
-
* @version
|
|
14933
|
+
* @version 195.0.0
|
|
14900
14934
|
*/ /**
|
|
14901
14935
|
* Constructs a new LearningApi.
|
|
14902
14936
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14921,6 +14955,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14921
14955
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14922
14956
|
*/},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14923
14957
|
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']);}/**
|
|
14958
|
+
* Get Learning Assignment Step
|
|
14959
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
14960
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
14961
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
14962
|
+
* @param {Object} opts Optional parameters
|
|
14963
|
+
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
14964
|
+
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14965
|
+
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
14966
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
14967
|
+
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
14968
|
* List of Learning module Assignments
|
|
14925
14969
|
* Either moduleId or user value is required
|
|
14926
14970
|
* @param {Object} opts Optional parameters
|
|
@@ -14972,6 +15016,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14972
15016
|
*/},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
|
|
14973
15017
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
|
|
14974
15018
|
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']);}/**
|
|
15019
|
+
* Get a learning module preview
|
|
15020
|
+
*
|
|
15021
|
+
* @param {String} moduleId The ID of the learning module
|
|
15022
|
+
*/},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
|
|
15023
|
+
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
15024
|
* Get a learning module rule
|
|
14976
15025
|
*
|
|
14977
15026
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15018,6 +15067,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
|
|
|
15018
15067
|
* @param {String} coverArtId Key identifier for the cover art
|
|
15019
15068
|
*/},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
|
|
15020
15069
|
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']);}/**
|
|
15070
|
+
* Get Learning SCORM Result
|
|
15071
|
+
*
|
|
15072
|
+
* @param {String} scormId The ID of the SCORM package
|
|
15073
|
+
*/},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
|
|
15074
|
+
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
15075
|
* Update Learning Assignment
|
|
15022
15076
|
*
|
|
15023
15077
|
* @param {String} assignmentId The ID of Learning Assignment
|
|
@@ -15032,6 +15086,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
15032
15086
|
* @param {Object} opts.body The Learning assignment reschedule model
|
|
15033
15087
|
*/},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
15034
15088
|
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']);}/**
|
|
15089
|
+
* Update Learning Assignment Step
|
|
15090
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
15091
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
15092
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
15093
|
+
* @param {Object} opts Optional parameters
|
|
15094
|
+
* @param {Object} opts.body The Learning Assignment Step to be updated
|
|
15095
|
+
*/},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
15096
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
15097
|
+
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
15098
|
* Update an external assignment for a specific user
|
|
15036
15099
|
*
|
|
15037
15100
|
* @param {String} moduleId Key identifier for the module
|
|
@@ -15109,6 +15172,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15109
15172
|
* @param {Object} body The slot search request
|
|
15110
15173
|
*/},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
|
|
15111
15174
|
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']);}/**
|
|
15175
|
+
* Create a SCORM package upload request
|
|
15176
|
+
*
|
|
15177
|
+
* @param {Object} opts Optional parameters
|
|
15178
|
+
* @param {Object} opts.body The SCORM package to be uploaded
|
|
15179
|
+
*/},{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
15180
|
* Update a learning module
|
|
15113
15181
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
15114
15182
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15116,6 +15184,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15116
15184
|
*/},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
15117
15185
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
|
|
15118
15186
|
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']);}/**
|
|
15187
|
+
* Update a learning module preview
|
|
15188
|
+
* This will update a learning module preview
|
|
15189
|
+
* @param {String} moduleId The ID of the learning module
|
|
15190
|
+
* @param {Object} body The learning module to be updated
|
|
15191
|
+
*/},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
15192
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
|
|
15193
|
+
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
15194
|
* Update a learning module rule
|
|
15120
15195
|
* This will update a learning module rule with the specified fields.
|
|
15121
15196
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -15125,7 +15200,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15125
15200
|
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
15201
|
* License service.
|
|
15127
15202
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15128
|
-
* @version
|
|
15203
|
+
* @version 195.0.0
|
|
15129
15204
|
*/ /**
|
|
15130
15205
|
* Constructs a new LicenseApi.
|
|
15131
15206
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15179,7 +15254,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15179
15254
|
*/},{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
15255
|
* Locations service.
|
|
15181
15256
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15182
|
-
* @version
|
|
15257
|
+
* @version 195.0.0
|
|
15183
15258
|
*/ /**
|
|
15184
15259
|
* Constructs a new LocationsApi.
|
|
15185
15260
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15238,7 +15313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15238
15313
|
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
15314
|
* LogCapture service.
|
|
15240
15315
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15241
|
-
* @version
|
|
15316
|
+
* @version 195.0.0
|
|
15242
15317
|
*/ /**
|
|
15243
15318
|
* Constructs a new LogCaptureApi.
|
|
15244
15319
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15288,7 +15363,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15288
15363
|
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
15364
|
* Messaging service.
|
|
15290
15365
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15291
|
-
* @version
|
|
15366
|
+
* @version 195.0.0
|
|
15292
15367
|
*/ /**
|
|
15293
15368
|
* Constructs a new MessagingApi.
|
|
15294
15369
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15378,7 +15453,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15378
15453
|
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
15454
|
* MobileDevices service.
|
|
15380
15455
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15381
|
-
* @version
|
|
15456
|
+
* @version 195.0.0
|
|
15382
15457
|
*/ /**
|
|
15383
15458
|
* Constructs a new MobileDevicesApi.
|
|
15384
15459
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15417,7 +15492,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15417
15492
|
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
15493
|
* Notifications service.
|
|
15419
15494
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15420
|
-
* @version
|
|
15495
|
+
* @version 195.0.0
|
|
15421
15496
|
*/ /**
|
|
15422
15497
|
* Constructs a new NotificationsApi.
|
|
15423
15498
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15474,7 +15549,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15474
15549
|
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
15550
|
* OAuth service.
|
|
15476
15551
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15477
|
-
* @version
|
|
15552
|
+
* @version 195.0.0
|
|
15478
15553
|
*/ /**
|
|
15479
15554
|
* Constructs a new OAuthApi.
|
|
15480
15555
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15559,7 +15634,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15559
15634
|
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
15635
|
* Objects service.
|
|
15561
15636
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15562
|
-
* @version
|
|
15637
|
+
* @version 195.0.0
|
|
15563
15638
|
*/ /**
|
|
15564
15639
|
* Constructs a new ObjectsApi.
|
|
15565
15640
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15630,7 +15705,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15630
15705
|
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
15706
|
* OperationalEvents service.
|
|
15632
15707
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15633
|
-
* @version
|
|
15708
|
+
* @version 195.0.0
|
|
15634
15709
|
*/ /**
|
|
15635
15710
|
* Constructs a new OperationalEventsApi.
|
|
15636
15711
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15648,7 +15723,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15648
15723
|
*/},{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
15724
|
* Organization service.
|
|
15650
15725
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15651
|
-
* @version
|
|
15726
|
+
* @version 195.0.0
|
|
15652
15727
|
*/ /**
|
|
15653
15728
|
* Constructs a new OrganizationApi.
|
|
15654
15729
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15753,7 +15828,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15753
15828
|
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
15829
|
* OrganizationAuthorization service.
|
|
15755
15830
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15756
|
-
* @version
|
|
15831
|
+
* @version 195.0.0
|
|
15757
15832
|
*/ /**
|
|
15758
15833
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15759
15834
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16076,7 +16151,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16076
16151
|
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
16152
|
* Outbound service.
|
|
16078
16153
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16079
|
-
* @version
|
|
16154
|
+
* @version 195.0.0
|
|
16080
16155
|
*/ /**
|
|
16081
16156
|
* Constructs a new OutboundApi.
|
|
16082
16157
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17148,7 +17223,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17148
17223
|
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
17224
|
* Presence service.
|
|
17150
17225
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17151
|
-
* @version
|
|
17226
|
+
* @version 195.0.0
|
|
17152
17227
|
*/ /**
|
|
17153
17228
|
* Constructs a new PresenceApi.
|
|
17154
17229
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17321,7 +17396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17321
17396
|
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
17397
|
* ProcessAutomation service.
|
|
17323
17398
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17324
|
-
* @version
|
|
17399
|
+
* @version 195.0.0
|
|
17325
17400
|
*/ /**
|
|
17326
17401
|
* Constructs a new ProcessAutomationApi.
|
|
17327
17402
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17384,7 +17459,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17384
17459
|
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
17460
|
* Quality service.
|
|
17386
17461
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17387
|
-
* @version
|
|
17462
|
+
* @version 195.0.0
|
|
17388
17463
|
*/ /**
|
|
17389
17464
|
* Constructs a new QualityApi.
|
|
17390
17465
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17855,7 +17930,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17855
17930
|
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
17931
|
* Recording service.
|
|
17857
17932
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17858
|
-
* @version
|
|
17933
|
+
* @version 195.0.0
|
|
17859
17934
|
*/ /**
|
|
17860
17935
|
* Constructs a new RecordingApi.
|
|
17861
17936
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18266,7 +18341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18266
18341
|
*/},{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
18342
|
* ResponseManagement service.
|
|
18268
18343
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18269
|
-
* @version
|
|
18344
|
+
* @version 195.0.0
|
|
18270
18345
|
*/ /**
|
|
18271
18346
|
* Constructs a new ResponseManagementApi.
|
|
18272
18347
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18387,7 +18462,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18387
18462
|
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
18463
|
* Routing service.
|
|
18389
18464
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18390
|
-
* @version
|
|
18465
|
+
* @version 195.0.0
|
|
18391
18466
|
*/ /**
|
|
18392
18467
|
* Constructs a new RoutingApi.
|
|
18393
18468
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18492,7 +18567,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18492
18567
|
* @param {String} labelId Utilization Label ID
|
|
18493
18568
|
* @param {Object} opts Optional parameters
|
|
18494
18569
|
* @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
18570
|
*/},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
|
|
18497
18571
|
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
18572
|
* Delete an utilization tag
|
|
@@ -18882,13 +18956,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18882
18956
|
* Get details about this utilization label
|
|
18883
18957
|
*
|
|
18884
18958
|
* @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
18959
|
*/},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
|
|
18887
18960
|
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
18961
|
* Get list of agent ids associated with a utilization label
|
|
18889
18962
|
*
|
|
18890
18963
|
* @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
18964
|
*/},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
|
|
18893
18965
|
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
18966
|
* Get list of utilization labels
|
|
@@ -18898,7 +18970,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
|
|
|
18898
18970
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18899
18971
|
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
18900
18972
|
* @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
18973
|
*/},{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
18974
|
* Get details about this utilization tag
|
|
18904
18975
|
*
|
|
@@ -19243,7 +19314,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19243
19314
|
* Create a utilization label
|
|
19244
19315
|
*
|
|
19245
19316
|
* @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
19317
|
*/},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
|
|
19248
19318
|
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
19319
|
* Create an utilization tag
|
|
@@ -19332,7 +19402,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19332
19402
|
*
|
|
19333
19403
|
* @param {String} labelId Utilization Label ID
|
|
19334
19404
|
* @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
19405
|
*/},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
|
|
19337
19406
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
|
|
19338
19407
|
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 +19430,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19361
19430
|
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
19431
|
* SCIM service.
|
|
19363
19432
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19364
|
-
* @version
|
|
19433
|
+
* @version 195.0.0
|
|
19365
19434
|
*/ /**
|
|
19366
19435
|
* Constructs a new SCIMApi.
|
|
19367
19436
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19586,7 +19655,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19586
19655
|
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
19656
|
* ScreenRecording service.
|
|
19588
19657
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19589
|
-
* @version
|
|
19658
|
+
* @version 195.0.0
|
|
19590
19659
|
*/ /**
|
|
19591
19660
|
* Constructs a new ScreenRecordingApi.
|
|
19592
19661
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19601,7 +19670,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19601
19670
|
*/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
19671
|
* Scripts service.
|
|
19603
19672
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19604
|
-
* @version
|
|
19673
|
+
* @version 195.0.0
|
|
19605
19674
|
*/ /**
|
|
19606
19675
|
* Constructs a new ScriptsApi.
|
|
19607
19676
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19737,7 +19806,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19737
19806
|
*/},{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
19807
|
* Search service.
|
|
19739
19808
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19740
|
-
* @version
|
|
19809
|
+
* @version 195.0.0
|
|
19741
19810
|
*/ /**
|
|
19742
19811
|
* Constructs a new SearchApi.
|
|
19743
19812
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19897,7 +19966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19897
19966
|
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
19967
|
* Settings service.
|
|
19899
19968
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19900
|
-
* @version
|
|
19969
|
+
* @version 195.0.0
|
|
19901
19970
|
*/ /**
|
|
19902
19971
|
* Constructs a new SettingsApi.
|
|
19903
19972
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19925,7 +19994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19925
19994
|
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
19995
|
* SpeechTextAnalytics service.
|
|
19927
19996
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19928
|
-
* @version
|
|
19997
|
+
* @version 195.0.0
|
|
19929
19998
|
*/ /**
|
|
19930
19999
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19931
20000
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19933,10 +20002,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19933
20002
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
19934
20003
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
19935
20004
|
*/function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
20005
|
+
* Delete a Speech and Text Analytics category by ID
|
|
20006
|
+
*
|
|
20007
|
+
* @param {String} categoryId The id of the category
|
|
20008
|
+
*/return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
20009
|
+
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
20010
|
* Delete a Speech and Text Analytics DictionaryFeedback by Id
|
|
19937
20011
|
*
|
|
19938
20012
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
19939
|
-
*/
|
|
20013
|
+
*/},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
|
|
19940
20014
|
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
20015
|
* Delete a Speech and Text Analytics program by id
|
|
19942
20016
|
*
|
|
@@ -19958,11 +20032,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
|
|
|
19958
20032
|
* @param {String} topicId The id of the topic
|
|
19959
20033
|
*/},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
|
|
19960
20034
|
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']);}/**
|
|
20035
|
+
* Get the list of Speech and Text Analytics categories
|
|
20036
|
+
*
|
|
20037
|
+
* @param {Object} opts Optional parameters
|
|
20038
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
20039
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
20040
|
+
* @param {String} opts.name The category name filter applied to the listing
|
|
20041
|
+
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
20042
|
+
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
20043
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
20044
|
+
*/},{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']);}/**
|
|
20045
|
+
* Get a Speech and Text Analytics Category by ID
|
|
20046
|
+
*
|
|
20047
|
+
* @param {String} categoryId The id of the category
|
|
20048
|
+
*/},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
20049
|
+
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
20050
|
* Get Speech and Text Analytics for a specific conversation
|
|
19962
20051
|
*
|
|
19963
20052
|
* @param {String} conversationId Conversation Id
|
|
19964
20053
|
*/},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
19965
20054
|
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']);}/**
|
|
20055
|
+
* Get the list of detected Speech and Text Analytics categories of conversation
|
|
20056
|
+
*
|
|
20057
|
+
* @param {String} conversationId The id of the conversation
|
|
20058
|
+
* @param {Object} opts Optional parameters
|
|
20059
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
20060
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
20061
|
+
*/},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
20062
|
+
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
20063
|
* Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
|
|
19967
20064
|
*
|
|
19968
20065
|
* @param {String} conversationId Conversation ID
|
|
@@ -20087,6 +20184,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
20087
20184
|
* @param {Object} body Speech And Text Analytics Settings
|
|
20088
20185
|
*/},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
|
|
20089
20186
|
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']);}/**
|
|
20187
|
+
* Create new Speech and Text Analytics category
|
|
20188
|
+
*
|
|
20189
|
+
* @param {Object} body The category to create
|
|
20190
|
+
*/},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
|
|
20191
|
+
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
20192
|
* Create a Speech and Text Analytics DictionaryFeedback
|
|
20091
20193
|
*
|
|
20092
20194
|
* @param {Object} body The DictionaryFeedback to create
|
|
@@ -20127,6 +20229,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20127
20229
|
* @param {Object} body Search request options
|
|
20128
20230
|
*/},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
|
|
20129
20231
|
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']);}/**
|
|
20232
|
+
* Update a Speech and Text Analytics category by ID
|
|
20233
|
+
*
|
|
20234
|
+
* @param {String} categoryId The id of the category
|
|
20235
|
+
* @param {Object} body The updated category
|
|
20236
|
+
*/},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
|
|
20237
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
|
|
20238
|
+
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
20239
|
* Update existing Speech and Text Analytics dictionary feedback by id
|
|
20131
20240
|
*
|
|
20132
20241
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
@@ -20169,7 +20278,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20169
20278
|
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
20279
|
* Stations service.
|
|
20171
20280
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20172
|
-
* @version
|
|
20281
|
+
* @version 195.0.0
|
|
20173
20282
|
*/ /**
|
|
20174
20283
|
* Constructs a new StationsApi.
|
|
20175
20284
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20201,7 +20310,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20201
20310
|
*/},{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
20311
|
* Suggest service.
|
|
20203
20312
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20204
|
-
* @version
|
|
20313
|
+
* @version 195.0.0
|
|
20205
20314
|
*/ /**
|
|
20206
20315
|
* Constructs a new SuggestApi.
|
|
20207
20316
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20241,7 +20350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20241
20350
|
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
20351
|
* TaskManagement service.
|
|
20243
20352
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20244
|
-
* @version
|
|
20353
|
+
* @version 195.0.0
|
|
20245
20354
|
*/ /**
|
|
20246
20355
|
* Constructs a new TaskManagementApi.
|
|
20247
20356
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20570,7 +20679,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20570
20679
|
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
20680
|
* Teams service.
|
|
20572
20681
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20573
|
-
* @version
|
|
20682
|
+
* @version 195.0.0
|
|
20574
20683
|
*/ /**
|
|
20575
20684
|
* Constructs a new TeamsApi.
|
|
20576
20685
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20648,7 +20757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20648
20757
|
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
20758
|
* Telephony service.
|
|
20650
20759
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20651
|
-
* @version
|
|
20760
|
+
* @version 195.0.0
|
|
20652
20761
|
*/ /**
|
|
20653
20762
|
* Constructs a new TelephonyApi.
|
|
20654
20763
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20695,7 +20804,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20695
20804
|
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
20805
|
* TelephonyProvidersEdge service.
|
|
20697
20806
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20698
|
-
* @version
|
|
20807
|
+
* @version 195.0.0
|
|
20699
20808
|
*/ /**
|
|
20700
20809
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20701
20810
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21505,7 +21614,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21505
21614
|
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
21615
|
* Textbots service.
|
|
21507
21616
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21508
|
-
* @version
|
|
21617
|
+
* @version 195.0.0
|
|
21509
21618
|
*/ /**
|
|
21510
21619
|
* Constructs a new TextbotsApi.
|
|
21511
21620
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21540,7 +21649,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21540
21649
|
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
21650
|
* Tokens service.
|
|
21542
21651
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21543
|
-
* @version
|
|
21652
|
+
* @version 195.0.0
|
|
21544
21653
|
*/ /**
|
|
21545
21654
|
* Constructs a new TokensApi.
|
|
21546
21655
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21574,7 +21683,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21574
21683
|
*/},{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
21684
|
* Uploads service.
|
|
21576
21685
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21577
|
-
* @version
|
|
21686
|
+
* @version 195.0.0
|
|
21578
21687
|
*/ /**
|
|
21579
21688
|
* Constructs a new UploadsApi.
|
|
21580
21689
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21640,7 +21749,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21640
21749
|
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
21750
|
* Usage service.
|
|
21642
21751
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21643
|
-
* @version
|
|
21752
|
+
* @version 195.0.0
|
|
21644
21753
|
*/ /**
|
|
21645
21754
|
* Constructs a new UsageApi.
|
|
21646
21755
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21694,7 +21803,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21694
21803
|
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
21804
|
* UserRecordings service.
|
|
21696
21805
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21697
|
-
* @version
|
|
21806
|
+
* @version 195.0.0
|
|
21698
21807
|
*/ /**
|
|
21699
21808
|
* Constructs a new UserRecordingsApi.
|
|
21700
21809
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21743,7 +21852,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21743
21852
|
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
21853
|
* Users service.
|
|
21745
21854
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21746
|
-
* @version
|
|
21855
|
+
* @version 195.0.0
|
|
21747
21856
|
*/ /**
|
|
21748
21857
|
* Constructs a new UsersApi.
|
|
21749
21858
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22405,7 +22514,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22405
22514
|
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
22515
|
* Utilities service.
|
|
22407
22516
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22408
|
-
* @version
|
|
22517
|
+
* @version 195.0.0
|
|
22409
22518
|
*/ /**
|
|
22410
22519
|
* Constructs a new UtilitiesApi.
|
|
22411
22520
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22432,7 +22541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22432
22541
|
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
22542
|
* Voicemail service.
|
|
22434
22543
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22435
|
-
* @version
|
|
22544
|
+
* @version 195.0.0
|
|
22436
22545
|
*/ /**
|
|
22437
22546
|
* Constructs a new VoicemailApi.
|
|
22438
22547
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22581,7 +22690,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22581
22690
|
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
22691
|
* WebChat service.
|
|
22583
22692
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22584
|
-
* @version
|
|
22693
|
+
* @version 195.0.0
|
|
22585
22694
|
*/ /**
|
|
22586
22695
|
* Constructs a new WebChatApi.
|
|
22587
22696
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22716,7 +22825,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22716
22825
|
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
22826
|
* WebDeployments service.
|
|
22718
22827
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22719
|
-
* @version
|
|
22828
|
+
* @version 195.0.0
|
|
22720
22829
|
*/ /**
|
|
22721
22830
|
* Constructs a new WebDeploymentsApi.
|
|
22722
22831
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22837,7 +22946,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22837
22946
|
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
22947
|
* WebMessaging service.
|
|
22839
22948
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22840
|
-
* @version
|
|
22949
|
+
* @version 195.0.0
|
|
22841
22950
|
*/ /**
|
|
22842
22951
|
* Constructs a new WebMessagingApi.
|
|
22843
22952
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22853,7 +22962,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22853
22962
|
*/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
22963
|
* Widgets service.
|
|
22855
22964
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22856
|
-
* @version
|
|
22965
|
+
* @version 195.0.0
|
|
22857
22966
|
*/ /**
|
|
22858
22967
|
* Constructs a new WidgetsApi.
|
|
22859
22968
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22888,7 +22997,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22888
22997
|
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
22998
|
* WorkforceManagement service.
|
|
22890
22999
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22891
|
-
* @version
|
|
23000
|
+
* @version 195.0.0
|
|
22892
23001
|
*/ /**
|
|
22893
23002
|
* Constructs a new WorkforceManagementApi.
|
|
22894
23003
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24368,7 +24477,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24368
24477
|
* </pre>
|
|
24369
24478
|
* </p>
|
|
24370
24479
|
* @module purecloud-platform-client-v2/index
|
|
24371
|
-
* @version
|
|
24480
|
+
* @version 195.0.0
|
|
24372
24481
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24373
24482
|
* The ApiClient constructor.
|
|
24374
24483
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|