purecloud-platform-client-v2 234.0.0 → 236.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 +314 -200
  3. package/dist/web-amd/purecloud-platform-client-v2.js +314 -200
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +193 -129
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +193 -129
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +528 -326
  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 +2 -2
  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 +38 -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 +2 -2
  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 236.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 236.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 236.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 236.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 236.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 236.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 236.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 236.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 236.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 236.0.0
9219
9271
  *//**
9220
9272
  * Constructs a new AuthorizationApi.
9221
9273
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9297,7 +9349,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
9297
9349
  * @param {Object} opts Optional parameters
9298
9350
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
9299
9351
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
9300
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
9352
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
9301
9353
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
9302
9354
  * @param {String} opts.name Optionally request specific divisions by division name
9303
9355
  */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -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 236.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 236.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 236.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 236.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 236.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 236.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 236.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
  *
@@ -11125,6 +11183,17 @@ if(keyconfigurationsId===undefined||keyconfigurationsId===null||keyconfiguration
11125
11183
  * @param {String} conversationId conversationId
11126
11184
  */},{key:"getConversationsMessage",value:function getConversationsMessage(conversationId){// verify the required parameter 'conversationId' is set
11127
11185
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessage';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11186
+ * Get message media list by status
11187
+ *
11188
+ * @param {String} conversationId conversationId
11189
+ * @param {String} communicationId communicationId
11190
+ * @param {Object} opts Optional parameters
11191
+ * @param {Object} opts.status The status on which to filter the response.
11192
+ * @param {Number} opts.pageNumber Page number (default to 1)
11193
+ * @param {Number} opts.pageSize Page size (default to 25)
11194
+ */},{key:"getConversationsMessageCommunicationMessagesMedia",value:function getConversationsMessageCommunicationMessagesMedia(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
11195
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
11196
+ if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11128
11197
  * Get media
11129
11198
  * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
11130
11199
  * @param {String} conversationId conversationId
@@ -11898,7 +11967,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
11898
11967
  * @param {String} conversationId conversationId
11899
11968
  * @param {String} communicationId communicationId
11900
11969
  * @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
11970
  */},{key:"postConversationCommunicationInternalmessages",value:function postConversationCommunicationInternalmessages(conversationId,communicationId,body){// verify the required parameter 'conversationId' is set
11903
11971
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
11904
11972
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'body' is set
@@ -11931,7 +11999,6 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
11931
11999
  * @param {String} conversationId conversation ID
11932
12000
  * @param {String} participantId participant ID
11933
12001
  * @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
12002
  */},{key:"postConversationParticipantInternalmessagesUsersCommunications",value:function postConversationParticipantInternalmessagesUsersCommunications(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
11936
12003
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'participantId' is set
11937
12004
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'body' is set
@@ -12410,7 +12477,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12410
12477
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';}// verify the required parameter 'body' is set
12411
12478
  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
12479
  * 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"]
12480
+ * 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
12481
  * @param {String} conversationId
12415
12482
  * @param {Object} opts Optional parameters
12416
12483
  * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
@@ -12732,7 +12799,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12732
12799
  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
12800
  * DataExtensions service.
12734
12801
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12735
- * @version 234.0.0
12802
+ * @version 236.0.0
12736
12803
  *//**
12737
12804
  * Constructs a new DataExtensionsApi.
12738
12805
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12753,7 +12820,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12753
12820
  */},{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
12821
  * DataPrivacy service.
12755
12822
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12756
- * @version 234.0.0
12823
+ * @version 236.0.0
12757
12824
  *//**
12758
12825
  * Constructs a new DataPrivacyApi.
12759
12826
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12793,7 +12860,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12793
12860
  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
12861
  * Downloads service.
12795
12862
  * @module purecloud-platform-client-v2/api/DownloadsApi
12796
- * @version 234.0.0
12863
+ * @version 236.0.0
12797
12864
  *//**
12798
12865
  * Constructs a new DownloadsApi.
12799
12866
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12812,7 +12879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12812
12879
  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
12880
  * Emails service.
12814
12881
  * @module purecloud-platform-client-v2/api/EmailsApi
12815
- * @version 234.0.0
12882
+ * @version 236.0.0
12816
12883
  *//**
12817
12884
  * Constructs a new EmailsApi.
12818
12885
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12841,7 +12908,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12841
12908
  */},{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
12909
  * EmployeeEngagement service.
12843
12910
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12844
- * @version 234.0.0
12911
+ * @version 236.0.0
12845
12912
  *//**
12846
12913
  * Constructs a new EmployeeEngagementApi.
12847
12914
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12879,7 +12946,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12879
12946
  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
12947
  * Events service.
12881
12948
  * @module purecloud-platform-client-v2/api/EventsApi
12882
- * @version 234.0.0
12949
+ * @version 236.0.0
12883
12950
  *//**
12884
12951
  * Constructs a new EventsApi.
12885
12952
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12904,7 +12971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12904
12971
  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
12972
  * ExternalContacts service.
12906
12973
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12907
- * @version 234.0.0
12974
+ * @version 236.0.0
12908
12975
  *//**
12909
12976
  * Constructs a new ExternalContactsApi.
12910
12977
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13654,7 +13721,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13654
13721
  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
13722
  * Fax service.
13656
13723
  * @module purecloud-platform-client-v2/api/FaxApi
13657
- * @version 234.0.0
13724
+ * @version 236.0.0
13658
13725
  *//**
13659
13726
  * Constructs a new FaxApi.
13660
13727
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13703,7 +13770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13703
13770
  */},{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
13771
  * Flows service.
13705
13772
  * @module purecloud-platform-client-v2/api/FlowsApi
13706
- * @version 234.0.0
13773
+ * @version 236.0.0
13707
13774
  *//**
13708
13775
  * Constructs a new FlowsApi.
13709
13776
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13757,7 +13824,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13757
13824
  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
13825
  * Gamification service.
13759
13826
  * @module purecloud-platform-client-v2/api/GamificationApi
13760
- * @version 234.0.0
13827
+ * @version 236.0.0
13761
13828
  *//**
13762
13829
  * Constructs a new GamificationApi.
13763
13830
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -13919,6 +13986,20 @@ if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===nu
13919
13986
  if(comparativePeriodEndWorkday===undefined||comparativePeriodEndWorkday===null){throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodStartWorkday' is set
13920
13987
  if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodEndWorkday' is set
13921
13988
  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']);}/**
13989
+ * Query managers in a profile during a period of time
13990
+ *
13991
+ * @param {Object} filterType Filter type for the query request.
13992
+ * @param {String} filterId ID for the filter type.
13993
+ * @param {Object} granularity Granularity
13994
+ * @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
13995
+ * @param {Object} opts Optional parameters
13996
+ * @param {Number} opts.pageSize Page size (default to 100)
13997
+ * @param {Number} opts.pageNumber Page number (default to 1)
13998
+ */},{key:"getGamificationInsightsManagers",value:function getGamificationInsightsManagers(filterType,filterId,granularity,startWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
13999
+ if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsManagers';}// verify the required parameter 'filterId' is set
14000
+ if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsManagers';}// verify the required parameter 'granularity' is set
14001
+ if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsManagers';}// verify the required parameter 'startWorkday' is set
14002
+ 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
14003
  * Query users in a profile during a period of time
13923
14004
  *
13924
14005
  * @param {Object} filterType Filter type for the query request.
@@ -14414,7 +14495,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14414
14495
  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
14496
  * GeneralDataProtectionRegulation service.
14416
14497
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14417
- * @version 234.0.0
14498
+ * @version 236.0.0
14418
14499
  *//**
14419
14500
  * Constructs a new GeneralDataProtectionRegulationApi.
14420
14501
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14449,7 +14530,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14449
14530
  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
14531
  * Geolocation service.
14451
14532
  * @module purecloud-platform-client-v2/api/GeolocationApi
14452
- * @version 234.0.0
14533
+ * @version 236.0.0
14453
14534
  *//**
14454
14535
  * Constructs a new GeolocationApi.
14455
14536
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14483,7 +14564,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14483
14564
  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
14565
  * Greetings service.
14485
14566
  * @module purecloud-platform-client-v2/api/GreetingsApi
14486
- * @version 234.0.0
14567
+ * @version 236.0.0
14487
14568
  *//**
14488
14569
  * Constructs a new GreetingsApi.
14489
14570
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14611,7 +14692,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14611
14692
  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
14693
  * Groups service.
14613
14694
  * @module purecloud-platform-client-v2/api/GroupsApi
14614
- * @version 234.0.0
14695
+ * @version 236.0.0
14615
14696
  *//**
14616
14697
  * Constructs a new GroupsApi.
14617
14698
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14744,7 +14825,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14744
14825
  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
14826
  * IdentityProvider service.
14746
14827
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14747
- * @version 234.0.0
14828
+ * @version 236.0.0
14748
14829
  *//**
14749
14830
  * Constructs a new IdentityProviderApi.
14750
14831
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14900,7 +14981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14900
14981
  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
14982
  * InfrastructureAsCode service.
14902
14983
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14903
- * @version 234.0.0
14984
+ * @version 236.0.0
14904
14985
  *//**
14905
14986
  * Constructs a new InfrastructureAsCodeApi.
14906
14987
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -14954,7 +15035,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
14954
15035
  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
15036
  * Integrations service.
14956
15037
  * @module purecloud-platform-client-v2/api/IntegrationsApi
14957
- * @version 234.0.0
15038
+ * @version 236.0.0
14958
15039
  *//**
14959
15040
  * Constructs a new IntegrationsApi.
14960
15041
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -15644,7 +15725,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15644
15725
  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
15726
  * Journey service.
15646
15727
  * @module purecloud-platform-client-v2/api/JourneyApi
15647
- * @version 234.0.0
15728
+ * @version 236.0.0
15648
15729
  *//**
15649
15730
  * Constructs a new JourneyApi.
15650
15731
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16153,7 +16234,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16153
16234
  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
16235
  * Knowledge service.
16155
16236
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16156
- * @version 234.0.0
16237
+ * @version 236.0.0
16157
16238
  *//**
16158
16239
  * Constructs a new KnowledgeApi.
16159
16240
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -16981,7 +17062,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
16981
17062
  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
17063
  * LanguageUnderstanding service.
16983
17064
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
16984
- * @version 234.0.0
17065
+ * @version 236.0.0
16985
17066
  *//**
16986
17067
  * Constructs a new LanguageUnderstandingApi.
16987
17068
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17290,7 +17371,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17290
17371
  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
17372
  * Languages service.
17292
17373
  * @module purecloud-platform-client-v2/api/LanguagesApi
17293
- * @version 234.0.0
17374
+ * @version 236.0.0
17294
17375
  *//**
17295
17376
  * Constructs a new LanguagesApi.
17296
17377
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17345,7 +17426,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17345
17426
  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
17427
  * Learning service.
17347
17428
  * @module purecloud-platform-client-v2/api/LearningApi
17348
- * @version 234.0.0
17429
+ * @version 236.0.0
17349
17430
  *//**
17350
17431
  * Constructs a new LearningApi.
17351
17432
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17483,6 +17564,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
17483
17564
  * @param {String} coverArtId Key identifier for the cover art
17484
17565
  */},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
17485
17566
  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']);}/**
17567
+ * Retrieve the status of the job for the slots where a learning activity can be scheduled.
17568
+ *
17569
+ * @param {String} jobId The ID of the job
17570
+ */},{key:"getLearningScheduleslotsJob",value:function getLearningScheduleslotsJob(jobId){// verify the required parameter 'jobId' is set
17571
+ 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
17572
  * Get Learning SCORM Result
17487
17573
  *
17488
17574
  * @param {String} scormId The ID of the SCORM package
@@ -17583,6 +17669,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17583
17669
  if(pageSize===undefined||pageSize===null){throw'Missing the required parameter "pageSize" when calling postLearningRulesQuery';}// verify the required parameter 'pageNumber' is set
17584
17670
  if(pageNumber===undefined||pageNumber===null){throw'Missing the required parameter "pageNumber" when calling postLearningRulesQuery';}// verify the required parameter 'body' is set
17585
17671
  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']);}/**
17672
+ * Start job to retrieve slots where a learning activity can be scheduled.
17673
+ *
17674
+ * @param {Object} body The slots search request
17675
+ */},{key:"postLearningScheduleslotsJobs",value:function postLearningScheduleslotsJobs(body){// verify the required parameter 'body' is set
17676
+ 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
17677
  * Get list of possible slots where a learning activity can be scheduled.
17587
17678
  *
17588
17679
  * @param {Object} body The slot search request
@@ -17618,7 +17709,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
17618
17709
  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
17710
  * License service.
17620
17711
  * @module purecloud-platform-client-v2/api/LicenseApi
17621
- * @version 234.0.0
17712
+ * @version 236.0.0
17622
17713
  *//**
17623
17714
  * Constructs a new LicenseApi.
17624
17715
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17672,7 +17763,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17672
17763
  */},{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
17764
  * Locations service.
17674
17765
  * @module purecloud-platform-client-v2/api/LocationsApi
17675
- * @version 234.0.0
17766
+ * @version 236.0.0
17676
17767
  *//**
17677
17768
  * Constructs a new LocationsApi.
17678
17769
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17731,7 +17822,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17731
17822
  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
17823
  * LogCapture service.
17733
17824
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17734
- * @version 234.0.0
17825
+ * @version 236.0.0
17735
17826
  *//**
17736
17827
  * Constructs a new LogCaptureApi.
17737
17828
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17780,7 +17871,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17780
17871
  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
17872
  * Messaging service.
17782
17873
  * @module purecloud-platform-client-v2/api/MessagingApi
17783
- * @version 234.0.0
17874
+ * @version 236.0.0
17784
17875
  *//**
17785
17876
  * Constructs a new MessagingApi.
17786
17877
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17870,7 +17961,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17870
17961
  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
17962
  * MobileDevices service.
17872
17963
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17873
- * @version 234.0.0
17964
+ * @version 236.0.0
17874
17965
  *//**
17875
17966
  * Constructs a new MobileDevicesApi.
17876
17967
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -17909,7 +18000,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17909
18000
  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
18001
  * Notifications service.
17911
18002
  * @module purecloud-platform-client-v2/api/NotificationsApi
17912
- * @version 234.0.0
18003
+ * @version 236.0.0
17913
18004
  *//**
17914
18005
  * Constructs a new NotificationsApi.
17915
18006
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -17966,7 +18057,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
17966
18057
  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
18058
  * OAuth service.
17968
18059
  * @module purecloud-platform-client-v2/api/OAuthApi
17969
- * @version 234.0.0
18060
+ * @version 236.0.0
17970
18061
  *//**
17971
18062
  * Constructs a new OAuthApi.
17972
18063
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18051,7 +18142,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18051
18142
  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
18143
  * Objects service.
18053
18144
  * @module purecloud-platform-client-v2/api/ObjectsApi
18054
- * @version 234.0.0
18145
+ * @version 236.0.0
18055
18146
  *//**
18056
18147
  * Constructs a new ObjectsApi.
18057
18148
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18103,7 +18194,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18103
18194
  * @param {Object} opts Optional parameters
18104
18195
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
18105
18196
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
18106
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
18197
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
18107
18198
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
18108
18199
  * @param {String} opts.name Optionally request specific divisions by division name
18109
18200
  */},{key:"getAuthorizationDivisionsQuery",value:function getAuthorizationDivisionsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions/query','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -18137,7 +18228,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18137
18228
  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
18229
  * OperationalEvents service.
18139
18230
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18140
- * @version 234.0.0
18231
+ * @version 236.0.0
18141
18232
  *//**
18142
18233
  * Constructs a new OperationalEventsApi.
18143
18234
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18168,7 +18259,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18168
18259
  */},{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
18260
  * Organization service.
18170
18261
  * @module purecloud-platform-client-v2/api/OrganizationApi
18171
- * @version 234.0.0
18262
+ * @version 236.0.0
18172
18263
  *//**
18173
18264
  * Constructs a new OrganizationApi.
18174
18265
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18273,7 +18364,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18273
18364
  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
18365
  * OrganizationAuthorization service.
18275
18366
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18276
- * @version 234.0.0
18367
+ * @version 236.0.0
18277
18368
  *//**
18278
18369
  * Constructs a new OrganizationAuthorizationApi.
18279
18370
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18607,7 +18698,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18607
18698
  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
18699
  * Outbound service.
18609
18700
  * @module purecloud-platform-client-v2/api/OutboundApi
18610
- * @version 234.0.0
18701
+ * @version 236.0.0
18611
18702
  *//**
18612
18703
  * Constructs a new OutboundApi.
18613
18704
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19763,7 +19854,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19763
19854
  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
19855
  * Presence service.
19765
19856
  * @module purecloud-platform-client-v2/api/PresenceApi
19766
- * @version 234.0.0
19857
+ * @version 236.0.0
19767
19858
  *//**
19768
19859
  * Constructs a new PresenceApi.
19769
19860
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -19936,7 +20027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19936
20027
  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
20028
  * ProcessAutomation service.
19938
20029
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
19939
- * @version 234.0.0
20030
+ * @version 236.0.0
19940
20031
  *//**
19941
20032
  * Constructs a new ProcessAutomationApi.
19942
20033
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -19999,7 +20090,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
19999
20090
  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
20091
  * Quality service.
20001
20092
  * @module purecloud-platform-client-v2/api/QualityApi
20002
- * @version 234.0.0
20093
+ * @version 236.0.0
20003
20094
  *//**
20004
20095
  * Constructs a new QualityApi.
20005
20096
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20313,20 +20404,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20313
20404
  * @param {String} opts.name Name
20314
20405
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
20315
20406
  */},{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
20407
  * Get the most recent published version of a survey form.
20331
20408
  *
20332
20409
  * @param {String} formId Form ID
@@ -20340,20 +20417,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20340
20417
  * @param {String} opts.name Name
20341
20418
  * @param {Boolean} opts.onlyLatestEnabledPerContext onlyLatestEnabledPerContext (default to false)
20342
20419
  */},{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
20420
  * Get a survey for a conversation
20358
20421
  *
20359
20422
  * @param {String} surveyId surveyId
@@ -20517,7 +20580,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20517
20580
  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
20581
  * Recording service.
20519
20582
  * @module purecloud-platform-client-v2/api/RecordingApi
20520
- * @version 234.0.0
20583
+ * @version 236.0.0
20521
20584
  *//**
20522
20585
  * Constructs a new RecordingApi.
20523
20586
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20916,7 +20979,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20916
20979
  */},{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
20980
  * ResponseManagement service.
20918
20981
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20919
- * @version 234.0.0
20982
+ * @version 236.0.0
20920
20983
  *//**
20921
20984
  * Constructs a new ResponseManagementApi.
20922
20985
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21037,7 +21100,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21037
21100
  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
21101
  * Routing service.
21039
21102
  * @module purecloud-platform-client-v2/api/RoutingApi
21040
- * @version 234.0.0
21103
+ * @version 236.0.0
21041
21104
  *//**
21042
21105
  * Constructs a new RoutingApi.
21043
21106
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22128,7 +22191,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22128
22191
  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
22192
  * SCIM service.
22130
22193
  * @module purecloud-platform-client-v2/api/SCIMApi
22131
- * @version 234.0.0
22194
+ * @version 236.0.0
22132
22195
  *//**
22133
22196
  * Constructs a new SCIMApi.
22134
22197
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22353,7 +22416,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22353
22416
  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
22417
  * ScreenRecording service.
22355
22418
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22356
- * @version 234.0.0
22419
+ * @version 236.0.0
22357
22420
  *//**
22358
22421
  * Constructs a new ScreenRecordingApi.
22359
22422
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22368,7 +22431,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22368
22431
  */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
22432
  * Scripts service.
22370
22433
  * @module purecloud-platform-client-v2/api/ScriptsApi
22371
- * @version 234.0.0
22434
+ * @version 236.0.0
22372
22435
  *//**
22373
22436
  * Constructs a new ScriptsApi.
22374
22437
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22514,7 +22577,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22514
22577
  */},{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
22578
  * Search service.
22516
22579
  * @module purecloud-platform-client-v2/api/SearchApi
22517
- * @version 234.0.0
22580
+ * @version 236.0.0
22518
22581
  *//**
22519
22582
  * Constructs a new SearchApi.
22520
22583
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22673,7 +22736,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22673
22736
  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
22737
  * Settings service.
22675
22738
  * @module purecloud-platform-client-v2/api/SettingsApi
22676
- * @version 234.0.0
22739
+ * @version 236.0.0
22677
22740
  *//**
22678
22741
  * Constructs a new SettingsApi.
22679
22742
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22745,7 +22808,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22745
22808
  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
22809
  * SocialMedia service.
22747
22810
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22748
- * @version 234.0.0
22811
+ * @version 236.0.0
22749
22812
  *//**
22750
22813
  * Constructs a new SocialMediaApi.
22751
22814
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -23160,7 +23223,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23160
23223
  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
23224
  * SpeechTextAnalytics service.
23162
23225
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23163
- * @version 234.0.0
23226
+ * @version 236.0.0
23164
23227
  *//**
23165
23228
  * Constructs a new SpeechTextAnalyticsApi.
23166
23229
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23530,7 +23593,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23530
23593
  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
23594
  * Stations service.
23532
23595
  * @module purecloud-platform-client-v2/api/StationsApi
23533
- * @version 234.0.0
23596
+ * @version 236.0.0
23534
23597
  *//**
23535
23598
  * Constructs a new StationsApi.
23536
23599
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23562,7 +23625,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23562
23625
  */},{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
23626
  * Suggest service.
23564
23627
  * @module purecloud-platform-client-v2/api/SuggestApi
23565
- * @version 234.0.0
23628
+ * @version 236.0.0
23566
23629
  *//**
23567
23630
  * Constructs a new SuggestApi.
23568
23631
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23602,7 +23665,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23602
23665
  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
23666
  * TaskManagement service.
23604
23667
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23605
- * @version 234.0.0
23668
+ * @version 236.0.0
23606
23669
  *//**
23607
23670
  * Constructs a new TaskManagementApi.
23608
23671
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24110,7 +24173,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24110
24173
  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
24174
  * Teams service.
24112
24175
  * @module purecloud-platform-client-v2/api/TeamsApi
24113
- * @version 234.0.0
24176
+ * @version 236.0.0
24114
24177
  *//**
24115
24178
  * Constructs a new TeamsApi.
24116
24179
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24190,7 +24253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24190
24253
  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
24254
  * Telephony service.
24192
24255
  * @module purecloud-platform-client-v2/api/TelephonyApi
24193
- * @version 234.0.0
24256
+ * @version 236.0.0
24194
24257
  *//**
24195
24258
  * Constructs a new TelephonyApi.
24196
24259
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24261,7 +24324,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24261
24324
  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
24325
  * TelephonyProvidersEdge service.
24263
24326
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24264
- * @version 234.0.0
24327
+ * @version 236.0.0
24265
24328
  *//**
24266
24329
  * Constructs a new TelephonyProvidersEdgeApi.
24267
24330
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25109,7 +25172,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25109
25172
  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
25173
  * Textbots service.
25111
25174
  * @module purecloud-platform-client-v2/api/TextbotsApi
25112
- * @version 234.0.0
25175
+ * @version 236.0.0
25113
25176
  *//**
25114
25177
  * Constructs a new TextbotsApi.
25115
25178
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25145,7 +25208,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25145
25208
  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
25209
  * Tokens service.
25147
25210
  * @module purecloud-platform-client-v2/api/TokensApi
25148
- * @version 234.0.0
25211
+ * @version 236.0.0
25149
25212
  *//**
25150
25213
  * Constructs a new TokensApi.
25151
25214
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25179,7 +25242,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25179
25242
  */},{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
25243
  * Uploads service.
25181
25244
  * @module purecloud-platform-client-v2/api/UploadsApi
25182
- * @version 234.0.0
25245
+ * @version 236.0.0
25183
25246
  *//**
25184
25247
  * Constructs a new UploadsApi.
25185
25248
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25247,7 +25310,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25247
25310
  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
25311
  * Usage service.
25249
25312
  * @module purecloud-platform-client-v2/api/UsageApi
25250
- * @version 234.0.0
25313
+ * @version 236.0.0
25251
25314
  *//**
25252
25315
  * Constructs a new UsageApi.
25253
25316
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25331,7 +25394,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25331
25394
  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
25395
  * UserRecordings service.
25333
25396
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25334
- * @version 234.0.0
25397
+ * @version 236.0.0
25335
25398
  *//**
25336
25399
  * Constructs a new UserRecordingsApi.
25337
25400
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25379,7 +25442,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25379
25442
  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
25443
  * Users service.
25381
25444
  * @module purecloud-platform-client-v2/api/UsersApi
25382
- * @version 234.0.0
25445
+ * @version 236.0.0
25383
25446
  *//**
25384
25447
  * Constructs a new UsersApi.
25385
25448
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26123,7 +26186,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26123
26186
  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
26187
  * Utilities service.
26125
26188
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26126
- * @version 234.0.0
26189
+ * @version 236.0.0
26127
26190
  *//**
26128
26191
  * Constructs a new UtilitiesApi.
26129
26192
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26150,7 +26213,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26150
26213
  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
26214
  * Voicemail service.
26152
26215
  * @module purecloud-platform-client-v2/api/VoicemailApi
26153
- * @version 234.0.0
26216
+ * @version 236.0.0
26154
26217
  *//**
26155
26218
  * Constructs a new VoicemailApi.
26156
26219
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26312,7 +26375,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26312
26375
  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
26376
  * WebChat service.
26314
26377
  * @module purecloud-platform-client-v2/api/WebChatApi
26315
- * @version 234.0.0
26378
+ * @version 236.0.0
26316
26379
  *//**
26317
26380
  * Constructs a new WebChatApi.
26318
26381
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26459,7 +26522,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26459
26522
  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
26523
  * WebDeployments service.
26461
26524
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26462
- * @version 234.0.0
26525
+ * @version 236.0.0
26463
26526
  *//**
26464
26527
  * Constructs a new WebDeploymentsApi.
26465
26528
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26592,7 +26655,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26592
26655
  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
26656
  * WebMessaging service.
26594
26657
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26595
- * @version 234.0.0
26658
+ * @version 236.0.0
26596
26659
  *//**
26597
26660
  * Constructs a new WebMessagingApi.
26598
26661
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26633,7 +26696,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26633
26696
  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
26697
  * Widgets service.
26635
26698
  * @module purecloud-platform-client-v2/api/WidgetsApi
26636
- * @version 234.0.0
26699
+ * @version 236.0.0
26637
26700
  *//**
26638
26701
  * Constructs a new WidgetsApi.
26639
26702
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26673,7 +26736,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26673
26736
  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
26737
  * WorkforceManagement service.
26675
26738
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26676
- * @version 234.0.0
26739
+ * @version 236.0.0
26677
26740
  *//**
26678
26741
  * Constructs a new WorkforceManagementApi.
26679
26742
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -27256,10 +27319,11 @@ if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the
27256
27319
  * @param {String} forecastId The ID of the forecast
27257
27320
  * @param {Object} opts Optional parameters
27258
27321
  * @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
27322
+ * @param {Array.<String>} opts.expand Expand to include minimum staffing values in (staffing requirement response or applied to base staffing requirement values)
27259
27323
  */},{key:"getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement",value:function getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
27260
27324
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'weekDateId' is set
27261
27325
  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']);}/**
27326
+ 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
27327
  * Get short term forecasts
27264
27328
  * 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
27329
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
@@ -28633,7 +28697,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28633
28697
  * </pre>
28634
28698
  * </p>
28635
28699
  * @module purecloud-platform-client-v2/index
28636
- * @version 234.0.0
28700
+ * @version 236.0.0
28637
28701
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28638
28702
  * The ApiClient constructor.
28639
28703
  * @property {module:purecloud-platform-client-v2/ApiClient}