purecloud-platform-client-v2 234.0.0 → 235.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.
Files changed (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +276 -198
  3. package/dist/web-amd/purecloud-platform-client-v2.js +276 -198
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +180 -127
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +180 -127
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +671 -561
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +45 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +51 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +2 -8
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +46 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +51 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -107
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +3 -2
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5582,7 +5582,13 @@ function Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=funct
5582
5582
  var versions={};var release={};var config={};function noop$1(){}var on=noop$1;var addListener=noop$1;var once=noop$1;var off=noop$1;var removeListener=noop$1;var removeAllListeners=noop$1;var emit=noop$1;function binding(name){throw new Error('process.binding is not supported');}function cwd(){return'/';}function chdir(dir){throw new Error('process.chdir is not supported');}function umask(){return 0;}// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
5583
5583
  var performance=global$1.performance||{};var performanceNow=performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow||function(){return new Date().getTime();};// generate timestamp or delta
5584
5584
  // see http://nodejs.org/api/process.html#process_process_hrtime
5585
- function hrtime(previousTimestamp){var clocktime=performanceNow.call(performance)*1e-3;var seconds=Math.floor(clocktime);var nanoseconds=Math.floor(clocktime%1*1e9);if(previousTimestamp){seconds=seconds-previousTimestamp[0];nanoseconds=nanoseconds-previousTimestamp[1];if(nanoseconds<0){seconds--;nanoseconds+=1e9;}}return[seconds,nanoseconds];}var startTime=new Date();function uptime(){var currentTime=new Date();var dif=currentTime-startTime;return dif/1000;}var process={nextTick:nextTick,title:title,browser:browser,env:env,argv:argv,version:version,versions:versions,on:on,addListener:addListener,once:once,off:off,removeListener:removeListener,removeAllListeners:removeAllListeners,emit:emit,binding:binding,cwd:cwd,chdir:chdir,umask:umask,hrtime:hrtime,platform:platform$2,release:release,config:config,uptime:uptime};function bind(fn,thisArg){return function wrap(){return fn.apply(thisArg,arguments);};}// utils is a library of generic helper functions non-specific to axios
5585
+ function hrtime(previousTimestamp){var clocktime=performanceNow.call(performance)*1e-3;var seconds=Math.floor(clocktime);var nanoseconds=Math.floor(clocktime%1*1e9);if(previousTimestamp){seconds=seconds-previousTimestamp[0];nanoseconds=nanoseconds-previousTimestamp[1];if(nanoseconds<0){seconds--;nanoseconds+=1e9;}}return[seconds,nanoseconds];}var startTime=new Date();function uptime(){var currentTime=new Date();var dif=currentTime-startTime;return dif/1000;}var process={nextTick:nextTick,title:title,browser:browser,env:env,argv:argv,version:version,versions:versions,on:on,addListener:addListener,once:once,off:off,removeListener:removeListener,removeAllListeners:removeAllListeners,emit:emit,binding:binding,cwd:cwd,chdir:chdir,umask:umask,hrtime:hrtime,platform:platform$2,release:release,config:config,uptime:uptime};/**
5586
+ * Create a bound version of a function with a specified `this` context
5587
+ *
5588
+ * @param {Function} fn - The function to bind
5589
+ * @param {*} thisArg - The value to be passed as the `this` parameter
5590
+ * @returns {Function} A new function that will call the original function with the specified `this` context
5591
+ */function bind(fn,thisArg){return function wrap(){return fn.apply(thisArg,arguments);};}// utils is a library of generic helper functions non-specific to axios
5586
5592
  var toString$1=Object.prototype.toString;var getPrototypeOf=Object.getPrototypeOf;var iterator=Symbol.iterator,toStringTag=Symbol.toStringTag;var kindOf=function(cache){return function(thing){var str=toString$1.call(thing);return cache[str]||(cache[str]=str.slice(8,-1).toLowerCase());};}(Object.create(null));var kindOfTest=function kindOfTest(type){type=type.toLowerCase();return function(thing){return kindOf(thing)===type;};};var typeOfTest=function typeOfTest(type){return function(thing){return _typeof(thing)===type;};};/**
5587
5593
  * Determine if a value is an Array
5588
5594
  *
@@ -6108,7 +6114,7 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
6108
6114
  *
6109
6115
  * @param {Number} id The ID that was returned by `use`
6110
6116
  *
6111
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
6117
+ * @returns {void}
6112
6118
  */},{key:"eject",value:function eject(id){if(this.handlers[id]){this.handlers[id]=null;}}/**
6113
6119
  * Clear all interceptors from the stack
6114
6120
  *
@@ -6233,7 +6239,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
6233
6239
  * @param {Number} freq
6234
6240
  * @return {Function}
6235
6241
  */function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(void 0,_toConsumableArray(args));};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv?function(origin,isMSIE){return function(url){url=new URL(url,platform.origin);return origin.protocol===url.protocol&&origin.host===url.host&&(isMSIE||origin.port===url.port);};}(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):function(){return true;};var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
6236
- {write:function write(name,value,expires,path,domain,secure){var cookie=[name+'='+encodeURIComponent(value)];utils$1.isNumber(expires)&&cookie.push('expires='+new Date(expires).toGMTString());utils$1.isString(path)&&cookie.push('path='+path);utils$1.isString(domain)&&cookie.push('domain='+domain);secure===true&&cookie.push('secure');document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return match?decodeURIComponent(match[3]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000);}}:// Non-standard browser env (web workers, react-native) lack needed support.
6242
+ {write:function write(name,value,expires,path,domain,secure,sameSite){if(typeof document==='undefined')return;var cookie=["".concat(name,"=").concat(encodeURIComponent(value))];if(utils$1.isNumber(expires)){cookie.push("expires=".concat(new Date(expires).toUTCString()));}if(utils$1.isString(path)){cookie.push("path=".concat(path));}if(utils$1.isString(domain)){cookie.push("domain=".concat(domain));}if(secure===true){cookie.push('secure');}if(utils$1.isString(sameSite)){cookie.push("SameSite=".concat(sameSite));}document.cookie=cookie.join('; ');},read:function read(name){if(typeof document==='undefined')return null;var match=document.cookie.match(new RegExp('(?:^|; )'+name+'=([^;]*)'));return match?decodeURIComponent(match[1]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000,'/');}}:// Non-standard browser env (web workers, react-native) lack needed support.
6237
6243
  {write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
6238
6244
  * Determines whether the specified URL is absolute
6239
6245
  *
@@ -6313,8 +6319,44 @@ if(onUploadProgress&&request.upload){var _progressEventReducer3=progressEventRed
6313
6319
  onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel.type?new CanceledError(null,config,request):cancel);request.abort();request=null;};_config.cancelToken&&_config.cancelToken.subscribe(onCanceled);if(_config.signal){_config.signal.aborted?onCanceled():_config.signal.addEventListener('abort',onCanceled);}}var protocol=parseProtocol(_config.url);if(protocol&&platform.protocols.indexOf(protocol)===-1){reject(new AxiosError('Unsupported protocol '+protocol+':',AxiosError.ERR_BAD_REQUEST,config));return;}// Send the request
