purecloud-platform-client-v2 216.0.0 → 217.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +826 -457
- package/dist/web-amd/purecloud-platform-client-v2.js +826 -457
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +314 -217
- package/dist/web-cjs/purecloud-platform-client-v2.js +319 -220
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +345 -220
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -305
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +9 -8
- 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 -5
- 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 +174 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +167 -4
- 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 +5 -3
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -11
- 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 +9 -8
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +3 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -29
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -3
- 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 +58 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -1992,10 +1992,11 @@ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
|
1992
1992
|
|
|
1993
1993
|
/** @type {import('.')} */
|
|
1994
1994
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
1995
|
-
|
|
1996
|
-
|
|
1995
|
+
/* eslint no-extra-parens: 0 */
|
|
1996
|
+
|
|
1997
|
+
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));
|
|
1997
1998
|
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
1998
|
-
return callBindBasic([intrinsic]);
|
|
1999
|
+
return callBindBasic(/** @type {const} */ ([intrinsic]));
|
|
1999
2000
|
}
|
|
2000
2001
|
return intrinsic;
|
|
2001
2002
|
};
|
|
@@ -2282,6 +2283,7 @@ var INTRINSICS = {
|
|
|
2282
2283
|
'%Error%': $Error,
|
|
2283
2284
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
2284
2285
|
'%EvalError%': $EvalError,
|
|
2286
|
+
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
|
|
2285
2287
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
2286
2288
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
2287
2289
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -5808,7 +5810,7 @@ return function(thing){return TypedArray&&thing instanceof TypedArray;};}(typeof
|
|
|
5808
5810
|
* Makes all methods read-only
|
|
5809
5811
|
* @param {Object} obj
|
|
5810
5812
|
*/var freezeMethods=function freezeMethods(obj){reduceDescriptors(obj,function(descriptor,name){// skip restricted props in strict mode
|
|
5811
|
-
if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;}
|
|
5813
|
+
if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;};/**
|
|
5812
5814
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
5813
5815
|
*
|
|
5814
5816
|
* @param {unknown} thing - The thing to check.
|
|
@@ -5818,7 +5820,7 @@ if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return f
|
|
|
5818
5820
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
5819
5821
|
var _setImmediate=function(setImmediateSupported,postMessageSupported){if(setImmediateSupported){return setImmediate;}return postMessageSupported?function(token,callbacks){_global.addEventListener("message",function(_ref7){var source=_ref7.source,data=_ref7.data;if(source===_global&&data===token){callbacks.length&&callbacks.shift()();}},false);return function(cb){callbacks.push(cb);_global.postMessage(token,"*");};}("axios@".concat(Math.random()),[]):function(cb){return setTimeout(cb);};}(typeof setImmediate==='function',isFunction(_global.postMessage));var asap=typeof queueMicrotask!=='undefined'?queueMicrotask.bind(_global):typeof process!=='undefined'&&nextTick||_setImmediate;// *********************
|
|
5820
5822
|
var utils$1={isArray:isArray$1,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer$1,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,// an alias to avoid ESLint no-prototype-builtins detection
|
|
5821
|
-
reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,
|
|
5823
|
+
reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
5822
5824
|
// if there are two placeholders, than the two characters before it
|
|
5823
5825
|
// represent one byte
|
|
5824
5826
|
// if there is only one, then the three characters before it represent 2 bytes
|
|
@@ -6245,7 +6247,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
6245
6247
|
* @param {string} requestedURL Absolute or relative URL to combine
|
|
6246
6248
|
*
|
|
6247
6249
|
* @returns {string} The combined full path
|
|
6248
|
-
*/function buildFullPath(baseURL,requestedURL){
|
|
6250
|
+
*/function buildFullPath(baseURL,requestedURL,allowAbsoluteUrls){var isRelativeUrl=!isAbsoluteURL(requestedURL);if(baseURL&&isRelativeUrl||allowAbsoluteUrls==false){return combineURLs(baseURL,requestedURL);}return requestedURL;}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
|
|
6249
6251
|
* Config-specific merge-function which creates a new config-object
|
|
6250
6252
|
* by merging two configuration objects together.
|
|
6251
6253
|
*
|
|
@@ -6314,7 +6316,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
6314
6316
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
6315
6317
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
6316
6318
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
6317
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.
|
|
6319
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.8.2";var validators$1={};// eslint-disable-next-line func-names
|
|
6318
6320
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
6319
6321
|
* Transitional option validator
|
|
6320
6322
|
*
|
|
@@ -6351,10 +6353,11 @@ console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpellin
|
|
|
6351
6353
|
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
|
|
6352
6354
|
}else if(stack&&!String(_context9.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context9.t0.stack+='\n'+stack;}}catch(e){// ignore the case where "stack" is an un-writable property
|
|
6353
6355
|
}}throw _context9.t0;case 10:case"end":return _context9.stop();}},_callee8,this,[[0,6]]);}));function request(_x9,_x10){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/// Allow for axios('example/url'[, config]) a la fetch API
|
|
6354
|
-
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}
|
|
6356
|
+
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}// Set config.allowAbsoluteUrls
|
|
6357
|
+
if(config.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){config.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;}else{config.allowAbsoluteUrls=true;}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
|
|
6355
6358
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
6356
6359
|
var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
|
|
6357
|
-
var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
|
|
6360
|
+
var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url,config.allowAbsoluteUrls);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
|
|
6358
6361
|
utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
|
|
6359
6362
|
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
|
6360
6363
|
*
|
|
@@ -6455,7 +6458,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6455
6458
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6456
6459
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6457
6460
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6458
|
-
* @version
|
|
6461
|
+
* @version 217.0.0
|
|
6459
6462
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6460
6463
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6461
6464
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6798,7 +6801,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6798
6801
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6799
6802
|
* AgentAssistants service.
|
|
6800
6803
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6801
|
-
* @version
|
|
6804
|
+
* @version 217.0.0
|
|
6802
6805
|
*//**
|
|
6803
6806
|
* Constructs a new AgentAssistantsApi.
|
|
6804
6807
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6899,7 +6902,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6899
6902
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
6900
6903
|
* AgentCopilot service.
|
|
6901
6904
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6902
|
-
* @version
|
|
6905
|
+
* @version 217.0.0
|
|
6903
6906
|
*//**
|
|
6904
6907
|
* Constructs a new AgentCopilotApi.
|
|
6905
6908
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6921,7 +6924,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6921
6924
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
6922
6925
|
* AgentUI service.
|
|
6923
6926
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6924
|
-
* @version
|
|
6927
|
+
* @version 217.0.0
|
|
6925
6928
|
*//**
|
|
6926
6929
|
* Constructs a new AgentUIApi.
|
|
6927
6930
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6955,7 +6958,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6955
6958
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6956
6959
|
* Alerting service.
|
|
6957
6960
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6958
|
-
* @version
|
|
6961
|
+
* @version 217.0.0
|
|
6959
6962
|
*//**
|
|
6960
6963
|
* Constructs a new AlertingApi.
|
|
6961
6964
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6971,18 +6974,6 @@ if(alertId===undefined||alertId===null){throw'Missing the required parameter "al
|
|
|
6971
6974
|
* Delete all alerts for the user
|
|
6972
6975
|
*
|
|
6973
6976
|
*/},{key:"deleteAlertingAlertsAll",value:function deleteAlertingAlertsAll(){return this.apiClient.callApi('/api/v2/alerting/alerts/all','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6974
|
-
* Delete an interaction stats alert
|
|
6975
|
-
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
6976
|
-
* @param {String} alertId Alert ID
|
|
6977
|
-
* @deprecated
|
|
6978
|
-
*/},{key:"deleteAlertingInteractionstatsAlert",value:function deleteAlertingInteractionstatsAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6979
|
-
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6980
|
-
* Delete an interaction stats rule
|
|
6981
|
-
* Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
|
|
6982
|
-
* @param {String} ruleId Rule ID
|
|
6983
|
-
* @deprecated
|
|
6984
|
-
*/},{key:"deleteAlertingInteractionstatsRule",value:function deleteAlertingInteractionstatsRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
6985
|
-
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6986
6977
|
* Delete a rule.
|
|
6987
6978
|
*
|
|
6988
6979
|
* @param {String} ruleId Rule Id
|
|
@@ -6993,42 +6984,6 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6993
6984
|
* @param {String} alertId Alert ID
|
|
6994
6985
|
*/},{key:"getAlertingAlert",value:function getAlertingAlert(alertId){// verify the required parameter 'alertId' is set
|
|
6995
6986
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','GET',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6996
|
-
* Gets active alert count for a user
|
|
6997
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
|
|
6998
|
-
* @deprecated
|
|
6999
|
-
*/},{key:"getAlertingAlertsActive",value:function getAlertingAlertsActive(){return this.apiClient.callApi('/api/v2/alerting/alerts/active','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7000
|
-
* Get an interaction stats alert
|
|
7001
|
-
* Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
|
|
7002
|
-
* @param {String} alertId Alert ID
|
|
7003
|
-
* @param {Object} opts Optional parameters
|
|
7004
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7005
|
-
* @deprecated
|
|
7006
|
-
*/},{key:"getAlertingInteractionstatsAlert",value:function getAlertingInteractionstatsAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
7007
|
-
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','GET',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7008
|
-
* Get interaction stats alert list
|
|
7009
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query.
|
|
7010
|
-
* @param {Object} opts Optional parameters
|
|
7011
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7012
|
-
* @deprecated
|
|
7013
|
-
*/},{key:"getAlertingInteractionstatsAlerts",value:function getAlertingInteractionstatsAlerts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7014
|
-
* Gets user unread count of interaction stats alerts
|
|
7015
|
-
* Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
|
|
7016
|
-
* @deprecated
|
|
7017
|
-
*/},{key:"getAlertingInteractionstatsAlertsUnread",value:function getAlertingInteractionstatsAlertsUnread(){return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/unread','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7018
|
-
* Get an interaction stats rule
|
|
7019
|
-
* Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
|
|
7020
|
-
* @param {String} ruleId Rule ID
|
|
7021
|
-
* @param {Object} opts Optional parameters
|
|
7022
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7023
|
-
* @deprecated
|
|
7024
|
-
*/},{key:"getAlertingInteractionstatsRule",value:function getAlertingInteractionstatsRule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
7025
|
-
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','GET',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7026
|
-
* Get an interaction stats rule list
|
|
7027
|
-
* Apps should migrate to use POST /api/v2/alerting/rules/query.
|
|
7028
|
-
* @param {Object} opts Optional parameters
|
|
7029
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7030
|
-
* @deprecated
|
|
7031
|
-
*/},{key:"getAlertingInteractionstatsRules",value:function getAlertingInteractionstatsRules(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7032
6987
|
* Get a rule.
|
|
7033
6988
|
*
|
|
7034
6989
|
* @param {String} ruleId Rule Id
|
|
@@ -7061,14 +7016,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7061
7016
|
* @param {Object} opts Optional parameters
|
|
7062
7017
|
* @param {Object} opts.body
|
|
7063
7018
|
*/},{key:"postAlertingAlertsQuery",value:function postAlertingAlertsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/alerting/alerts/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7064
|
-
* Create an interaction stats rule
|
|
7065
|
-
* Apps should migrate to use POST /api/v2/alerting/rules.
|
|
7066
|
-
* @param {Object} body AlertingRule
|
|
7067
|
-
* @param {Object} opts Optional parameters
|
|
7068
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7069
|
-
* @deprecated
|
|
7070
|
-
*/},{key:"postAlertingInteractionstatsRules",value:function postAlertingInteractionstatsRules(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
7071
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7072
7019
|
* Create a Rule.
|
|
7073
7020
|
*
|
|
7074
7021
|
* @param {Object} body rule to be created
|
|
@@ -7091,26 +7038,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7091
7038
|
* @param {Object} opts.body
|
|
7092
7039
|
*/},{key:"putAlertingAlert",value:function putAlertingAlert(alertId,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
7093
7040
|
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','PUT',{'alertId':alertId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7094
|
-
* Update an interaction stats alert read status
|
|
7095
|
-
* Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
|
|
7096
|
-
* @param {String} alertId Alert ID
|
|
7097
|
-
* @param {Object} body InteractionStatsAlert
|
|
7098
|
-
* @param {Object} opts Optional parameters
|
|
7099
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7100
|
-
* @deprecated
|
|
7101
|
-
*/},{key:"putAlertingInteractionstatsAlert",value:function putAlertingInteractionstatsAlert(alertId,body,opts){opts=opts||{};// verify the required parameter 'alertId' is set
|
|
7102
|
-
if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';}// verify the required parameter 'body' is set
|
|
7103
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/alerts/{alertId}','PUT',{'alertId':alertId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7104
|
-
* Update an interaction stats rule
|
|
7105
|
-
* Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
|
|
7106
|
-
* @param {String} ruleId Rule ID
|
|
7107
|
-
* @param {Object} body AlertingRule
|
|
7108
|
-
* @param {Object} opts Optional parameters
|
|
7109
|
-
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7110
|
-
* @deprecated
|
|
7111
|
-
*/},{key:"putAlertingInteractionstatsRule",value:function putAlertingInteractionstatsRule(ruleId,body,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
7112
|
-
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';}// verify the required parameter 'body' is set
|
|
7113
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';}return this.apiClient.callApi('/api/v2/alerting/interactionstats/rules/{ruleId}','PUT',{'ruleId':ruleId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7114
7041
|
* Update a rule
|
|
7115
7042
|
*
|
|
7116
7043
|
* @param {String} ruleId Rule Id
|
|
@@ -7120,7 +7047,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
7120
7047
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
7121
7048
|
* Analytics service.
|
|
7122
7049
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7123
|
-
* @version
|
|
7050
|
+
* @version 217.0.0
|
|
7124
7051
|
*//**
|
|
7125
7052
|
* Constructs a new AnalyticsApi.
|
|
7126
7053
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7350,7 +7277,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7350
7277
|
* @param {Number} opts.pageSize (default to 25)
|
|
7351
7278
|
* @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
|
|
7352
7279
|
* @param {Object} opts.state Only list users of this state
|
|
7353
|
-
* @param {Boolean} opts.deletedOnly Only list deleted dashboards
|
|
7280
|
+
* @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
|
|
7354
7281
|
*/},{key:"getAnalyticsReportingDashboardsUsers",value:function getAnalyticsReportingDashboardsUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/analytics/reporting/dashboards/users','GET',{},{'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'state':opts['state'],'deletedOnly':opts['deletedOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7355
7282
|
* Get all view export requests for a user
|
|
7356
7283
|
*
|
|
@@ -7791,7 +7718,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7791
7718
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7792
7719
|
* Architect service.
|
|
7793
7720
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7794
|
-
* @version
|
|
7721
|
+
* @version 217.0.0
|
|
7795
7722
|
*//**
|
|
7796
7723
|
* Constructs a new ArchitectApi.
|
|
7797
7724
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8059,6 +7986,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
8059
7986
|
* @param {String} ivrId IVR id
|
|
8060
7987
|
*/},{key:"getArchitectIvr",value:function getArchitectIvr(ivrId){// verify the required parameter 'ivrId' is set
|
|
8061
7988
|
if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling getArchitectIvr';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}','GET',{'ivrId':ivrId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7989
|
+
* Get an IVR IdentityResolutionConfig.
|
|
7990
|
+
*
|
|
7991
|
+
* @param {String} ivrId IVR id
|
|
7992
|
+
* getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7993
|
+
*/},{key:"getArchitectIvrIdentityresolution",value:function getArchitectIvrIdentityresolution(ivrId){// verify the required parameter 'ivrId' is set
|
|
7994
|
+
if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}/identityresolution','GET',{'ivrId':ivrId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8062
7995
|
* Get IVR configs.
|
|
8063
7996
|
*
|
|
8064
7997
|
* @param {Object} opts Optional parameters
|
|
@@ -8453,6 +8386,13 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
|
|
|
8453
8386
|
* @param {String} flowExecutionId flow execution ID
|
|
8454
8387
|
*/},{key:"getFlowsExecution",value:function getFlowsExecution(flowExecutionId){// verify the required parameter 'flowExecutionId' is set
|
|
8455
8388
|
if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';}return this.apiClient.callApi('/api/v2/flows/executions/{flowExecutionId}','GET',{'flowExecutionId':flowExecutionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8389
|
+
* Fetch Architect Export Job Status
|
|
8390
|
+
*
|
|
8391
|
+
* @param {String} jobId Job ID
|
|
8392
|
+
* @param {Object} opts Optional parameters
|
|
8393
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8394
|
+
*/},{key:"getFlowsExportJob",value:function getFlowsExportJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
8395
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getFlowsExportJob';}return this.apiClient.callApi('/api/v2/flows/export/jobs/{jobId}','GET',{'jobId':jobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8456
8396
|
* Start a process (job) to prepare a download of a singular flow execution data instance by Id
|
|
8457
8397
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
8458
8398
|
* @param {String} instanceId Instance ID
|
|
@@ -8745,6 +8685,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8745
8685
|
* @param {Object} flowLaunchRequest
|
|
8746
8686
|
*/},{key:"postFlowsExecutions",value:function postFlowsExecutions(flowLaunchRequest){// verify the required parameter 'flowLaunchRequest' is set
|
|
8747
8687
|
if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the required parameter "flowLaunchRequest" when calling postFlowsExecutions';}return this.apiClient.callApi('/api/v2/flows/executions','POST',{},{},{},{},flowLaunchRequest,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8688
|
+
* Register Architect Export Job
|
|
8689
|
+
*
|
|
8690
|
+
* @param {Object} body
|
|
8691
|
+
*/},{key:"postFlowsExportJobs",value:function postFlowsExportJobs(body){// verify the required parameter 'body' is set
|
|
8692
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsExportJobs';}return this.apiClient.callApi('/api/v2/flows/export/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8748
8693
|
* Start a process (job) that will prepare a list of execution data IDs for download.
|
|
8749
8694
|
* Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
|
|
8750
8695
|
* @param {Object} body Requested Flow Ids
|
|
@@ -8787,6 +8732,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8787
8732
|
*/},{key:"putArchitectIvr",value:function putArchitectIvr(ivrId,body){// verify the required parameter 'ivrId' is set
|
|
8788
8733
|
if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling putArchitectIvr';}// verify the required parameter 'body' is set
|
|
8789
8734
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putArchitectIvr';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}','PUT',{'ivrId':ivrId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8735
|
+
* Update an IVR IdentityResolutionConfig.
|
|
8736
|
+
*
|
|
8737
|
+
* @param {String} ivrId IVR id
|
|
8738
|
+
* @param {Object} body
|
|
8739
|
+
* putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8740
|
+
*/},{key:"putArchitectIvrIdentityresolution",value:function putArchitectIvrIdentityresolution(ivrId,body){// verify the required parameter 'ivrId' is set
|
|
8741
|
+
if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';}// verify the required parameter 'body' is set
|
|
8742
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';}return this.apiClient.callApi('/api/v2/architect/ivrs/{ivrId}/identityresolution','PUT',{'ivrId':ivrId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8790
8743
|
* Update specified user prompt
|
|
8791
8744
|
*
|
|
8792
8745
|
* @param {String} promptId Prompt ID
|
|
@@ -8883,7 +8836,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8883
8836
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8884
8837
|
* Audit service.
|
|
8885
8838
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8886
|
-
* @version
|
|
8839
|
+
* @version 217.0.0
|
|
8887
8840
|
*//**
|
|
8888
8841
|
* Constructs a new AuditApi.
|
|
8889
8842
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8933,7 +8886,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8933
8886
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8934
8887
|
* Authorization service.
|
|
8935
8888
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8936
|
-
* @version
|
|
8889
|
+
* @version 217.0.0
|
|
8937
8890
|
*//**
|
|
8938
8891
|
* Constructs a new AuthorizationApi.
|
|
8939
8892
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8945,7 +8898,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8945
8898
|
*
|
|
8946
8899
|
* @param {String} divisionId Division ID
|
|
8947
8900
|
* @param {Object} opts Optional parameters
|
|
8948
|
-
* @param {Boolean} opts.force Force delete this division
|
|
8901
|
+
* @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
|
|
8949
8902
|
*/return _createClass(AuthorizationApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
8950
8903
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8951
8904
|
* Delete an access control policy
|
|
@@ -9193,10 +9146,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9193
9146
|
* Recreate a previously deleted division.
|
|
9194
9147
|
*
|
|
9195
9148
|
* @param {String} divisionId Division ID
|
|
9196
|
-
* @param {Object}
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
if(
|
|
9149
|
+
* @param {Object} body Recreated division data
|
|
9150
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,body){// verify the required parameter 'divisionId' is set
|
|
9151
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}// verify the required parameter 'body' is set
|
|
9152
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9200
9153
|
* Create a division.
|
|
9201
9154
|
*
|
|
9202
9155
|
* @param {Object} body Division
|
|
@@ -9353,7 +9306,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
9353
9306
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
9354
9307
|
* Billing service.
|
|
9355
9308
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9356
|
-
* @version
|
|
9309
|
+
* @version 217.0.0
|
|
9357
9310
|
*//**
|
|
9358
9311
|
* Constructs a new BillingApi.
|
|
9359
9312
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9377,7 +9330,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9377
9330
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
9378
9331
|
* CarrierServices service.
|
|
9379
9332
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9380
|
-
* @version
|
|
9333
|
+
* @version 217.0.0
|
|
9381
9334
|
*//**
|
|
9382
9335
|
* Constructs a new CarrierServicesApi.
|
|
9383
9336
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9397,7 +9350,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9397
9350
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
9398
9351
|
* Chat service.
|
|
9399
9352
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9400
|
-
* @version
|
|
9353
|
+
* @version 217.0.0
|
|
9401
9354
|
*//**
|
|
9402
9355
|
* Constructs a new ChatApi.
|
|
9403
9356
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9516,12 +9469,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9516
9469
|
* Get a user's chat settings
|
|
9517
9470
|
*
|
|
9518
9471
|
* @param {String} userId User ID
|
|
9519
|
-
* getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9520
9472
|
*/},{key:"getChatsUserSettings",value:function getChatsUserSettings(userId){// verify the required parameter 'userId' is set
|
|
9521
9473
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9522
9474
|
* Get a user's chat settings
|
|
9523
9475
|
*
|
|
9524
|
-
* getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9525
9476
|
*/},{key:"getChatsUsersMeSettings",value:function getChatsUsersMeSettings(){return this.apiClient.callApi('/api/v2/chats/users/me/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9526
9477
|
* Set properties for a room
|
|
9527
9478
|
*
|
|
@@ -9557,14 +9508,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9557
9508
|
*
|
|
9558
9509
|
* @param {String} userId User ID
|
|
9559
9510
|
* @param {Object} body
|
|
9560
|
-
* patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9561
9511
|
*/},{key:"patchChatsUserSettings",value:function patchChatsUserSettings(userId,body){// verify the required parameter 'userId' is set
|
|
9562
9512
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserSettings';}// verify the required parameter 'body' is set
|
|
9563
9513
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9564
9514
|
* Update a user's chat settings
|
|
9565
9515
|
*
|
|
9566
9516
|
* @param {Object} body
|
|
9567
|
-
* patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9568
9517
|
*/},{key:"patchChatsUsersMeSettings",value:function patchChatsUsersMeSettings(body){// verify the required parameter 'body' is set
|
|
9569
9518
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUsersMeSettings';}return this.apiClient.callApi('/api/v2/chats/users/me/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9570
9519
|
* Send a message to a room
|
|
@@ -9622,7 +9571,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9622
9571
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
9623
9572
|
* Coaching service.
|
|
9624
9573
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9625
|
-
* @version
|
|
9574
|
+
* @version 217.0.0
|
|
9626
9575
|
*//**
|
|
9627
9576
|
* Constructs a new CoachingApi.
|
|
9628
9577
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9775,7 +9724,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9775
9724
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9776
9725
|
* ContentManagement service.
|
|
9777
9726
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9778
|
-
* @version
|
|
9727
|
+
* @version 217.0.0
|
|
9779
9728
|
*//**
|
|
9780
9729
|
* Constructs a new ContentManagementApi.
|
|
9781
9730
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10057,7 +10006,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
10057
10006
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
10058
10007
|
* Conversations service.
|
|
10059
10008
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10060
|
-
* @version
|
|
10009
|
+
* @version 217.0.0
|
|
10061
10010
|
*//**
|
|
10062
10011
|
* Constructs a new ConversationsApi.
|
|
10063
10012
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10569,6 +10518,24 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null){throw'Missing the re
|
|
|
10569
10518
|
* Get a list of Facebook Permissions
|
|
10570
10519
|
*
|
|
10571
10520
|
*/},{key:"getConversationsMessagingFacebookPermissions",value:function getConversationsMessagingFacebookPermissions(){return this.apiClient.callApi('/api/v2/conversations/messaging/facebook/permissions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10521
|
+
* Get Facebook messaging integration identity resolution settings
|
|
10522
|
+
*
|
|
10523
|
+
* @param {String} integrationId Integration ID
|
|
10524
|
+
* getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10525
|
+
*/},{key:"getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
10526
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10527
|
+
* Get an open messaging integration Identity Resolution settings
|
|
10528
|
+
*
|
|
10529
|
+
* @param {String} integrationId Integration ID
|
|
10530
|
+
* getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10531
|
+
*/},{key:"getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
10532
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10533
|
+
* Get a whatsApp integration Identity Resolution settings
|
|
10534
|
+
*
|
|
10535
|
+
* @param {String} integrationId Integration ID
|
|
10536
|
+
* getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10537
|
+
*/},{key:"getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
10538
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10572
10539
|
* Get a list of Integrations
|
|
10573
10540
|
*
|
|
10574
10541
|
* @param {Object} opts Optional parameters
|
|
@@ -11731,9 +11698,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11731
11698
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';}// verify the required parameter 'body' is set
|
|
11732
11699
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsChatRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11733
11700
|
* Update a conversation by setting its recording state
|
|
11734
|
-
*
|
|
11701
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
|
|
11735
11702
|
* @param {String} conversationId conversationId
|
|
11736
11703
|
* @param {Object} body SetRecordingState
|
|
11704
|
+
* @deprecated
|
|
11737
11705
|
*/},{key:"putConversationsCobrowsesessionRecordingstate",value:function putConversationsCobrowsesessionRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11738
11706
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';}// verify the required parameter 'body' is set
|
|
11739
11707
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11765,6 +11733,30 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11765
11733
|
*/},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11766
11734
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
|
|
11767
11735
|
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']);}/**
|
|
11736
|
+
* Create an identity resolution settings for a Facebook messaging integration
|
|
11737
|
+
*
|
|
11738
|
+
* @param {String} integrationId Integration ID
|
|
11739
|
+
* @param {Object} body IdentityResolutionConfig
|
|
11740
|
+
* putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11741
|
+
*/},{key:"putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
11742
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}// verify the required parameter 'body' is set
|
|
11743
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11744
|
+
* Update an open messaging integration Identity Resolution settings
|
|
11745
|
+
*
|
|
11746
|
+
* @param {String} integrationId Integration ID
|
|
11747
|
+
* @param {Object} body
|
|
11748
|
+
* putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11749
|
+
*/},{key:"putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
11750
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
|
|
11751
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11752
|
+
* Update a whatsApp integration Identity Resolution settings
|
|
11753
|
+
*
|
|
11754
|
+
* @param {String} integrationId Integration ID
|
|
11755
|
+
* @param {Object} body
|
|
11756
|
+
* putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11757
|
+
*/},{key:"putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
11758
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}// verify the required parameter 'body' is set
|
|
11759
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11768
11760
|
* Set the organization's default setting that may be applied to to integrations without settings
|
|
11769
11761
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
11770
11762
|
* @param {Object} body MessagingSetting
|
|
@@ -11804,7 +11796,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11804
11796
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11805
11797
|
* DataExtensions service.
|
|
11806
11798
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11807
|
-
* @version
|
|
11799
|
+
* @version 217.0.0
|
|
11808
11800
|
*//**
|
|
11809
11801
|
* Constructs a new DataExtensionsApi.
|
|
11810
11802
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11825,7 +11817,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11825
11817
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
11826
11818
|
* DataPrivacy service.
|
|
11827
11819
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11828
|
-
* @version
|
|
11820
|
+
* @version 217.0.0
|
|
11829
11821
|
*//**
|
|
11830
11822
|
* Constructs a new DataPrivacyApi.
|
|
11831
11823
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -11865,7 +11857,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11865
11857
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11866
11858
|
* Downloads service.
|
|
11867
11859
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11868
|
-
* @version
|
|
11860
|
+
* @version 217.0.0
|
|
11869
11861
|
*//**
|
|
11870
11862
|
* Constructs a new DownloadsApi.
|
|
11871
11863
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11884,7 +11876,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11884
11876
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11885
11877
|
* Emails service.
|
|
11886
11878
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11887
|
-
* @version
|
|
11879
|
+
* @version 217.0.0
|
|
11888
11880
|
*//**
|
|
11889
11881
|
* Constructs a new EmailsApi.
|
|
11890
11882
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11902,7 +11894,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11902
11894
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11903
11895
|
* EmployeeEngagement service.
|
|
11904
11896
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11905
|
-
* @version
|
|
11897
|
+
* @version 217.0.0
|
|
11906
11898
|
*//**
|
|
11907
11899
|
* Constructs a new EmployeeEngagementApi.
|
|
11908
11900
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11940,7 +11932,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11940
11932
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11941
11933
|
* Events service.
|
|
11942
11934
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11943
|
-
* @version
|
|
11935
|
+
* @version 217.0.0
|
|
11944
11936
|
*//**
|
|
11945
11937
|
* Constructs a new EventsApi.
|
|
11946
11938
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11965,7 +11957,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11965
11957
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11966
11958
|
* ExternalContacts service.
|
|
11967
11959
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11968
|
-
* @version
|
|
11960
|
+
* @version 217.0.0
|
|
11969
11961
|
*//**
|
|
11970
11962
|
* Constructs a new ExternalContactsApi.
|
|
11971
11963
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12082,7 +12074,8 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
12082
12074
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
12083
12075
|
* @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
|
|
12084
12076
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
12085
|
-
|
|
12077
|
+
* @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
|
|
12078
|
+
*/},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12086
12079
|
* Get a schema
|
|
12087
12080
|
*
|
|
12088
12081
|
* @param {String} schemaId Schema ID
|
|
@@ -12225,7 +12218,8 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
12225
12218
|
* @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
|
|
12226
12219
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
12227
12220
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
12228
|
-
|
|
12221
|
+
* @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
|
|
12222
|
+
*/},{key:"getExternalcontactsOrganizations",value:function getExternalcontactsOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/organizations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'trustorId':this.apiClient.buildCollectionParam(opts['trustorId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12229
12223
|
* Get a schema
|
|
12230
12224
|
*
|
|
12231
12225
|
* @param {String} schemaId Schema ID
|
|
@@ -12258,32 +12252,65 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12258
12252
|
* @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
|
|
12259
12253
|
* @param {Object} opts Optional parameters
|
|
12260
12254
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
12255
|
+
* @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
|
|
12261
12256
|
*/},{key:"getExternalcontactsReversewhitepageslookup",value:function getExternalcontactsReversewhitepageslookup(lookupVal,opts){opts=opts||{};// verify the required parameter 'lookupVal' is set
|
|
12262
|
-
if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';}return this.apiClient.callApi('/api/v2/externalcontacts/reversewhitepageslookup','GET',{},{'lookupVal':lookupVal,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12257
|
+
if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter "lookupVal" when calling getExternalcontactsReversewhitepageslookup';}return this.apiClient.callApi('/api/v2/externalcontacts/reversewhitepageslookup','GET',{},{'lookupVal':lookupVal,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12263
12258
|
* Scan for external contacts using paging
|
|
12264
12259
|
*
|
|
12265
12260
|
* @param {Object} opts Optional parameters
|
|
12266
12261
|
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
12267
12262
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12268
|
-
|
|
12263
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
12264
|
+
*/},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12265
|
+
* Scan for external contacts using paging
|
|
12266
|
+
*
|
|
12267
|
+
* @param {Object} opts Optional parameters
|
|
12268
|
+
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
12269
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12270
|
+
* getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12271
|
+
*/},{key:"getExternalcontactsScanContactsDivisionviewsAll",value:function getExternalcontactsScanContactsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12272
|
+
* Scan for notes using paging
|
|
12273
|
+
*
|
|
12274
|
+
* @param {Object} opts Optional parameters
|
|
12275
|
+
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
12276
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12277
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
12278
|
+
*/},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12269
12279
|
* Scan for notes using paging
|
|
12270
12280
|
*
|
|
12271
12281
|
* @param {Object} opts Optional parameters
|
|
12272
12282
|
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
12273
12283
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12274
|
-
|
|
12284
|
+
* getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12285
|
+
*/},{key:"getExternalcontactsScanNotesDivisionviewsAll",value:function getExternalcontactsScanNotesDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12275
12286
|
* Scan for external organizations using paging
|
|
12276
12287
|
*
|
|
12277
12288
|
* @param {Object} opts Optional parameters
|
|
12278
12289
|
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
12279
12290
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12280
|
-
|
|
12291
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
12292
|
+
*/},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12293
|
+
* Scan for external organizations using paging
|
|
12294
|
+
*
|
|
12295
|
+
* @param {Object} opts Optional parameters
|
|
12296
|
+
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
12297
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12298
|
+
* getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12299
|
+
*/},{key:"getExternalcontactsScanOrganizationsDivisionviewsAll",value:function getExternalcontactsScanOrganizationsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12300
|
+
* Scan for relationships
|
|
12301
|
+
*
|
|
12302
|
+
* @param {Object} opts Optional parameters
|
|
12303
|
+
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
12304
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12305
|
+
* @param {String} opts.divisionId The division to scan over (default to *)
|
|
12306
|
+
*/},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12281
12307
|
* Scan for relationships
|
|
12282
12308
|
*
|
|
12283
12309
|
* @param {Object} opts Optional parameters
|
|
12284
12310
|
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
12285
12311
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
12286
|
-
|
|
12312
|
+
* getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12313
|
+
*/},{key:"getExternalcontactsScanRelationshipsDivisionviewsAll",value:function getExternalcontactsScanRelationshipsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12287
12314
|
* Claim or release identifiers for a contact
|
|
12288
12315
|
*
|
|
12289
12316
|
* @param {String} contactId ExternalContact ID
|
|
@@ -12301,6 +12328,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12301
12328
|
* @param {Object} body Contacts
|
|
12302
12329
|
*/},{key:"postExternalcontactsBulkContactsAdd",value:function postExternalcontactsBulkContactsAdd(body){// verify the required parameter 'body' is set
|
|
12303
12330
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsAdd';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12331
|
+
* Bulk fetch contacts across divisions
|
|
12332
|
+
*
|
|
12333
|
+
* @param {Object} body Contact ids
|
|
12334
|
+
* postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12335
|
+
*/},{key:"postExternalcontactsBulkContactsDivisionviews",value:function postExternalcontactsBulkContactsDivisionviews(body){// verify the required parameter 'body' is set
|
|
12336
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/contacts/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12304
12337
|
* Bulk remove contacts
|
|
12305
12338
|
*
|
|
12306
12339
|
* @param {Object} body Contact ids
|
|
@@ -12346,6 +12379,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12346
12379
|
* @param {Object} body Organizations
|
|
12347
12380
|
*/},{key:"postExternalcontactsBulkOrganizationsAdd",value:function postExternalcontactsBulkOrganizationsAdd(body){// verify the required parameter 'body' is set
|
|
12348
12381
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsAdd';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12382
|
+
* Bulk fetch organizations across divisions
|
|
12383
|
+
*
|
|
12384
|
+
* @param {Object} body Organizations ids
|
|
12385
|
+
* postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12386
|
+
*/},{key:"postExternalcontactsBulkOrganizationsDivisionviews",value:function postExternalcontactsBulkOrganizationsDivisionviews(body){// verify the required parameter 'body' is set
|
|
12387
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';}return this.apiClient.callApi('/api/v2/externalcontacts/bulk/organizations/divisionviews','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12349
12388
|
* Bulk remove organizations
|
|
12350
12389
|
*
|
|
12351
12390
|
* @param {Object} body Organization ids
|
|
@@ -12560,7 +12599,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12560
12599
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
12561
12600
|
* Fax service.
|
|
12562
12601
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12563
|
-
* @version
|
|
12602
|
+
* @version 217.0.0
|
|
12564
12603
|
*//**
|
|
12565
12604
|
* Constructs a new FaxApi.
|
|
12566
12605
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12609,7 +12648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12609
12648
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
12610
12649
|
* Flows service.
|
|
12611
12650
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12612
|
-
* @version
|
|
12651
|
+
* @version 217.0.0
|
|
12613
12652
|
*//**
|
|
12614
12653
|
* Constructs a new FlowsApi.
|
|
12615
12654
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12657,7 +12696,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12657
12696
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
12658
12697
|
* Gamification service.
|
|
12659
12698
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12660
|
-
* @version
|
|
12699
|
+
* @version 217.0.0
|
|
12661
12700
|
*//**
|
|
12662
12701
|
* Constructs a new GamificationApi.
|
|
12663
12702
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -13216,7 +13255,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13216
13255
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
13217
13256
|
* GeneralDataProtectionRegulation service.
|
|
13218
13257
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13219
|
-
* @version
|
|
13258
|
+
* @version 217.0.0
|
|
13220
13259
|
*//**
|
|
13221
13260
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
13222
13261
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -13251,7 +13290,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
13251
13290
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
13252
13291
|
* Geolocation service.
|
|
13253
13292
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
13254
|
-
* @version
|
|
13293
|
+
* @version 217.0.0
|
|
13255
13294
|
*//**
|
|
13256
13295
|
* Constructs a new GeolocationApi.
|
|
13257
13296
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -13285,7 +13324,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
13285
13324
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
13286
13325
|
* Greetings service.
|
|
13287
13326
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
13288
|
-
* @version
|
|
13327
|
+
* @version 217.0.0
|
|
13289
13328
|
*//**
|
|
13290
13329
|
* Constructs a new GreetingsApi.
|
|
13291
13330
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -13392,7 +13431,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13392
13431
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
13393
13432
|
* Groups service.
|
|
13394
13433
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
13395
|
-
* @version
|
|
13434
|
+
* @version 217.0.0
|
|
13396
13435
|
*//**
|
|
13397
13436
|
* Constructs a new GroupsApi.
|
|
13398
13437
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13525,7 +13564,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13525
13564
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
13526
13565
|
* IdentityProvider service.
|
|
13527
13566
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13528
|
-
* @version
|
|
13567
|
+
* @version 217.0.0
|
|
13529
13568
|
*//**
|
|
13530
13569
|
* Constructs a new IdentityProviderApi.
|
|
13531
13570
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13681,7 +13720,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13681
13720
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
13682
13721
|
* InfrastructureAsCode service.
|
|
13683
13722
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13684
|
-
* @version
|
|
13723
|
+
* @version 217.0.0
|
|
13685
13724
|
*//**
|
|
13686
13725
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13687
13726
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13735,7 +13774,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13735
13774
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
13736
13775
|
* Integrations service.
|
|
13737
13776
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13738
|
-
* @version
|
|
13777
|
+
* @version 217.0.0
|
|
13739
13778
|
*//**
|
|
13740
13779
|
* Constructs a new IntegrationsApi.
|
|
13741
13780
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13795,17 +13834,19 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
13795
13834
|
* @param {String} actionId actionId
|
|
13796
13835
|
* @param {Object} opts Optional parameters
|
|
13797
13836
|
* @param {Object} opts.expand Indicates a field in the response which should be expanded.
|
|
13837
|
+
* @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13798
13838
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
13799
13839
|
*/},{key:"getIntegrationsAction",value:function getIntegrationsAction(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13800
|
-
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsAction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13840
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsAction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}','GET',{'actionId':actionId},{'expand':opts['expand'],'flatten':opts['flatten'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13801
13841
|
* Retrieve a Draft
|
|
13802
13842
|
*
|
|
13803
13843
|
* @param {String} actionId actionId
|
|
13804
13844
|
* @param {Object} opts Optional parameters
|
|
13805
13845
|
* @param {Object} opts.expand Indicates a field in the response which should be expanded.
|
|
13846
|
+
* @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
13806
13847
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
13807
13848
|
*/},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
13808
|
-
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13849
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'flatten':opts['flatten'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13809
13850
|
* Get draft function settings for Action
|
|
13810
13851
|
*
|
|
13811
13852
|
* @param {String} actionId actionId
|
|
@@ -14365,7 +14406,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
14365
14406
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
14366
14407
|
* Journey service.
|
|
14367
14408
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
14368
|
-
* @version
|
|
14409
|
+
* @version 217.0.0
|
|
14369
14410
|
*//**
|
|
14370
14411
|
* Constructs a new JourneyApi.
|
|
14371
14412
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14845,7 +14886,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14845
14886
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14846
14887
|
* Knowledge service.
|
|
14847
14888
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14848
|
-
* @version
|
|
14889
|
+
* @version 217.0.0
|
|
14849
14890
|
*//**
|
|
14850
14891
|
* Constructs a new KnowledgeApi.
|
|
14851
14892
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15302,7 +15343,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
15302
15343
|
* @param {String} parseJobId Parse job ID
|
|
15303
15344
|
* @param {Object} opts Optional parameters
|
|
15304
15345
|
* @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
|
|
15305
|
-
* getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15306
15346
|
*/},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
15307
15347
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
15308
15348
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15377,7 +15417,6 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
15377
15417
|
*
|
|
15378
15418
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15379
15419
|
* @param {String} jobId Upload job ID
|
|
15380
|
-
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15381
15420
|
*/},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
15382
15421
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
15383
15422
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15528,7 +15567,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15528
15567
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15529
15568
|
* @param {String} parseJobId Parse job ID
|
|
15530
15569
|
* @param {Object} body
|
|
15531
|
-
* patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15532
15570
|
*/},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15533
15571
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
15534
15572
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
|
|
@@ -15826,7 +15864,6 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
15826
15864
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15827
15865
|
* @param {String} parseJobId Parse job ID
|
|
15828
15866
|
* @param {Object} body
|
|
15829
|
-
* postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15830
15867
|
*/},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15831
15868
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
|
|
15832
15869
|
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
|
|
@@ -15835,7 +15872,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15835
15872
|
*
|
|
15836
15873
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15837
15874
|
* @param {Object} body
|
|
15838
|
-
* postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15839
15875
|
*/},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15840
15876
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
|
|
15841
15877
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15858,9 +15894,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15858
15894
|
*
|
|
15859
15895
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15860
15896
|
* @param {String} sourceId Source ID
|
|
15861
|
-
|
|
15897
|
+
* @param {Object} opts Optional parameters
|
|
15898
|
+
* @param {Object} opts.body
|
|
15899
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
15862
15900
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
15863
|
-
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},
|
|
15901
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/salesforce/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15864
15902
|
* Create ServiceNow Knowledge integration source
|
|
15865
15903
|
*
|
|
15866
15904
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15872,9 +15910,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15872
15910
|
*
|
|
15873
15911
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15874
15912
|
* @param {String} sourceId Source ID
|
|
15875
|
-
|
|
15913
|
+
* @param {Object} opts Optional parameters
|
|
15914
|
+
* @param {Object} opts.body
|
|
15915
|
+
*/},{key:"postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync",value:function postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId,sourceId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
15876
15916
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}// verify the required parameter 'sourceId' is set
|
|
15877
|
-
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},
|
|
15917
|
+
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}/sync','POST',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15878
15918
|
* Create synchronization job
|
|
15879
15919
|
*
|
|
15880
15920
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15886,7 +15926,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15886
15926
|
*
|
|
15887
15927
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
15888
15928
|
* @param {Object} body uploadRequest
|
|
15889
|
-
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
15890
15929
|
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
15891
15930
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
15892
15931
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15915,7 +15954,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15915
15954
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15916
15955
|
* LanguageUnderstanding service.
|
|
15917
15956
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15918
|
-
* @version
|
|
15957
|
+
* @version 217.0.0
|
|
15919
15958
|
*//**
|
|
15920
15959
|
* Constructs a new LanguageUnderstandingApi.
|
|
15921
15960
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -16174,7 +16213,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
16174
16213
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
16175
16214
|
* Languages service.
|
|
16176
16215
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
16177
|
-
* @version
|
|
16216
|
+
* @version 217.0.0
|
|
16178
16217
|
*//**
|
|
16179
16218
|
* Constructs a new LanguagesApi.
|
|
16180
16219
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -16229,7 +16268,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16229
16268
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
16230
16269
|
* Learning service.
|
|
16231
16270
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
16232
|
-
* @version
|
|
16271
|
+
* @version 217.0.0
|
|
16233
16272
|
*//**
|
|
16234
16273
|
* Constructs a new LearningApi.
|
|
16235
16274
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16500,7 +16539,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
16500
16539
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16501
16540
|
* License service.
|
|
16502
16541
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16503
|
-
* @version
|
|
16542
|
+
* @version 217.0.0
|
|
16504
16543
|
*//**
|
|
16505
16544
|
* Constructs a new LicenseApi.
|
|
16506
16545
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16554,7 +16593,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16554
16593
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16555
16594
|
* Locations service.
|
|
16556
16595
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16557
|
-
* @version
|
|
16596
|
+
* @version 217.0.0
|
|
16558
16597
|
*//**
|
|
16559
16598
|
* Constructs a new LocationsApi.
|
|
16560
16599
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16613,7 +16652,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16613
16652
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16614
16653
|
* LogCapture service.
|
|
16615
16654
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16616
|
-
* @version
|
|
16655
|
+
* @version 217.0.0
|
|
16617
16656
|
*//**
|
|
16618
16657
|
* Constructs a new LogCaptureApi.
|
|
16619
16658
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16663,7 +16702,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16663
16702
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16664
16703
|
* Messaging service.
|
|
16665
16704
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16666
|
-
* @version
|
|
16705
|
+
* @version 217.0.0
|
|
16667
16706
|
*//**
|
|
16668
16707
|
* Constructs a new MessagingApi.
|
|
16669
16708
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16753,7 +16792,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16753
16792
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16754
16793
|
* MobileDevices service.
|
|
16755
16794
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16756
|
-
* @version
|
|
16795
|
+
* @version 217.0.0
|
|
16757
16796
|
*//**
|
|
16758
16797
|
* Constructs a new MobileDevicesApi.
|
|
16759
16798
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16792,7 +16831,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16792
16831
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16793
16832
|
* Notifications service.
|
|
16794
16833
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16795
|
-
* @version
|
|
16834
|
+
* @version 217.0.0
|
|
16796
16835
|
*//**
|
|
16797
16836
|
* Constructs a new NotificationsApi.
|
|
16798
16837
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16849,7 +16888,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16849
16888
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16850
16889
|
* OAuth service.
|
|
16851
16890
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16852
|
-
* @version
|
|
16891
|
+
* @version 217.0.0
|
|
16853
16892
|
*//**
|
|
16854
16893
|
* Constructs a new OAuthApi.
|
|
16855
16894
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16934,7 +16973,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16934
16973
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16935
16974
|
* Objects service.
|
|
16936
16975
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16937
|
-
* @version
|
|
16976
|
+
* @version 217.0.0
|
|
16938
16977
|
*//**
|
|
16939
16978
|
* Constructs a new ObjectsApi.
|
|
16940
16979
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16946,7 +16985,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16946
16985
|
*
|
|
16947
16986
|
* @param {String} divisionId Division ID
|
|
16948
16987
|
* @param {Object} opts Optional parameters
|
|
16949
|
-
* @param {Boolean} opts.force Force delete this division
|
|
16988
|
+
* @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
|
|
16950
16989
|
*/return _createClass(ObjectsApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
|
|
16951
16990
|
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16952
16991
|
* Returns an authorization division.
|
|
@@ -16987,10 +17026,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16987
17026
|
* Recreate a previously deleted division.
|
|
16988
17027
|
*
|
|
16989
17028
|
* @param {String} divisionId Division ID
|
|
16990
|
-
* @param {Object}
|
|
16991
|
-
|
|
16992
|
-
|
|
16993
|
-
if(
|
|
17029
|
+
* @param {Object} body Recreated division data
|
|
17030
|
+
*/},{key:"postAuthorizationDivisionRestore",value:function postAuthorizationDivisionRestore(divisionId,body){// verify the required parameter 'divisionId' is set
|
|
17031
|
+
if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';}// verify the required parameter 'body' is set
|
|
17032
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}/restore','POST',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16994
17033
|
* Create a division.
|
|
16995
17034
|
*
|
|
16996
17035
|
* @param {Object} body Division
|
|
@@ -17005,7 +17044,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
17005
17044
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
17006
17045
|
* OperationalEvents service.
|
|
17007
17046
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
17008
|
-
* @version
|
|
17047
|
+
* @version 217.0.0
|
|
17009
17048
|
*//**
|
|
17010
17049
|
* Constructs a new OperationalEventsApi.
|
|
17011
17050
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -17036,7 +17075,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
17036
17075
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
17037
17076
|
* Organization service.
|
|
17038
17077
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
17039
|
-
* @version
|
|
17078
|
+
* @version 217.0.0
|
|
17040
17079
|
*//**
|
|
17041
17080
|
* Constructs a new OrganizationApi.
|
|
17042
17081
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17093,6 +17132,7 @@ if(namespaceName===undefined||namespaceName===null){throw'Missing the required p
|
|
|
17093
17132
|
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
17094
17133
|
* @param {String} opts.entityId entity id of the count
|
|
17095
17134
|
* @param {String} opts.userId userid of the count
|
|
17135
|
+
* @deprecated
|
|
17096
17136
|
*/},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
17097
17137
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/counts','GET',{'namespaceName':namespaceName},{'cursor':opts['cursor'],'entityId':opts['entityId'],'userId':opts['userId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17098
17138
|
* Get the default limits in a namespace for an organization
|
|
@@ -17108,6 +17148,7 @@ if(namespaceName===undefined||namespaceName===null){throw'Missing the required p
|
|
|
17108
17148
|
* @param {String} opts.entityId entity id of the count
|
|
17109
17149
|
* @param {String} opts.userId userid of the count
|
|
17110
17150
|
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
17151
|
+
* @deprecated
|
|
17111
17152
|
*/},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
17112
17153
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
|
|
17113
17154
|
if(limitName===undefined||limitName===null){throw'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts','GET',{'namespaceName':namespaceName,'limitName':limitName},{'entityId':opts['entityId'],'userId':opts['userId'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -17161,7 +17202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17161
17202
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
17162
17203
|
* OrganizationAuthorization service.
|
|
17163
17204
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17164
|
-
* @version
|
|
17205
|
+
* @version 217.0.0
|
|
17165
17206
|
*//**
|
|
17166
17207
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17167
17208
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17495,7 +17536,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
17495
17536
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17496
17537
|
* Outbound service.
|
|
17497
17538
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17498
|
-
* @version
|
|
17539
|
+
* @version 217.0.0
|
|
17499
17540
|
*//**
|
|
17500
17541
|
* Constructs a new OutboundApi.
|
|
17501
17542
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18226,8 +18267,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18226
18267
|
* Update the outbound settings for this organization
|
|
18227
18268
|
*
|
|
18228
18269
|
* @param {Object} body outboundSettings
|
|
18229
|
-
|
|
18230
|
-
|
|
18270
|
+
* @param {Object} opts Optional parameters
|
|
18271
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
18272
|
+
*/},{key:"patchOutboundSettings",value:function patchOutboundSettings(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
18273
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchOutboundSettings';}return this.apiClient.callApi('/api/v2/outbound/settings','PATCH',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18231
18274
|
* Create attempt limits
|
|
18232
18275
|
*
|
|
18233
18276
|
* @param {Object} body AttemptLimits
|
|
@@ -18274,8 +18317,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18274
18317
|
* Create a campaign.
|
|
18275
18318
|
*
|
|
18276
18319
|
* @param {Object} body Campaign
|
|
18277
|
-
|
|
18278
|
-
|
|
18320
|
+
* @param {Object} opts Optional parameters
|
|
18321
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
18322
|
+
*/},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
18323
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18279
18324
|
* Get progress for a list of campaigns
|
|
18280
18325
|
*
|
|
18281
18326
|
* @param {Array.<String>} body Campaign IDs
|
|
@@ -18473,9 +18518,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18473
18518
|
*
|
|
18474
18519
|
* @param {String} campaignId Campaign ID
|
|
18475
18520
|
* @param {Object} body Campaign
|
|
18476
|
-
|
|
18521
|
+
* @param {Object} opts Optional parameters
|
|
18522
|
+
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
18523
|
+
*/},{key:"putOutboundCampaign",value:function putOutboundCampaign(campaignId,body,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
|
|
18477
18524
|
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling putOutboundCampaign';}// verify the required parameter 'body' is set
|
|
18478
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PUT',{'campaignId':campaignId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18525
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundCampaign';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}','PUT',{'campaignId':campaignId},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18479
18526
|
* Send notification that an agent's state changed
|
|
18480
18527
|
* New agent state.
|
|
18481
18528
|
* @param {String} campaignId Campaign ID
|
|
@@ -18606,7 +18653,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18606
18653
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
18607
18654
|
* Presence service.
|
|
18608
18655
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18609
|
-
* @version
|
|
18656
|
+
* @version 217.0.0
|
|
18610
18657
|
*//**
|
|
18611
18658
|
* Constructs a new PresenceApi.
|
|
18612
18659
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18779,7 +18826,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18779
18826
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
18780
18827
|
* ProcessAutomation service.
|
|
18781
18828
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18782
|
-
* @version
|
|
18829
|
+
* @version 217.0.0
|
|
18783
18830
|
*//**
|
|
18784
18831
|
* Constructs a new ProcessAutomationApi.
|
|
18785
18832
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18842,7 +18889,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18842
18889
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
18843
18890
|
* Quality service.
|
|
18844
18891
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18845
|
-
* @version
|
|
18892
|
+
* @version 217.0.0
|
|
18846
18893
|
*//**
|
|
18847
18894
|
* Constructs a new QualityApi.
|
|
18848
18895
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19321,7 +19368,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
19321
19368
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
19322
19369
|
* Recording service.
|
|
19323
19370
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
19324
|
-
* @version
|
|
19371
|
+
* @version 217.0.0
|
|
19325
19372
|
*//**
|
|
19326
19373
|
* Constructs a new RecordingApi.
|
|
19327
19374
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19379,7 +19426,7 @@ if(policyId===undefined||policyId===null){throw'Missing the required parameter "
|
|
|
19379
19426
|
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
19380
19427
|
* @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
19381
19428
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
19382
|
-
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
19429
|
+
* @param {String} opts.locale The locale for the requested file when downloading or for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
19383
19430
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
|
|
19384
19431
|
*/},{key:"getConversationRecording",value:function getConversationRecording(conversationId,recordingId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
19385
19432
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecording';}// verify the required parameter 'recordingId' is set
|
|
@@ -19419,8 +19466,9 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
19419
19466
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
19420
19467
|
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
19421
19468
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
19469
|
+
* @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
19422
19470
|
*/},{key:"getConversationRecordings",value:function getConversationRecordings(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
19423
|
-
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19471
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationRecordings';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings','GET',{'conversationId':conversationId},{'maxWaitMs':opts['maxWaitMs'],'formatId':opts['formatId'],'mediaFormats':this.apiClient.buildCollectionParam(opts['mediaFormats'],'multi'),'locale':opts['locale']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19424
19472
|
* Gets a single orphan recording
|
|
19425
19473
|
*
|
|
19426
19474
|
* @param {String} orphanId Orphan ID
|
|
@@ -19559,13 +19607,6 @@ if(reportId===undefined||reportId===null){throw'Missing the required parameter "
|
|
|
19559
19607
|
* @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
|
|
19560
19608
|
*/},{key:"getRecordingsRetentionQuery",value:function getRecordingsRetentionQuery(retentionThresholdDays,opts){opts=opts||{};// verify the required parameter 'retentionThresholdDays' is set
|
|
19561
19609
|
if(retentionThresholdDays===undefined||retentionThresholdDays===null){throw'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';}return this.apiClient.callApi('/api/v2/recordings/retention/query','GET',{},{'retentionThresholdDays':retentionThresholdDays,'cursor':opts['cursor'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19562
|
-
* Retrieves a paged listing of screen recording sessions
|
|
19563
|
-
* Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
|
|
19564
|
-
* @param {Object} opts Optional parameters
|
|
19565
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
19566
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19567
|
-
* @deprecated
|
|
19568
|
-
*/},{key:"getRecordingsScreensessions",value:function getRecordingsScreensessions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/screensessions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19569
19610
|
* Retrieves an object containing the total number of concurrent active screen recordings
|
|
19570
19611
|
*
|
|
19571
19612
|
*/},{key:"getRecordingsScreensessionsDetails",value:function getRecordingsScreensessionsDetails(){return this.apiClient.callApi('/api/v2/recordings/screensessions/details','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -19725,7 +19766,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19725
19766
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
19726
19767
|
* ResponseManagement service.
|
|
19727
19768
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19728
|
-
* @version
|
|
19769
|
+
* @version 217.0.0
|
|
19729
19770
|
*//**
|
|
19730
19771
|
* Constructs a new ResponseManagementApi.
|
|
19731
19772
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19846,7 +19887,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19846
19887
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
19847
19888
|
* Routing service.
|
|
19848
19889
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19849
|
-
* @version
|
|
19890
|
+
* @version 217.0.0
|
|
19850
19891
|
*//**
|
|
19851
19892
|
* Constructs a new RoutingApi.
|
|
19852
19893
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20030,6 +20071,14 @@ if(domainId===undefined||domainId===null){throw'Missing the required parameter "
|
|
|
20030
20071
|
*/},{key:"getRoutingEmailDomainRoute",value:function getRoutingEmailDomainRoute(domainName,routeId){// verify the required parameter 'domainName' is set
|
|
20031
20072
|
if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';}// verify the required parameter 'routeId' is set
|
|
20032
20073
|
if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRoute';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}','GET',{'domainName':domainName,'routeId':routeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20074
|
+
* Get a route identity resolution setting.
|
|
20075
|
+
*
|
|
20076
|
+
* @param {String} domainName email domain
|
|
20077
|
+
* @param {String} routeId route ID
|
|
20078
|
+
* getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20079
|
+
*/},{key:"getRoutingEmailDomainRouteIdentityresolution",value:function getRoutingEmailDomainRouteIdentityresolution(domainName,routeId){// verify the required parameter 'domainName' is set
|
|
20080
|
+
if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'routeId' is set
|
|
20081
|
+
if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution','GET',{'domainName':domainName,'routeId':routeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20033
20082
|
* Get routes
|
|
20034
20083
|
*
|
|
20035
20084
|
* @param {String} domainName email domain
|
|
@@ -20160,6 +20209,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
20160
20209
|
* @param {String} opts.conversationId conversationId
|
|
20161
20210
|
*/},{key:"getRoutingQueueEstimatedwaittime",value:function getRoutingQueueEstimatedwaittime(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
20162
20211
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/estimatedwaittime','GET',{'queueId':queueId},{'conversationId':opts['conversationId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20212
|
+
* Get Queue IdentityResolution Settings.
|
|
20213
|
+
*
|
|
20214
|
+
* @param {String} queueId Queue ID
|
|
20215
|
+
* getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20216
|
+
*/},{key:"getRoutingQueueIdentityresolution",value:function getRoutingQueueIdentityresolution(queueId){// verify the required parameter 'queueId' is set
|
|
20217
|
+
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/identityresolution','GET',{'queueId':queueId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20163
20218
|
* Get Estimated Wait Time
|
|
20164
20219
|
*
|
|
20165
20220
|
* @param {String} queueId queueId
|
|
@@ -20328,6 +20383,12 @@ if(addressId===undefined||addressId===null){throw'Missing the required parameter
|
|
|
20328
20383
|
*/},{key:"getRoutingSmsAvailablephonenumbers",value:function getRoutingSmsAvailablephonenumbers(countryCode,phoneNumberType,opts){opts=opts||{};// verify the required parameter 'countryCode' is set
|
|
20329
20384
|
if(countryCode===undefined||countryCode===null){throw'Missing the required parameter "countryCode" when calling getRoutingSmsAvailablephonenumbers';}// verify the required parameter 'phoneNumberType' is set
|
|
20330
20385
|
if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/availablephonenumbers','GET',{},{'countryCode':countryCode,'region':opts['region'],'city':opts['city'],'areaCode':opts['areaCode'],'phoneNumberType':phoneNumberType,'pattern':opts['pattern'],'addressRequirement':opts['addressRequirement']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20386
|
+
* Get a SMS identity resolution settings.
|
|
20387
|
+
*
|
|
20388
|
+
* @param {String} addressId Address ID
|
|
20389
|
+
* getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20390
|
+
*/},{key:"getRoutingSmsIdentityresolutionPhonenumber",value:function getRoutingSmsIdentityresolutionPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
20391
|
+
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','GET',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20331
20392
|
* Get a phone number provisioned for SMS.
|
|
20332
20393
|
*
|
|
20333
20394
|
* @param {String} phoneNumberId phone number
|
|
@@ -20765,6 +20826,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20765
20826
|
if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';}// verify the required parameter 'routeId' is set
|
|
20766
20827
|
if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRoute';}// verify the required parameter 'body' is set
|
|
20767
20828
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingEmailDomainRoute';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}','PUT',{'domainName':domainName,'routeId':routeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20829
|
+
* Update identity resolution settings for a route.
|
|
20830
|
+
*
|
|
20831
|
+
* @param {String} domainName email domain
|
|
20832
|
+
* @param {String} routeId route ID
|
|
20833
|
+
* @param {Object} body
|
|
20834
|
+
* putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20835
|
+
*/},{key:"putRoutingEmailDomainRouteIdentityresolution",value:function putRoutingEmailDomainRouteIdentityresolution(domainName,routeId,body){// verify the required parameter 'domainName' is set
|
|
20836
|
+
if(domainName===undefined||domainName===null){throw'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'routeId' is set
|
|
20837
|
+
if(routeId===undefined||routeId===null){throw'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';}// verify the required parameter 'body' is set
|
|
20838
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution','PUT',{'domainName':domainName,'routeId':routeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20768
20839
|
* Request an activation status (cname + dkim) update of an outbound domain
|
|
20769
20840
|
*
|
|
20770
20841
|
* @param {String} domainId domain ID
|
|
@@ -20784,6 +20855,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20784
20855
|
*/},{key:"putRoutingQueue",value:function putRoutingQueue(queueId,body){// verify the required parameter 'queueId' is set
|
|
20785
20856
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling putRoutingQueue';}// verify the required parameter 'body' is set
|
|
20786
20857
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingQueue';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}','PUT',{'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20858
|
+
* Update Queue IdentityResolution Settings.
|
|
20859
|
+
*
|
|
20860
|
+
* @param {String} queueId Queue ID
|
|
20861
|
+
* @param {Object} body
|
|
20862
|
+
* putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20863
|
+
*/},{key:"putRoutingQueueIdentityresolution",value:function putRoutingQueueIdentityresolution(queueId,body){// verify the required parameter 'queueId' is set
|
|
20864
|
+
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';}// verify the required parameter 'body' is set
|
|
20865
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/identityresolution','PUT',{'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20787
20866
|
* Update an organization's routing settings
|
|
20788
20867
|
*
|
|
20789
20868
|
* @param {Object} body Organization Settings
|
|
@@ -20794,6 +20873,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20794
20873
|
* @param {Object} body Organization Settings
|
|
20795
20874
|
*/},{key:"putRoutingSettingsTranscription",value:function putRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
20796
20875
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20876
|
+
* Update an SMS identity resolution settings.
|
|
20877
|
+
*
|
|
20878
|
+
* @param {String} addressId Address ID
|
|
20879
|
+
* @param {Object} body
|
|
20880
|
+
* putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20881
|
+
*/},{key:"putRoutingSmsIdentityresolutionPhonenumber",value:function putRoutingSmsIdentityresolutionPhonenumber(addressId,body){// verify the required parameter 'addressId' is set
|
|
20882
|
+
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';}// verify the required parameter 'body' is set
|
|
20883
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','PUT',{'addressId':addressId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20797
20884
|
* Update the user's Direct Routing Backup settings.
|
|
20798
20885
|
*
|
|
20799
20886
|
* @param {String} userId User ID
|
|
@@ -20845,7 +20932,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20845
20932
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
20846
20933
|
* SCIM service.
|
|
20847
20934
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20848
|
-
* @version
|
|
20935
|
+
* @version 217.0.0
|
|
20849
20936
|
*//**
|
|
20850
20937
|
* Constructs a new SCIMApi.
|
|
20851
20938
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -21070,7 +21157,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21070
21157
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
21071
21158
|
* ScreenRecording service.
|
|
21072
21159
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
21073
|
-
* @version
|
|
21160
|
+
* @version 217.0.0
|
|
21074
21161
|
*//**
|
|
21075
21162
|
* Constructs a new ScreenRecordingApi.
|
|
21076
21163
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -21085,7 +21172,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21085
21172
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
21086
21173
|
* Scripts service.
|
|
21087
21174
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
21088
|
-
* @version
|
|
21175
|
+
* @version 217.0.0
|
|
21089
21176
|
*//**
|
|
21090
21177
|
* Constructs a new ScriptsApi.
|
|
21091
21178
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -21221,7 +21308,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
21221
21308
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
21222
21309
|
* Search service.
|
|
21223
21310
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
21224
|
-
* @version
|
|
21311
|
+
* @version 217.0.0
|
|
21225
21312
|
*//**
|
|
21226
21313
|
* Constructs a new SearchApi.
|
|
21227
21314
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -21393,7 +21480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21393
21480
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
21394
21481
|
* Settings service.
|
|
21395
21482
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
21396
|
-
* @version
|
|
21483
|
+
* @version 217.0.0
|
|
21397
21484
|
*//**
|
|
21398
21485
|
* Constructs a new SettingsApi.
|
|
21399
21486
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -21443,7 +21530,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21443
21530
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
21444
21531
|
* SocialMedia service.
|
|
21445
21532
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21446
|
-
* @version
|
|
21533
|
+
* @version 217.0.0
|
|
21447
21534
|
*//**
|
|
21448
21535
|
* Constructs a new SocialMediaApi.
|
|
21449
21536
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21708,7 +21795,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21708
21795
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
21709
21796
|
* SpeechTextAnalytics service.
|
|
21710
21797
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21711
|
-
* @version
|
|
21798
|
+
* @version 217.0.0
|
|
21712
21799
|
*//**
|
|
21713
21800
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21714
21801
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -22031,7 +22118,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
22031
22118
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
22032
22119
|
* Stations service.
|
|
22033
22120
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
22034
|
-
* @version
|
|
22121
|
+
* @version 217.0.0
|
|
22035
22122
|
*//**
|
|
22036
22123
|
* Constructs a new StationsApi.
|
|
22037
22124
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -22063,7 +22150,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
22063
22150
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
22064
22151
|
* Suggest service.
|
|
22065
22152
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
22066
|
-
* @version
|
|
22153
|
+
* @version 217.0.0
|
|
22067
22154
|
*//**
|
|
22068
22155
|
* Constructs a new SuggestApi.
|
|
22069
22156
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -22103,7 +22190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22103
22190
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
22104
22191
|
* TaskManagement service.
|
|
22105
22192
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
22106
|
-
* @version
|
|
22193
|
+
* @version 217.0.0
|
|
22107
22194
|
*//**
|
|
22108
22195
|
* Constructs a new TaskManagementApi.
|
|
22109
22196
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -22609,7 +22696,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22609
22696
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
22610
22697
|
* Teams service.
|
|
22611
22698
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
22612
|
-
* @version
|
|
22699
|
+
* @version 217.0.0
|
|
22613
22700
|
*//**
|
|
22614
22701
|
* Constructs a new TeamsApi.
|
|
22615
22702
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22689,7 +22776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22689
22776
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
22690
22777
|
* Telephony service.
|
|
22691
22778
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22692
|
-
* @version
|
|
22779
|
+
* @version 217.0.0
|
|
22693
22780
|
*//**
|
|
22694
22781
|
* Constructs a new TelephonyApi.
|
|
22695
22782
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22736,7 +22823,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22736
22823
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
22737
22824
|
* TelephonyProvidersEdge service.
|
|
22738
22825
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22739
|
-
* @version
|
|
22826
|
+
* @version 217.0.0
|
|
22740
22827
|
*//**
|
|
22741
22828
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22742
22829
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -23571,7 +23658,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
23571
23658
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
23572
23659
|
* Textbots service.
|
|
23573
23660
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
23574
|
-
* @version
|
|
23661
|
+
* @version 217.0.0
|
|
23575
23662
|
*//**
|
|
23576
23663
|
* Constructs a new TextbotsApi.
|
|
23577
23664
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -23606,7 +23693,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
23606
23693
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
23607
23694
|
* Tokens service.
|
|
23608
23695
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
23609
|
-
* @version
|
|
23696
|
+
* @version 217.0.0
|
|
23610
23697
|
*//**
|
|
23611
23698
|
* Constructs a new TokensApi.
|
|
23612
23699
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23640,7 +23727,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23640
23727
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
23641
23728
|
* Uploads service.
|
|
23642
23729
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23643
|
-
* @version
|
|
23730
|
+
* @version 217.0.0
|
|
23644
23731
|
*//**
|
|
23645
23732
|
* Constructs a new UploadsApi.
|
|
23646
23733
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23652,7 +23739,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23652
23739
|
*
|
|
23653
23740
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
23654
23741
|
* @param {String} jobId Upload job ID
|
|
23655
|
-
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23656
23742
|
*/return _createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
23657
23743
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
23658
23744
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23672,7 +23758,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23672
23758
|
*
|
|
23673
23759
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
23674
23760
|
* @param {Object} body uploadRequest
|
|
23675
|
-
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23676
23761
|
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
23677
23762
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
23678
23763
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23705,7 +23790,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23705
23790
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
23706
23791
|
* Usage service.
|
|
23707
23792
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23708
|
-
* @version
|
|
23793
|
+
* @version 217.0.0
|
|
23709
23794
|
*//**
|
|
23710
23795
|
* Constructs a new UsageApi.
|
|
23711
23796
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23759,7 +23844,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23759
23844
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
23760
23845
|
* UserRecordings service.
|
|
23761
23846
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23762
|
-
* @version
|
|
23847
|
+
* @version 217.0.0
|
|
23763
23848
|
*//**
|
|
23764
23849
|
* Constructs a new UserRecordingsApi.
|
|
23765
23850
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -23816,7 +23901,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
23816
23901
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
23817
23902
|
* Users service.
|
|
23818
23903
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
23819
|
-
* @version
|
|
23904
|
+
* @version 217.0.0
|
|
23820
23905
|
*//**
|
|
23821
23906
|
* Constructs a new UsersApi.
|
|
23822
23907
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -24543,7 +24628,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
24543
24628
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
24544
24629
|
* Utilities service.
|
|
24545
24630
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
24546
|
-
* @version
|
|
24631
|
+
* @version 217.0.0
|
|
24547
24632
|
*//**
|
|
24548
24633
|
* Constructs a new UtilitiesApi.
|
|
24549
24634
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -24570,7 +24655,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24570
24655
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
24571
24656
|
* Voicemail service.
|
|
24572
24657
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
24573
|
-
* @version
|
|
24658
|
+
* @version 217.0.0
|
|
24574
24659
|
*//**
|
|
24575
24660
|
* Constructs a new VoicemailApi.
|
|
24576
24661
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24732,7 +24817,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24732
24817
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
24733
24818
|
* WebChat service.
|
|
24734
24819
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24735
|
-
* @version
|
|
24820
|
+
* @version 217.0.0
|
|
24736
24821
|
*//**
|
|
24737
24822
|
* Constructs a new WebChatApi.
|
|
24738
24823
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -24867,7 +24952,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24867
24952
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
24868
24953
|
* WebDeployments service.
|
|
24869
24954
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
24870
|
-
* @version
|
|
24955
|
+
* @version 217.0.0
|
|
24871
24956
|
*//**
|
|
24872
24957
|
* Constructs a new WebDeploymentsApi.
|
|
24873
24958
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -24942,6 +25027,12 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
24942
25027
|
* @param {Array.<String>} opts.expand Expand instructions for the return value
|
|
24943
25028
|
*/},{key:"getWebdeploymentsDeploymentConfigurations",value:function getWebdeploymentsDeploymentConfigurations(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
|
|
24944
25029
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/configurations','GET',{'deploymentId':deploymentId},{'type':opts['type'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25030
|
+
* Get a deployment identity resolution setting.
|
|
25031
|
+
*
|
|
25032
|
+
* @param {String} deploymentId The deployment ID
|
|
25033
|
+
* getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25034
|
+
*/},{key:"getWebdeploymentsDeploymentIdentityresolution",value:function getWebdeploymentsDeploymentIdentityresolution(deploymentId){// verify the required parameter 'deploymentId' is set
|
|
25035
|
+
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','GET',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24945
25036
|
* Get deployments
|
|
24946
25037
|
*
|
|
24947
25038
|
* @param {Object} opts Optional parameters
|
|
@@ -24985,10 +25076,18 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
|
|
|
24985
25076
|
* @param {Object} deployment
|
|
24986
25077
|
*/},{key:"putWebdeploymentsDeployment",value:function putWebdeploymentsDeployment(deploymentId,deployment){// verify the required parameter 'deploymentId' is set
|
|
24987
25078
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';}// verify the required parameter 'deployment' is set
|
|
24988
|
-
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']);}
|
|
25079
|
+
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']);}/**
|
|
25080
|
+
* Update identity resolution settings for a deployment.
|
|
25081
|
+
*
|
|
25082
|
+
* @param {String} deploymentId The deployment ID
|
|
25083
|
+
* @param {Object} body
|
|
25084
|
+
* putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25085
|
+
*/},{key:"putWebdeploymentsDeploymentIdentityresolution",value:function putWebdeploymentsDeploymentIdentityresolution(deploymentId,body){// verify the required parameter 'deploymentId' is set
|
|
25086
|
+
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';}// verify the required parameter 'body' is set
|
|
25087
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
24989
25088
|
* WebMessaging service.
|
|
24990
25089
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
24991
|
-
* @version
|
|
25090
|
+
* @version 217.0.0
|
|
24992
25091
|
*//**
|
|
24993
25092
|
* Constructs a new WebMessagingApi.
|
|
24994
25093
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -25004,7 +25103,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
25004
25103
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
25005
25104
|
* Widgets service.
|
|
25006
25105
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
25007
|
-
* @version
|
|
25106
|
+
* @version 217.0.0
|
|
25008
25107
|
*//**
|
|
25009
25108
|
* Constructs a new WidgetsApi.
|
|
25010
25109
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -25039,7 +25138,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
25039
25138
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
25040
25139
|
* WorkforceManagement service.
|
|
25041
25140
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
25042
|
-
* @version
|
|
25141
|
+
* @version 217.0.0
|
|
25043
25142
|
*//**
|
|
25044
25143
|
* Constructs a new WorkforceManagementApi.
|
|
25045
25144
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -26858,7 +26957,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26858
26957
|
* </pre>
|
|
26859
26958
|
* </p>
|
|
26860
26959
|
* @module purecloud-platform-client-v2/index
|
|
26861
|
-
* @version
|
|
26960
|
+
* @version 217.0.0
|
|
26862
26961
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
26863
26962
|
* The ApiClient constructor.
|
|
26864
26963
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|