purecloud-platform-client-v2 188.1.0 → 189.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 +709 -106
- package/dist/web-amd/purecloud-platform-client-v2.js +709 -106
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +250 -107
- package/dist/web-cjs/purecloud-platform-client-v2.js +269 -114
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +527 -6
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
- 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 +13 -9
- 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 +240 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +7 -3
- 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 +4 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- 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 +48 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +27 -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 +4 -3
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5021,42 +5021,54 @@ var $mapHas = callBound('Map.prototype.has', true);
|
|
|
5021
5021
|
*
|
|
5022
5022
|
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
5023
5023
|
*/
|
|
5024
|
+
/** @type {import('.').listGetNode} */
|
|
5024
5025
|
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
5025
|
-
|
|
5026
|
+
/** @type {typeof list | NonNullable<(typeof list)['next']>} */
|
|
5027
|
+
var prev = list;
|
|
5028
|
+
/** @type {(typeof list)['next']} */
|
|
5029
|
+
var curr;
|
|
5030
|
+
for (; (curr = prev.next) !== null; prev = curr) {
|
|
5026
5031
|
if (curr.key === key) {
|
|
5027
5032
|
prev.next = curr.next;
|
|
5028
|
-
|
|
5033
|
+
// eslint-disable-next-line no-extra-parens
|
|
5034
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
|
|
5029
5035
|
list.next = curr; // eslint-disable-line no-param-reassign
|
|
5030
5036
|
return curr;
|
|
5031
5037
|
}
|
|
5032
5038
|
}
|
|
5033
5039
|
};
|
|
5034
5040
|
|
|
5041
|
+
/** @type {import('.').listGet} */
|
|
5035
5042
|
var listGet = function (objects, key) {
|
|
5036
5043
|
var node = listGetNode(objects, key);
|
|
5037
5044
|
return node && node.value;
|
|
5038
5045
|
};
|
|
5046
|
+
/** @type {import('.').listSet} */
|
|
5039
5047
|
var listSet = function (objects, key, value) {
|
|
5040
5048
|
var node = listGetNode(objects, key);
|
|
5041
5049
|
if (node) {
|
|
5042
5050
|
node.value = value;
|
|
5043
5051
|
} else {
|
|
5044
5052
|
// Prepend the new node to the beginning of the list
|
|
5045
|
-
objects.next = { // eslint-disable-line no-param-reassign
|
|
5053
|
+
objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
5046
5054
|
key: key,
|
|
5047
5055
|
next: objects.next,
|
|
5048
5056
|
value: value
|
|
5049
|
-
};
|
|
5057
|
+
});
|
|
5050
5058
|
}
|
|
5051
5059
|
};
|
|
5060
|
+
/** @type {import('.').listHas} */
|
|
5052
5061
|
var listHas = function (objects, key) {
|
|
5053
5062
|
return !!listGetNode(objects, key);
|
|
5054
5063
|
};
|
|
5055
5064
|
|
|
5065
|
+
/** @type {import('.')} */
|
|
5056
5066
|
module.exports = function getSideChannel() {
|
|
5057
|
-
var $wm;
|
|
5058
|
-
var $m;
|
|
5059
|
-
var $o;
|
|
5067
|
+
/** @type {WeakMap<object, unknown>} */ var $wm;
|
|
5068
|
+
/** @type {Map<object, unknown>} */ var $m;
|
|
5069
|
+
/** @type {import('.').RootNode<unknown>} */ var $o;
|
|
5070
|
+
|
|
5071
|
+
/** @type {import('.').Channel} */
|
|
5060
5072
|
var channel = {
|
|
5061
5073
|
assert: function (key) {
|
|
5062
5074
|
if (!channel.has(key)) {
|
|
@@ -5968,7 +5980,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5968
5980
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5969
5981
|
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];}}}]);return Configuration;}();/**
|
|
5970
5982
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5971
|
-
* @version
|
|
5983
|
+
* @version 189.0.0
|
|
5972
5984
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5973
5985
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5974
5986
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6280,7 +6292,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6280
6292
|
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);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6281
6293
|
* Alerting service.
|
|
6282
6294
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6283
|
-
* @version
|
|
6295
|
+
* @version 189.0.0
|
|
6284
6296
|
*/ /**
|
|
6285
6297
|
* Constructs a new AlertingApi.
|
|
6286
6298
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6437,7 +6449,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6437
6449
|
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']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6438
6450
|
* Analytics service.
|
|
6439
6451
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6440
|
-
* @version
|
|
6452
|
+
* @version 189.0.0
|
|
6441
6453
|
*/ /**
|
|
6442
6454
|
* Constructs a new AnalyticsApi.
|
|
6443
6455
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7047,7 +7059,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7047
7059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7048
7060
|
* Architect service.
|
|
7049
7061
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7050
|
-
* @version
|
|
7062
|
+
* @version 189.0.0
|
|
7051
7063
|
*/ /**
|
|
7052
7064
|
* Constructs a new ArchitectApi.
|
|
7053
7065
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -7143,6 +7155,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
7143
7155
|
* @param {String} flowId Flow ID
|
|
7144
7156
|
*/},{key:"deleteFlow",value:function deleteFlow(flowId){// verify the required parameter 'flowId' is set
|
|
7145
7157
|
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7158
|
+
* Deletes a log level for a flow by flow id.
|
|
7159
|
+
* Deletes the associated log level for a flow by flow id
|
|
7160
|
+
* @param {String} flowId The flow id to delete the loglevel for
|
|
7161
|
+
* deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7162
|
+
*/},{key:"deleteFlowInstancesSettingsLoglevels",value:function deleteFlowInstancesSettingsLoglevels(flowId){// verify the required parameter 'flowId' is set
|
|
7163
|
+
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7146
7164
|
* Batch-delete a list of flows
|
|
7147
7165
|
* Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
|
|
7148
7166
|
* @param {Array.<String>} id List of Flow IDs
|
|
@@ -7162,6 +7180,10 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
|
|
|
7162
7180
|
*/},{key:"deleteFlowsDatatableRow",value:function deleteFlowsDatatableRow(datatableId,rowId){// verify the required parameter 'datatableId' is set
|
|
7163
7181
|
if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';}// verify the required parameter 'rowId' is set
|
|
7164
7182
|
if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','DELETE',{'datatableId':datatableId,'rowId':rowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7183
|
+
* Resets the org log level to default, base
|
|
7184
|
+
* Resets the org log level to default, base
|
|
7185
|
+
* deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7186
|
+
*/},{key:"deleteFlowsInstancesSettingsLoglevelsDefault",value:function deleteFlowsInstancesSettingsLoglevelsDefault(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7165
7187
|
* Delete a flow milestone.
|
|
7166
7188
|
*
|
|
7167
7189
|
* @param {String} milestoneId flow milestone ID
|
|
@@ -7513,6 +7535,14 @@ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flow
|
|
|
7513
7535
|
*/},{key:"getFlowHistoryHistoryId",value:function getFlowHistoryHistoryId(flowId,historyId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
|
|
7514
7536
|
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';}// verify the required parameter 'historyId' is set
|
|
7515
7537
|
if(historyId===undefined||historyId===null){throw'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history/{historyId}','GET',{'flowId':flowId,'historyId':historyId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'action':this.apiClient.buildCollectionParam(opts['action'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7538
|
+
* Retrieves the log level for a flow by flow id.
|
|
7539
|
+
* Retrieves the log level for a flow by flow id.
|
|
7540
|
+
* @param {String} flowId The flow id to get the loglevel for
|
|
7541
|
+
* @param {Object} opts Optional parameters
|
|
7542
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7543
|
+
* getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7544
|
+
*/},{key:"getFlowInstancesSettingsLoglevels",value:function getFlowInstancesSettingsLoglevels(flowId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
|
|
7545
|
+
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','GET',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7516
7546
|
* Get the latest configuration for flow
|
|
7517
7547
|
*
|
|
7518
7548
|
* @param {String} flowId Flow ID
|
|
@@ -7706,21 +7736,40 @@ if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the requir
|
|
|
7706
7736
|
* @param {String} instanceId Instance ID
|
|
7707
7737
|
* @param {Object} opts Optional parameters
|
|
7708
7738
|
* @param {Object} opts.expand Expand various details.
|
|
7709
|
-
* getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7710
7739
|
*/},{key:"getFlowsInstance",value:function getFlowsInstance(instanceId,opts){opts=opts||{};// verify the required parameter 'instanceId' is set
|
|
7711
7740
|
if(instanceId===undefined||instanceId===null){throw'Missing the required parameter "instanceId" when calling getFlowsInstance';}return this.apiClient.callApi('/api/v2/flows/instances/{instanceId}','GET',{'instanceId':instanceId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7712
7741
|
* Get the status and/or results of an asynchronous flow execution data retrieval job
|
|
7713
7742
|
*
|
|
7714
7743
|
* @param {String} jobId The asynchronous job ID
|
|
7715
|
-
* getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7716
7744
|
*/},{key:"getFlowsInstancesJob",value:function getFlowsInstancesJob(jobId){// verify the required parameter 'jobId' is set
|
|
7717
7745
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getFlowsInstancesJob';}return this.apiClient.callApi('/api/v2/flows/instances/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7718
7746
|
* Retrieve a list of capabilities that the org can use to query for execution data
|
|
7719
7747
|
* Returns the queryable parameters that can be used to build a query for execution data.
|
|
7720
7748
|
* @param {Object} opts Optional parameters
|
|
7721
7749
|
* @param {Object} opts.expand Expand various query types.
|
|
7722
|
-
* getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7723
7750
|
*/},{key:"getFlowsInstancesQuerycapabilities",value:function getFlowsInstancesQuerycapabilities(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/querycapabilities','GET',{},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7751
|
+
* Get the execution history enabled setting.
|
|
7752
|
+
* Get the execution history enabled setting.
|
|
7753
|
+
* getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7754
|
+
*/},{key:"getFlowsInstancesSettingsExecutiondata",value:function getFlowsInstancesSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7755
|
+
* Retrieve a list of LogLevels for the organization.
|
|
7756
|
+
* Returns a paged set of LogLevels per flow id
|
|
7757
|
+
* @param {Object} opts Optional parameters
|
|
7758
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7759
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
7760
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
7761
|
+
* getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7762
|
+
*/},{key:"getFlowsInstancesSettingsLoglevels",value:function getFlowsInstancesSettingsLoglevels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7763
|
+
* Gets the available flow log level characteristics for this organization.
|
|
7764
|
+
* Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
|
|
7765
|
+
* getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7766
|
+
*/},{key:"getFlowsInstancesSettingsLoglevelsCharacteristics",value:function getFlowsInstancesSettingsLoglevelsCharacteristics(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/characteristics','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7767
|
+
* Returns the flow default log level.
|
|
7768
|
+
* Returns the flow default log level which will be used if no specific flow id log level is found.
|
|
7769
|
+
* @param {Object} opts Optional parameters
|
|
7770
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7771
|
+
* getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7772
|
+
*/},{key:"getFlowsInstancesSettingsLoglevelsDefault",value:function getFlowsInstancesSettingsLoglevelsDefault(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7724
7773
|
* Fetch Architect Job Status
|
|
7725
7774
|
*
|
|
7726
7775
|
* @param {String} jobId Job ID
|
|
@@ -7804,6 +7853,12 @@ if(grammarId===undefined||grammarId===null){throw'Missing the required parameter
|
|
|
7804
7853
|
*/},{key:"patchArchitectGrammarLanguage",value:function patchArchitectGrammarLanguage(grammarId,languageCode,opts){opts=opts||{};// verify the required parameter 'grammarId' is set
|
|
7805
7854
|
if(grammarId===undefined||grammarId===null){throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';}// verify the required parameter 'languageCode' is set
|
|
7806
7855
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';}return this.apiClient.callApi('/api/v2/architect/grammars/{grammarId}/languages/{languageCode}','PATCH',{'grammarId':grammarId,'languageCode':languageCode},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7856
|
+
* Edit the execution history enabled setting.
|
|
7857
|
+
* Edit the execution history enabled setting.
|
|
7858
|
+
* @param {Object} body New Execution Data Setting
|
|
7859
|
+
* patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7860
|
+
*/},{key:"patchFlowsInstancesSettingsExecutiondata",value:function patchFlowsInstancesSettingsExecutiondata(body){// verify the required parameter 'body' is set
|
|
7861
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7807
7862
|
* Rebuild Dependency Tracking data for an organization
|
|
7808
7863
|
* Asynchronous. Notification topic: v2.architect.dependencytracking.build
|
|
7809
7864
|
*/},{key:"postArchitectDependencytrackingBuild",value:function postArchitectDependencytrackingBuild(){return this.apiClient.callApi('/api/v2/architect/dependencytracking/build','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -7895,6 +7950,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7895
7950
|
* @param {String} flowId Flow ID
|
|
7896
7951
|
*/},{key:"postFlowHistory",value:function postFlowHistory(flowId){// verify the required parameter 'flowId' is set
|
|
7897
7952
|
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowHistory';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history','POST',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7953
|
+
* Set the logLevel for a particular flow id
|
|
7954
|
+
* Assigns a new loglevel to a flow id
|
|
7955
|
+
* @param {String} flowId The flow id to set the loglevel for
|
|
7956
|
+
* @param {Object} body New LogLevel settings
|
|
7957
|
+
* @param {Object} opts Optional parameters
|
|
7958
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7959
|
+
* postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7960
|
+
*/},{key:"postFlowInstancesSettingsLoglevels",value:function postFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
|
|
7961
|
+
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
|
|
7962
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','POST',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7898
7963
|
* Create flow version
|
|
7899
7964
|
*
|
|
7900
7965
|
* @param {String} flowId Flow ID
|
|
@@ -7975,7 +8040,6 @@ if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the re
|
|
|
7975
8040
|
* @param {Object} body Requested Flow Ids
|
|
7976
8041
|
* @param {Object} opts Optional parameters
|
|
7977
8042
|
* @param {Object} opts.expand Expand various query types.
|
|
7978
|
-
* postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7979
8043
|
*/},{key:"postFlowsInstancesJobs",value:function postFlowsInstancesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
7980
8044
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesJobs';}return this.apiClient.callApi('/api/v2/flows/instances/jobs','POST',{},{'expand':opts['expand']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7981
8045
|
* Query the database of existing flow histories to look for particular flow criteria
|
|
@@ -7984,7 +8048,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7984
8048
|
* @param {Object} opts Optional parameters
|
|
7985
8049
|
* @param {Boolean} opts.indexOnly indexes only
|
|
7986
8050
|
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
7987
|
-
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7988
8051
|
*/},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
7989
8052
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7990
8053
|
* Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
|
|
@@ -8060,6 +8123,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8060
8123
|
*/},{key:"putFlow",value:function putFlow(flowId,body){// verify the required parameter 'flowId' is set
|
|
8061
8124
|
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlow';}// verify the required parameter 'body' is set
|
|
8062
8125
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','PUT',{'flowId':flowId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8126
|
+
* Edit the logLevel for a particular flow id
|
|
8127
|
+
* Updates the loglevel for a flow id
|
|
8128
|
+
* @param {String} flowId The flow id to edit the loglevel for
|
|
8129
|
+
* @param {Object} body New LogLevel settings
|
|
8130
|
+
* @param {Object} opts Optional parameters
|
|
8131
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
8132
|
+
* putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8133
|
+
*/},{key:"putFlowInstancesSettingsLoglevels",value:function putFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
|
|
8134
|
+
if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
|
|
8135
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','PUT',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8063
8136
|
* Updates a specific datatable by id
|
|
8064
8137
|
* Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
|
|
8065
8138
|
* @param {String} datatableId id of datatable
|
|
@@ -8078,6 +8151,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8078
8151
|
*/},{key:"putFlowsDatatableRow",value:function putFlowsDatatableRow(datatableId,rowId,opts){opts=opts||{};// verify the required parameter 'datatableId' is set
|
|
8079
8152
|
if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';}// verify the required parameter 'rowId' is set
|
|
8080
8153
|
if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling putFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','PUT',{'datatableId':datatableId,'rowId':rowId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8154
|
+
* Edit the flow default log level.
|
|
8155
|
+
* Edit the flow default log level.
|
|
8156
|
+
* @param {Object} body New LogLevel settings
|
|
8157
|
+
* @param {Object} opts Optional parameters
|
|
8158
|
+
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
8159
|
+
* putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8160
|
+
*/},{key:"putFlowsInstancesSettingsLoglevelsDefault",value:function putFlowsInstancesSettingsLoglevelsDefault(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
8161
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';}return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','PUT',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8081
8162
|
* Updates a flow milestone
|
|
8082
8163
|
*
|
|
8083
8164
|
* @param {String} milestoneId flow milestone ID
|
|
@@ -8094,7 +8175,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8094
8175
|
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']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8095
8176
|
* Audit service.
|
|
8096
8177
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8097
|
-
* @version
|
|
8178
|
+
* @version 189.0.0
|
|
8098
8179
|
*/ /**
|
|
8099
8180
|
* Constructs a new AuditApi.
|
|
8100
8181
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8136,7 +8217,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8136
8217
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8137
8218
|
* Authorization service.
|
|
8138
8219
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8139
|
-
* @version
|
|
8220
|
+
* @version 189.0.0
|
|
8140
8221
|
*/ /**
|
|
8141
8222
|
* Constructs a new AuthorizationApi.
|
|
8142
8223
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8447,7 +8528,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8447
8528
|
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']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8448
8529
|
* Billing service.
|
|
8449
8530
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8450
|
-
* @version
|
|
8531
|
+
* @version 189.0.0
|
|
8451
8532
|
*/ /**
|
|
8452
8533
|
* Constructs a new BillingApi.
|
|
8453
8534
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8471,7 +8552,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8471
8552
|
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']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8472
8553
|
* CarrierServices service.
|
|
8473
8554
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8474
|
-
* @version
|
|
8555
|
+
* @version 189.0.0
|
|
8475
8556
|
*/ /**
|
|
8476
8557
|
* Constructs a new CarrierServicesApi.
|
|
8477
8558
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8491,7 +8572,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8491
8572
|
*/},{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']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8492
8573
|
* Chat service.
|
|
8493
8574
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8494
|
-
* @version
|
|
8575
|
+
* @version 189.0.0
|
|
8495
8576
|
*/ /**
|
|
8496
8577
|
* Constructs a new ChatApi.
|
|
8497
8578
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8684,7 +8765,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8684
8765
|
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']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8685
8766
|
* Coaching service.
|
|
8686
8767
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8687
|
-
* @version
|
|
8768
|
+
* @version 189.0.0
|
|
8688
8769
|
*/ /**
|
|
8689
8770
|
* Constructs a new CoachingApi.
|
|
8690
8771
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8837,7 +8918,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8837
8918
|
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']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
8838
8919
|
* ContentManagement service.
|
|
8839
8920
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8840
|
-
* @version
|
|
8921
|
+
* @version 189.0.0
|
|
8841
8922
|
*/ /**
|
|
8842
8923
|
* Constructs a new ContentManagementApi.
|
|
8843
8924
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9120,7 +9201,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9120
9201
|
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']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9121
9202
|
* Conversations service.
|
|
9122
9203
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9123
|
-
* @version
|
|
9204
|
+
* @version 189.0.0
|
|
9124
9205
|
*/ /**
|
|
9125
9206
|
* Constructs a new ConversationsApi.
|
|
9126
9207
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9178,9 +9259,10 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
9178
9259
|
* @param {String} integrationId Integration ID
|
|
9179
9260
|
*/},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9180
9261
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9181
|
-
* Delete a LINE messenger integration
|
|
9182
|
-
*
|
|
9262
|
+
* Delete a LINE messenger integration (Deprecated)
|
|
9263
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9183
9264
|
* @param {String} integrationId Integration ID
|
|
9265
|
+
* @deprecated
|
|
9184
9266
|
*/},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9185
9267
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9186
9268
|
* Delete an Open messaging integration
|
|
@@ -9647,20 +9729,22 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
9647
9729
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9648
9730
|
*/},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9649
9731
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9650
|
-
* Get a list of LINE messenger Integrations
|
|
9651
|
-
*
|
|
9732
|
+
* Get a list of LINE messenger Integrations (Deprecated)
|
|
9733
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9652
9734
|
* @param {Object} opts Optional parameters
|
|
9653
9735
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9654
9736
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9655
9737
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9656
9738
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
9657
9739
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
9740
|
+
* @deprecated
|
|
9658
9741
|
*/},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9659
|
-
* Get a LINE messenger integration
|
|
9660
|
-
*
|
|
9742
|
+
* Get a LINE messenger integration (Deprecated)
|
|
9743
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9661
9744
|
* @param {String} integrationId Integration ID
|
|
9662
9745
|
* @param {Object} opts Optional parameters
|
|
9663
9746
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9747
|
+
* @deprecated
|
|
9664
9748
|
*/},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9665
9749
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9666
9750
|
* Get a list of Open messaging integrations
|
|
@@ -10802,10 +10886,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10802
10886
|
*/},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10803
10887
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
|
|
10804
10888
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10805
|
-
* Update a LINE messenger integration
|
|
10806
|
-
*
|
|
10889
|
+
* Update a LINE messenger integration (Deprecated)
|
|
10890
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
10807
10891
|
* @param {String} integrationId Integration ID
|
|
10808
10892
|
* @param {Object} body LineIntegrationRequest
|
|
10893
|
+
* @deprecated
|
|
10809
10894
|
*/},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
10810
10895
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
|
|
10811
10896
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10847,7 +10932,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10847
10932
|
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']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
10848
10933
|
* DataExtensions service.
|
|
10849
10934
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10850
|
-
* @version
|
|
10935
|
+
* @version 189.0.0
|
|
10851
10936
|
*/ /**
|
|
10852
10937
|
* Constructs a new DataExtensionsApi.
|
|
10853
10938
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10868,7 +10953,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10868
10953
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
10869
10954
|
* Downloads service.
|
|
10870
10955
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10871
|
-
* @version
|
|
10956
|
+
* @version 189.0.0
|
|
10872
10957
|
*/ /**
|
|
10873
10958
|
* Constructs a new DownloadsApi.
|
|
10874
10959
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10887,7 +10972,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10887
10972
|
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']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
10888
10973
|
* Emails service.
|
|
10889
10974
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10890
|
-
* @version
|
|
10975
|
+
* @version 189.0.0
|
|
10891
10976
|
*/ /**
|
|
10892
10977
|
* Constructs a new EmailsApi.
|
|
10893
10978
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10905,7 +10990,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10905
10990
|
*/},{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']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
10906
10991
|
* Events service.
|
|
10907
10992
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10908
|
-
* @version
|
|
10993
|
+
* @version 189.0.0
|
|
10909
10994
|
*/ /**
|
|
10910
10995
|
* Constructs a new EventsApi.
|
|
10911
10996
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10930,7 +11015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10930
11015
|
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']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
10931
11016
|
* ExternalContacts service.
|
|
10932
11017
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10933
|
-
* @version
|
|
11018
|
+
* @version 189.0.0
|
|
10934
11019
|
*/ /**
|
|
10935
11020
|
* Constructs a new ExternalContactsApi.
|
|
10936
11021
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11385,7 +11470,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11385
11470
|
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']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11386
11471
|
* Fax service.
|
|
11387
11472
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11388
|
-
* @version
|
|
11473
|
+
* @version 189.0.0
|
|
11389
11474
|
*/ /**
|
|
11390
11475
|
* Constructs a new FaxApi.
|
|
11391
11476
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11426,7 +11511,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11426
11511
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11427
11512
|
* Flows service.
|
|
11428
11513
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11429
|
-
* @version
|
|
11514
|
+
* @version 189.0.0
|
|
11430
11515
|
*/ /**
|
|
11431
11516
|
* Constructs a new FlowsApi.
|
|
11432
11517
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11475,7 +11560,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11475
11560
|
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']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11476
11561
|
* Gamification service.
|
|
11477
11562
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11478
|
-
* @version
|
|
11563
|
+
* @version 189.0.0
|
|
11479
11564
|
*/ /**
|
|
11480
11565
|
* Constructs a new GamificationApi.
|
|
11481
11566
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12015,7 +12100,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12015
12100
|
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']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
12016
12101
|
* GeneralDataProtectionRegulation service.
|
|
12017
12102
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12018
|
-
* @version
|
|
12103
|
+
* @version 189.0.0
|
|
12019
12104
|
*/ /**
|
|
12020
12105
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12021
12106
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12050,7 +12135,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12050
12135
|
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']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12051
12136
|
* Geolocation service.
|
|
12052
12137
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12053
|
-
* @version
|
|
12138
|
+
* @version 189.0.0
|
|
12054
12139
|
*/ /**
|
|
12055
12140
|
* Constructs a new GeolocationApi.
|
|
12056
12141
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12084,7 +12169,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12084
12169
|
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']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12085
12170
|
* Greetings service.
|
|
12086
12171
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12087
|
-
* @version
|
|
12172
|
+
* @version 189.0.0
|
|
12088
12173
|
*/ /**
|
|
12089
12174
|
* Constructs a new GreetingsApi.
|
|
12090
12175
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12191,7 +12276,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12191
12276
|
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']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12192
12277
|
* Groups service.
|
|
12193
12278
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12194
|
-
* @version
|
|
12279
|
+
* @version 189.0.0
|
|
12195
12280
|
*/ /**
|
|
12196
12281
|
* Constructs a new GroupsApi.
|
|
12197
12282
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12324,7 +12409,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12324
12409
|
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']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12325
12410
|
* IdentityProvider service.
|
|
12326
12411
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12327
|
-
* @version
|
|
12412
|
+
* @version 189.0.0
|
|
12328
12413
|
*/ /**
|
|
12329
12414
|
* Constructs a new IdentityProviderApi.
|
|
12330
12415
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12480,7 +12565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12480
12565
|
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']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12481
12566
|
* InfrastructureAsCode service.
|
|
12482
12567
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12483
|
-
* @version
|
|
12568
|
+
* @version 189.0.0
|
|
12484
12569
|
*/ /**
|
|
12485
12570
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12486
12571
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12534,7 +12619,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12534
12619
|
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']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12535
12620
|
* Integrations service.
|
|
12536
12621
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12537
|
-
* @version
|
|
12622
|
+
* @version 189.0.0
|
|
12538
12623
|
*/ /**
|
|
12539
12624
|
* Constructs a new IntegrationsApi.
|
|
12540
12625
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12779,6 +12864,18 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
12779
12864
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12780
12865
|
* @param {String} opts.name Filter on agent name
|
|
12781
12866
|
*/},{key:"getIntegrationsSpeechDialogflowAgents",value:function getIntegrationsSpeechDialogflowAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflow/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12867
|
+
* Get details about a Dialogflow CX agent
|
|
12868
|
+
*
|
|
12869
|
+
* @param {String} agentId The agent ID
|
|
12870
|
+
*/},{key:"getIntegrationsSpeechDialogflowcxAgent",value:function getIntegrationsSpeechDialogflowcxAgent(agentId){// verify the required parameter 'agentId' is set
|
|
12871
|
+
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';}return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents/{agentId}','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12872
|
+
* Get a list of Dialogflow CX agents in the customers' Google accounts
|
|
12873
|
+
*
|
|
12874
|
+
* @param {Object} opts Optional parameters
|
|
12875
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12876
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12877
|
+
* @param {String} opts.name Filter on agent name
|
|
12878
|
+
*/},{key:"getIntegrationsSpeechDialogflowcxAgents",value:function getIntegrationsSpeechDialogflowcxAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12782
12879
|
* Get details about a Lex bot alias
|
|
12783
12880
|
*
|
|
12784
12881
|
* @param {String} aliasId The alias ID
|
|
@@ -12801,6 +12898,28 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
|
|
|
12801
12898
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12802
12899
|
* @param {String} opts.name Filter on bot name
|
|
12803
12900
|
*/},{key:"getIntegrationsSpeechLexBots",value:function getIntegrationsSpeechLexBots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lex/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12901
|
+
* Get details about a Lex V2 bot alias
|
|
12902
|
+
*
|
|
12903
|
+
* @param {String} aliasId The Alias ID
|
|
12904
|
+
*/},{key:"getIntegrationsSpeechLexv2BotAlias",value:function getIntegrationsSpeechLexv2BotAlias(aliasId){// verify the required parameter 'aliasId' is set
|
|
12905
|
+
if(aliasId===undefined||aliasId===null){throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}','GET',{'aliasId':aliasId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12906
|
+
* Get a list of aliases for a Lex V2 bot
|
|
12907
|
+
*
|
|
12908
|
+
* @param {String} botId The Bot ID
|
|
12909
|
+
* @param {Object} opts Optional parameters
|
|
12910
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12911
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12912
|
+
* @param {Object} opts.status Filter on alias status
|
|
12913
|
+
* @param {String} opts.name Filter on alias name
|
|
12914
|
+
*/},{key:"getIntegrationsSpeechLexv2BotBotIdAliases",value:function getIntegrationsSpeechLexv2BotBotIdAliases(botId,opts){opts=opts||{};// verify the required parameter 'botId' is set
|
|
12915
|
+
if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/{botId}/aliases','GET',{'botId':botId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'status':opts['status'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12916
|
+
* Get a list of Lex V2 bots
|
|
12917
|
+
*
|
|
12918
|
+
* @param {Object} opts Optional parameters
|
|
12919
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12920
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12921
|
+
* @param {String} opts.name Filter on bot name
|
|
12922
|
+
*/},{key:"getIntegrationsSpeechLexv2Bots",value:function getIntegrationsSpeechLexv2Bots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12804
12923
|
* Get a Nuance bot in the specified Integration
|
|
12805
12924
|
*
|
|
12806
12925
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
@@ -12808,7 +12927,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
|
|
|
12808
12927
|
* @param {Object} opts Optional parameters
|
|
12809
12928
|
* @param {Array.<String>} opts.expand expand
|
|
12810
12929
|
* @param {Object} opts.targetChannel targetChannel
|
|
12811
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12812
12930
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBot",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
|
|
12813
12931
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}// verify the required parameter 'botId' is set
|
|
12814
12932
|
if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'targetChannel':opts['targetChannel']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -12817,7 +12935,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
|
|
|
12817
12935
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
12818
12936
|
* @param {String} botId The Nuance bot ID
|
|
12819
12937
|
* @param {String} jobId The asynchronous job ID
|
|
12820
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12821
12938
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
|
|
12822
12939
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'botId' is set
|
|
12823
12940
|
if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'jobId' is set
|
|
@@ -12827,7 +12944,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12827
12944
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
12828
12945
|
* @param {String} botId The Nuance bot ID
|
|
12829
12946
|
* @param {String} jobId The asynchronous job ID
|
|
12830
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12831
12947
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
|
|
12832
12948
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'botId' is set
|
|
12833
12949
|
if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'jobId' is set
|
|
@@ -12839,14 +12955,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12839
12955
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12840
12956
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12841
12957
|
* @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
|
|
12842
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12843
12958
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBots",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
|
|
12844
12959
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots','GET',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12845
12960
|
* Get the status of an asynchronous Nuance bots GET job
|
|
12846
12961
|
*
|
|
12847
12962
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
12848
12963
|
* @param {String} jobId The asynchronous job ID
|
|
12849
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12850
12964
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
|
|
12851
12965
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}// verify the required parameter 'jobId' is set
|
|
12852
12966
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -12854,10 +12968,21 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12854
12968
|
*
|
|
12855
12969
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
12856
12970
|
* @param {String} jobId The asynchronous job ID
|
|
12857
|
-
* getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12858
12971
|
*/},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
|
|
12859
12972
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}// verify the required parameter 'jobId' is set
|
|
12860
12973
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}/results','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12974
|
+
* Get details about a STT engine
|
|
12975
|
+
*
|
|
12976
|
+
* @param {String} engineId The engine ID
|
|
12977
|
+
*/},{key:"getIntegrationsSpeechSttEngine",value:function getIntegrationsSpeechSttEngine(engineId){// verify the required parameter 'engineId' is set
|
|
12978
|
+
if(engineId===undefined||engineId===null){throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';}return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines/{engineId}','GET',{'engineId':engineId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12979
|
+
* Get a list of STT engines enabled for org
|
|
12980
|
+
*
|
|
12981
|
+
* @param {Object} opts Optional parameters
|
|
12982
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12983
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12984
|
+
* @param {String} opts.name Filter on engine name
|
|
12985
|
+
*/},{key:"getIntegrationsSpeechSttEngines",value:function getIntegrationsSpeechSttEngines(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12861
12986
|
* Get details about a TTS engine
|
|
12862
12987
|
*
|
|
12863
12988
|
* @param {String} engineId The engine ID
|
|
@@ -12914,6 +13039,21 @@ if(configType===undefined||configType===null){throw'Missing the required paramet
|
|
|
12914
13039
|
* @param {String} opts.nextPage next page token
|
|
12915
13040
|
* @param {String} opts.previousPage Previous page token
|
|
12916
13041
|
*/},{key:"getIntegrationsTypes",value:function getIntegrationsTypes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/types','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13042
|
+
* UC integration client application configuration.
|
|
13043
|
+
* This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
|
|
13044
|
+
* @param {String} ucIntegrationId 3rd Party Service Type
|
|
13045
|
+
*/},{key:"getIntegrationsUnifiedcommunicationsClientapp",value:function getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId){// verify the required parameter 'ucIntegrationId' is set
|
|
13046
|
+
if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}','GET',{'ucIntegrationId':ucIntegrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13047
|
+
* List UC integration client application configurations.
|
|
13048
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
|
|
13049
|
+
* @param {Object} opts Optional parameters
|
|
13050
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
13051
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
13052
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
13053
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
13054
|
+
* @param {String} opts.nextPage next page token
|
|
13055
|
+
* @param {String} opts.previousPage Previous page token
|
|
13056
|
+
*/},{key:"getIntegrationsUnifiedcommunicationsClientapps",value:function getIntegrationsUnifiedcommunicationsClientapps(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12917
13057
|
* List permitted user app integrations for the logged in user
|
|
12918
13058
|
*
|
|
12919
13059
|
* @param {Object} opts Optional parameters
|
|
@@ -13020,7 +13160,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13020
13160
|
* @param {Object} opts Optional parameters
|
|
13021
13161
|
* @param {Array.<String>} opts.expand expand
|
|
13022
13162
|
* @param {String} opts.body targetChannel
|
|
13023
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13024
13163
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
|
|
13025
13164
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}// verify the required parameter 'botId' is set
|
|
13026
13165
|
if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13031,14 +13170,12 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
|
|
|
13031
13170
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13032
13171
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
13033
13172
|
* @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
|
|
13034
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13035
13173
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
|
|
13036
13174
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13037
13175
|
* Try out a single credential for a Nuance bot to know if the secret is correct
|
|
13038
13176
|
*
|
|
13039
13177
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
13040
13178
|
* @param {Object} settings
|
|
13041
|
-
* postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13042
13179
|
*/},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
|
|
13043
13180
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
|
|
13044
13181
|
if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13075,7 +13212,6 @@ if(credentialId===undefined||credentialId===null){throw'Missing the required par
|
|
|
13075
13212
|
*
|
|
13076
13213
|
* @param {String} nuanceIntegrationId The integration ID for this group of bots
|
|
13077
13214
|
* @param {Object} settings
|
|
13078
|
-
* putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13079
13215
|
*/},{key:"putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings",value:function putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
|
|
13080
13216
|
if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}// verify the required parameter 'settings' is set
|
|
13081
13217
|
if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/settings','PUT',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13093,7 +13229,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13093
13229
|
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']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13094
13230
|
* Journey service.
|
|
13095
13231
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13096
|
-
* @version
|
|
13232
|
+
* @version 189.0.0
|
|
13097
13233
|
*/ /**
|
|
13098
13234
|
* Constructs a new JourneyApi.
|
|
13099
13235
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13430,7 +13566,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13430
13566
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13431
13567
|
* Knowledge service.
|
|
13432
13568
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13433
|
-
* @version
|
|
13569
|
+
* @version 189.0.0
|
|
13434
13570
|
*/ /**
|
|
13435
13571
|
* Constructs a new KnowledgeApi.
|
|
13436
13572
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14342,7 +14478,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14342
14478
|
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']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14343
14479
|
* LanguageUnderstanding service.
|
|
14344
14480
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14345
|
-
* @version
|
|
14481
|
+
* @version 189.0.0
|
|
14346
14482
|
*/ /**
|
|
14347
14483
|
* Constructs a new LanguageUnderstandingApi.
|
|
14348
14484
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14598,7 +14734,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14598
14734
|
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']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14599
14735
|
* Languages service.
|
|
14600
14736
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14601
|
-
* @version
|
|
14737
|
+
* @version 189.0.0
|
|
14602
14738
|
*/ /**
|
|
14603
14739
|
* Constructs a new LanguagesApi.
|
|
14604
14740
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14653,7 +14789,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14653
14789
|
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']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14654
14790
|
* Learning service.
|
|
14655
14791
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14656
|
-
* @version
|
|
14792
|
+
* @version 189.0.0
|
|
14657
14793
|
*/ /**
|
|
14658
14794
|
* Constructs a new LearningApi.
|
|
14659
14795
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14883,7 +15019,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14883
15019
|
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']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
14884
15020
|
* License service.
|
|
14885
15021
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14886
|
-
* @version
|
|
15022
|
+
* @version 189.0.0
|
|
14887
15023
|
*/ /**
|
|
14888
15024
|
* Constructs a new LicenseApi.
|
|
14889
15025
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14937,7 +15073,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14937
15073
|
*/},{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']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
14938
15074
|
* Locations service.
|
|
14939
15075
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14940
|
-
* @version
|
|
15076
|
+
* @version 189.0.0
|
|
14941
15077
|
*/ /**
|
|
14942
15078
|
* Constructs a new LocationsApi.
|
|
14943
15079
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14996,7 +15132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14996
15132
|
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']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
14997
15133
|
* LogCapture service.
|
|
14998
15134
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14999
|
-
* @version
|
|
15135
|
+
* @version 189.0.0
|
|
15000
15136
|
*/ /**
|
|
15001
15137
|
* Constructs a new LogCaptureApi.
|
|
15002
15138
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15046,7 +15182,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15046
15182
|
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']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
15047
15183
|
* Messaging service.
|
|
15048
15184
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15049
|
-
* @version
|
|
15185
|
+
* @version 189.0.0
|
|
15050
15186
|
*/ /**
|
|
15051
15187
|
* Constructs a new MessagingApi.
|
|
15052
15188
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15136,7 +15272,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15136
15272
|
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']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
15137
15273
|
* MobileDevices service.
|
|
15138
15274
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15139
|
-
* @version
|
|
15275
|
+
* @version 189.0.0
|
|
15140
15276
|
*/ /**
|
|
15141
15277
|
* Constructs a new MobileDevicesApi.
|
|
15142
15278
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15175,7 +15311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15175
15311
|
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']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15176
15312
|
* Notifications service.
|
|
15177
15313
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15178
|
-
* @version
|
|
15314
|
+
* @version 189.0.0
|
|
15179
15315
|
*/ /**
|
|
15180
15316
|
* Constructs a new NotificationsApi.
|
|
15181
15317
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15232,7 +15368,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15232
15368
|
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']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
15233
15369
|
* OAuth service.
|
|
15234
15370
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15235
|
-
* @version
|
|
15371
|
+
* @version 189.0.0
|
|
15236
15372
|
*/ /**
|
|
15237
15373
|
* Constructs a new OAuthApi.
|
|
15238
15374
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15317,7 +15453,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15317
15453
|
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']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15318
15454
|
* Objects service.
|
|
15319
15455
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15320
|
-
* @version
|
|
15456
|
+
* @version 189.0.0
|
|
15321
15457
|
*/ /**
|
|
15322
15458
|
* Constructs a new ObjectsApi.
|
|
15323
15459
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15388,7 +15524,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15388
15524
|
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']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15389
15525
|
* OperationalEvents service.
|
|
15390
15526
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15391
|
-
* @version
|
|
15527
|
+
* @version 189.0.0
|
|
15392
15528
|
*/ /**
|
|
15393
15529
|
* Constructs a new OperationalEventsApi.
|
|
15394
15530
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15406,7 +15542,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15406
15542
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15407
15543
|
* Organization service.
|
|
15408
15544
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15409
|
-
* @version
|
|
15545
|
+
* @version 189.0.0
|
|
15410
15546
|
*/ /**
|
|
15411
15547
|
* Constructs a new OrganizationApi.
|
|
15412
15548
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15508,7 +15644,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15508
15644
|
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']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15509
15645
|
* OrganizationAuthorization service.
|
|
15510
15646
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15511
|
-
* @version
|
|
15647
|
+
* @version 189.0.0
|
|
15512
15648
|
*/ /**
|
|
15513
15649
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15514
15650
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15831,7 +15967,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15831
15967
|
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']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
15832
15968
|
* Outbound service.
|
|
15833
15969
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15834
|
-
* @version
|
|
15970
|
+
* @version 189.0.0
|
|
15835
15971
|
*/ /**
|
|
15836
15972
|
* Constructs a new OutboundApi.
|
|
15837
15973
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16601,8 +16737,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16601
16737
|
* Initiate the export of a contact list.
|
|
16602
16738
|
* Returns 200 if received OK.
|
|
16603
16739
|
* @param {String} contactListId ContactList ID
|
|
16604
|
-
|
|
16605
|
-
|
|
16740
|
+
* @param {Object} opts Optional parameters
|
|
16741
|
+
* @param {Object} opts.body Export information to get
|
|
16742
|
+
*/},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId,opts){opts=opts||{};// verify the required parameter 'contactListId' is set
|
|
16743
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/export','POST',{'contactListId':contactListId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16606
16744
|
* Create Contact List Filter
|
|
16607
16745
|
*
|
|
16608
16746
|
* @param {Object} body ContactListFilter
|
|
@@ -16867,7 +17005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16867
17005
|
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']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
16868
17006
|
* Presence service.
|
|
16869
17007
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16870
|
-
* @version
|
|
17008
|
+
* @version 189.0.0
|
|
16871
17009
|
*/ /**
|
|
16872
17010
|
* Constructs a new PresenceApi.
|
|
16873
17011
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17040,7 +17178,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17040
17178
|
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']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
17041
17179
|
* ProcessAutomation service.
|
|
17042
17180
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17043
|
-
* @version
|
|
17181
|
+
* @version 189.0.0
|
|
17044
17182
|
*/ /**
|
|
17045
17183
|
* Constructs a new ProcessAutomationApi.
|
|
17046
17184
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17103,7 +17241,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17103
17241
|
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']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
17104
17242
|
* Quality service.
|
|
17105
17243
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17106
|
-
* @version
|
|
17244
|
+
* @version 189.0.0
|
|
17107
17245
|
*/ /**
|
|
17108
17246
|
* Constructs a new QualityApi.
|
|
17109
17247
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17296,7 +17434,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
|
|
|
17296
17434
|
* @deprecated
|
|
17297
17435
|
*/},{key:"getQualityFormVersions",value:function getQualityFormVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
|
|
17298
17436
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormVersions';}return this.apiClient.callApi('/api/v2/quality/forms/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17299
|
-
* Get the list of evaluation forms
|
|
17437
|
+
* Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
|
|
17300
17438
|
*
|
|
17301
17439
|
* @param {Object} opts Optional parameters
|
|
17302
17440
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -17324,7 +17462,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
|
|
|
17324
17462
|
*/},{key:"getQualityFormsEvaluationVersions",value:function getQualityFormsEvaluationVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
|
|
17325
17463
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsEvaluationVersions';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17326
17464
|
* Get the list of evaluation forms
|
|
17327
|
-
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned
|
|
17465
|
+
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
|
|
17328
17466
|
* @param {Object} opts Optional parameters
|
|
17329
17467
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
17330
17468
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -17353,7 +17491,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
|
|
|
17353
17491
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17354
17492
|
*/},{key:"getQualityFormsSurveyVersions",value:function getQualityFormsSurveyVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
|
|
17355
17493
|
if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsSurveyVersions';}return this.apiClient.callApi('/api/v2/quality/forms/surveys/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17356
|
-
* Get the list of survey forms
|
|
17494
|
+
* Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
|
|
17357
17495
|
*
|
|
17358
17496
|
* @param {Object} opts Optional parameters
|
|
17359
17497
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -17574,7 +17712,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17574
17712
|
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']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17575
17713
|
* Recording service.
|
|
17576
17714
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17577
|
-
* @version
|
|
17715
|
+
* @version 189.0.0
|
|
17578
17716
|
*/ /**
|
|
17579
17717
|
* Constructs a new RecordingApi.
|
|
17580
17718
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17981,7 +18119,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17981
18119
|
*/},{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']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
17982
18120
|
* ResponseManagement service.
|
|
17983
18121
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17984
|
-
* @version
|
|
18122
|
+
* @version 189.0.0
|
|
17985
18123
|
*/ /**
|
|
17986
18124
|
* Constructs a new ResponseManagementApi.
|
|
17987
18125
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18097,7 +18235,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18097
18235
|
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']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
18098
18236
|
* Routing service.
|
|
18099
18237
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18100
|
-
* @version
|
|
18238
|
+
* @version 189.0.0
|
|
18101
18239
|
*/ /**
|
|
18102
18240
|
* Constructs a new RoutingApi.
|
|
18103
18241
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19065,7 +19203,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19065
19203
|
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']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
19066
19204
|
* SCIM service.
|
|
19067
19205
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19068
|
-
* @version
|
|
19206
|
+
* @version 189.0.0
|
|
19069
19207
|
*/ /**
|
|
19070
19208
|
* Constructs a new SCIMApi.
|
|
19071
19209
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19290,7 +19428,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19290
19428
|
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']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19291
19429
|
* ScreenRecording service.
|
|
19292
19430
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19293
|
-
* @version
|
|
19431
|
+
* @version 189.0.0
|
|
19294
19432
|
*/ /**
|
|
19295
19433
|
* Constructs a new ScreenRecordingApi.
|
|
19296
19434
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19305,7 +19443,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19305
19443
|
*/_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']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
19306
19444
|
* Scripts service.
|
|
19307
19445
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19308
|
-
* @version
|
|
19446
|
+
* @version 189.0.0
|
|
19309
19447
|
*/ /**
|
|
19310
19448
|
* Constructs a new ScriptsApi.
|
|
19311
19449
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19441,7 +19579,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19441
19579
|
*/},{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']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19442
19580
|
* Search service.
|
|
19443
19581
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19444
|
-
* @version
|
|
19582
|
+
* @version 189.0.0
|
|
19445
19583
|
*/ /**
|
|
19446
19584
|
* Constructs a new SearchApi.
|
|
19447
19585
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19601,7 +19739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19601
19739
|
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']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
19602
19740
|
* Settings service.
|
|
19603
19741
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19604
|
-
* @version
|
|
19742
|
+
* @version 189.0.0
|
|
19605
19743
|
*/ /**
|
|
19606
19744
|
* Constructs a new SettingsApi.
|
|
19607
19745
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19612,14 +19750,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19612
19750
|
* Get email Contact Center settings
|
|
19613
19751
|
*
|
|
19614
19752
|
*/_createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19753
|
+
* Get the execution history enabled setting.
|
|
19754
|
+
* Get the execution history enabled setting.
|
|
19755
|
+
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19756
|
+
*/},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19615
19757
|
* Patch email Contact Center settings
|
|
19616
19758
|
*
|
|
19617
19759
|
* @param {Object} opts Optional parameters
|
|
19618
19760
|
* @param {Object} opts.body
|
|
19619
|
-
*/},{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']);}
|
|
19761
|
+
*/},{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']);}/**
|
|
19762
|
+
* Edit the execution history on off setting.
|
|
19763
|
+
* Edit the execution history on off setting.
|
|
19764
|
+
* @param {Object} body New Execution Data Setting
|
|
19765
|
+
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19766
|
+
*/},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
|
|
19767
|
+
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']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19620
19768
|
* SpeechTextAnalytics service.
|
|
19621
19769
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19622
|
-
* @version
|
|
19770
|
+
* @version 189.0.0
|
|
19623
19771
|
*/ /**
|
|
19624
19772
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19625
19773
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19863,7 +20011,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19863
20011
|
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']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
19864
20012
|
* Stations service.
|
|
19865
20013
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19866
|
-
* @version
|
|
20014
|
+
* @version 189.0.0
|
|
19867
20015
|
*/ /**
|
|
19868
20016
|
* Constructs a new StationsApi.
|
|
19869
20017
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19895,7 +20043,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19895
20043
|
*/},{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']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
19896
20044
|
* Suggest service.
|
|
19897
20045
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19898
|
-
* @version
|
|
20046
|
+
* @version 189.0.0
|
|
19899
20047
|
*/ /**
|
|
19900
20048
|
* Constructs a new SuggestApi.
|
|
19901
20049
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19935,7 +20083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19935
20083
|
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']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
19936
20084
|
* TaskManagement service.
|
|
19937
20085
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19938
|
-
* @version
|
|
20086
|
+
* @version 189.0.0
|
|
19939
20087
|
*/ /**
|
|
19940
20088
|
* Constructs a new TaskManagementApi.
|
|
19941
20089
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20119,6 +20267,12 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
|
|
|
20119
20267
|
*/},{key:"getTaskmanagementWorktypeStatus",value:function getTaskmanagementWorktypeStatus(worktypeId,statusId){// verify the required parameter 'worktypeId' is set
|
|
20120
20268
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';}// verify the required parameter 'statusId' is set
|
|
20121
20269
|
if(statusId===undefined||statusId===null){throw'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}','GET',{'worktypeId':worktypeId,'statusId':statusId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20270
|
+
* Get list of statuses for this worktype.
|
|
20271
|
+
*
|
|
20272
|
+
* @param {String} worktypeId Worktype id
|
|
20273
|
+
* getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20274
|
+
*/},{key:"getTaskmanagementWorktypeStatuses",value:function getTaskmanagementWorktypeStatuses(worktypeId){// verify the required parameter 'worktypeId' is set
|
|
20275
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses','GET',{'worktypeId':worktypeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20122
20276
|
* Get a version of a worktype
|
|
20123
20277
|
*
|
|
20124
20278
|
* @param {String} worktypeId Worktype id
|
|
@@ -20277,7 +20431,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20277
20431
|
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']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
20278
20432
|
* Teams service.
|
|
20279
20433
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20280
|
-
* @version
|
|
20434
|
+
* @version 189.0.0
|
|
20281
20435
|
*/ /**
|
|
20282
20436
|
* Constructs a new TeamsApi.
|
|
20283
20437
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20356,7 +20510,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20356
20510
|
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']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
20357
20511
|
* Telephony service.
|
|
20358
20512
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20359
|
-
* @version
|
|
20513
|
+
* @version 189.0.0
|
|
20360
20514
|
*/ /**
|
|
20361
20515
|
* Constructs a new TelephonyApi.
|
|
20362
20516
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20403,7 +20557,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20403
20557
|
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']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20404
20558
|
* TelephonyProvidersEdge service.
|
|
20405
20559
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20406
|
-
* @version
|
|
20560
|
+
* @version 189.0.0
|
|
20407
20561
|
*/ /**
|
|
20408
20562
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20409
20563
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21217,7 +21371,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21217
21371
|
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']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
21218
21372
|
* Textbots service.
|
|
21219
21373
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21220
|
-
* @version
|
|
21374
|
+
* @version 189.0.0
|
|
21221
21375
|
*/ /**
|
|
21222
21376
|
* Constructs a new TextbotsApi.
|
|
21223
21377
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21252,7 +21406,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21252
21406
|
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']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
21253
21407
|
* Tokens service.
|
|
21254
21408
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21255
|
-
* @version
|
|
21409
|
+
* @version 189.0.0
|
|
21256
21410
|
*/ /**
|
|
21257
21411
|
* Constructs a new TokensApi.
|
|
21258
21412
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21286,7 +21440,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21286
21440
|
*/},{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']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
21287
21441
|
* Uploads service.
|
|
21288
21442
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21289
|
-
* @version
|
|
21443
|
+
* @version 189.0.0
|
|
21290
21444
|
*/ /**
|
|
21291
21445
|
* Constructs a new UploadsApi.
|
|
21292
21446
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21352,7 +21506,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21352
21506
|
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']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
21353
21507
|
* Usage service.
|
|
21354
21508
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21355
|
-
* @version
|
|
21509
|
+
* @version 189.0.0
|
|
21356
21510
|
*/ /**
|
|
21357
21511
|
* Constructs a new UsageApi.
|
|
21358
21512
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21403,7 +21557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21403
21557
|
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']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
21404
21558
|
* UserRecordings service.
|
|
21405
21559
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21406
|
-
* @version
|
|
21560
|
+
* @version 189.0.0
|
|
21407
21561
|
*/ /**
|
|
21408
21562
|
* Constructs a new UserRecordingsApi.
|
|
21409
21563
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21452,7 +21606,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21452
21606
|
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']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
21453
21607
|
* Users service.
|
|
21454
21608
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21455
|
-
* @version
|
|
21609
|
+
* @version 189.0.0
|
|
21456
21610
|
*/ /**
|
|
21457
21611
|
* Constructs a new UsersApi.
|
|
21458
21612
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22111,7 +22265,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22111
22265
|
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']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
22112
22266
|
* Utilities service.
|
|
22113
22267
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22114
|
-
* @version
|
|
22268
|
+
* @version 189.0.0
|
|
22115
22269
|
*/ /**
|
|
22116
22270
|
* Constructs a new UtilitiesApi.
|
|
22117
22271
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22138,7 +22292,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22138
22292
|
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']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
22139
22293
|
* Voicemail service.
|
|
22140
22294
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22141
|
-
* @version
|
|
22295
|
+
* @version 189.0.0
|
|
22142
22296
|
*/ /**
|
|
22143
22297
|
* Constructs a new VoicemailApi.
|
|
22144
22298
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22287,7 +22441,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22287
22441
|
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']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
22288
22442
|
* WebChat service.
|
|
22289
22443
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22290
|
-
* @version
|
|
22444
|
+
* @version 189.0.0
|
|
22291
22445
|
*/ /**
|
|
22292
22446
|
* Constructs a new WebChatApi.
|
|
22293
22447
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22420,7 +22574,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22420
22574
|
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']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
22421
22575
|
* WebDeployments service.
|
|
22422
22576
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22423
|
-
* @version
|
|
22577
|
+
* @version 189.0.0
|
|
22424
22578
|
*/ /**
|
|
22425
22579
|
* Constructs a new WebDeploymentsApi.
|
|
22426
22580
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22541,7 +22695,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22541
22695
|
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']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22542
22696
|
* WebMessaging service.
|
|
22543
22697
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22544
|
-
* @version
|
|
22698
|
+
* @version 189.0.0
|
|
22545
22699
|
*/ /**
|
|
22546
22700
|
* Constructs a new WebMessagingApi.
|
|
22547
22701
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22557,7 +22711,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22557
22711
|
*/_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']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22558
22712
|
* Widgets service.
|
|
22559
22713
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22560
|
-
* @version
|
|
22714
|
+
* @version 189.0.0
|
|
22561
22715
|
*/ /**
|
|
22562
22716
|
* Constructs a new WidgetsApi.
|
|
22563
22717
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22592,7 +22746,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22592
22746
|
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']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
22593
22747
|
* WorkforceManagement service.
|
|
22594
22748
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22595
|
-
* @version
|
|
22749
|
+
* @version 189.0.0
|
|
22596
22750
|
*/ /**
|
|
22597
22751
|
* Constructs a new WorkforceManagementApi.
|
|
22598
22752
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -22712,9 +22866,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
22712
22866
|
* @param {String} jobId jobId
|
|
22713
22867
|
*/},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
|
|
22714
22868
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22715
|
-
*
|
|
22716
|
-
*
|
|
22869
|
+
* To get status of the modeling job.
|
|
22870
|
+
* This Endpoint is Deprecated, and not recommended to be used.
|
|
22717
22871
|
* @param {String} jobId The id of the modeling job
|
|
22872
|
+
* @deprecated
|
|
22718
22873
|
*/},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
|
|
22719
22874
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdhocmodelingjob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adhocmodelingjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22720
22875
|
* Get an adherence explanation
|
|
@@ -23943,7 +24098,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23943
24098
|
* </pre>
|
|
23944
24099
|
* </p>
|
|
23945
24100
|
* @module purecloud-platform-client-v2/index
|
|
23946
|
-
* @version
|
|
24101
|
+
* @version 189.0.0
|
|
23947
24102
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23948
24103
|
* The ApiClient constructor.
|
|
23949
24104
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|