6314
6320
  request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var _signals=signals=signals?signals.filter(Boolean):[],length=_signals.length;if(timeout||length){var controller=new AbortController();var aborted;var onabort=function onabort(reason){if(!aborted){aborted=true;unsubscribe();var err=reason instanceof Error?reason:this.reason;controller.abort(err instanceof AxiosError?err:new CanceledError(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){timer=null;onabort(new AxiosError("timeout ".concat(timeout," of ms exceeded"),AxiosError.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal.unsubscribe?signal.unsubscribe(onabort):signal.removeEventListener('abort',onabort);});signals=null;}};signals.forEach(function(signal){return signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=function(){return utils$1.asap(unsubscribe);};return signal;}};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regenerator().m(function streamChunk(chunk,chunkSize){var len,pos,end;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.n=2;break;}_context.n=1;return chunk;case 1:return _context.a(2);case 2:pos=0;case 3:if(!(pos<len)){_context.n=5;break;}end=pos+chunkSize;_context.n=4;return chunk.slice(pos,end);case 4:pos=end;_context.n=3;break;case 5:return _context.a(2);}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable,chunkSize){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator2,_step,chunk,_t;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.p=1;_iterator2=_asyncIterator(readStream(iterable));case 2:_context2.n=3;return _awaitAsyncGenerator(_iterator2.next());case 3:if(!(_iteratorAbruptCompletion=!(_step=_context2.v).done)){_context2.n=5;break;}chunk=_step.value;return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk,chunkSize)),_awaitAsyncGenerator)),4);case 4:_iteratorAbruptCompletion=false;_context2.n=2;break;case 5:_context2.n=7;break;case 6:_context2.p=6;_t=_context2.v;_didIteratorError=true;_iteratorError=_t;case 7:_context2.p=7;_context2.p=8;if(!(_iteratorAbruptCompletion&&_iterator2["return"]!=null)){_context2.n=9;break;}_context2.n=9;return _awaitAsyncGenerator(_iterator2["return"]());case 9:_context2.p=9;if(!_didIteratorError){_context2.n=10;break;}throw _iteratorError;case 10:return _context2.f(9);case 11:return _context2.f(7);case 12:return _context2.a(2);}},_callee,null,[[8,,9,11],[1,6,7,12]]);}));return function readBytes(_x,_x2){return _ref.apply(this,arguments);};}();var readStream=/*#__PURE__*/function(){var _ref2=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream){var reader,_yield$_awaitAsyncGen,done,value;return _regenerator().w(function(_context3){while(1)switch(_context3.p=_context3.n){case 0:if(!stream[Symbol.asyncIterator]){_context3.n=2;break;}return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream),_awaitAsyncGenerator)),1);case 1:return _context3.a(2);case 2:reader=stream.getReader();_context3.p=3;case 4:_context3.n=5;return _awaitAsyncGenerator(reader.read());case 5:_yield$_awaitAsyncGen=_context3.v;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context3.n=6;break;}return _context3.a(3,8);case 6:_context3.n=7;return value;case 7:_context3.n=4;break;case 8:_context3.p=8;_context3.n=9;return _awaitAsyncGenerator(reader.cancel());case 9:return _context3.f(8);case 10:return _context3.a(2);}},_callee2,null,[[3,,8,10]]);}));return function readStream(_x3){return _ref2.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish){var iterator=readBytes(stream,chunkSize);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(){var _yield$iterator$next,_done,value,len,loadedBytes,_t2;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:_context4.p=0;_context4.n=1;return iterator.next();case 1:_yield$iterator$next=_context4.v;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context4.n=2;break;}_onFinish();controller.close();return _context4.a(2);case 2:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context4.n=4;break;case 3:_context4.p=3;_t2=_context4.v;_onFinish(_t2);throw _t2;case 4:return _context4.a(2);}},_callee3,null,[[0,3]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var DEFAULT_CHUNK_SIZE=64*1024;var isFunction=utils$1.isFunction;var globalFetchAPI=function(_ref11){var Request=_ref11.Request,Response=_ref11.Response;return{Request:Request,Response:Response};}(utils$1.global);var _utils$1$global=utils$1.global,ReadableStream$1=_utils$1$global.ReadableStream,TextEncoder$1=_utils$1$global.TextEncoder;var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var factory=function factory(env){env=utils$1.merge.call({skipUndefined:true},globalFetchAPI,env);var _env=env,envFetch=_env.fetch,Request=_env.Request,Response=_env.Response;var isFetchSupported=envFetch?isFunction(envFetch):typeof fetch==='function';var isRequestSupported=isFunction(Request);var isResponseSupported=isFunction(Response);if(!isFetchSupported){return false;}var isReadableStreamSupported=isFetchSupported&&isFunction(ReadableStream$1);var encodeText=isFetchSupported&&(typeof TextEncoder$1==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder$1()):(/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(str){var _t3,_t4;return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_t3=Uint8Array;_context5.n=1;return new Request(str).arrayBuffer();case 1:_t4=_context5.v;return _context5.a(2,new _t3(_t4));}},_callee4);}));return function(_x4){return _ref12.apply(this,arguments);};}()));var supportsRequestStream=isRequestSupported&&isReadableStreamSupported&&test(function(){var duplexAccessed=false;var hasContentType=new Request(platform.origin,{body:new ReadableStream$1(),method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');return duplexAccessed&&!hasContentType;});var supportsResponseStream=isResponseSupported&&isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=function(res,config){var method=res&&res[type];if(method){return method.call(res);}throw new AxiosError("Response type '".concat(type,"' is not supported"),AxiosError.ERR_NOT_SUPPORT,config);});});}();var getBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(body){var _request;return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:if(!(body==null)){_context6.n=1;break;}return _context6.a(2,0);case 1:if(!utils$1.isBlob(body)){_context6.n=2;break;}return _context6.a(2,body.size);case 2:if(!utils$1.isSpecCompliantForm(body)){_context6.n=4;break;}_request=new Request(platform.origin,{method:'POST',body:body});_context6.n=3;return _request.arrayBuffer();case 3:return _context6.a(2,_context6.v.byteLength);case 4:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context6.n=5;break;}return _context6.a(2,body.byteLength);case 5:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context6.n=7;break;}_context6.n=6;return encodeText(body);case 6:return _context6.a(2,_context6.v.byteLength);case 7:return _context6.a(2);}},_callee5);}));return function getBodyLength(_x5){return _ref13.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(headers,body){var length;return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context7.a(2,length==null?getBodyLength(body):length);}},_callee6);}));return function resolveBodyLength(_x6,_x7){return _ref14.apply(this,arguments);};}();return/*#__PURE__*/function(){var _ref15=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,_fetch,composedSignal,request,unsubscribe,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,isCredentialsSupported,resolvedOptions,response,isStreamResponse,options,responseContentLength,_ref16,_ref17,_onProgress,_flush,responseData,_t5,_t6,_t7;return _regenerator().w(function(_context8){while(1)switch(_context8.p=_context8.n){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;_fetch=envFetch||fetch;responseType=responseType?(responseType+'').toLowerCase():'text';composedSignal=composeSignals$1([signal,cancelToken&&cancelToken.toAbortSignal()],timeout);request=null;unsubscribe=composedSignal&&composedSignal.unsubscribe&&function(){composedSignal.unsubscribe();};_context8.p=1;_t5=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_t5){_context8.n=3;break;}_context8.n=2;return resolveBodyLength(headers,data);case 2:_t6=requestContentLength=_context8.v;_t5=_t6!==0;case 3:if(!_t5){_context8.n=4;break;}_request=new Request(url,{method:'POST',body:data,duplex:"half"});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush);}case 4:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}// Cloudflare Workers throws when credentials are defined
6315
6321
  // see https://github.com/cloudflare/workerd/issues/902
6316
- isCredentialsSupported=isRequestSupported&&"credentials"in Request.prototype;resolvedOptions=_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:"half",credentials:isCredentialsSupported?withCredentials:undefined});request=isRequestSupported&&new Request(url,resolvedOptions);_context8.n=5;return isRequestSupported?_fetch(request,fetchOptions):_fetch(url,resolvedOptions);case 5:response=_context8.v;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse&&unsubscribe)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref16=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref17=_slicedToArray(_ref16,2),_onProgress=_ref17[0],_flush=_ref17[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();unsubscribe&&unsubscribe();}),options);}responseType=responseType||'text';_context8.n=6;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 6:responseData=_context8.v;!isStreamResponse&&unsubscribe&&unsubscribe();_context8.n=7;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 7:return _context8.a(2,_context8.v);case 8:_context8.p=8;_t7=_context8.v;unsubscribe&&unsubscribe();if(!(_t7&&_t7.name==='TypeError'&&/Load failed|fetch/i.test(_t7.message))){_context8.n=9;break;}throw Object.assign(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request),{cause:_t7.cause||_t7});case 9:throw AxiosError.from(_t7,_t7&&_t7.code,config,request);case 10:return _context8.a(2);}},_callee7,null,[[1,8]]);}));return function(_x8){return _ref15.apply(this,arguments);};}();};var seedCache=new Map();var getFetch=function getFetch(config){var env=config?config.env:{};var fetch=env.fetch,Request=env.Request,Response=env.Response;var seeds=[Request,Response,fetch];var len=seeds.length,i=len,seed,target,map=seedCache;while(i--){seed=seeds[i];target=map.get(seed);target===undefined&&map.set(seed,target=i?new Map():factory(env));map=target;}return target;};getFetch();var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:getFetch}};utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
6317
- }Object.defineProperty(fn,'adapterName',{value:value});}});var renderReason=function renderReason(reason){return"- ".concat(reason);};var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};var adapters={getAdapter:function getAdapter(adapters,config){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter&&(utils$1.isFunction(adapter)||(adapter=adapter.get(config)))){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref18){var _ref19=_slicedToArray(_ref18,2),id=_ref19[0],state=_ref19[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;},adapters:knownAdapters};/**
6322
+ isCredentialsSupported=isRequestSupported&&"credentials"in Request.prototype;resolvedOptions=_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:"half",credentials:isCredentialsSupported?withCredentials:undefined});request=isRequestSupported&&new Request(url,resolvedOptions);_context8.n=5;return isRequestSupported?_fetch(request,fetchOptions):_fetch(url,resolvedOptions);case 5:response=_context8.v;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse&&unsubscribe)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref16=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref17=_slicedToArray(_ref16,2),_onProgress=_ref17[0],_flush=_ref17[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();unsubscribe&&unsubscribe();}),options);}responseType=responseType||'text';_context8.n=6;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 6:responseData=_context8.v;!isStreamResponse&&unsubscribe&&unsubscribe();_context8.n=7;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 7:return _context8.a(2,_context8.v);case 8:_context8.p=8;_t7=_context8.v;unsubscribe&&unsubscribe();if(!(_t7&&_t7.name==='TypeError'&&/Load failed|fetch/i.test(_t7.message))){_context8.n=9;break;}throw Object.assign(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request),{cause:_t7.cause||_t7});case 9:throw AxiosError.from(_t7,_t7&&_t7.code,config,request);case 10:return _context8.a(2);}},_callee7,null,[[1,8]]);}));return function(_x8){return _ref15.apply(this,arguments);};}();};var seedCache=new Map();var getFetch=function getFetch(config){var env=config&&config.env||{};var fetch=env.fetch,Request=env.Request,Response=env.Response;var seeds=[Request,Response,fetch];var len=seeds.length,i=len,seed,target,map=seedCache;while(i--){seed=seeds[i];target=map.get(seed);target===undefined&&map.set(seed,target=i?new Map():factory(env));map=target;}return target;};getFetch();/**
6323
+ * Known adapters mapping.
6324
+ * Provides environment-specific adapters for Axios:
6325
+ * - `http` for Node.js
6326
+ * - `xhr` for browsers
6327
+ * - `fetch` for fetch API-based requests
6328
+ *
6329
+ * @type {Object<string, Function|Object>}
6330
+ */var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:getFetch}};// Assign adapter names for easier debugging and identification
6331
+ utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
6332
+ }Object.defineProperty(fn,'adapterName',{value:value});}});/**
6333
+ * Render a rejection reason string for unknown or unsupported adapters
6334
+ *
6335
+ * @param {string} reason
6336
+ * @returns {string}
6337
+ */var renderReason=function renderReason(reason){return"- ".concat(reason);};/**
6338
+ * Check if the adapter is resolved (function, null, or false)
6339
+ *
6340
+ * @param {Function|null|false} adapter
6341
+ * @returns {boolean}
6342
+ */var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};/**
6343
+ * Get the first suitable adapter from the provided list.
6344
+ * Tries each adapter in order until a supported one is found.
6345
+ * Throws an AxiosError if no adapter is suitable.
6346
+ *
6347
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
6348
+ * @param {Object} config - Axios request configuration
6349
+ * @throws {AxiosError} If no suitable adapter is available
6350
+ * @returns {Function} The resolved adapter function
6351
+ */function getAdapter(adapters,config){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter&&(utils$1.isFunction(adapter)||(adapter=adapter.get(config)))){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref18){var _ref19=_slicedToArray(_ref18,2),id=_ref19[0],state=_ref19[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;}/**
6352
+ * Exports Axios adapters and utility to resolve an adapter
6353
+ */var adapters={/**
6354
+ * Resolve an adapter from a list of adapter names or functions.
6355
+ * @type {Function}
6356
+ */getAdapter:getAdapter,/**
6357
+ * Exposes all known adapters
6358
+ * @type {Object<string, Function|Object>}
6359
+ */adapters:knownAdapters};/**
6318
6360
  * Throws a `CanceledError` if cancellation has been requested.
6319
6361
  *
6320
6362
  * @param {Object} config The config that is to be used for the request
@@ -6329,7 +6371,7 @@ isCredentialsSupported=isRequestSupported&&"credentials"in Request.prototype;res
6329
6371
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
6330
6372
  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,config);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
6331
6373
  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
6332
- 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.12.2";var validators$1={};// eslint-disable-next-line func-names
6374
+ 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.13.2";var validators$1={};// eslint-disable-next-line func-names
6333
6375
  ['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={};/**
6334
6376
  * Transitional option validator
6335
6377
  *
@@ -6416,7 +6458,7 @@ return;}token.reason=new CanceledError(message,config,request);resolvePromise(to
6416
6458
  * @param {*} payload The value to test
6417
6459
  *
6418
6460
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
6419
- */function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(function(_ref20){var _ref21=_slicedToArray(_ref20,2),key=_ref21[0],value=_ref21[1];HttpStatusCode[value]=key;});var HttpStatusCode$1=HttpStatusCode;/**
6461
+ */function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(HttpStatusCode).forEach(function(_ref20){var _ref21=_slicedToArray(_ref20,2),key=_ref21[0],value=_ref21[1];HttpStatusCode[value]=key;});var HttpStatusCode$1=HttpStatusCode;/**
6420
6462
  * Create an instance of Axios
6421
6463
  *
6422
6464
  * @param {Object} defaultConfig The default config for the instance
@@ -6477,7 +6519,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6477
6519
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6478
6520
  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];}}}]);}();/**
6479
6521
  * @module purecloud-platform-client-v2/ApiClient
6480
- * @version 234.0.0
6522
+ * @version 235.0.0
6481
6523
  */var ApiClient=/*#__PURE__*/function(){/**
6482
6524
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6483
6525
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6546,6 +6588,16 @@ var tempState=this.authData.state;this.authData=localStorage.getItem("".concat(t
6546
6588
  * @description Sets the environment used by the session
6547
6589
  * @param {string} environment - (Optional, default "mypurecloud.com") Environment the session use, e.g. mypurecloud.ie, mypurecloud.com.au, etc.
6548
6590
  */},{key:"setEnvironment",value:function setEnvironment(environment){this.config.setEnvironment(environment);}/**
6591
+ * @description Sets the optional http headers used by the client
6592
+ * @param {object} newHeaders - default headers to be used
6593
+ */},{key:"setDefaultHeaders",value:function setDefaultHeaders(newHeaders){if(!newHeaders||!(_typeof(newHeaders)==='object')){throw new Error("default headers must be a map");}this.defaultHeaders=newHeaders;}/**
6594
+ * @description Gets the default http headers used by the client
6595
+ */},{key:"getDefaultHeaders",value:function getDefaultHeaders(){return this.defaultHeaders;}/**
6596
+ * @description Sets the optional Genesys-App http header used by the client
6597
+ * @param {string} headerValue - value for the Genesys-App header
6598
+ */},{key:"setGenesysAppHeader",value:function setGenesysAppHeader(headerValue){if(!headerValue||!(typeof headerValue==='string'))throw new Error("headerValue must be a non empty string");if(!this.defaultHeaders){this.defaultHeaders={"Genesys-App":headerValue};}else{this.defaultHeaders["Genesys-App"]=headerValue;}}/**
6599
+ * @description Gets the Genesys-App http header used by the client
6600
+ */},{key:"getGenesysAppHeader",value:function getGenesysAppHeader(){if(this.defaultHeaders&&this.defaultHeaders["Genesys-App"]){return this.defaultHeaders["Genesys-App"];}else{return null;}}/**
6549
6601
  * @description Sets the dynamic HttpClient used by the client
6550
6602
  * @param {object} httpClient - HttpClient to be injected
6551
6603
  */},{key:"setHttpClient",value:function setHttpClient(httpClient){if(!(httpClient instanceof AbstractHttpClient)){throw new Error("httpclient must be an instance of AbstractHttpClient. See DefaultltHttpClient for a prototype");}this.httpClient=httpClient;}/**
@@ -6823,7 +6875,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6823
6875
  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 AIStudioApi=/*#__PURE__*/function(){/**
6824
6876
  * AIStudio service.
6825
6877
  * @module purecloud-platform-client-v2/api/AIStudioApi
6826
- * @version 234.0.0
6878
+ * @version 235.0.0
6827
6879
  *//**
6828
6880
  * Constructs a new AIStudioApi.
6829
6881
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -6974,7 +7026,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
6974
7026
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
6975
7027
  * AgentAssistants service.
6976
7028
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
6977
- * @version 234.0.0
7029
+ * @version 235.0.0
6978
7030
  *//**
6979
7031
  * Constructs a new AgentAssistantsApi.
6980
7032
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7105,7 +7157,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
7105
7157
  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(){/**
7106
7158
  * AgentCopilot service.
7107
7159
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7108
- * @version 234.0.0
7160
+ * @version 235.0.0
7109
7161
  *//**
7110
7162
  * Constructs a new AgentCopilotApi.
7111
7163
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7132,7 +7184,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7132
7184
  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(){/**
7133
7185
  * AgentUI service.
7134
7186
  * @module purecloud-platform-client-v2/api/AgentUIApi
7135
- * @version 234.0.0
7187
+ * @version 235.0.0
7136
7188
  *//**
7137
7189
  * Constructs a new AgentUIApi.
7138
7190
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7166,7 +7218,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7166
7218
  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(){/**
7167
7219
  * Alerting service.
7168
7220
  * @module purecloud-platform-client-v2/api/AlertingApi
7169
- * @version 234.0.0
7221
+ * @version 235.0.0
7170
7222
  *//**
7171
7223
  * Constructs a new AlertingApi.
7172
7224
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7255,7 +7307,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7255
7307
  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(){/**
7256
7308
  * Analytics service.
7257
7309
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7258
- * @version 234.0.0
7310
+ * @version 235.0.0
7259
7311
  *//**
7260
7312
  * Constructs a new AnalyticsApi.
7261
7313
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -8031,7 +8083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8031
8083
  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(){/**
8032
8084
  * Architect service.
8033
8085
  * @module purecloud-platform-client-v2/api/ArchitectApi
8034
- * @version 234.0.0
8086
+ * @version 235.0.0
8035
8087
  *//**
8036
8088
  * Constructs a new ArchitectApi.
8037
8089
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9165,7 +9217,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9165
9217
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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(){/**
9166
9218
  * Audit service.
9167
9219
  * @module purecloud-platform-client-v2/api/AuditApi
9168
- * @version 234.0.0
9220
+ * @version 235.0.0
9169
9221
  *//**
9170
9222
  * Constructs a new AuditApi.
9171
9223
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9215,7 +9267,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9215
9267
  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(){/**
9216
9268
  * Authorization service.
9217
9269
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9218
- * @version 234.0.0
9270
+ * @version 235.0.0
9219
9271
  *//**
9220
9272
  * Constructs a new AuthorizationApi.
9221
9273
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9650,7 +9702,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9650
9702
  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(){/**
9651
9703
  * Billing service.
9652
9704
  * @module purecloud-platform-client-v2/api/BillingApi
9653
- * @version 234.0.0
9705
+ * @version 235.0.0
9654
9706
  *//**
9655
9707
  * Constructs a new BillingApi.
9656
9708
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9727,7 +9779,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9727
9779
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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 BusinessRulesApi=/*#__PURE__*/function(){/**
9728
9780
  * BusinessRules service.
9729
9781
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9730
- * @version 234.0.0
9782
+ * @version 235.0.0
9731
9783
  *//**
9732
9784
  * Constructs a new BusinessRulesApi.
9733
9785
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -9948,7 +10000,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
9948
10000
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
9949
10001
  * CarrierServices service.
9950
10002
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9951
- * @version 234.0.0
10003
+ * @version 235.0.0
9952
10004
  *//**
9953
10005
  * Constructs a new CarrierServicesApi.
9954
10006
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -9968,7 +10020,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
9968
10020
  */},{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(){/**
9969
10021
  * Chat service.
9970
10022
  * @module purecloud-platform-client-v2/api/ChatApi
9971
- * @version 234.0.0
10023
+ * @version 235.0.0
9972
10024
  *//**
9973
10025
  * Constructs a new ChatApi.
9974
10026
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10199,7 +10251,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10199
10251
  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(){/**
10200
10252
  * Coaching service.
10201
10253
  * @module purecloud-platform-client-v2/api/CoachingApi
10202
- * @version 234.0.0
10254
+ * @version 235.0.0
10203
10255
  *//**
10204
10256
  * Constructs a new CoachingApi.
10205
10257
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10291,6 +10343,11 @@ if(notificationId===undefined||notificationId===null||notificationId===''){throw
10291
10343
  * @param {Number} opts.pageSize Page size (default to 25)
10292
10344
  * @param {Array.<String>} opts.expand Indicates a field in the response which should be expanded.
10293
10345
  */},{key:"getCoachingNotifications",value:function getCoachingNotifications(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/coaching/notifications','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10346
+ * Retrieve the status of the job for the slots where a coaching appointment can be scheduled.
10347
+ *
10348
+ * @param {String} jobId The ID of job
10349
+ */},{key:"getCoachingScheduleslotsJob",value:function getCoachingScheduleslotsJob(jobId){// verify the required parameter 'jobId' is set
10350
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getCoachingScheduleslotsJob';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10294
10351
  * Update an existing appointment
10295
10352
  * Permission not required if you are the creator or facilitator of the appointment
10296
10353
  * @param {String} appointmentId The ID of the coaching appointment.
@@ -10345,6 +10402,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10345
10402
  * @param {Object} body Aggregate Request
10346
10403
  */},{key:"postCoachingAppointmentsAggregatesQuery",value:function postCoachingAppointmentsAggregatesQuery(body){// verify the required parameter 'body' is set
10347
10404
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingAppointmentsAggregatesQuery';}return this.apiClient.callApi('/api/v2/coaching/appointments/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10405
+ * Start job to retrieve the slots where a coaching appointment can be scheduled.
10406
+ *
10407
+ * @param {Object} body The slots search request
10408
+ */},{key:"postCoachingScheduleslotsJobs",value:function postCoachingScheduleslotsJobs(body){// verify the required parameter 'body' is set
10409
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsJobs';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10348
10410
  * Get list of possible slots where a coaching appointment can be scheduled.
10349
10411
  *
10350
10412
  * @param {Object} body The slot search request
@@ -10352,7 +10414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10352
10414
  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(){/**
10353
10415
  * ContentManagement service.
10354
10416
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10355
- * @version 234.0.0
10417
+ * @version 235.0.0
10356
10418
  *//**
10357
10419
  * Constructs a new ContentManagementApi.
10358
10420
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10634,7 +10696,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
10634
10696
  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(){/**
10635
10697
  * Conversations service.
10636
10698
  * @module purecloud-platform-client-v2/api/ConversationsApi
10637
- * @version 234.0.0
10699
+ * @version 235.0.0
10638
10700
  *//**
10639
10701
  * Constructs a new ConversationsApi.
10640
10702
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10786,7 +10848,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
10786
10848
  * @param {String} conversationId conversationId
10787
10849
  * @param {String} communicationId communicationId
10788
10850
  * @param {String} messageId messageId
10789
- * getConversationCommunicationInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10790
10851
  */},{key:"getConversationCommunicationInternalmessage",value:function getConversationCommunicationInternalmessage(conversationId,communicationId,messageId){// verify the required parameter 'conversationId' is set
10791
10852
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';}// verify the required parameter 'communicationId' is set
10792
10853
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';}// verify the required parameter 'messageId' is set
@@ -10798,7 +10859,6 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
10798
10859
  * @param {Object} opts Optional parameters
10799
10860
  * @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 200. (default to 25)
10800
10861
  * @param {Number} opts.pageNumber Page number (default to 1)
10801
- * getConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10802
10862
  */},{key:"getConversationCommunicationInternalmessages",value:function getConversationCommunicationInternalmessages(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
10803
10863
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
10804
10864
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages','GET',{'conversationId':conversationId,'communicationId':communicationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -11105,12 +11165,10 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
11105
11165
  * Get internal message conversation
11106
11166
  *
11107
11167
  * @param {String} conversationId conversationId
11108
- * getConversationsInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11109
11168
  */},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
11110
11169
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';}return this.apiClient.callApi('/api/v2/conversations/internalmessages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11111
11170
  * Get active internal message conversations for the logged in user
11112
11171
  *
11113
- * getConversationsInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11114
11172
  */},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11115
11173
  * Get the encryption key configurations
11116
11174
  *
@@ -11898,7 +11956,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
11898
11956
  * @param {String} conversationId conversationId
11899
11957
  * @param {String} communicationId communicationId
11900
11958
  * @param {Object} body Message
11901
- * postConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11902
11959
  */},{key:"postConversationCommunicationInternalmessages",value:function postConversationCommunicationInternalmessages(conversationId,communicationId,body){// verify the required parameter 'conversationId' is set
11903
11960
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
11904
11961
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'body' is set
@@ -11931,7 +11988,6 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
11931
11988
  * @param {String} conversationId conversation ID
11932
11989
  * @param {String} participantId participant ID
11933
11990
  * @param {Object} body Confer request
11934
- * postConversationParticipantInternalmessagesUsersCommunications is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11935
11991
  */},{key:"postConversationParticipantInternalmessagesUsersCommunications",value:function postConversationParticipantInternalmessagesUsersCommunications(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
11936
11992
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'participantId' is set
11937
11993
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'body' is set
@@ -12410,7 +12466,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12410
12466
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';}// verify the required parameter 'body' is set
12411
12467
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessageInboundOpenStructuredResponse';}return this.apiClient.callApi('/api/v2/conversations/messages/{integrationId}/inbound/open/structured/response','POST',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12412
12468
  * Get messages in batch
12413
- * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
12469
+ * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]. The max messages you can request in the body is 1,000. Best practice is to limit to only the messages you need in each request, rather than request large batches by default.
12414
12470
  * @param {String} conversationId
12415
12471
  * @param {Object} opts Optional parameters
12416
12472
  * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
@@ -12732,7 +12788,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12732
12788
  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(){/**
12733
12789
  * DataExtensions service.
12734
12790
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12735
- * @version 234.0.0
12791
+ * @version 235.0.0
12736
12792
  *//**
12737
12793
  * Constructs a new DataExtensionsApi.
12738
12794
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12753,7 +12809,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12753
12809
  */},{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(){/**
12754
12810
  * DataPrivacy service.
12755
12811
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12756
- * @version 234.0.0
12812
+ * @version 235.0.0
12757
12813
  *//**
12758
12814
  * Constructs a new DataPrivacyApi.
12759
12815
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12793,7 +12849,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12793
12849
  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(){/**
12794
12850
  * Downloads service.
12795
12851
  * @module purecloud-platform-client-v2/api/DownloadsApi
12796
- * @version 234.0.0
12852
+ * @version 235.0.0
12797
12853
  *//**
12798
12854
  * Constructs a new DownloadsApi.
12799
12855
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12812,7 +12868,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12812
12868
  if(downloadId===undefined||downloadId===null||downloadId===''){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(){/**
12813
12869
  * Emails service.
12814
12870
  * @module purecloud-platform-client-v2/api/EmailsApi
12815
- * @version 234.0.0
12871
+ * @version 235.0.0
12816
12872
  *//**
12817
12873
  * Constructs a new EmailsApi.
12818
12874
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12841,7 +12897,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12841
12897
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
12842
12898
  * EmployeeEngagement service.
12843
12899
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12844
- * @version 234.0.0
12900
+ * @version 235.0.0
12845
12901
  *//**
12846
12902
  * Constructs a new EmployeeEngagementApi.
12847
12903
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12879,7 +12935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12879
12935
  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(){/**
12880
12936
  * Events service.
12881
12937
  * @module purecloud-platform-client-v2/api/EventsApi
12882
- * @version 234.0.0
12938
+ * @version 235.0.0
12883
12939
  *//**
12884
12940
  * Constructs a new EventsApi.
12885
12941
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12904,7 +12960,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12904
12960
  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(){/**
12905
12961
  * ExternalContacts service.
12906
12962
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12907
- * @version 234.0.0
12963
+ * @version 235.0.0
12908
12964
  *//**
12909
12965
  * Constructs a new ExternalContactsApi.
12910
12966
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13654,7 +13710,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13654
13710
  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(){/**
13655
13711
  * Fax service.
13656
13712
  * @module purecloud-platform-client-v2/api/FaxApi
13657
- * @version 234.0.0
13713
+ * @version 235.0.0
13658
13714
  *//**
13659
13715
  * Constructs a new FaxApi.
13660
13716
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13703,7 +13759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13703
13759
  */},{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(){/**
13704
13760
  * Flows service.
13705
13761
  * @module purecloud-platform-client-v2/api/FlowsApi
13706
- * @version 234.0.0
13762
+ * @version 235.0.0
13707
13763
  *//**
13708
13764
  * Constructs a new FlowsApi.
13709
13765
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13757,7 +13813,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13757
13813
  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(){/**
13758
13814
  * Gamification service.
13759
13815
  * @module purecloud-platform-client-v2/api/GamificationApi
13760
- * @version 234.0.0
13816
+ * @version 235.0.0
13761
13817
  *//**
13762
13818
  * Constructs a new GamificationApi.
13763
13819
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -13919,6 +13975,20 @@ if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===nu
13919
13975
  if(comparativePeriodEndWorkday===undefined||comparativePeriodEndWorkday===null){throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodStartWorkday' is set
13920
13976
  if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodEndWorkday' is set
13921
13977
  if(primaryPeriodEndWorkday===undefined||primaryPeriodEndWorkday===null){throw'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';}return this.apiClient.callApi('/api/v2/gamification/insights/groups/trends/all','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'comparativePeriodEndWorkday':comparativePeriodEndWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'primaryPeriodEndWorkday':primaryPeriodEndWorkday},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13978
+ * Query managers in a profile during a period of time
13979
+ *
13980
+ * @param {Object} filterType Filter type for the query request.
13981
+ * @param {String} filterId ID for the filter type.
13982
+ * @param {Object} granularity Granularity
13983
+ * @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
13984
+ * @param {Object} opts Optional parameters
13985
+ * @param {Number} opts.pageSize Page size (default to 100)
13986
+ * @param {Number} opts.pageNumber Page number (default to 1)
13987
+ */},{key:"getGamificationInsightsManagers",value:function getGamificationInsightsManagers(filterType,filterId,granularity,startWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
13988
+ if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsManagers';}// verify the required parameter 'filterId' is set
13989
+ if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsManagers';}// verify the required parameter 'granularity' is set
13990
+ if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsManagers';}// verify the required parameter 'startWorkday' is set
13991
+ if(startWorkday===undefined||startWorkday===null){throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsManagers';}return this.apiClient.callApi('/api/v2/gamification/insights/managers','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'startWorkday':startWorkday,'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13922
13992
  * Query users in a profile during a period of time
13923
13993
  *
13924
13994
  * @param {Object} filterType Filter type for the query request.
@@ -14414,7 +14484,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14414
14484
  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(){/**
14415
14485
  * GeneralDataProtectionRegulation service.
14416
14486
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14417
- * @version 234.0.0
14487
+ * @version 235.0.0
14418
14488
  *//**
14419
14489
  * Constructs a new GeneralDataProtectionRegulationApi.
14420
14490
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14449,7 +14519,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14449
14519
  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(){/**
14450
14520
  * Geolocation service.
14451
14521
  * @module purecloud-platform-client-v2/api/GeolocationApi
14452
- * @version 234.0.0
14522
+ * @version 235.0.0
14453
14523
  *//**
14454
14524
  * Constructs a new GeolocationApi.
14455
14525
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14483,7 +14553,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14483
14553
  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(){/**
14484
14554
  * Greetings service.
14485
14555
  * @module purecloud-platform-client-v2/api/GreetingsApi
14486
- * @version 234.0.0
14556
+ * @version 235.0.0
14487
14557
  *//**
14488
14558
  * Constructs a new GreetingsApi.
14489
14559
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14611,7 +14681,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14611
14681
  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(){/**
14612
14682
  * Groups service.
14613
14683
  * @module purecloud-platform-client-v2/api/GroupsApi
14614
- * @version 234.0.0
14684
+ * @version 235.0.0
14615
14685
  *//**
14616
14686
  * Constructs a new GroupsApi.
14617
14687
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14744,7 +14814,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14744
14814
  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(){/**
14745
14815
  * IdentityProvider service.
14746
14816
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14747
- * @version 234.0.0
14817
+ * @version 235.0.0
14748
14818
  *//**
14749
14819
  * Constructs a new IdentityProviderApi.
14750
14820
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14900,7 +14970,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14900
14970
  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(){/**
14901
14971
  * InfrastructureAsCode service.
14902
14972
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14903
- * @version 234.0.0
14973
+ * @version 235.0.0
14904
14974
  *//**
14905
14975
  * Constructs a new InfrastructureAsCodeApi.
14906
14976
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -14954,7 +15024,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
14954
15024
  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(){/**
14955
15025
  * Integrations service.
14956
15026
  * @module purecloud-platform-client-v2/api/IntegrationsApi
14957
- * @version 234.0.0
15027
+ * @version 235.0.0
14958
15028
  *//**
14959
15029
  * Constructs a new IntegrationsApi.
14960
15030
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15644,7 +15714,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15644
15714
  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(){/**
15645
15715
  * Journey service.
15646
15716
  * @module purecloud-platform-client-v2/api/JourneyApi
15647
- * @version 234.0.0
15717
+ * @version 235.0.0
15648
15718
  *//**
15649
15719
  * Constructs a new JourneyApi.
15650
15720
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16153,7 +16223,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16153
16223
  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(){/**
16154
16224
  * Knowledge service.
16155
16225
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16156
- * @version 234.0.0
16226
+ * @version 235.0.0
16157
16227
  *//**
16158
16228
  * Constructs a new KnowledgeApi.
16159
16229
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -16981,7 +17051,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
16981
17051
  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(){/**
16982
17052
  * LanguageUnderstanding service.
16983
17053
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
16984
- * @version 234.0.0
17054
+ * @version 235.0.0
16985
17055
  *//**
16986
17056
  * Constructs a new LanguageUnderstandingApi.
16987
17057
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17290,7 +17360,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17290
17360
  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(){/**
17291
17361
  * Languages service.
17292
17362
  * @module purecloud-platform-client-v2/api/LanguagesApi
17293
- * @version 234.0.0
17363
+ * @version 235.0.0
17294
17364
  *//**
17295
17365
  * Constructs a new LanguagesApi.
17296
17366
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17345,7 +17415,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17345
17415
  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(){/**
17346
17416
  * Learning service.
17347
17417
  * @module purecloud-platform-client-v2/api/LearningApi
17348
- * @version 234.0.0
17418
+ * @version 235.0.0
17349
17419
  *//**
17350
17420
  * Constructs a new LearningApi.
17351
17421
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17483,6 +17553,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
17483
17553
  * @param {String} coverArtId Key identifier for the cover art
17484
17554
  */},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
17485
17555
  if(coverArtId===undefined||coverArtId===null||coverArtId===''){throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';}return this.apiClient.callApi('/api/v2/learning/modules/coverart/{coverArtId}','GET',{'coverArtId':coverArtId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17556
+ * Retrieve the status of the job for the slots where a learning activity can be scheduled.
17557
+ *
17558
+ * @param {String} jobId The ID of the job
17559
+ */},{key:"getLearningScheduleslotsJob",value:function getLearningScheduleslotsJob(jobId){// verify the required parameter 'jobId' is set
17560
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getLearningScheduleslotsJob';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17486
17561
  * Get Learning SCORM Result
17487
17562
  *
17488
17563
  * @param {String} scormId The ID of the SCORM package
@@ -17583,6 +17658,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17583
17658
  if(pageSize===undefined||pageSize===null){throw'Missing the required parameter "pageSize" when calling postLearningRulesQuery';}// verify the required parameter 'pageNumber' is set
17584
17659
  if(pageNumber===undefined||pageNumber===null){throw'Missing the required parameter "pageNumber" when calling postLearningRulesQuery';}// verify the required parameter 'body' is set
17585
17660
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningRulesQuery';}return this.apiClient.callApi('/api/v2/learning/rules/query','POST',{},{'pageSize':pageSize,'pageNumber':pageNumber},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17661
+ * Start job to retrieve slots where a learning activity can be scheduled.
17662
+ *
17663
+ * @param {Object} body The slots search request
17664
+ */},{key:"postLearningScheduleslotsJobs",value:function postLearningScheduleslotsJobs(body){// verify the required parameter 'body' is set
17665
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningScheduleslotsJobs';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17586
17666
  * Get list of possible slots where a learning activity can be scheduled.
17587
17667
  *
17588
17668
  * @param {Object} body The slot search request
@@ -17618,7 +17698,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17618
17698
  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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
17619
17699
  * License service.
17620
17700
  * @module purecloud-platform-client-v2/api/LicenseApi
17621
- * @version 234.0.0
17701
+ * @version 235.0.0
17622
17702
  *//**
17623
17703
  * Constructs a new LicenseApi.
17624
17704
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17672,7 +17752,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17672
17752
  */},{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(){/**
17673
17753
  * Locations service.
17674
17754
  * @module purecloud-platform-client-v2/api/LocationsApi
17675
- * @version 234.0.0
17755
+ * @version 235.0.0
17676
17756
  *//**
17677
17757
  * Constructs a new LocationsApi.
17678
17758
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17731,7 +17811,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17731
17811
  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(){/**
17732
17812
  * LogCapture service.
17733
17813
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17734
- * @version 234.0.0
17814
+ * @version 235.0.0
17735
17815
  *//**
17736
17816
  * Constructs a new LogCaptureApi.
17737
17817
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17780,7 +17860,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17780
17860
  if(userId===undefined||userId===null||userId===''){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(){/**
17781
17861
  * Messaging service.
17782
17862
  * @module purecloud-platform-client-v2/api/MessagingApi
17783
- * @version 234.0.0
17863
+ * @version 235.0.0
17784
17864
  *//**
17785
17865
  * Constructs a new MessagingApi.
17786
17866
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17870,7 +17950,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17870
17950
  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(){/**
17871
17951
  * MobileDevices service.
17872
17952
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17873
- * @version 234.0.0
17953
+ * @version 235.0.0
17874
17954
  *//**
17875
17955
  * Constructs a new MobileDevicesApi.
17876
17956
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -17909,7 +17989,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17909
17989
  if(deviceId===undefined||deviceId===null||deviceId===''){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(){/**
17910
17990
  * Notifications service.
17911
17991
  * @module purecloud-platform-client-v2/api/NotificationsApi
17912
- * @version 234.0.0
17992
+ * @version 235.0.0
17913
17993
  *//**
17914
17994
  * Constructs a new NotificationsApi.
17915
17995
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -17966,7 +18046,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
17966
18046
  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(){/**
17967
18047
  * OAuth service.
17968
18048
  * @module purecloud-platform-client-v2/api/OAuthApi
17969
- * @version 234.0.0
18049
+ * @version 235.0.0
17970
18050
  *//**
17971
18051
  * Constructs a new OAuthApi.
17972
18052
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18051,7 +18131,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18051
18131
  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(){/**
18052
18132
  * Objects service.
18053
18133
  * @module purecloud-platform-client-v2/api/ObjectsApi
18054
- * @version 234.0.0
18134
+ * @version 235.0.0
18055
18135
  *//**
18056
18136
  * Constructs a new ObjectsApi.
18057
18137
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18137,7 +18217,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18137
18217
  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(){/**
18138
18218
  * OperationalEvents service.
18139
18219
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18140
- * @version 234.0.0
18220
+ * @version 235.0.0
18141
18221
  *//**
18142
18222
  * Constructs a new OperationalEventsApi.
18143
18223
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18168,7 +18248,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18168
18248
  */},{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(){/**
18169
18249
  * Organization service.
18170
18250
  * @module purecloud-platform-client-v2/api/OrganizationApi
18171
- * @version 234.0.0
18251
+ * @version 235.0.0
18172
18252
  *//**
18173
18253
  * Constructs a new OrganizationApi.
18174
18254
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18273,7 +18353,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18273
18353
  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(){/**
18274
18354
  * OrganizationAuthorization service.
18275
18355
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18276
- * @version 234.0.0
18356
+ * @version 235.0.0
18277
18357
  *//**
18278
18358
  * Constructs a new OrganizationAuthorizationApi.
18279
18359
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18607,7 +18687,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18607
18687
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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(){/**
18608
18688
  * Outbound service.
18609
18689
  * @module purecloud-platform-client-v2/api/OutboundApi
18610
- * @version 234.0.0
18690
+ * @version 235.0.0
18611
18691
  *//**
18612
18692
  * Constructs a new OutboundApi.
18613
18693
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19763,7 +19843,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19763
19843
  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(){/**
19764
19844
  * Presence service.
19765
19845
  * @module purecloud-platform-client-v2/api/PresenceApi
19766
- * @version 234.0.0
19846
+ * @version 235.0.0
19767
19847
  *//**
19768
19848
  * Constructs a new PresenceApi.
19769
19849
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -19936,7 +20016,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19936
20016
  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(){/**
19937
20017
  * ProcessAutomation service.
19938
20018
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
19939
- * @version 234.0.0
20019
+ * @version 235.0.0
19940
20020
  *//**
19941
20021
  * Constructs a new ProcessAutomationApi.
19942
20022
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -19999,7 +20079,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
19999
20079
  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(){/**
20000
20080
  * Quality service.
20001
20081
  * @module purecloud-platform-client-v2/api/QualityApi
20002
- * @version 234.0.0
20082
+ * @version 235.0.0
20003
20083
  *//**
20004
20084
  * Constructs a new QualityApi.
20005
20085
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20313,20 +20393,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20313
20393
  * @param {String} opts.name Name
20314
20394
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
20315
20395
  */},{key:"getQualityPublishedformsEvaluations",value:function getQualityPublishedformsEvaluations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'onlyLatestPerContext':opts['onlyLatestPerContext']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20316
- * Get the most recent published version of an evaluation form across any division.
20317
- *
20318
- * @param {String} evaluationFormId Evaluation Form ID
20319
- * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20320
- */},{key:"getQualityPublishedformsEvaluationsDivisionview",value:function getQualityPublishedformsEvaluationsDivisionview(evaluationFormId){// verify the required parameter 'evaluationFormId' is set
20321
- if(evaluationFormId===undefined||evaluationFormId===null||evaluationFormId===''){throw'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';}return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}','GET',{'evaluationFormId':evaluationFormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20322
- * Get the published evaluation forms across any division.
20323
- *
20324
- * @param {Object} opts Optional parameters
20325
- * @param {Number} opts.pageSize Page size (default to 25)
20326
- * @param {Number} opts.pageNumber Page number (default to 1)
20327
- * @param {String} opts.name Name
20328
- * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20329
- */},{key:"getQualityPublishedformsEvaluationsDivisionviews",value:function getQualityPublishedformsEvaluationsDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20330
20396
  * Get the most recent published version of a survey form.
20331
20397
  *
20332
20398
  * @param {String} formId Form ID
@@ -20340,20 +20406,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20340
20406
  * @param {String} opts.name Name
20341
20407
  * @param {Boolean} opts.onlyLatestEnabledPerContext onlyLatestEnabledPerContext (default to false)
20342
20408
  */},{key:"getQualityPublishedformsSurveys",value:function getQualityPublishedformsSurveys(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'onlyLatestEnabledPerContext':opts['onlyLatestEnabledPerContext']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20343
- * Get the most recent published version of an enabled survey form across any division.
20344
- *
20345
- * @param {String} surveyFormId Survey Form ID
20346
- * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20347
- */},{key:"getQualityPublishedformsSurveysDivisionview",value:function getQualityPublishedformsSurveysDivisionview(surveyFormId){// verify the required parameter 'surveyFormId' is set
20348
- if(surveyFormId===undefined||surveyFormId===null||surveyFormId===''){throw'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';}return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}','GET',{'surveyFormId':surveyFormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20349
- * Get the published and enabled survey forms across any division.
20350
- *
20351
- * @param {Object} opts Optional parameters
20352
- * @param {Number} opts.pageSize Page size (default to 25)
20353
- * @param {Number} opts.pageNumber Page number (default to 1)
20354
- * @param {String} opts.name Name
20355
- * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20356
- */},{key:"getQualityPublishedformsSurveysDivisionviews",value:function getQualityPublishedformsSurveysDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20357
20409
  * Get a survey for a conversation
20358
20410
  *
20359
20411
  * @param {String} surveyId surveyId
@@ -20517,7 +20569,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20517
20569
  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(){/**
20518
20570
  * Recording service.
20519
20571
  * @module purecloud-platform-client-v2/api/RecordingApi
20520
- * @version 234.0.0
20572
+ * @version 235.0.0
20521
20573
  *//**
20522
20574
  * Constructs a new RecordingApi.
20523
20575
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20916,7 +20968,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20916
20968
  */},{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(){/**
20917
20969
  * ResponseManagement service.
20918
20970
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20919
- * @version 234.0.0
20971
+ * @version 235.0.0
20920
20972
  *//**
20921
20973
  * Constructs a new ResponseManagementApi.
20922
20974
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21037,7 +21089,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21037
21089
  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(){/**
21038
21090
  * Routing service.
21039
21091
  * @module purecloud-platform-client-v2/api/RoutingApi
21040
- * @version 234.0.0
21092
+ * @version 235.0.0
21041
21093
  *//**
21042
21094
  * Constructs a new RoutingApi.
21043
21095
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22128,7 +22180,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22128
22180
  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(){/**
22129
22181
  * SCIM service.
22130
22182
  * @module purecloud-platform-client-v2/api/SCIMApi
22131
- * @version 234.0.0
22183
+ * @version 235.0.0
22132
22184
  *//**
22133
22185
  * Constructs a new SCIMApi.
22134
22186
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22353,7 +22405,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22353
22405
  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(){/**
22354
22406
  * ScreenRecording service.
22355
22407
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22356
- * @version 234.0.0
22408
+ * @version 235.0.0
22357
22409
  *//**
22358
22410
  * Constructs a new ScreenRecordingApi.
22359
22411
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22368,7 +22420,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22368
22420
  */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(){/**
22369
22421
  * Scripts service.
22370
22422
  * @module purecloud-platform-client-v2/api/ScriptsApi
22371
- * @version 234.0.0
22423
+ * @version 235.0.0
22372
22424
  *//**
22373
22425
  * Constructs a new ScriptsApi.
22374
22426
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22514,7 +22566,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22514
22566
  */},{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(){/**
22515
22567
  * Search service.
22516
22568
  * @module purecloud-platform-client-v2/api/SearchApi
22517
- * @version 234.0.0
22569
+ * @version 235.0.0
22518
22570
  *//**
22519
22571
  * Constructs a new SearchApi.
22520
22572
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22673,7 +22725,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22673
22725
  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(){/**
22674
22726
  * Settings service.
22675
22727
  * @module purecloud-platform-client-v2/api/SettingsApi
22676
- * @version 234.0.0
22728
+ * @version 235.0.0
22677
22729
  *//**
22678
22730
  * Constructs a new SettingsApi.
22679
22731
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22745,7 +22797,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22745
22797
  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(){/**
22746
22798
  * SocialMedia service.
22747
22799
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22748
- * @version 234.0.0
22800
+ * @version 235.0.0
22749
22801
  *//**
22750
22802
  * Constructs a new SocialMediaApi.
22751
22803
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23160,7 +23212,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23160
23212
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){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(){/**
23161
23213
  * SpeechTextAnalytics service.
23162
23214
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23163
- * @version 234.0.0
23215
+ * @version 235.0.0
23164
23216
  *//**
23165
23217
  * Constructs a new SpeechTextAnalyticsApi.
23166
23218
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23530,7 +23582,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23530
23582
  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(){/**
23531
23583
  * Stations service.
23532
23584
  * @module purecloud-platform-client-v2/api/StationsApi
23533
- * @version 234.0.0
23585
+ * @version 235.0.0
23534
23586
  *//**
23535
23587
  * Constructs a new StationsApi.
23536
23588
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23562,7 +23614,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23562
23614
  */},{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(){/**
23563
23615
  * Suggest service.
23564
23616
  * @module purecloud-platform-client-v2/api/SuggestApi
23565
- * @version 234.0.0
23617
+ * @version 235.0.0
23566
23618
  *//**
23567
23619
  * Constructs a new SuggestApi.
23568
23620
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23602,7 +23654,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23602
23654
  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(){/**
23603
23655
  * TaskManagement service.
23604
23656
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23605
- * @version 234.0.0
23657
+ * @version 235.0.0
23606
23658
  *//**
23607
23659
  * Constructs a new TaskManagementApi.
23608
23660
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24110,7 +24162,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24110
24162
  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(){/**
24111
24163
  * Teams service.
24112
24164
  * @module purecloud-platform-client-v2/api/TeamsApi
24113
- * @version 234.0.0
24165
+ * @version 235.0.0
24114
24166
  *//**
24115
24167
  * Constructs a new TeamsApi.
24116
24168
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24190,7 +24242,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24190
24242
  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(){/**
24191
24243
  * Telephony service.
24192
24244
  * @module purecloud-platform-client-v2/api/TelephonyApi
24193
- * @version 234.0.0
24245
+ * @version 235.0.0
24194
24246
  *//**
24195
24247
  * Constructs a new TelephonyApi.
24196
24248
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24261,7 +24313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24261
24313
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24262
24314
  * TelephonyProvidersEdge service.
24263
24315
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24264
- * @version 234.0.0
24316
+ * @version 235.0.0
24265
24317
  *//**
24266
24318
  * Constructs a new TelephonyProvidersEdgeApi.
24267
24319
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25109,7 +25161,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25109
25161
  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(){/**
25110
25162
  * Textbots service.
25111
25163
  * @module purecloud-platform-client-v2/api/TextbotsApi
25112
- * @version 234.0.0
25164
+ * @version 235.0.0
25113
25165
  *//**
25114
25166
  * Constructs a new TextbotsApi.
25115
25167
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25145,7 +25197,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25145
25197
  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(){/**
25146
25198
  * Tokens service.
25147
25199
  * @module purecloud-platform-client-v2/api/TokensApi
25148
- * @version 234.0.0
25200
+ * @version 235.0.0
25149
25201
  *//**
25150
25202
  * Constructs a new TokensApi.
25151
25203
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25179,7 +25231,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25179
25231
  */},{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(){/**
25180
25232
  * Uploads service.
25181
25233
  * @module purecloud-platform-client-v2/api/UploadsApi
25182
- * @version 234.0.0
25234
+ * @version 235.0.0
25183
25235
  *//**
25184
25236
  * Constructs a new UploadsApi.
25185
25237
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25247,7 +25299,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25247
25299
  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(){/**
25248
25300
  * Usage service.
25249
25301
  * @module purecloud-platform-client-v2/api/UsageApi
25250
- * @version 234.0.0
25302
+ * @version 235.0.0
25251
25303
  *//**
25252
25304
  * Constructs a new UsageApi.
25253
25305
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25331,7 +25383,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25331
25383
  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(){/**
25332
25384
  * UserRecordings service.
25333
25385
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25334
- * @version 234.0.0
25386
+ * @version 235.0.0
25335
25387
  *//**
25336
25388
  * Constructs a new UserRecordingsApi.
25337
25389
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25379,7 +25431,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25379
25431
  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(){/**
25380
25432
  * Users service.
25381
25433
  * @module purecloud-platform-client-v2/api/UsersApi
25382
- * @version 234.0.0
25434
+ * @version 235.0.0
25383
25435
  *//**
25384
25436
  * Constructs a new UsersApi.
25385
25437
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26123,7 +26175,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26123
26175
  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(){/**
26124
26176
  * Utilities service.
26125
26177
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26126
- * @version 234.0.0
26178
+ * @version 235.0.0
26127
26179
  *//**
26128
26180
  * Constructs a new UtilitiesApi.
26129
26181
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26150,7 +26202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26150
26202
  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(){/**
26151
26203
  * Voicemail service.
26152
26204
  * @module purecloud-platform-client-v2/api/VoicemailApi
26153
- * @version 234.0.0
26205
+ * @version 235.0.0
26154
26206
  *//**
26155
26207
  * Constructs a new VoicemailApi.
26156
26208
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26312,7 +26364,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26312
26364
  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(){/**
26313
26365
  * WebChat service.
26314
26366
  * @module purecloud-platform-client-v2/api/WebChatApi
26315
- * @version 234.0.0
26367
+ * @version 235.0.0
26316
26368
  *//**
26317
26369
  * Constructs a new WebChatApi.
26318
26370
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26459,7 +26511,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26459
26511
  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(){/**
26460
26512
  * WebDeployments service.
26461
26513
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26462
- * @version 234.0.0
26514
+ * @version 235.0.0
26463
26515
  *//**
26464
26516
  * Constructs a new WebDeploymentsApi.
26465
26517
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26592,7 +26644,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26592
26644
  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(){/**
26593
26645
  * WebMessaging service.
26594
26646
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26595
- * @version 234.0.0
26647
+ * @version 235.0.0
26596
26648
  *//**
26597
26649
  * Constructs a new WebMessagingApi.
26598
26650
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26633,7 +26685,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26633
26685
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
26634
26686
  * Widgets service.
26635
26687
  * @module purecloud-platform-client-v2/api/WidgetsApi
26636
- * @version 234.0.0
26688
+ * @version 235.0.0
26637
26689
  *//**
26638
26690
  * Constructs a new WidgetsApi.
26639
26691
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26673,7 +26725,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26673
26725
  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(){/**
26674
26726
  * WorkforceManagement service.
26675
26727
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26676
- * @version 234.0.0
26728
+ * @version 235.0.0
26677
26729
  *//**
26678
26730
  * Constructs a new WorkforceManagementApi.
26679
26731
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -27256,10 +27308,11 @@ if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the
27256
27308
  * @param {String} forecastId The ID of the forecast
27257
27309
  * @param {Object} opts Optional parameters
27258
27310
  * @param {Array.<String>} opts.weekNumbers The week numbers to fetch (for multi-week forecasts) staffing requirements. Returns all week data if the list is not specified
27311
+ * @param {Array.<String>} opts.expand Expand to include minimum staffing values in (staffing requirement response or applied to base staffing requirement values)
27259
27312
  */},{key:"getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement",value:function getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
27260
27313
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'weekDateId' is set
27261
27314
  if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'forecastId' is set
27262
- if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'weekNumbers':this.apiClient.buildCollectionParam(opts['weekNumbers'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
27315
+ if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'weekNumbers':this.apiClient.buildCollectionParam(opts['weekNumbers'],'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
27263
27316
  * Get short term forecasts
27264
27317
  * Use "recent" (without quotes) for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any forecast which spans the specified week
27265
27318
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
@@ -28633,7 +28686,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28633
28686
  * </pre>
28634
28687
  * </p>
28635
28688
  * @module purecloud-platform-client-v2/index
28636
- * @version 234.0.0
28689
+ * @version 235.0.0
28637
28690
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28638
28691
  * The ApiClient constructor.
28639
28692
  * @property {module:purecloud-platform-client-v2/ApiClient}