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
@@ -16,7 +16,13 @@ function Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=funct
16
16
  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
17
17
  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
18
18
  // see http://nodejs.org/api/process.html#process_process_hrtime
19
- 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
19
+ 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};/**
20
+ * Create a bound version of a function with a specified `this` context
21
+ *
22
+ * @param {Function} fn - The function to bind
23
+ * @param {*} thisArg - The value to be passed as the `this` parameter
24
+ * @returns {Function} A new function that will call the original function with the specified `this` context
25
+ */function bind(fn,thisArg){return function wrap(){return fn.apply(thisArg,arguments);};}// utils is a library of generic helper functions non-specific to axios
20
26
  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;};};/**
21
27
  * Determine if a value is an Array
22
28
  *
@@ -542,7 +548,7 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
542
548
  *
543
549
  * @param {Number} id The ID that was returned by `use`
544
550
  *
545
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
551
+ * @returns {void}
546
552
  */},{key:"eject",value:function eject(id){if(this.handlers[id]){this.handlers[id]=null;}}/**
547
553
  * Clear all interceptors from the stack
548
554
  *
@@ -667,7 +673,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
667
673
  * @param {Number} freq
668
674
  * @return {Function}
669
675
  */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
670
- {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.
676
+ {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.
671
677
  {write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
672
678
  * Determines whether the specified URL is absolute
673
679
  *
@@ -747,8 +753,44 @@ if(onUploadProgress&&request.upload){var _progressEventReducer3=progressEventRed
747
753
  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
748
754
  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
749
755
  // see https://github.com/cloudflare/workerd/issues/902
750
- 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
751
- }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};/**
756
+ 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();/**
757
+ * Known adapters mapping.
758
+ * Provides environment-specific adapters for Axios:
759
+ * - `http` for Node.js
760
+ * - `xhr` for browsers
761
+ * - `fetch` for fetch API-based requests
762
+ *
763
+ * @type {Object<string, Function|Object>}
764
+ */var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:getFetch}};// Assign adapter names for easier debugging and identification
765
+ utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
766
+ }Object.defineProperty(fn,'adapterName',{value:value});}});/**
767
+ * Render a rejection reason string for unknown or unsupported adapters
768
+ *
769
+ * @param {string} reason
770
+ * @returns {string}
771
+ */var renderReason=function renderReason(reason){return"- ".concat(reason);};/**
772
+ * Check if the adapter is resolved (function, null, or false)
773
+ *
774
+ * @param {Function|null|false} adapter
775
+ * @returns {boolean}
776
+ */var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};/**
777
+ * Get the first suitable adapter from the provided list.
778
+ * Tries each adapter in order until a supported one is found.
779
+ * Throws an AxiosError if no adapter is suitable.
780
+ *
781
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
782
+ * @param {Object} config - Axios request configuration
783
+ * @throws {AxiosError} If no suitable adapter is available
784
+ * @returns {Function} The resolved adapter function
785
+ */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;}/**
786
+ * Exports Axios adapters and utility to resolve an adapter
787
+ */var adapters={/**
788
+ * Resolve an adapter from a list of adapter names or functions.
789
+ * @type {Function}
790
+ */getAdapter:getAdapter,/**
791
+ * Exposes all known adapters
792
+ * @type {Object<string, Function|Object>}
793
+ */adapters:knownAdapters};/**
752
794
  * Throws a `CanceledError` if cancellation has been requested.
753
795
  *
754
796
  * @param {Object} config The config that is to be used for the request
@@ -763,7 +805,7 @@ isCredentialsSupported=isRequestSupported&&"credentials"in Request.prototype;res
763
805
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
764
806
  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
765
807
  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
766
- 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
808
+ 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
767
809
  ['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={};/**
768
810
  * Transitional option validator
769
811
  *
@@ -850,7 +892,7 @@ return;}token.reason=new CanceledError(message,config,request);resolvePromise(to
850
892
  * @param {*} payload The value to test
851
893
  *
852
894
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
853
- */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;/**
895
+ */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;/**
854
896
  * Create an instance of Axios
855
897
  *
856
898
  * @param {Object} defaultConfig The default config for the instance
@@ -911,7 +953,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
911
953
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
912
954
  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];}}}]);}();/**
913
955
  * @module purecloud-platform-client-v2/ApiClient
914
- * @version 234.0.0
956
+ * @version 236.0.0
915
957
  */var ApiClient=/*#__PURE__*/function(){/**
916
958
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
917
959
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -980,6 +1022,16 @@ var tempState=this.authData.state;this.authData=localStorage.getItem("".concat(t
980
1022
  * @description Sets the environment used by the session
981
1023
  * @param {string} environment - (Optional, default "mypurecloud.com") Environment the session use, e.g. mypurecloud.ie, mypurecloud.com.au, etc.
982
1024
  */},{key:"setEnvironment",value:function setEnvironment(environment){this.config.setEnvironment(environment);}/**
1025
+ * @description Sets the optional http headers used by the client
1026
+ * @param {object} newHeaders - default headers to be used
1027
+ */},{key:"setDefaultHeaders",value:function setDefaultHeaders(newHeaders){if(!newHeaders||!(_typeof(newHeaders)==='object')){throw new Error("default headers must be a map");}this.defaultHeaders=newHeaders;}/**
1028
+ * @description Gets the default http headers used by the client
1029
+ */},{key:"getDefaultHeaders",value:function getDefaultHeaders(){return this.defaultHeaders;}/**
1030
+ * @description Sets the optional Genesys-App http header used by the client
1031
+ * @param {string} headerValue - value for the Genesys-App header
1032
+ */},{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;}}/**
1033
+ * @description Gets the Genesys-App http header used by the client
1034
+ */},{key:"getGenesysAppHeader",value:function getGenesysAppHeader(){if(this.defaultHeaders&&this.defaultHeaders["Genesys-App"]){return this.defaultHeaders["Genesys-App"];}else{return null;}}/**
983
1035
  * @description Sets the dynamic HttpClient used by the client
984
1036
  * @param {object} httpClient - HttpClient to be injected
985
1037
  */},{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;}/**
@@ -1257,7 +1309,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
1257
1309
  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(){/**
1258
1310
  * AIStudio service.
1259
1311
  * @module purecloud-platform-client-v2/api/AIStudioApi
1260
- * @version 234.0.0
1312
+ * @version 236.0.0
1261
1313
  *//**
1262
1314
  * Constructs a new AIStudioApi.
1263
1315
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -1408,7 +1460,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
1408
1460
  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(){/**
1409
1461
  * AgentAssistants service.
1410
1462
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
1411
- * @version 234.0.0
1463
+ * @version 236.0.0
1412
1464
  *//**
1413
1465
  * Constructs a new AgentAssistantsApi.
1414
1466
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -1539,7 +1591,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
1539
1591
  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(){/**
1540
1592
  * AgentCopilot service.
1541
1593
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
1542
- * @version 234.0.0
1594
+ * @version 236.0.0
1543
1595
  *//**
1544
1596
  * Constructs a new AgentCopilotApi.
1545
1597
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -1566,7 +1618,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
1566
1618
  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(){/**
1567
1619
  * AgentUI service.
1568
1620
  * @module purecloud-platform-client-v2/api/AgentUIApi
1569
- * @version 234.0.0
1621
+ * @version 236.0.0
1570
1622
  *//**
1571
1623
  * Constructs a new AgentUIApi.
1572
1624
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -1600,7 +1652,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
1600
1652
  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(){/**
1601
1653
  * Alerting service.
1602
1654
  * @module purecloud-platform-client-v2/api/AlertingApi
1603
- * @version 234.0.0
1655
+ * @version 236.0.0
1604
1656
  *//**
1605
1657
  * Constructs a new AlertingApi.
1606
1658
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1689,7 +1741,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
1689
1741
  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(){/**
1690
1742
  * Analytics service.
1691
1743
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1692
- * @version 234.0.0
1744
+ * @version 236.0.0
1693
1745
  *//**
1694
1746
  * Constructs a new AnalyticsApi.
1695
1747
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -2465,7 +2517,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
2465
2517
  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(){/**
2466
2518
  * Architect service.
2467
2519
  * @module purecloud-platform-client-v2/api/ArchitectApi
2468
- * @version 234.0.0
2520
+ * @version 236.0.0
2469
2521
  *//**
2470
2522
  * Constructs a new ArchitectApi.
2471
2523
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -3599,7 +3651,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
3599
3651
  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(){/**
3600
3652
  * Audit service.
3601
3653
  * @module purecloud-platform-client-v2/api/AuditApi
3602
- * @version 234.0.0
3654
+ * @version 236.0.0
3603
3655
  *//**
3604
3656
  * Constructs a new AuditApi.
3605
3657
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3649,7 +3701,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3649
3701
  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(){/**
3650
3702
  * Authorization service.
3651
3703
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3652
- * @version 234.0.0
3704
+ * @version 236.0.0
3653
3705
  *//**
3654
3706
  * Constructs a new AuthorizationApi.
3655
3707
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3731,7 +3783,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
3731
3783
  * @param {Object} opts Optional parameters
3732
3784
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
3733
3785
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
3734
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
3786
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
3735
3787
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
3736
3788
  * @param {String} opts.name Optionally request specific divisions by division name
3737
3789
  */},{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']);}/**
@@ -4084,7 +4136,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
4084
4136
  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(){/**
4085
4137
  * Billing service.
4086
4138
  * @module purecloud-platform-client-v2/api/BillingApi
4087
- * @version 234.0.0
4139
+ * @version 236.0.0
4088
4140
  *//**
4089
4141
  * Constructs a new BillingApi.
4090
4142
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -4161,7 +4213,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
4161
4213
  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(){/**
4162
4214
  * BusinessRules service.
4163
4215
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
4164
- * @version 234.0.0
4216
+ * @version 236.0.0
4165
4217
  *//**
4166
4218
  * Constructs a new BusinessRulesApi.
4167
4219
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -4382,7 +4434,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
4382
4434
  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(){/**
4383
4435
  * CarrierServices service.
4384
4436
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
4385
- * @version 234.0.0
4437
+ * @version 236.0.0
4386
4438
  *//**
4387
4439
  * Constructs a new CarrierServicesApi.
4388
4440
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -4402,7 +4454,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
4402
4454
  */},{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(){/**
4403
4455
  * Chat service.
4404
4456
  * @module purecloud-platform-client-v2/api/ChatApi
4405
- * @version 234.0.0
4457
+ * @version 236.0.0
4406
4458
  *//**
4407
4459
  * Constructs a new ChatApi.
4408
4460
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -4633,7 +4685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4633
4685
  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(){/**
4634
4686
  * Coaching service.
4635
4687
  * @module purecloud-platform-client-v2/api/CoachingApi
4636
- * @version 234.0.0
4688
+ * @version 236.0.0
4637
4689
  *//**
4638
4690
  * Constructs a new CoachingApi.
4639
4691
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -4725,6 +4777,11 @@ if(notificationId===undefined||notificationId===null||notificationId===''){throw
4725
4777
  * @param {Number} opts.pageSize Page size (default to 25)
4726
4778
  * @param {Array.<String>} opts.expand Indicates a field in the response which should be expanded.
4727
4779
  */},{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']);}/**
4780
+ * Retrieve the status of the job for the slots where a coaching appointment can be scheduled.
4781
+ *
4782
+ * @param {String} jobId The ID of job
4783
+ */},{key:"getCoachingScheduleslotsJob",value:function getCoachingScheduleslotsJob(jobId){// verify the required parameter 'jobId' is set
4784
+ 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']);}/**
4728
4785
  * Update an existing appointment
4729
4786
  * Permission not required if you are the creator or facilitator of the appointment
4730
4787
  * @param {String} appointmentId The ID of the coaching appointment.
@@ -4779,6 +4836,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4779
4836
  * @param {Object} body Aggregate Request
4780
4837
  */},{key:"postCoachingAppointmentsAggregatesQuery",value:function postCoachingAppointmentsAggregatesQuery(body){// verify the required parameter 'body' is set
4781
4838
  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']);}/**
4839
+ * Start job to retrieve the slots where a coaching appointment can be scheduled.
4840
+ *
4841
+ * @param {Object} body The slots search request
4842
+ */},{key:"postCoachingScheduleslotsJobs",value:function postCoachingScheduleslotsJobs(body){// verify the required parameter 'body' is set
4843
+ 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']);}/**
4782
4844
  * Get list of possible slots where a coaching appointment can be scheduled.
4783
4845
  *
4784
4846
  * @param {Object} body The slot search request
@@ -4786,7 +4848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4786
4848
  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(){/**
4787
4849
  * ContentManagement service.
4788
4850
  * @module purecloud-platform-client-v2/api/ContentManagementApi
4789
- * @version 234.0.0
4851
+ * @version 236.0.0
4790
4852
  *//**
4791
4853
  * Constructs a new ContentManagementApi.
4792
4854
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -5068,7 +5130,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
5068
5130
  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(){/**
5069
5131
  * Conversations service.
5070
5132
  * @module purecloud-platform-client-v2/api/ConversationsApi
5071
- * @version 234.0.0
5133
+ * @version 236.0.0
5072
5134
  *//**
5073
5135
  * Constructs a new ConversationsApi.
5074
5136
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -5220,7 +5282,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
5220
5282
  * @param {String} conversationId conversationId
5221
5283
  * @param {String} communicationId communicationId
5222
5284
  * @param {String} messageId messageId
5223
- * getConversationCommunicationInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5224
5285
  */},{key:"getConversationCommunicationInternalmessage",value:function getConversationCommunicationInternalmessage(conversationId,communicationId,messageId){// verify the required parameter 'conversationId' is set
5225
5286
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';}// verify the required parameter 'communicationId' is set
5226
5287
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';}// verify the required parameter 'messageId' is set
@@ -5232,7 +5293,6 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
5232
5293
  * @param {Object} opts Optional parameters
5233
5294
  * @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)
5234
5295
  * @param {Number} opts.pageNumber Page number (default to 1)
5235
- * getConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5236
5296
  */},{key:"getConversationCommunicationInternalmessages",value:function getConversationCommunicationInternalmessages(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5237
5297
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
5238
5298
  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']);}/**
@@ -5539,12 +5599,10 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
5539
5599
  * Get internal message conversation
5540
5600
  *
5541
5601
  * @param {String} conversationId conversationId
5542
- * getConversationsInternalmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5543
5602
  */},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
5544
5603
  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']);}/**
5545
5604
  * Get active internal message conversations for the logged in user
5546
5605
  *
5547
- * getConversationsInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5548
5606
  */},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5549
5607
  * Get the encryption key configurations
5550
5608
  *
@@ -5559,6 +5617,17 @@ if(keyconfigurationsId===undefined||keyconfigurationsId===null||keyconfiguration
5559
5617
  * @param {String} conversationId conversationId
5560
5618
  */},{key:"getConversationsMessage",value:function getConversationsMessage(conversationId){// verify the required parameter 'conversationId' is set
5561
5619
  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']);}/**
5620
+ * Get message media list by status
5621
+ *
5622
+ * @param {String} conversationId conversationId
5623
+ * @param {String} communicationId communicationId
5624
+ * @param {Object} opts Optional parameters
5625
+ * @param {Object} opts.status The status on which to filter the response.
5626
+ * @param {Number} opts.pageNumber Page number (default to 1)
5627
+ * @param {Number} opts.pageSize Page size (default to 25)
5628
+ */},{key:"getConversationsMessageCommunicationMessagesMedia",value:function getConversationsMessageCommunicationMessagesMedia(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
5629
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
5630
+ 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']);}/**
5562
5631
  * Get media
5563
5632
  * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
5564
5633
  * @param {String} conversationId conversationId
@@ -6332,7 +6401,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
6332
6401
  * @param {String} conversationId conversationId
6333
6402
  * @param {String} communicationId communicationId
6334
6403
  * @param {Object} body Message
6335
- * postConversationCommunicationInternalmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6336
6404
  */},{key:"postConversationCommunicationInternalmessages",value:function postConversationCommunicationInternalmessages(conversationId,communicationId,body){// verify the required parameter 'conversationId' is set
6337
6405
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
6338
6406
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';}// verify the required parameter 'body' is set
@@ -6365,7 +6433,6 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
6365
6433
  * @param {String} conversationId conversation ID
6366
6434
  * @param {String} participantId participant ID
6367
6435
  * @param {Object} body Confer request
6368
- * postConversationParticipantInternalmessagesUsersCommunications is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6369
6436
  */},{key:"postConversationParticipantInternalmessagesUsersCommunications",value:function postConversationParticipantInternalmessagesUsersCommunications(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
6370
6437
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'participantId' is set
6371
6438
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';}// verify the required parameter 'body' is set
@@ -6844,7 +6911,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6844
6911
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';}// verify the required parameter 'body' is set
6845
6912
  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']);}/**
6846
6913
  * Get messages in batch
6847
- * 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"]
6914
+ * 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.
6848
6915
  * @param {String} conversationId
6849
6916
  * @param {Object} opts Optional parameters
6850
6917
  * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
@@ -7166,7 +7233,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
7166
7233
  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(){/**
7167
7234
  * DataExtensions service.
7168
7235
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
7169
- * @version 234.0.0
7236
+ * @version 236.0.0
7170
7237
  *//**
7171
7238
  * Constructs a new DataExtensionsApi.
7172
7239
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -7187,7 +7254,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
7187
7254
  */},{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(){/**
7188
7255
  * DataPrivacy service.
7189
7256
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
7190
- * @version 234.0.0
7257
+ * @version 236.0.0
7191
7258
  *//**
7192
7259
  * Constructs a new DataPrivacyApi.
7193
7260
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -7227,7 +7294,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7227
7294
  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(){/**
7228
7295
  * Downloads service.
7229
7296
  * @module purecloud-platform-client-v2/api/DownloadsApi
7230
- * @version 234.0.0
7297
+ * @version 236.0.0
7231
7298
  *//**
7232
7299
  * Constructs a new DownloadsApi.
7233
7300
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -7246,7 +7313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7246
7313
  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(){/**
7247
7314
  * Emails service.
7248
7315
  * @module purecloud-platform-client-v2/api/EmailsApi
7249
- * @version 234.0.0
7316
+ * @version 236.0.0
7250
7317
  *//**
7251
7318
  * Constructs a new EmailsApi.
7252
7319
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -7275,7 +7342,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
7275
7342
  */},{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(){/**
7276
7343
  * EmployeeEngagement service.
7277
7344
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
7278
- * @version 234.0.0
7345
+ * @version 236.0.0
7279
7346
  *//**
7280
7347
  * Constructs a new EmployeeEngagementApi.
7281
7348
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -7313,7 +7380,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7313
7380
  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(){/**
7314
7381
  * Events service.
7315
7382
  * @module purecloud-platform-client-v2/api/EventsApi
7316
- * @version 234.0.0
7383
+ * @version 236.0.0
7317
7384
  *//**
7318
7385
  * Constructs a new EventsApi.
7319
7386
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -7338,7 +7405,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7338
7405
  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(){/**
7339
7406
  * ExternalContacts service.
7340
7407
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
7341
- * @version 234.0.0
7408
+ * @version 236.0.0
7342
7409
  *//**
7343
7410
  * Constructs a new ExternalContactsApi.
7344
7411
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -8088,7 +8155,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
8088
8155
  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(){/**
8089
8156
  * Fax service.
8090
8157
  * @module purecloud-platform-client-v2/api/FaxApi
8091
- * @version 234.0.0
8158
+ * @version 236.0.0
8092
8159
  *//**
8093
8160
  * Constructs a new FaxApi.
8094
8161
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -8137,7 +8204,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8137
8204
  */},{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(){/**
8138
8205
  * Flows service.
8139
8206
  * @module purecloud-platform-client-v2/api/FlowsApi
8140
- * @version 234.0.0
8207
+ * @version 236.0.0
8141
8208
  *//**
8142
8209
  * Constructs a new FlowsApi.
8143
8210
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -8191,7 +8258,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8191
8258
  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(){/**
8192
8259
  * Gamification service.
8193
8260
  * @module purecloud-platform-client-v2/api/GamificationApi
8194
- * @version 234.0.0
8261
+ * @version 236.0.0
8195
8262
  *//**
8196
8263
  * Constructs a new GamificationApi.
8197
8264
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -8353,6 +8420,20 @@ if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===nu
8353
8420
  if(comparativePeriodEndWorkday===undefined||comparativePeriodEndWorkday===null){throw'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodStartWorkday' is set
8354
8421
  if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';}// verify the required parameter 'primaryPeriodEndWorkday' is set
8355
8422
  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']);}/**
8423
+ * Query managers in a profile during a period of time
8424
+ *
8425
+ * @param {Object} filterType Filter type for the query request.
8426
+ * @param {String} filterId ID for the filter type.
8427
+ * @param {Object} granularity Granularity
8428
+ * @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
8429
+ * @param {Object} opts Optional parameters
8430
+ * @param {Number} opts.pageSize Page size (default to 100)
8431
+ * @param {Number} opts.pageNumber Page number (default to 1)
8432
+ */},{key:"getGamificationInsightsManagers",value:function getGamificationInsightsManagers(filterType,filterId,granularity,startWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
8433
+ if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsManagers';}// verify the required parameter 'filterId' is set
8434
+ if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsManagers';}// verify the required parameter 'granularity' is set
8435
+ if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsManagers';}// verify the required parameter 'startWorkday' is set
8436
+ 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']);}/**
8356
8437
  * Query users in a profile during a period of time
8357
8438
  *
8358
8439
  * @param {Object} filterType Filter type for the query request.
@@ -8848,7 +8929,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8848
8929
  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(){/**
8849
8930
  * GeneralDataProtectionRegulation service.
8850
8931
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8851
- * @version 234.0.0
8932
+ * @version 236.0.0
8852
8933
  *//**
8853
8934
  * Constructs a new GeneralDataProtectionRegulationApi.
8854
8935
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -8883,7 +8964,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
8883
8964
  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(){/**
8884
8965
  * Geolocation service.
8885
8966
  * @module purecloud-platform-client-v2/api/GeolocationApi
8886
- * @version 234.0.0
8967
+ * @version 236.0.0
8887
8968
  *//**
8888
8969
  * Constructs a new GeolocationApi.
8889
8970
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -8917,7 +8998,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
8917
8998
  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(){/**
8918
8999
  * Greetings service.
8919
9000
  * @module purecloud-platform-client-v2/api/GreetingsApi
8920
- * @version 234.0.0
9001
+ * @version 236.0.0
8921
9002
  *//**
8922
9003
  * Constructs a new GreetingsApi.
8923
9004
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -9045,7 +9126,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
9045
9126
  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(){/**
9046
9127
  * Groups service.
9047
9128
  * @module purecloud-platform-client-v2/api/GroupsApi
9048
- * @version 234.0.0
9129
+ * @version 236.0.0
9049
9130
  *//**
9050
9131
  * Constructs a new GroupsApi.
9051
9132
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -9178,7 +9259,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
9178
9259
  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(){/**
9179
9260
  * IdentityProvider service.
9180
9261
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
9181
- * @version 234.0.0
9262
+ * @version 236.0.0
9182
9263
  *//**
9183
9264
  * Constructs a new IdentityProviderApi.
9184
9265
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -9334,7 +9415,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9334
9415
  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(){/**
9335
9416
  * InfrastructureAsCode service.
9336
9417
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
9337
- * @version 234.0.0
9418
+ * @version 236.0.0
9338
9419
  *//**
9339
9420
  * Constructs a new InfrastructureAsCodeApi.
9340
9421
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -9388,7 +9469,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
9388
9469
  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(){/**
9389
9470
  * Integrations service.
9390
9471
  * @module purecloud-platform-client-v2/api/IntegrationsApi
9391
- * @version 234.0.0
9472
+ * @version 236.0.0
9392
9473
  *//**
9393
9474
  * Constructs a new IntegrationsApi.
9394
9475
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -10078,7 +10159,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
10078
10159
  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(){/**
10079
10160
  * Journey service.
10080
10161
  * @module purecloud-platform-client-v2/api/JourneyApi
10081
- * @version 234.0.0
10162
+ * @version 236.0.0
10082
10163
  *//**
10083
10164
  * Constructs a new JourneyApi.
10084
10165
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -10587,7 +10668,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
10587
10668
  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(){/**
10588
10669
  * Knowledge service.
10589
10670
  * @module purecloud-platform-client-v2/api/KnowledgeApi
10590
- * @version 234.0.0
10671
+ * @version 236.0.0
10591
10672
  *//**
10592
10673
  * Constructs a new KnowledgeApi.
10593
10674
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -11415,7 +11496,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
11415
11496
  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(){/**
11416
11497
  * LanguageUnderstanding service.
11417
11498
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
11418
- * @version 234.0.0
11499
+ * @version 236.0.0
11419
11500
  *//**
11420
11501
  * Constructs a new LanguageUnderstandingApi.
11421
11502
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -11724,7 +11805,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
11724
11805
  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(){/**
11725
11806
  * Languages service.
11726
11807
  * @module purecloud-platform-client-v2/api/LanguagesApi
11727
- * @version 234.0.0
11808
+ * @version 236.0.0
11728
11809
  *//**
11729
11810
  * Constructs a new LanguagesApi.
11730
11811
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -11779,7 +11860,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
11779
11860
  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(){/**
11780
11861
  * Learning service.
11781
11862
  * @module purecloud-platform-client-v2/api/LearningApi
11782
- * @version 234.0.0
11863
+ * @version 236.0.0
11783
11864
  *//**
11784
11865
  * Constructs a new LearningApi.
11785
11866
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -11917,6 +11998,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
11917
11998
  * @param {String} coverArtId Key identifier for the cover art
11918
11999
  */},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
11919
12000
  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']);}/**
12001
+ * Retrieve the status of the job for the slots where a learning activity can be scheduled.
12002
+ *
12003
+ * @param {String} jobId The ID of the job
12004
+ */},{key:"getLearningScheduleslotsJob",value:function getLearningScheduleslotsJob(jobId){// verify the required parameter 'jobId' is set
12005
+ 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']);}/**
11920
12006
  * Get Learning SCORM Result
11921
12007
  *
11922
12008
  * @param {String} scormId The ID of the SCORM package
@@ -12017,6 +12103,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12017
12103
  if(pageSize===undefined||pageSize===null){throw'Missing the required parameter "pageSize" when calling postLearningRulesQuery';}// verify the required parameter 'pageNumber' is set
12018
12104
  if(pageNumber===undefined||pageNumber===null){throw'Missing the required parameter "pageNumber" when calling postLearningRulesQuery';}// verify the required parameter 'body' is set
12019
12105
  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']);}/**
12106
+ * Start job to retrieve slots where a learning activity can be scheduled.
12107
+ *
12108
+ * @param {Object} body The slots search request
12109
+ */},{key:"postLearningScheduleslotsJobs",value:function postLearningScheduleslotsJobs(body){// verify the required parameter 'body' is set
12110
+ 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']);}/**
12020
12111
  * Get list of possible slots where a learning activity can be scheduled.
12021
12112
  *
12022
12113
  * @param {Object} body The slot search request
@@ -12052,7 +12143,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
12052
12143
  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(){/**
12053
12144
  * License service.
12054
12145
  * @module purecloud-platform-client-v2/api/LicenseApi
12055
- * @version 234.0.0
12146
+ * @version 236.0.0
12056
12147
  *//**
12057
12148
  * Constructs a new LicenseApi.
12058
12149
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -12106,7 +12197,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
12106
12197
  */},{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(){/**
12107
12198
  * Locations service.
12108
12199
  * @module purecloud-platform-client-v2/api/LocationsApi
12109
- * @version 234.0.0
12200
+ * @version 236.0.0
12110
12201
  *//**
12111
12202
  * Constructs a new LocationsApi.
12112
12203
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -12165,7 +12256,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12165
12256
  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(){/**
12166
12257
  * LogCapture service.
12167
12258
  * @module purecloud-platform-client-v2/api/LogCaptureApi
12168
- * @version 234.0.0
12259
+ * @version 236.0.0
12169
12260
  *//**
12170
12261
  * Constructs a new LogCaptureApi.
12171
12262
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -12214,7 +12305,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
12214
12305
  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(){/**
12215
12306
  * Messaging service.
12216
12307
  * @module purecloud-platform-client-v2/api/MessagingApi
12217
- * @version 234.0.0
12308
+ * @version 236.0.0
12218
12309
  *//**
12219
12310
  * Constructs a new MessagingApi.
12220
12311
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -12304,7 +12395,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12304
12395
  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(){/**
12305
12396
  * MobileDevices service.
12306
12397
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
12307
- * @version 234.0.0
12398
+ * @version 236.0.0
12308
12399
  *//**
12309
12400
  * Constructs a new MobileDevicesApi.
12310
12401
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -12343,7 +12434,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12343
12434
  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(){/**
12344
12435
  * Notifications service.
12345
12436
  * @module purecloud-platform-client-v2/api/NotificationsApi
12346
- * @version 234.0.0
12437
+ * @version 236.0.0
12347
12438
  *//**
12348
12439
  * Constructs a new NotificationsApi.
12349
12440
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -12400,7 +12491,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
12400
12491
  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(){/**
12401
12492
  * OAuth service.
12402
12493
  * @module purecloud-platform-client-v2/api/OAuthApi
12403
- * @version 234.0.0
12494
+ * @version 236.0.0
12404
12495
  *//**
12405
12496
  * Constructs a new OAuthApi.
12406
12497
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -12485,7 +12576,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
12485
12576
  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(){/**
12486
12577
  * Objects service.
12487
12578
  * @module purecloud-platform-client-v2/api/ObjectsApi
12488
- * @version 234.0.0
12579
+ * @version 236.0.0
12489
12580
  *//**
12490
12581
  * Constructs a new ObjectsApi.
12491
12582
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -12537,7 +12628,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
12537
12628
  * @param {Object} opts Optional parameters
12538
12629
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12539
12630
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12540
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12631
+ * @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
12541
12632
  * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
12542
12633
  * @param {String} opts.name Optionally request specific divisions by division name
12543
12634
  */},{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']);}/**
@@ -12571,7 +12662,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
12571
12662
  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(){/**
12572
12663
  * OperationalEvents service.
12573
12664
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
12574
- * @version 234.0.0
12665
+ * @version 236.0.0
12575
12666
  *//**
12576
12667
  * Constructs a new OperationalEventsApi.
12577
12668
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -12602,7 +12693,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
12602
12693
  */},{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(){/**
12603
12694
  * Organization service.
12604
12695
  * @module purecloud-platform-client-v2/api/OrganizationApi
12605
- * @version 234.0.0
12696
+ * @version 236.0.0
12606
12697
  *//**
12607
12698
  * Constructs a new OrganizationApi.
12608
12699
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -12707,7 +12798,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12707
12798
  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(){/**
12708
12799
  * OrganizationAuthorization service.
12709
12800
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
12710
- * @version 234.0.0
12801
+ * @version 236.0.0
12711
12802
  *//**
12712
12803
  * Constructs a new OrganizationAuthorizationApi.
12713
12804
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -13041,7 +13132,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
13041
13132
  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(){/**
13042
13133
  * Outbound service.
13043
13134
  * @module purecloud-platform-client-v2/api/OutboundApi
13044
- * @version 234.0.0
13135
+ * @version 236.0.0
13045
13136
  *//**
13046
13137
  * Constructs a new OutboundApi.
13047
13138
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -14197,7 +14288,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14197
14288
  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(){/**
14198
14289
  * Presence service.
14199
14290
  * @module purecloud-platform-client-v2/api/PresenceApi
14200
- * @version 234.0.0
14291
+ * @version 236.0.0
14201
14292
  *//**
14202
14293
  * Constructs a new PresenceApi.
14203
14294
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -14370,7 +14461,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14370
14461
  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(){/**
14371
14462
  * ProcessAutomation service.
14372
14463
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
14373
- * @version 234.0.0
14464
+ * @version 236.0.0
14374
14465
  *//**
14375
14466
  * Constructs a new ProcessAutomationApi.
14376
14467
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -14433,7 +14524,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
14433
14524
  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(){/**
14434
14525
  * Quality service.
14435
14526
  * @module purecloud-platform-client-v2/api/QualityApi
14436
- * @version 234.0.0
14527
+ * @version 236.0.0
14437
14528
  *//**
14438
14529
  * Constructs a new QualityApi.
14439
14530
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -14747,20 +14838,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
14747
14838
  * @param {String} opts.name Name
14748
14839
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
14749
14840
  */},{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']);}/**
14750
- * Get the most recent published version of an evaluation form across any division.
14751
- *
14752
- * @param {String} evaluationFormId Evaluation Form ID
14753
- * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14754
- */},{key:"getQualityPublishedformsEvaluationsDivisionview",value:function getQualityPublishedformsEvaluationsDivisionview(evaluationFormId){// verify the required parameter 'evaluationFormId' is set
14755
- 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']);}/**
14756
- * Get the published evaluation forms across any division.
14757
- *
14758
- * @param {Object} opts Optional parameters
14759
- * @param {Number} opts.pageSize Page size (default to 25)
14760
- * @param {Number} opts.pageNumber Page number (default to 1)
14761
- * @param {String} opts.name Name
14762
- * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14763
- */},{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']);}/**
14764
14841
  * Get the most recent published version of a survey form.
14765
14842
  *
14766
14843
  * @param {String} formId Form ID
@@ -14774,20 +14851,6 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
14774
14851
  * @param {String} opts.name Name
14775
14852
  * @param {Boolean} opts.onlyLatestEnabledPerContext onlyLatestEnabledPerContext (default to false)
14776
14853
  */},{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']);}/**
14777
- * Get the most recent published version of an enabled survey form across any division.
14778
- *
14779
- * @param {String} surveyFormId Survey Form ID
14780
- * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14781
- */},{key:"getQualityPublishedformsSurveysDivisionview",value:function getQualityPublishedformsSurveysDivisionview(surveyFormId){// verify the required parameter 'surveyFormId' is set
14782
- 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']);}/**
14783
- * Get the published and enabled survey forms across any division.
14784
- *
14785
- * @param {Object} opts Optional parameters
14786
- * @param {Number} opts.pageSize Page size (default to 25)
14787
- * @param {Number} opts.pageNumber Page number (default to 1)
14788
- * @param {String} opts.name Name
14789
- * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14790
- */},{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']);}/**
14791
14854
  * Get a survey for a conversation
14792
14855
  *
14793
14856
  * @param {String} surveyId surveyId
@@ -14951,7 +15014,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
14951
15014
  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(){/**
14952
15015
  * Recording service.
14953
15016
  * @module purecloud-platform-client-v2/api/RecordingApi
14954
- * @version 234.0.0
15017
+ * @version 236.0.0
14955
15018
  *//**
14956
15019
  * Constructs a new RecordingApi.
14957
15020
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -15350,7 +15413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15350
15413
  */},{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(){/**
15351
15414
  * ResponseManagement service.
15352
15415
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
15353
- * @version 234.0.0
15416
+ * @version 236.0.0
15354
15417
  *//**
15355
15418
  * Constructs a new ResponseManagementApi.
15356
15419
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -15471,7 +15534,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
15471
15534
  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(){/**
15472
15535
  * Routing service.
15473
15536
  * @module purecloud-platform-client-v2/api/RoutingApi
15474
- * @version 234.0.0
15537
+ * @version 236.0.0
15475
15538
  *//**
15476
15539
  * Constructs a new RoutingApi.
15477
15540
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -16562,7 +16625,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16562
16625
  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(){/**
16563
16626
  * SCIM service.
16564
16627
  * @module purecloud-platform-client-v2/api/SCIMApi
16565
- * @version 234.0.0
16628
+ * @version 236.0.0
16566
16629
  *//**
16567
16630
  * Constructs a new SCIMApi.
16568
16631
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -16787,7 +16850,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
16787
16850
  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(){/**
16788
16851
  * ScreenRecording service.
16789
16852
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
16790
- * @version 234.0.0
16853
+ * @version 236.0.0
16791
16854
  *//**
16792
16855
  * Constructs a new ScreenRecordingApi.
16793
16856
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -16802,7 +16865,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16802
16865
  */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(){/**
16803
16866
  * Scripts service.
16804
16867
  * @module purecloud-platform-client-v2/api/ScriptsApi
16805
- * @version 234.0.0
16868
+ * @version 236.0.0
16806
16869
  *//**
16807
16870
  * Constructs a new ScriptsApi.
16808
16871
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -16948,7 +17011,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
16948
17011
  */},{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(){/**
16949
17012
  * Search service.
16950
17013
  * @module purecloud-platform-client-v2/api/SearchApi
16951
- * @version 234.0.0
17014
+ * @version 236.0.0
16952
17015
  *//**
16953
17016
  * Constructs a new SearchApi.
16954
17017
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -17107,7 +17170,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17107
17170
  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(){/**
17108
17171
  * Settings service.
17109
17172
  * @module purecloud-platform-client-v2/api/SettingsApi
17110
- * @version 234.0.0
17173
+ * @version 236.0.0
17111
17174
  *//**
17112
17175
  * Constructs a new SettingsApi.
17113
17176
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -17179,7 +17242,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
17179
17242
  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(){/**
17180
17243
  * SocialMedia service.
17181
17244
  * @module purecloud-platform-client-v2/api/SocialMediaApi
17182
- * @version 234.0.0
17245
+ * @version 236.0.0
17183
17246
  *//**
17184
17247
  * Constructs a new SocialMediaApi.
17185
17248
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -17594,7 +17657,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
17594
17657
  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(){/**
17595
17658
  * SpeechTextAnalytics service.
17596
17659
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
17597
- * @version 234.0.0
17660
+ * @version 236.0.0
17598
17661
  *//**
17599
17662
  * Constructs a new SpeechTextAnalyticsApi.
17600
17663
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -17964,7 +18027,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
17964
18027
  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(){/**
17965
18028
  * Stations service.
17966
18029
  * @module purecloud-platform-client-v2/api/StationsApi
17967
- * @version 234.0.0
18030
+ * @version 236.0.0
17968
18031
  *//**
17969
18032
  * Constructs a new StationsApi.
17970
18033
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -17996,7 +18059,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
17996
18059
  */},{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(){/**
17997
18060
  * Suggest service.
17998
18061
  * @module purecloud-platform-client-v2/api/SuggestApi
17999
- * @version 234.0.0
18062
+ * @version 236.0.0
18000
18063
  *//**
18001
18064
  * Constructs a new SuggestApi.
18002
18065
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -18036,7 +18099,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18036
18099
  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(){/**
18037
18100
  * TaskManagement service.
18038
18101
  * @module purecloud-platform-client-v2/api/TaskManagementApi
18039
- * @version 234.0.0
18102
+ * @version 236.0.0
18040
18103
  *//**
18041
18104
  * Constructs a new TaskManagementApi.
18042
18105
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -18544,7 +18607,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
18544
18607
  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(){/**
18545
18608
  * Teams service.
18546
18609
  * @module purecloud-platform-client-v2/api/TeamsApi
18547
- * @version 234.0.0
18610
+ * @version 236.0.0
18548
18611
  *//**
18549
18612
  * Constructs a new TeamsApi.
18550
18613
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -18624,7 +18687,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18624
18687
  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(){/**
18625
18688
  * Telephony service.
18626
18689
  * @module purecloud-platform-client-v2/api/TelephonyApi
18627
- * @version 234.0.0
18690
+ * @version 236.0.0
18628
18691
  *//**
18629
18692
  * Constructs a new TelephonyApi.
18630
18693
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -18695,7 +18758,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18695
18758
  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(){/**
18696
18759
  * TelephonyProvidersEdge service.
18697
18760
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
18698
- * @version 234.0.0
18761
+ * @version 236.0.0
18699
18762
  *//**
18700
18763
  * Constructs a new TelephonyProvidersEdgeApi.
18701
18764
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -19543,7 +19606,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
19543
19606
  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(){/**
19544
19607
  * Textbots service.
19545
19608
  * @module purecloud-platform-client-v2/api/TextbotsApi
19546
- * @version 234.0.0
19609
+ * @version 236.0.0
19547
19610
  *//**
19548
19611
  * Constructs a new TextbotsApi.
19549
19612
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -19579,7 +19642,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
19579
19642
  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(){/**
19580
19643
  * Tokens service.
19581
19644
  * @module purecloud-platform-client-v2/api/TokensApi
19582
- * @version 234.0.0
19645
+ * @version 236.0.0
19583
19646
  *//**
19584
19647
  * Constructs a new TokensApi.
19585
19648
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -19613,7 +19676,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
19613
19676
  */},{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(){/**
19614
19677
  * Uploads service.
19615
19678
  * @module purecloud-platform-client-v2/api/UploadsApi
19616
- * @version 234.0.0
19679
+ * @version 236.0.0
19617
19680
  *//**
19618
19681
  * Constructs a new UploadsApi.
19619
19682
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -19681,7 +19744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19681
19744
  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(){/**
19682
19745
  * Usage service.
19683
19746
  * @module purecloud-platform-client-v2/api/UsageApi
19684
- * @version 234.0.0
19747
+ * @version 236.0.0
19685
19748
  *//**
19686
19749
  * Constructs a new UsageApi.
19687
19750
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -19765,7 +19828,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19765
19828
  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(){/**
19766
19829
  * UserRecordings service.
19767
19830
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
19768
- * @version 234.0.0
19831
+ * @version 236.0.0
19769
19832
  *//**
19770
19833
  * Constructs a new UserRecordingsApi.
19771
19834
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -19813,7 +19876,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
19813
19876
  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(){/**
19814
19877
  * Users service.
19815
19878
  * @module purecloud-platform-client-v2/api/UsersApi
19816
- * @version 234.0.0
19879
+ * @version 236.0.0
19817
19880
  *//**
19818
19881
  * Constructs a new UsersApi.
19819
19882
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -20557,7 +20620,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
20557
20620
  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(){/**
20558
20621
  * Utilities service.
20559
20622
  * @module purecloud-platform-client-v2/api/UtilitiesApi
20560
- * @version 234.0.0
20623
+ * @version 236.0.0
20561
20624
  *//**
20562
20625
  * Constructs a new UtilitiesApi.
20563
20626
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -20584,7 +20647,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20584
20647
  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(){/**
20585
20648
  * Voicemail service.
20586
20649
  * @module purecloud-platform-client-v2/api/VoicemailApi
20587
- * @version 234.0.0
20650
+ * @version 236.0.0
20588
20651
  *//**
20589
20652
  * Constructs a new VoicemailApi.
20590
20653
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -20746,7 +20809,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
20746
20809
  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(){/**
20747
20810
  * WebChat service.
20748
20811
  * @module purecloud-platform-client-v2/api/WebChatApi
20749
- * @version 234.0.0
20812
+ * @version 236.0.0
20750
20813
  *//**
20751
20814
  * Constructs a new WebChatApi.
20752
20815
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -20893,7 +20956,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20893
20956
  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(){/**
20894
20957
  * WebDeployments service.
20895
20958
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
20896
- * @version 234.0.0
20959
+ * @version 236.0.0
20897
20960
  *//**
20898
20961
  * Constructs a new WebDeploymentsApi.
20899
20962
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -21026,7 +21089,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21026
21089
  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(){/**
21027
21090
  * WebMessaging service.
21028
21091
  * @module purecloud-platform-client-v2/api/WebMessagingApi
21029
- * @version 234.0.0
21092
+ * @version 236.0.0
21030
21093
  *//**
21031
21094
  * Constructs a new WebMessagingApi.
21032
21095
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -21067,7 +21130,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
21067
21130
  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(){/**
21068
21131
  * Widgets service.
21069
21132
  * @module purecloud-platform-client-v2/api/WidgetsApi
21070
- * @version 234.0.0
21133
+ * @version 236.0.0
21071
21134
  *//**
21072
21135
  * Constructs a new WidgetsApi.
21073
21136
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -21107,7 +21170,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
21107
21170
  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(){/**
21108
21171
  * WorkforceManagement service.
21109
21172
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
21110
- * @version 234.0.0
21173
+ * @version 236.0.0
21111
21174
  *//**
21112
21175
  * Constructs a new WorkforceManagementApi.
21113
21176
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -21690,10 +21753,11 @@ if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the
21690
21753
  * @param {String} forecastId The ID of the forecast
21691
21754
  * @param {Object} opts Optional parameters
21692
21755
  * @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
21756
+ * @param {Array.<String>} opts.expand Expand to include minimum staffing values in (staffing requirement response or applied to base staffing requirement values)
21693
21757
  */},{key:"getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement",value:function getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
21694
21758
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'weekDateId' is set
21695
21759
  if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';}// verify the required parameter 'forecastId' is set
21696
- 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']);}/**
21760
+ 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']);}/**
21697
21761
  * Get short term forecasts
21698
21762
  * 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
21699
21763
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
@@ -23067,7 +23131,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23067
23131
  * </pre>
23068
23132
  * </p>
23069
23133
  * @module purecloud-platform-client-v2/index
23070
- * @version 234.0.0
23134
+ * @version 236.0.0
23071
23135
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23072
23136
  * The ApiClient constructor.
23073
23137
  * @property {module:purecloud-platform-client-v2/ApiClient}