purecloud-platform-client-v2 190.0.0 → 191.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +313 -81
  3. package/dist/web-amd/purecloud-platform-client-v2.js +313 -81
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +293 -239
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +293 -239
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +410 -45
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +162 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +21 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -2
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +26 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +27 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +4 -4
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -1,4 +1,4 @@
1
- 'use strict';function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw new Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:String(i);}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
1
+ 'use strict';function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
2
2
  // if there are two placeholders, than the two characters before it
3
3
  // represent one byte
4
4
  // if there is only one, then the three characters before it represent 2 bytes
@@ -504,7 +504,7 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
504
504
  * @param {Function} rejected The function to handle `reject` for a `Promise`
505
505
  *
506
506
  * @return {Number} An ID used to remove interceptor later
507
- */_createClass(InterceptorManager,[{key:"use",value:function use(fulfilled,rejected,options){this.handlers.push({fulfilled:fulfilled,rejected:rejected,synchronous:options?options.synchronous:false,runWhen:options?options.runWhen:null});return this.handlers.length-1;}/**
507
+ */return _createClass(InterceptorManager,[{key:"use",value:function use(fulfilled,rejected,options){this.handlers.push({fulfilled:fulfilled,rejected:rejected,synchronous:options?options.synchronous:false,runWhen:options?options.runWhen:null});return this.handlers.length-1;}/**
508
508
  * Remove an interceptor from the stack
509
509
  *
510
510
  * @param {Number} id The ID that was returned by `use`
@@ -523,7 +523,7 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
523
523
  * @param {Function} fn The function to call for each interceptor
524
524
  *
525
525
  * @returns {void}
526
- */},{key:"forEach",value:function forEach(fn){utils$1.forEach(this.handlers,function forEachHandler(h){if(h!==null){fn(h);}});}}]);return InterceptorManager;}();var InterceptorManager$1=InterceptorManager;var transitionalDefaults={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var URLSearchParams$1=typeof URLSearchParams!=='undefined'?URLSearchParams:AxiosURLSearchParams;var FormData$1=typeof FormData!=='undefined'?FormData:null;var Blob$1=typeof Blob!=='undefined'?Blob:null;var platform$1={isBrowser:true,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:['http','https','file','blob','url','data']};var hasBrowserEnv=typeof window!=='undefined'&&typeof document!=='undefined';/**
526
+ */},{key:"forEach",value:function forEach(fn){utils$1.forEach(this.handlers,function forEachHandler(h){if(h!==null){fn(h);}});}}]);}();var InterceptorManager$1=InterceptorManager;var transitionalDefaults={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var URLSearchParams$1=typeof URLSearchParams!=='undefined'?URLSearchParams:AxiosURLSearchParams;var FormData$1=typeof FormData!=='undefined'?FormData:null;var Blob$1=typeof Blob!=='undefined'?Blob:null;var platform$1={isBrowser:true,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:['http','https','file','blob','url','data']};var hasBrowserEnv=typeof window!=='undefined'&&typeof document!=='undefined';/**
527
527
  * Determine if we're running in a standard browser environment
528
528
  *
529
529
  * This allows axios to run in a web worker, and react-native.
@@ -597,7 +597,7 @@ var ignoreDuplicateOf=utils$1.toObjectSet(['age','authorization','content-length
597
597
  * @param {String} rawHeaders Headers needing to be parsed
598
598
  *
599
599
  * @returns {Object} Headers parsed into an object
600
- */var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value);}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(_Symbol$iterator,_Symbol$toStringTag){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}_createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:_Symbol$iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(_ref5){var _ref6=_slicedToArray(_ref5,2),header=_ref6[0],value=_ref6[1];return header+': '+value;}).join('\n');}},{key:_Symbol$toStringTag,get:function get(){return'AxiosHeaders';}}],[{key:"from",value:function from(thing){return thing instanceof this?thing:new this(thing);}},{key:"concat",value:function concat(first){var computed=new this(first);for(var _len2=arguments.length,targets=new Array(_len2>1?_len2-1:0),_key3=1;_key3<_len2;_key3++){targets[_key3-1]=arguments[_key3];}targets.forEach(function(target){return computed.set(target);});return computed;}},{key:"accessor",value:function accessor(header){var internals=this[$internals]=this[$internals]={accessors:{}};var accessors=internals.accessors;var prototype=this.prototype;function defineAccessor(_header){var lHeader=normalizeHeader(_header);if(!accessors[lHeader]){buildAccessors(prototype,_header);accessors[lHeader]=true;}}utils$1.isArray(header)?header.forEach(defineAccessor):defineAccessor(header);return this;}}]);return AxiosHeaders;}(Symbol.iterator,Symbol.toStringTag);AxiosHeaders.accessor(['Content-Type','Content-Length','Accept','Accept-Encoding','User-Agent','Authorization']);// reserved names hotfix
600
+ */var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value);}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}return _createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:Symbol.iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(_ref5){var _ref6=_slicedToArray(_ref5,2),header=_ref6[0],value=_ref6[1];return header+': '+value;}).join('\n');}},{key:Symbol.toStringTag,get:function get(){return'AxiosHeaders';}}],[{key:"from",value:function from(thing){return thing instanceof this?thing:new this(thing);}},{key:"concat",value:function concat(first){var computed=new this(first);for(var _len2=arguments.length,targets=new Array(_len2>1?_len2-1:0),_key3=1;_key3<_len2;_key3++){targets[_key3-1]=arguments[_key3];}targets.forEach(function(target){return computed.set(target);});return computed;}},{key:"accessor",value:function accessor(header){var internals=this[$internals]=this[$internals]={accessors:{}};var accessors=internals.accessors;var prototype=this.prototype;function defineAccessor(_header){var lHeader=normalizeHeader(_header);if(!accessors[lHeader]){buildAccessors(prototype,_header);accessors[lHeader]=true;}}utils$1.isArray(header)?header.forEach(defineAccessor):defineAccessor(header);return this;}}]);}();AxiosHeaders.accessor(['Content-Type','Content-Length','Accept','Accept-Encoding','User-Agent','Authorization']);// reserved names hotfix
601
601
  utils$1.reduceDescriptors(AxiosHeaders.prototype,function(_ref7,key){var value=_ref7.value;var mapped=key[0].toUpperCase()+key.slice(1);// map `set` => `Set`
602
602
  return{get:function get(){return value;},set:function set(headerValue){this[mapped]=headerValue;}};});utils$1.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;/**
603
603
  * Transform the data for a request or a response
@@ -766,13 +766,13 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
766
766
  * @param {?Object} config
767
767
  *
768
768
  * @returns {Promise} The Promise to be fulfilled
769
- */_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
769
+ */return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
770
770
  stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';if(!_context.t0.stack){_context.t0.stack=stack;// match without the 2 top stack lines
771
771
  }else if(stack&&!String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+stack;}}throw _context.t0;case 10:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
772
772
  if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config=config,transitional=_config.transitional,paramsSerializer=_config.paramsSerializer,headers=_config.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}// Set config.method
773
773
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
774
774
  var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
775
- var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);return Axios;}();// Provide aliases for supported request methods
775
+ var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
776
776
  utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
777
777
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
778
778
  *
@@ -785,14 +785,14 @@ this.promise.then=function(onfulfilled){var _resolve;// eslint-disable-next-line
785
785
  var promise=new Promise(function(resolve){token.subscribe(resolve);_resolve=resolve;}).then(onfulfilled);promise.cancel=function reject(){token.unsubscribe(_resolve);};return promise;};executor(function cancel(message,config,request){if(token.reason){// Cancellation has already been requested
786
786
  return;}token.reason=new CanceledError(message,config,request);resolvePromise(token.reason);});}/**
787
787
  * Throws a `CanceledError` if cancellation has been requested.
788
- */_createClass(CancelToken,[{key:"throwIfRequested",value:function throwIfRequested(){if(this.reason){throw this.reason;}}/**
788
+ */return _createClass(CancelToken,[{key:"throwIfRequested",value:function throwIfRequested(){if(this.reason){throw this.reason;}}/**
789
789
  * Subscribe to the cancel signal
790
790
  */},{key:"subscribe",value:function subscribe(listener){if(this.reason){listener(this.reason);return;}if(this._listeners){this._listeners.push(listener);}else{this._listeners=[listener];}}/**
791
791
  * Unsubscribe from the cancel signal
792
792
  */},{key:"unsubscribe",value:function unsubscribe(listener){if(!this._listeners){return;}var index=this._listeners.indexOf(listener);if(index!==-1){this._listeners.splice(index,1);}}/**
793
793
  * Returns an object that contains a new `CancelToken` and a function that, when called,
794
794
  * cancels the `CancelToken`.
795
- */}],[{key:"source",value:function source(){var cancel;var token=new CancelToken(function executor(c){cancel=c;});return{token:token,cancel:cancel};}}]);return CancelToken;}();var CancelToken$1=CancelToken;/**
795
+ */}],[{key:"source",value:function source(){var cancel;var token=new CancelToken(function executor(c){cancel=c;});return{token:token,cancel:cancel};}}]);}();var CancelToken$1=CancelToken;/**
796
796
  * Syntactic sugar for invoking a function and expanding an array for arguments.
797
797
  *
798
798
  * Common use case would be to use `Function.prototype.apply`.
@@ -836,7 +836,7 @@ axios.Cancel=axios.CanceledError;// Expose all/spread
836
836
  axios.all=function all(promises){return Promise.all(promises);};axios.spread=spread;// Expose isAxiosError
837
837
  axios.isAxiosError=isAxiosError;// Expose mergeConfig
838
838
  axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=function(thing){return formDataToJSON(utils$1.isHTMLForm(thing)?new FormData(thing):thing);};axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios["default"]=axios;// this module should only have a default export
839
- var axios$1=axios;var logLevelEnum={level:{LNone:'none',LError:'error',LDebug:'debug',LTrace:'trace'}};var logFormatEnum={formats:{JSON:'json',TEXT:'text'}};var Logger=/*#__PURE__*/function(){function Logger(){_classCallCheck(this,Logger);this.log_level=logLevelEnum.level.LNone;this.log_format=logFormatEnum.formats.TEXT;this.log_to_console=true;this.log_file_path;this.log_response_body=false;this.log_request_body=false;this.setLogger();}_createClass(Logger,[{key:"logLevelEnum",get:function get(){return logLevelEnum;}},{key:"logFormatEnum",get:function get(){return logFormatEnum;}},{key:"setLogger",value:function setLogger(){}},{key:"log",value:function log(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var content=this.formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody);if(typeof window!=='undefined'){var shouldLog=this.calculateLogLevel(level);if(shouldLog>0&&this.log_to_console===true){if(this.log_format===this.logFormatEnum.formats.JSON){console.log(content);}else{console.log("".concat(level.toUpperCase(),": ").concat(content));}}}else{if(this.logger.transports.length>0)this.logger.log(level,content);}}},{key:"calculateLogLevel",value:function calculateLogLevel(level){switch(this.log_level){case this.logLevelEnum.level.LError:if(level!==this.logLevelEnum.level.LError){return-1;}return 1;case this.logLevelEnum.level.LDebug:if(level===this.logLevelEnum.level.LTrace){return-1;}return 1;case this.logLevelEnum.level.LTrace:return 1;default:return-1;}}},{key:"formatLog",value:function formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var result;var localRequestHeaders=requestHeaders?JSON.parse(JSON.stringify(requestHeaders)):null;var localResponseHeaders=responseHeaders?JSON.parse(JSON.stringify(responseHeaders)):null;var localRequestBody=requestBody?JSON.parse(JSON.stringify(requestBody)):null;var localResponseBody=responseBody?JSON.parse(JSON.stringify(responseBody)):null;if(requestHeaders)localRequestHeaders['Authorization']='[REDACTED]';if(!this.log_request_body)localRequestBody=undefined;if(!this.log_response_body)localResponseBody=undefined;if(this.log_format&&this.log_format===logFormatEnum.formats.JSON){result={level:level,date:new Date().toISOString(),method:method,url:decodeURIComponent(url),correlationId:localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'',statusCode:statusCode};if(localRequestHeaders)result.requestHeaders=localRequestHeaders;if(localResponseHeaders)result.responseHeaders=localResponseHeaders;if(localRequestBody)result.requestBody=localRequestBody;if(localResponseBody)result.responseBody=localResponseBody;}else{result="".concat(new Date().toISOString(),"\n=== REQUEST === \n").concat(this.formatValue('URL',decodeURIComponent(url))).concat(this.formatValue('Method',method)).concat(this.formatValue('Headers',this.formatHeaderString(localRequestHeaders))).concat(this.formatValue('Body',localRequestBody?JSON.stringify(localRequestBody,null,2):''),"\n=== RESPONSE ===\n").concat(this.formatValue('Status',statusCode)).concat(this.formatValue('Headers',this.formatHeaderString(localResponseHeaders))).concat(this.formatValue('CorrelationId',localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'')).concat(this.formatValue('Body',localResponseBody?JSON.stringify(localResponseBody,null,2):''));}return result;}},{key:"formatHeaderString",value:function formatHeaderString(headers){var headerString='';if(!headers)return headerString;for(var _i=0,_Object$entries=Object.entries(headers);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],value=_Object$entries$_i[1];headerString+="\n\t".concat(key,": ").concat(value);}return headerString;}},{key:"formatValue",value:function formatValue(key,value){if(!value||value===''||value==='{}')return'';return"".concat(key,": ").concat(value,"\n");}},{key:"getLogLevel",value:function getLogLevel(level){switch(level){case'error':return logLevelEnum.level.LError;case'debug':return logLevelEnum.level.LDebug;case'trace':return logLevelEnum.level.LTrace;default:return logLevelEnum.level.LNone;}}},{key:"getLogFormat",value:function getLogFormat(format){switch(format){case'json':return logFormatEnum.formats.JSON;default:return logFormatEnum.formats.TEXT;}}}]);return Logger;}();var Configuration=/*#__PURE__*/function(){function Configuration(){_classCallCheck(this,Configuration);if(!Configuration.instance){Configuration.instance=this;}if(typeof window!=='undefined'){this.configPath='';}else{var os=require('os');var path=require('path');this.configPath=path.join(os.homedir(),'.genesyscloudjavascript','config');}this.refresh_access_token=true;this.refresh_token_wait_max=10;this.live_reload_config=true;this.host;this.environment;this.basePath;this.authUrl;this.config;this.logger=new Logger();this.setEnvironment();this.liveLoadConfig();}_createClass(Configuration,[{key:"instance",get:/**
839
+ var axios$1=axios;var logLevelEnum={level:{LNone:'none',LError:'error',LDebug:'debug',LTrace:'trace'}};var logFormatEnum={formats:{JSON:'json',TEXT:'text'}};var Logger=/*#__PURE__*/function(){function Logger(){_classCallCheck(this,Logger);this.log_level=logLevelEnum.level.LNone;this.log_format=logFormatEnum.formats.TEXT;this.log_to_console=true;this.log_file_path;this.log_response_body=false;this.log_request_body=false;this.setLogger();}return _createClass(Logger,[{key:"logLevelEnum",get:function get(){return logLevelEnum;}},{key:"logFormatEnum",get:function get(){return logFormatEnum;}},{key:"setLogger",value:function setLogger(){}},{key:"log",value:function log(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var content=this.formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody);if(typeof window!=='undefined'){var shouldLog=this.calculateLogLevel(level);if(shouldLog>0&&this.log_to_console===true){if(this.log_format===this.logFormatEnum.formats.JSON){console.log(content);}else{console.log("".concat(level.toUpperCase(),": ").concat(content));}}}else{if(this.logger.transports.length>0)this.logger.log(level,content);}}},{key:"calculateLogLevel",value:function calculateLogLevel(level){switch(this.log_level){case this.logLevelEnum.level.LError:if(level!==this.logLevelEnum.level.LError){return-1;}return 1;case this.logLevelEnum.level.LDebug:if(level===this.logLevelEnum.level.LTrace){return-1;}return 1;case this.logLevelEnum.level.LTrace:return 1;default:return-1;}}},{key:"formatLog",value:function formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var result;var localRequestHeaders=requestHeaders?JSON.parse(JSON.stringify(requestHeaders)):null;var localResponseHeaders=responseHeaders?JSON.parse(JSON.stringify(responseHeaders)):null;var localRequestBody=requestBody?JSON.parse(JSON.stringify(requestBody)):null;var localResponseBody=responseBody?JSON.parse(JSON.stringify(responseBody)):null;if(requestHeaders)localRequestHeaders['Authorization']='[REDACTED]';if(!this.log_request_body)localRequestBody=undefined;if(!this.log_response_body)localResponseBody=undefined;if(this.log_format&&this.log_format===logFormatEnum.formats.JSON){result={level:level,date:new Date().toISOString(),method:method,url:decodeURIComponent(url),correlationId:localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'',statusCode:statusCode};if(localRequestHeaders)result.requestHeaders=localRequestHeaders;if(localResponseHeaders)result.responseHeaders=localResponseHeaders;if(localRequestBody)result.requestBody=localRequestBody;if(localResponseBody)result.responseBody=localResponseBody;}else{result="".concat(new Date().toISOString(),"\n=== REQUEST === \n").concat(this.formatValue('URL',decodeURIComponent(url))).concat(this.formatValue('Method',method)).concat(this.formatValue('Headers',this.formatHeaderString(localRequestHeaders))).concat(this.formatValue('Body',localRequestBody?JSON.stringify(localRequestBody,null,2):''),"\n=== RESPONSE ===\n").concat(this.formatValue('Status',statusCode)).concat(this.formatValue('Headers',this.formatHeaderString(localResponseHeaders))).concat(this.formatValue('CorrelationId',localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'')).concat(this.formatValue('Body',localResponseBody?JSON.stringify(localResponseBody,null,2):''));}return result;}},{key:"formatHeaderString",value:function formatHeaderString(headers){var headerString='';if(!headers)return headerString;for(var _i=0,_Object$entries=Object.entries(headers);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],value=_Object$entries$_i[1];headerString+="\n\t".concat(key,": ").concat(value);}return headerString;}},{key:"formatValue",value:function formatValue(key,value){if(!value||value===''||value==='{}')return'';return"".concat(key,": ").concat(value,"\n");}},{key:"getLogLevel",value:function getLogLevel(level){switch(level){case'error':return logLevelEnum.level.LError;case'debug':return logLevelEnum.level.LDebug;case'trace':return logLevelEnum.level.LTrace;default:return logLevelEnum.level.LNone;}}},{key:"getLogFormat",value:function getLogFormat(format){switch(format){case'json':return logFormatEnum.formats.JSON;default:return logFormatEnum.formats.TEXT;}}}]);}();var Configuration=/*#__PURE__*/function(){function Configuration(){_classCallCheck(this,Configuration);if(!Configuration.instance){Configuration.instance=this;}if(typeof window!=='undefined'){this.configPath='';}else{var os=require('os');var path=require('path');this.configPath=path.join(os.homedir(),'.genesyscloudjavascript','config');}this.refresh_access_token=true;this.refresh_token_wait_max=10;this.live_reload_config=true;this.host;this.environment;this.basePath;this.authUrl;this.config;this.logger=new Logger();this.setEnvironment();this.liveLoadConfig();}return _createClass(Configuration,[{key:"instance",get:/**
840
840
  * Singleton getter
841
841
  */function get(){return Configuration.instance;}/**
842
842
  * Singleton setter
@@ -845,9 +845,9 @@ this.configPath='';}},{key:"setConfigPath",value:function setConfigPath(path){if
845
845
  this.logger.setLogger();}},{key:"setEnvironment",value:function setEnvironment(env){// Default value
846
846
  if(env)this.environment=env;else this.environment=this.host?this.host:'mypurecloud.com';// Strip trailing slash
847
847
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
848
- if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
848
+ if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
849
849
  * @module purecloud-platform-client-v2/ApiClient
850
- * @version 190.0.0
850
+ * @version 191.0.0
851
851
  */var ApiClient=/*#__PURE__*/function(){/**
852
852
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
853
853
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -893,7 +893,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
893
893
  this.refreshInProgress=false;this.config=new Configuration();if(typeof window!=='undefined')window.ApiClient=this;}/**
894
894
  * @description If set to `true`, the response object will contain additional information about the HTTP response. When `false` (default) only the body object will be returned.
895
895
  * @param {boolean} returnExtended - `true` to return extended responses
896
- */_createClass(ApiClient,[{key:"instance",get:/**
896
+ */return _createClass(ApiClient,[{key:"instance",get:/**
897
897
  * Singleton getter
898
898
  */function get(){return ApiClient.instance;}/**
899
899
  * Singleton setter
@@ -1156,10 +1156,10 @@ var formData=new FormData();formData.set(key,_formParams[key]);request.data=form
1156
1156
  var data=that.returnExtended===true?{status:response.status,statusText:response.statusText,headers:response.headers,body:response.data,text:response.text,error:null}:response.data?response.data:response.text;// Debug logging
1157
1157
  that.config.logger.log('trace',response.status,httpMethod,url,request.headers,response.headers,bodyParam,undefined);that.config.logger.log('debug',response.status,httpMethod,url,request.headers,undefined,bodyParam,undefined);// Resolve promise
1158
1158
  resolve(data);})["catch"](function(error){var data=error;if(error.response&&error.response.status==401&&that.config.refresh_access_token&&that.authData.refreshToken!==""){that._handleExpiredAccessToken().then(function(){sendRequest(that);})["catch"](function(err){reject(err);});}else if(error.response){// Log error
1159
- that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
1159
+ 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 AlertingApi=/*#__PURE__*/function(){/**
1160
1160
  * Alerting service.
1161
1161
  * @module purecloud-platform-client-v2/api/AlertingApi
1162
- * @version 190.0.0
1162
+ * @version 191.0.0
1163
1163
  */ /**
1164
1164
  * Constructs a new AlertingApi.
1165
1165
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -1170,7 +1170,7 @@ that.config.logger.log('error',error.response.status,httpMethod,url,request.head
1170
1170
  * Delete an alert
1171
1171
  *
1172
1172
  * @param {String} alertId Alert ID
1173
- */_createClass(AlertingApi,[{key:"deleteAlertingAlert",value:function deleteAlertingAlert(alertId){// verify the required parameter 'alertId' is set
1173
+ */return _createClass(AlertingApi,[{key:"deleteAlertingAlert",value:function deleteAlertingAlert(alertId){// verify the required parameter 'alertId' is set
1174
1174
  if(alertId===undefined||alertId===null){throw'Missing the required parameter "alertId" when calling deleteAlertingAlert';}return this.apiClient.callApi('/api/v2/alerting/alerts/{alertId}','DELETE',{'alertId':alertId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1175
1175
  * Delete an interaction stats alert
1176
1176
  * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
@@ -1313,10 +1313,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1313
1313
  * @param {Object} body rule to be updated
1314
1314
  */},{key:"putAlertingRule",value:function putAlertingRule(ruleId,body){// verify the required parameter 'ruleId' is set
1315
1315
  if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling putAlertingRule';}// verify the required parameter 'body' is set
1316
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
1316
+ 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(){/**
1317
1317
  * Analytics service.
1318
1318
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1319
- * @version 190.0.0
1319
+ * @version 191.0.0
1320
1320
  */ /**
1321
1321
  * Constructs a new AnalyticsApi.
1322
1322
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -1327,7 +1327,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1327
1327
  * Delete/cancel an async details job
1328
1328
  *
1329
1329
  * @param {String} jobId jobId
1330
- */_createClass(AnalyticsApi,[{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
1330
+ */return _createClass(AnalyticsApi,[{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
1331
1331
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1332
1332
  * Delete a scheduled report job.
1333
1333
  *
@@ -1504,6 +1504,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
1504
1504
  * getAnalyticsKnowledgeAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1505
1505
  */},{key:"getAnalyticsKnowledgeAggregatesJobResults",value:function getAnalyticsKnowledgeAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
1506
1506
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1507
+ * Get dashboards summary for a user
1508
+ *
1509
+ * @param {String} userId User ID
1510
+ */},{key:"getAnalyticsReportingDashboardsUser",value:function getAnalyticsReportingDashboardsUser(userId){// verify the required parameter 'userId' is set
1511
+ if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsReportingDashboardsUser';}return this.apiClient.callApi('/api/v2/analytics/reporting/dashboards/users/{userId}','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1512
+ * Get dashboards summary for users in a org
1513
+ *
1514
+ * @param {Object} opts Optional parameters
1515
+ * @param {String} opts.sortBy (default to asc)
1516
+ * @param {Number} opts.pageNumber (default to 1)
1517
+ * @param {Number} opts.pageSize (default to 25)
1518
+ * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
1519
+ * @param {Object} opts.state Only list users of this state
1520
+ */},{key:"getAnalyticsReportingDashboardsUsers",value:function getAnalyticsReportingDashboardsUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/analytics/reporting/dashboards/users','GET',{},{'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1507
1521
  * Get all view export requests for a user
1508
1522
  *
1509
1523
  * @param {Object} opts Optional parameters
@@ -1564,6 +1578,17 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
1564
1578
  * Get AnalyticsReportingSettings for an organization
1565
1579
  *
1566
1580
  */},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1581
+ * Get list of dashboards for an user
1582
+ *
1583
+ * @param {String} userId User ID
1584
+ * @param {Object} opts Optional parameters
1585
+ * @param {String} opts.sortBy (default to asc)
1586
+ * @param {Number} opts.pageNumber (default to 1)
1587
+ * @param {Number} opts.pageSize (default to 50)
1588
+ * @param {Boolean} opts.publicOnly If true, retrieve only public dashboards
1589
+ * @param {Boolean} opts.favoriteOnly If true, retrieve only favorite dashboards
1590
+ */},{key:"getAnalyticsReportingSettingsUserDashboards",value:function getAnalyticsReportingSettingsUserDashboards(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
1591
+ if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getAnalyticsReportingSettingsUserDashboards';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/users/{userId}/dashboards','GET',{'userId':userId},{'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'publicOnly':opts['publicOnly'],'favoriteOnly':opts['favoriteOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1567
1592
  * Get a list of report time periods.
1568
1593
  *
1569
1594
  */},{key:"getAnalyticsReportingTimeperiods",value:function getAnalyticsReportingTimeperiods(){return this.apiClient.callApi('/api/v2/analytics/reporting/timeperiods','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -1801,6 +1826,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1801
1826
  * @param {Object} body query
1802
1827
  */},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
1803
1828
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1829
+ * Bulk delete dashboards owned by other user(s)
1830
+ *
1831
+ * @param {Array.<String>} body List of userIds
1832
+ */},{key:"postAnalyticsReportingDashboardsUsersBulkRemove",value:function postAnalyticsReportingDashboardsUsersBulkRemove(body){// verify the required parameter 'body' is set
1833
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingDashboardsUsersBulkRemove';}return this.apiClient.callApi('/api/v2/analytics/reporting/dashboards/users/bulk/remove','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1804
1834
  * Generate a view export request
1805
1835
  * This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
1806
1836
  * @param {Object} body ReportingExportJobRequest
@@ -1818,6 +1848,16 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
1818
1848
  * @deprecated
1819
1849
  */},{key:"postAnalyticsReportingSchedules",value:function postAnalyticsReportingSchedules(body){// verify the required parameter 'body' is set
1820
1850
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingSchedules';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1851
+ * Bulk remove dashboard configurations
1852
+ *
1853
+ * @param {Object} body
1854
+ */},{key:"postAnalyticsReportingSettingsDashboardsBulkRemove",value:function postAnalyticsReportingSettingsDashboardsBulkRemove(body){// verify the required parameter 'body' is set
1855
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsBulkRemove';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/bulk/remove','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1856
+ * Query dashboard configurations
1857
+ *
1858
+ * @param {Object} body
1859
+ */},{key:"postAnalyticsReportingSettingsDashboardsQuery",value:function postAnalyticsReportingSettingsDashboardsQuery(body){// verify the required parameter 'body' is set
1860
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1821
1861
  * Query for resolution aggregates asynchronously
1822
1862
  *
1823
1863
  * @param {Object} body query
@@ -1923,10 +1963,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1923
1963
  * @deprecated
1924
1964
  */},{key:"putAnalyticsReportingSchedule",value:function putAnalyticsReportingSchedule(scheduleId,body){// verify the required parameter 'scheduleId' is set
1925
1965
  if(scheduleId===undefined||scheduleId===null){throw'Missing the required parameter "scheduleId" when calling putAnalyticsReportingSchedule';}// verify the required parameter 'body' is set
1926
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
1966
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
1927
1967
  * Architect service.
1928
1968
  * @module purecloud-platform-client-v2/api/ArchitectApi
1929
- * @version 190.0.0
1969
+ * @version 191.0.0
1930
1970
  */ /**
1931
1971
  * Constructs a new ArchitectApi.
1932
1972
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -1937,7 +1977,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
1937
1977
  * Deletes a emergency group by ID
1938
1978
  *
1939
1979
  * @param {String} emergencyGroupId Emergency group ID
1940
- */_createClass(ArchitectApi,[{key:"deleteArchitectEmergencygroup",value:function deleteArchitectEmergencygroup(emergencyGroupId){// verify the required parameter 'emergencyGroupId' is set
1980
+ */return _createClass(ArchitectApi,[{key:"deleteArchitectEmergencygroup",value:function deleteArchitectEmergencygroup(emergencyGroupId){// verify the required parameter 'emergencyGroupId' is set
1941
1981
  if(emergencyGroupId===undefined||emergencyGroupId===null){throw'Missing the required parameter "emergencyGroupId" when calling deleteArchitectEmergencygroup';}return this.apiClient.callApi('/api/v2/architect/emergencygroups/{emergencyGroupId}','DELETE',{'emergencyGroupId':emergencyGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
1942
1982
  * Delete a grammar.
1943
1983
  *
@@ -3039,10 +3079,10 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
3039
3079
  * @param {Object} opts Optional parameters
3040
3080
  * @param {Object} opts.body
3041
3081
  */},{key:"putFlowsOutcome",value:function putFlowsOutcome(flowOutcomeId,opts){opts=opts||{};// verify the required parameter 'flowOutcomeId' is set
3042
- if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
3082
+ if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
3043
3083
  * Audit service.
3044
3084
  * @module purecloud-platform-client-v2/api/AuditApi
3045
- * @version 190.0.0
3085
+ * @version 191.0.0
3046
3086
  */ /**
3047
3087
  * Constructs a new AuditApi.
3048
3088
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -3052,7 +3092,7 @@ if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required p
3052
3092
  */function AuditApi(apiClient){_classCallCheck(this,AuditApi);this.apiClient=apiClient||ApiClient.instance;}/**
3053
3093
  * Get service mapping information used in realtime audits.
3054
3094
  *
3055
- */_createClass(AuditApi,[{key:"getAuditsQueryRealtimeServicemapping",value:function getAuditsQueryRealtimeServicemapping(){return this.apiClient.callApi('/api/v2/audits/query/realtime/servicemapping','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3095
+ */return _createClass(AuditApi,[{key:"getAuditsQueryRealtimeServicemapping",value:function getAuditsQueryRealtimeServicemapping(){return this.apiClient.callApi('/api/v2/audits/query/realtime/servicemapping','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3056
3096
  * Get service mapping information used in audits.
3057
3097
  *
3058
3098
  */},{key:"getAuditsQueryServicemapping",value:function getAuditsQueryServicemapping(){return this.apiClient.callApi('/api/v2/audits/query/servicemapping','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3081,10 +3121,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3081
3121
  * @param {Object} opts Optional parameters
3082
3122
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
3083
3123
  */},{key:"postAuditsQueryRealtime",value:function postAuditsQueryRealtime(body,opts){opts=opts||{};// verify the required parameter 'body' is set
3084
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
3124
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
3085
3125
  * Authorization service.
3086
3126
  * @module purecloud-platform-client-v2/api/AuthorizationApi
3087
- * @version 190.0.0
3127
+ * @version 191.0.0
3088
3128
  */ /**
3089
3129
  * Constructs a new AuthorizationApi.
3090
3130
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -3097,7 +3137,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3097
3137
  * @param {String} divisionId Division ID
3098
3138
  * @param {Object} opts Optional parameters
3099
3139
  * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
3100
- */_createClass(AuthorizationApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
3140
+ */return _createClass(AuthorizationApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
3101
3141
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3102
3142
  * Delete an organization role.
3103
3143
  *
@@ -3392,10 +3432,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3392
3432
  * @param {Array.<String>} body List of roles
3393
3433
  */},{key:"putUserRoles",value:function putUserRoles(subjectId,body){// verify the required parameter 'subjectId' is set
3394
3434
  if(subjectId===undefined||subjectId===null){throw'Missing the required parameter "subjectId" when calling putUserRoles';}// verify the required parameter 'body' is set
3395
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
3435
+ 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(){/**
3396
3436
  * Billing service.
3397
3437
  * @module purecloud-platform-client-v2/api/BillingApi
3398
- * @version 190.0.0
3438
+ * @version 191.0.0
3399
3439
  */ /**
3400
3440
  * Constructs a new BillingApi.
3401
3441
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -3407,7 +3447,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3407
3447
  * Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If responses status is InProgress, wait a few seconds, then try the same request again.
3408
3448
  * @param {Date} startDate The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
3409
3449
  * @param {Date} endDate The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
3410
- */_createClass(BillingApi,[{key:"getBillingReportsBillableusage",value:function getBillingReportsBillableusage(startDate,endDate){// verify the required parameter 'startDate' is set
3450
+ */return _createClass(BillingApi,[{key:"getBillingReportsBillableusage",value:function getBillingReportsBillableusage(startDate,endDate){// verify the required parameter 'startDate' is set
3411
3451
  if(startDate===undefined||startDate===null){throw'Missing the required parameter "startDate" when calling getBillingReportsBillableusage';}// verify the required parameter 'endDate' is set
3412
3452
  if(endDate===undefined||endDate===null){throw'Missing the required parameter "endDate" when calling getBillingReportsBillableusage';}return this.apiClient.callApi('/api/v2/billing/reports/billableusage','GET',{},{'startDate':startDate,'endDate':endDate},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3413
3453
  * Get the billing overview for an organization that is managed by a partner.
@@ -3416,10 +3456,10 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
3416
3456
  * @param {Object} opts Optional parameters
3417
3457
  * @param {Number} opts.billingPeriodIndex 0 for active period (overview data may change until period closes). 1 for prior completed billing period. 2 for two billing cycles prior, and so on. (default to 0)
3418
3458
  */},{key:"getBillingTrusteebillingoverviewTrustorOrgId",value:function getBillingTrusteebillingoverviewTrustorOrgId(trustorOrgId,opts){opts=opts||{};// verify the required parameter 'trustorOrgId' is set
3419
- if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
3459
+ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
3420
3460
  * CarrierServices service.
3421
3461
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
3422
- * @version 190.0.0
3462
+ * @version 191.0.0
3423
3463
  */ /**
3424
3464
  * Constructs a new CarrierServicesApi.
3425
3465
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -3430,16 +3470,16 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
3430
3470
  * Get location for the logged in user
3431
3471
  *
3432
3472
  * @param {String} phoneNumber Phone number in E164 format
3433
- */_createClass(CarrierServicesApi,[{key:"getCarrierservicesIntegrationsEmergencylocationsMe",value:function getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber){// verify the required parameter 'phoneNumber' is set
3473
+ */return _createClass(CarrierServicesApi,[{key:"getCarrierservicesIntegrationsEmergencylocationsMe",value:function getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber){// verify the required parameter 'phoneNumber' is set
3434
3474
  if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';}return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','GET',{},{'phoneNumber':phoneNumber},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3435
3475
  * Set current location for the logged in user
3436
3476
  *
3437
3477
  * @param {Object} opts Optional parameters
3438
3478
  * @param {Object} opts.body
3439
- */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
3479
+ */},{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(){/**
3440
3480
  * Chat service.
3441
3481
  * @module purecloud-platform-client-v2/api/ChatApi
3442
- * @version 190.0.0
3482
+ * @version 191.0.0
3443
3483
  */ /**
3444
3484
  * Constructs a new ChatApi.
3445
3485
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -3451,7 +3491,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
3451
3491
  *
3452
3492
  * @param {String} roomJid roomId
3453
3493
  * @param {String} messageId messageId
3454
- */_createClass(ChatApi,[{key:"deleteChatsRoomMessage",value:function deleteChatsRoomMessage(roomJid,messageId){// verify the required parameter 'roomJid' is set
3494
+ */return _createClass(ChatApi,[{key:"deleteChatsRoomMessage",value:function deleteChatsRoomMessage(roomJid,messageId){// verify the required parameter 'roomJid' is set
3455
3495
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';}// verify the required parameter 'messageId' is set
3456
3496
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages/{messageId}','DELETE',{'roomJid':roomJid,'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3457
3497
  * Remove a user from a room.
@@ -3629,10 +3669,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3629
3669
  *
3630
3670
  * @param {Object} body Chat
3631
3671
  */},{key:"putChatsSettings",value:function putChatsSettings(body){// verify the required parameter 'body' is set
3632
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
3672
+ 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(){/**
3633
3673
  * Coaching service.
3634
3674
  * @module purecloud-platform-client-v2/api/CoachingApi
3635
- * @version 190.0.0
3675
+ * @version 191.0.0
3636
3676
  */ /**
3637
3677
  * Constructs a new CoachingApi.
3638
3678
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -3643,7 +3683,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3643
3683
  * Delete an existing appointment
3644
3684
  * Permission not required if you are the creator of the appointment
3645
3685
  * @param {String} appointmentId The ID of the coaching appointment.
3646
- */_createClass(CoachingApi,[{key:"deleteCoachingAppointment",value:function deleteCoachingAppointment(appointmentId){// verify the required parameter 'appointmentId' is set
3686
+ */return _createClass(CoachingApi,[{key:"deleteCoachingAppointment",value:function deleteCoachingAppointment(appointmentId){// verify the required parameter 'appointmentId' is set
3647
3687
  if(appointmentId===undefined||appointmentId===null){throw'Missing the required parameter "appointmentId" when calling deleteCoachingAppointment';}return this.apiClient.callApi('/api/v2/coaching/appointments/{appointmentId}','DELETE',{'appointmentId':appointmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3648
3688
  * Delete an existing annotation
3649
3689
  * You must have the appropriate permission for the type of annotation you are updating. Permission not required if you are the creator or facilitator of the appointment
@@ -3782,10 +3822,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3782
3822
  *
3783
3823
  * @param {Object} body The slot search request
3784
3824
  */},{key:"postCoachingScheduleslotsQuery",value:function postCoachingScheduleslotsQuery(body){// verify the required parameter 'body' is set
3785
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
3825
+ 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(){/**
3786
3826
  * ContentManagement service.
3787
3827
  * @module purecloud-platform-client-v2/api/ContentManagementApi
3788
- * @version 190.0.0
3828
+ * @version 191.0.0
3789
3829
  */ /**
3790
3830
  * Constructs a new ContentManagementApi.
3791
3831
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -3798,7 +3838,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3798
3838
  * @param {String} documentId Document ID
3799
3839
  * @param {Object} opts Optional parameters
3800
3840
  * @param {Boolean} opts.override Override any lock on the document
3801
- */_createClass(ContentManagementApi,[{key:"deleteContentmanagementDocument",value:function deleteContentmanagementDocument(documentId,opts){opts=opts||{};// verify the required parameter 'documentId' is set
3841
+ */return _createClass(ContentManagementApi,[{key:"deleteContentmanagementDocument",value:function deleteContentmanagementDocument(documentId,opts){opts=opts||{};// verify the required parameter 'documentId' is set
3802
3842
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling deleteContentmanagementDocument';}return this.apiClient.callApi('/api/v2/contentmanagement/documents/{documentId}','DELETE',{'documentId':documentId},{'override':opts['override']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3803
3843
  * Deletes an existing share.
3804
3844
  * This revokes sharing rights specified in the share record
@@ -4065,10 +4105,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4065
4105
  */},{key:"putContentmanagementWorkspaceTagvalue",value:function putContentmanagementWorkspaceTagvalue(workspaceId,tagId,body){// verify the required parameter 'workspaceId' is set
4066
4106
  if(workspaceId===undefined||workspaceId===null){throw'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceTagvalue';}// verify the required parameter 'tagId' is set
4067
4107
  if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId" when calling putContentmanagementWorkspaceTagvalue';}// verify the required parameter 'body' is set
4068
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
4108
+ 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(){/**
4069
4109
  * Conversations service.
4070
4110
  * @module purecloud-platform-client-v2/api/ConversationsApi
4071
- * @version 190.0.0
4111
+ * @version 191.0.0
4072
4112
  */ /**
4073
4113
  * Constructs a new ConversationsApi.
4074
4114
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -4079,7 +4119,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
4079
4119
  * Delete/cancel an async details job
4080
4120
  *
4081
4121
  * @param {String} jobId jobId
4082
- */_createClass(ConversationsApi,[{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
4122
+ */return _createClass(ConversationsApi,[{key:"deleteAnalyticsConversationsDetailsJob",value:function deleteAnalyticsConversationsDetailsJob(jobId){// verify the required parameter 'jobId' is set
4083
4123
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4084
4124
  * Delete a code used to add a communication to this participant
4085
4125
  *
@@ -4556,6 +4596,9 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null){throw'Missing the re
4556
4596
  * Get Genesys Facebook App Id
4557
4597
  *
4558
4598
  */},{key:"getConversationsMessagingFacebookApp",value:function getConversationsMessagingFacebookApp(){return this.apiClient.callApi('/api/v2/conversations/messaging/facebook/app','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4599
+ * Get a list of Facebook Permissions
4600
+ *
4601
+ */},{key:"getConversationsMessagingFacebookPermissions",value:function getConversationsMessagingFacebookPermissions(){return this.apiClient.callApi('/api/v2/conversations/messaging/facebook/permissions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4559
4602
  * Get a list of Integrations
4560
4603
  *
4561
4604
  * @param {Object} opts Optional parameters
@@ -5801,10 +5844,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5801
5844
  * @param {Object} body SetRecordingState
5802
5845
  */},{key:"putConversationsVideoRecordingstate",value:function putConversationsVideoRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
5803
5846
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';}// verify the required parameter 'body' is set
5804
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
5847
+ 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(){/**
5805
5848
  * DataExtensions service.
5806
5849
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5807
- * @version 190.0.0
5850
+ * @version 191.0.0
5808
5851
  */ /**
5809
5852
  * Constructs a new DataExtensionsApi.
5810
5853
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5815,17 +5858,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5815
5858
  * Get a specific named core type.
5816
5859
  *
5817
5860
  * @param {Object} coretypeName The core type's name
5818
- */_createClass(DataExtensionsApi,[{key:"getDataextensionsCoretype",value:function getDataextensionsCoretype(coretypeName){// verify the required parameter 'coretypeName' is set
5861
+ */return _createClass(DataExtensionsApi,[{key:"getDataextensionsCoretype",value:function getDataextensionsCoretype(coretypeName){// verify the required parameter 'coretypeName' is set
5819
5862
  if(coretypeName===undefined||coretypeName===null){throw'Missing the required parameter "coretypeName" when calling getDataextensionsCoretype';}return this.apiClient.callApi('/api/v2/dataextensions/coretypes/{coretypeName}','GET',{'coretypeName':coretypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5820
5863
  * Get the core types from which all schemas are built.
5821
5864
  *
5822
5865
  */},{key:"getDataextensionsCoretypes",value:function getDataextensionsCoretypes(){return this.apiClient.callApi('/api/v2/dataextensions/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5823
5866
  * Get quantitative limits on schemas
5824
5867
  *
5825
- */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
5868
+ */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
5826
5869
  * Downloads service.
5827
5870
  * @module purecloud-platform-client-v2/api/DownloadsApi
5828
- * @version 190.0.0
5871
+ * @version 191.0.0
5829
5872
  */ /**
5830
5873
  * Constructs a new DownloadsApi.
5831
5874
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5840,11 +5883,11 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5840
5883
  * @param {String} opts.contentDisposition
5841
5884
  * @param {Boolean} opts.issueRedirect (default to true)
5842
5885
  * @param {Boolean} opts.redirectToAuth (default to true)
5843
- */_createClass(DownloadsApi,[{key:"getDownload",value:function getDownload(downloadId,opts){opts=opts||{};// verify the required parameter 'downloadId' is set
5844
- if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
5886
+ */return _createClass(DownloadsApi,[{key:"getDownload",value:function getDownload(downloadId,opts){opts=opts||{};// verify the required parameter 'downloadId' is set
5887
+ if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
5845
5888
  * Emails service.
5846
5889
  * @module purecloud-platform-client-v2/api/EmailsApi
5847
- * @version 190.0.0
5890
+ * @version 191.0.0
5848
5891
  */ /**
5849
5892
  * Constructs a new EmailsApi.
5850
5893
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5854,15 +5897,15 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5854
5897
  */function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
5855
5898
  * Get email Contact Center settings
5856
5899
  *
5857
- */_createClass(EmailsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5900
+ */return _createClass(EmailsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5858
5901
  * Patch email Contact Center settings
5859
5902
  *
5860
5903
  * @param {Object} opts Optional parameters
5861
5904
  * @param {Object} opts.body
5862
- */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
5905
+ */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
5863
5906
  * Events service.
5864
5907
  * @module purecloud-platform-client-v2/api/EventsApi
5865
- * @version 190.0.0
5908
+ * @version 191.0.0
5866
5909
  */ /**
5867
5910
  * Constructs a new EventsApi.
5868
5911
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5873,7 +5916,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5873
5916
  * Publish Conversation Batch Events
5874
5917
  *
5875
5918
  * @param {Object} body batchRequest
5876
- */_createClass(EventsApi,[{key:"postEventsConversations",value:function postEventsConversations(body){// verify the required parameter 'body' is set
5919
+ */return _createClass(EventsApi,[{key:"postEventsConversations",value:function postEventsConversations(body){// verify the required parameter 'body' is set
5877
5920
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsConversations';}return this.apiClient.callApi('/api/v2/events/conversations','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5878
5921
  * Publish User Presence Status Batch Events
5879
5922
  *
@@ -5884,10 +5927,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5884
5927
  *
5885
5928
  * @param {Object} body batchRequest
5886
5929
  */},{key:"postEventsUsersRoutingstatus",value:function postEventsUsersRoutingstatus(body){// verify the required parameter 'body' is set
5887
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
5930
+ 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(){/**
5888
5931
  * ExternalContacts service.
5889
5932
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5890
- * @version 190.0.0
5933
+ * @version 191.0.0
5891
5934
  */ /**
5892
5935
  * Constructs a new ExternalContactsApi.
5893
5936
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -5898,7 +5941,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5898
5941
  * Delete an external contact
5899
5942
  *
5900
5943
  * @param {String} contactId ExternalContact ID
5901
- */_createClass(ExternalContactsApi,[{key:"deleteExternalcontactsContact",value:function deleteExternalcontactsContact(contactId){// verify the required parameter 'contactId' is set
5944
+ */return _createClass(ExternalContactsApi,[{key:"deleteExternalcontactsContact",value:function deleteExternalcontactsContact(contactId){// verify the required parameter 'contactId' is set
5902
5945
  if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling deleteExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','DELETE',{'contactId':contactId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5903
5946
  * Delete a note for an external contact
5904
5947
  *
@@ -6339,10 +6382,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6339
6382
  * @param {Object} body Relationship
6340
6383
  */},{key:"putExternalcontactsRelationship",value:function putExternalcontactsRelationship(relationshipId,body){// verify the required parameter 'relationshipId' is set
6341
6384
  if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling putExternalcontactsRelationship';}// verify the required parameter 'body' is set
6342
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
6385
+ 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(){/**
6343
6386
  * Fax service.
6344
6387
  * @module purecloud-platform-client-v2/api/FaxApi
6345
- * @version 190.0.0
6388
+ * @version 191.0.0
6346
6389
  */ /**
6347
6390
  * Constructs a new FaxApi.
6348
6391
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6353,7 +6396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6353
6396
  * Delete a fax document.
6354
6397
  *
6355
6398
  * @param {String} documentId Document ID
6356
- */_createClass(FaxApi,[{key:"deleteFaxDocument",value:function deleteFaxDocument(documentId){// verify the required parameter 'documentId' is set
6399
+ */return _createClass(FaxApi,[{key:"deleteFaxDocument",value:function deleteFaxDocument(documentId){// verify the required parameter 'documentId' is set
6357
6400
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling deleteFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','DELETE',{'documentId':documentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6358
6401
  * Get a document.
6359
6402
  *
@@ -6380,10 +6423,10 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
6380
6423
  * @param {Object} body Document
6381
6424
  */},{key:"putFaxDocument",value:function putFaxDocument(documentId,body){// verify the required parameter 'documentId' is set
6382
6425
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling putFaxDocument';}// verify the required parameter 'body' is set
6383
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
6426
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
6384
6427
  * Flows service.
6385
6428
  * @module purecloud-platform-client-v2/api/FlowsApi
6386
- * @version 190.0.0
6429
+ * @version 191.0.0
6387
6430
  */ /**
6388
6431
  * Constructs a new FlowsApi.
6389
6432
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6395,7 +6438,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6395
6438
  *
6396
6439
  * @param {String} jobId jobId
6397
6440
  * getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6398
- */_createClass(FlowsApi,[{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
6441
+ */return _createClass(FlowsApi,[{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
6399
6442
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6400
6443
  * Fetch a page of results for an async aggregates query
6401
6444
  *
@@ -6429,10 +6472,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6429
6472
  *
6430
6473
  * @param {Object} body query
6431
6474
  */},{key:"postAnalyticsFlowsObservationsQuery",value:function postAnalyticsFlowsObservationsQuery(body){// verify the required parameter 'body' is set
6432
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
6475
+ 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(){/**
6433
6476
  * Gamification service.
6434
6477
  * @module purecloud-platform-client-v2/api/GamificationApi
6435
- * @version 190.0.0
6478
+ * @version 191.0.0
6436
6479
  */ /**
6437
6480
  * Constructs a new GamificationApi.
6438
6481
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6443,7 +6486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6443
6486
  * Delete an External Metric Definition
6444
6487
  *
6445
6488
  * @param {String} metricId Specifies the External Metric Definition ID
6446
- */_createClass(GamificationApi,[{key:"deleteEmployeeperformanceExternalmetricsDefinition",value:function deleteEmployeeperformanceExternalmetricsDefinition(metricId){// verify the required parameter 'metricId' is set
6489
+ */return _createClass(GamificationApi,[{key:"deleteEmployeeperformanceExternalmetricsDefinition",value:function deleteEmployeeperformanceExternalmetricsDefinition(metricId){// verify the required parameter 'metricId' is set
6447
6490
  if(metricId===undefined||metricId===null){throw'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';}return this.apiClient.callApi('/api/v2/employeeperformance/externalmetrics/definitions/{metricId}','DELETE',{'metricId':metricId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6448
6491
  * Get an External Metric Definition
6449
6492
  *
@@ -6969,10 +7012,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6969
7012
  *
6970
7013
  * @param {Object} status Gamification status
6971
7014
  */},{key:"putGamificationStatus",value:function putGamificationStatus(status){// verify the required parameter 'status' is set
6972
- if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
7015
+ 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(){/**
6973
7016
  * GeneralDataProtectionRegulation service.
6974
7017
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6975
- * @version 190.0.0
7018
+ * @version 191.0.0
6976
7019
  */ /**
6977
7020
  * Constructs a new GeneralDataProtectionRegulationApi.
6978
7021
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -6983,7 +7026,7 @@ if(status===undefined||status===null){throw'Missing the required parameter "stat
6983
7026
  * Get an existing GDPR request
6984
7027
  *
6985
7028
  * @param {String} requestId Request id
6986
- */_createClass(GeneralDataProtectionRegulationApi,[{key:"getGdprRequest",value:function getGdprRequest(requestId){// verify the required parameter 'requestId' is set
7029
+ */return _createClass(GeneralDataProtectionRegulationApi,[{key:"getGdprRequest",value:function getGdprRequest(requestId){// verify the required parameter 'requestId' is set
6987
7030
  if(requestId===undefined||requestId===null){throw'Missing the required parameter "requestId" when calling getGdprRequest';}return this.apiClient.callApi('/api/v2/gdpr/requests/{requestId}','GET',{'requestId':requestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6988
7031
  * Get all GDPR requests
6989
7032
  *
@@ -7004,10 +7047,10 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
7004
7047
  * @param {Object} opts Optional parameters
7005
7048
  * @param {Boolean} opts.deleteConfirmed Confirm delete (default to false)
7006
7049
  */},{key:"postGdprRequests",value:function postGdprRequests(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7007
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
7050
+ 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(){/**
7008
7051
  * Geolocation service.
7009
7052
  * @module purecloud-platform-client-v2/api/GeolocationApi
7010
- * @version 190.0.0
7053
+ * @version 191.0.0
7011
7054
  */ /**
7012
7055
  * Constructs a new GeolocationApi.
7013
7056
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7017,7 +7060,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7017
7060
  */function GeolocationApi(apiClient){_classCallCheck(this,GeolocationApi);this.apiClient=apiClient||ApiClient.instance;}/**
7018
7061
  * Get a organization's GeolocationSettings
7019
7062
  *
7020
- */_createClass(GeolocationApi,[{key:"getGeolocationsSettings",value:function getGeolocationsSettings(){return this.apiClient.callApi('/api/v2/geolocations/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7063
+ */return _createClass(GeolocationApi,[{key:"getGeolocationsSettings",value:function getGeolocationsSettings(){return this.apiClient.callApi('/api/v2/geolocations/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7021
7064
  * Get a user's Geolocation
7022
7065
  *
7023
7066
  * @param {String} userId user Id
@@ -7038,10 +7081,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7038
7081
  */},{key:"patchUserGeolocation",value:function patchUserGeolocation(userId,clientId,body){// verify the required parameter 'userId' is set
7039
7082
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserGeolocation';}// verify the required parameter 'clientId' is set
7040
7083
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling patchUserGeolocation';}// verify the required parameter 'body' is set
7041
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
7084
+ 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(){/**
7042
7085
  * Greetings service.
7043
7086
  * @module purecloud-platform-client-v2/api/GreetingsApi
7044
- * @version 190.0.0
7087
+ * @version 191.0.0
7045
7088
  */ /**
7046
7089
  * Constructs a new GreetingsApi.
7047
7090
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7052,7 +7095,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7052
7095
  * Deletes a Greeting with the given GreetingId
7053
7096
  *
7054
7097
  * @param {String} greetingId Greeting ID
7055
- */_createClass(GreetingsApi,[{key:"deleteGreeting",value:function deleteGreeting(greetingId){// verify the required parameter 'greetingId' is set
7098
+ */return _createClass(GreetingsApi,[{key:"deleteGreeting",value:function deleteGreeting(greetingId){// verify the required parameter 'greetingId' is set
7056
7099
  if(greetingId===undefined||greetingId===null){throw'Missing the required parameter "greetingId" when calling deleteGreeting';}return this.apiClient.callApi('/api/v2/greetings/{greetingId}','DELETE',{'greetingId':greetingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7057
7100
  * Get a Greeting with the given GreetingId
7058
7101
  *
@@ -7145,10 +7188,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7145
7188
  * @param {Object} body The updated defaultGreetingList
7146
7189
  */},{key:"putUserGreetingsDefaults",value:function putUserGreetingsDefaults(userId,body){// verify the required parameter 'userId' is set
7147
7190
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserGreetingsDefaults';}// verify the required parameter 'body' is set
7148
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
7191
+ 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(){/**
7149
7192
  * Groups service.
7150
7193
  * @module purecloud-platform-client-v2/api/GroupsApi
7151
- * @version 190.0.0
7194
+ * @version 191.0.0
7152
7195
  */ /**
7153
7196
  * Constructs a new GroupsApi.
7154
7197
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7159,7 +7202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7159
7202
  * Delete group
7160
7203
  *
7161
7204
  * @param {String} groupId Group ID
7162
- */_createClass(GroupsApi,[{key:"deleteGroup",value:function deleteGroup(groupId){// verify the required parameter 'groupId' is set
7205
+ */return _createClass(GroupsApi,[{key:"deleteGroup",value:function deleteGroup(groupId){// verify the required parameter 'groupId' is set
7163
7206
  if(groupId===undefined||groupId===null){throw'Missing the required parameter "groupId" when calling deleteGroup';}return this.apiClient.callApi('/api/v2/groups/{groupId}','DELETE',{'groupId':groupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7164
7207
  * Remove dynamic group definition
7165
7208
  *
@@ -7278,10 +7321,10 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7278
7321
  * putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7279
7322
  */},{key:"putGroupDynamicsettings",value:function putGroupDynamicsettings(groupId,body){// verify the required parameter 'groupId' is set
7280
7323
  if(groupId===undefined||groupId===null){throw'Missing the required parameter "groupId" when calling putGroupDynamicsettings';}// verify the required parameter 'body' is set
7281
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
7324
+ 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(){/**
7282
7325
  * IdentityProvider service.
7283
7326
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7284
- * @version 190.0.0
7327
+ * @version 191.0.0
7285
7328
  */ /**
7286
7329
  * Constructs a new IdentityProviderApi.
7287
7330
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7292,7 +7335,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7292
7335
  * Delete Identity Provider
7293
7336
  *
7294
7337
  * @param {String} providerId Provider ID
7295
- */_createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
7338
+ */return _createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
7296
7339
  if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','DELETE',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7297
7340
  * Delete ADFS Identity Provider
7298
7341
  *
@@ -7434,10 +7477,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7434
7477
  *
7435
7478
  * @param {Object} body Provider
7436
7479
  */},{key:"putIdentityprovidersSalesforce",value:function putIdentityprovidersSalesforce(body){// verify the required parameter 'body' is set
7437
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
7480
+ 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(){/**
7438
7481
  * InfrastructureAsCode service.
7439
7482
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7440
- * @version 190.0.0
7483
+ * @version 191.0.0
7441
7484
  */ /**
7442
7485
  * Constructs a new InfrastructureAsCodeApi.
7443
7486
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7450,7 +7493,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7450
7493
  * @param {String} acceleratorId Accelerator ID
7451
7494
  * @param {Object} opts Optional parameters
7452
7495
  * @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
7453
- */_createClass(InfrastructureAsCodeApi,[{key:"getInfrastructureascodeAccelerator",value:function getInfrastructureascodeAccelerator(acceleratorId,opts){opts=opts||{};// verify the required parameter 'acceleratorId' is set
7496
+ */return _createClass(InfrastructureAsCodeApi,[{key:"getInfrastructureascodeAccelerator",value:function getInfrastructureascodeAccelerator(acceleratorId,opts){opts=opts||{};// verify the required parameter 'acceleratorId' is set
7454
7497
  if(acceleratorId===undefined||acceleratorId===null){throw'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';}return this.apiClient.callApi('/api/v2/infrastructureascode/accelerators/{acceleratorId}','GET',{'acceleratorId':acceleratorId},{'preferredLanguage':opts['preferredLanguage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7455
7498
  * Get a list of available accelerators
7456
7499
  * Search for accelerators that can be run.
@@ -7488,10 +7531,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7488
7531
  * Create and submit a job for remote execution or see job planning results.
7489
7532
  * @param {Object} body
7490
7533
  */},{key:"postInfrastructureascodeJobs",value:function postInfrastructureascodeJobs(body){// verify the required parameter 'body' is set
7491
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
7534
+ 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(){/**
7492
7535
  * Integrations service.
7493
7536
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7494
- * @version 190.0.0
7537
+ * @version 191.0.0
7495
7538
  */ /**
7496
7539
  * Constructs a new IntegrationsApi.
7497
7540
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -7502,7 +7545,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7502
7545
  * Delete integration.
7503
7546
  *
7504
7547
  * @param {String} integrationId Integration Id
7505
- */_createClass(IntegrationsApi,[{key:"deleteIntegration",value:function deleteIntegration(integrationId){// verify the required parameter 'integrationId' is set
7548
+ */return _createClass(IntegrationsApi,[{key:"deleteIntegration",value:function deleteIntegration(integrationId){// verify the required parameter 'integrationId' is set
7506
7549
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteIntegration';}return this.apiClient.callApi('/api/v2/integrations/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7507
7550
  * Delete an Action
7508
7551
  *
@@ -8098,10 +8141,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8098
8141
  * @param {Array.<Object>} body List of User presences
8099
8142
  */},{key:"putIntegrationsUnifiedcommunicationThirdpartypresences",value:function putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId,body){// verify the required parameter 'ucIntegrationId' is set
8100
8143
  if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}// verify the required parameter 'body' is set
8101
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
8144
+ 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(){/**
8102
8145
  * Journey service.
8103
8146
  * @module purecloud-platform-client-v2/api/JourneyApi
8104
- * @version 190.0.0
8147
+ * @version 191.0.0
8105
8148
  */ /**
8106
8149
  * Constructs a new JourneyApi.
8107
8150
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8112,7 +8155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8112
8155
  * Delete single action map.
8113
8156
  *
8114
8157
  * @param {String} actionMapId ID of the action map.
8115
- */_createClass(JourneyApi,[{key:"deleteJourneyActionmap",value:function deleteJourneyActionmap(actionMapId){// verify the required parameter 'actionMapId' is set
8158
+ */return _createClass(JourneyApi,[{key:"deleteJourneyActionmap",value:function deleteJourneyActionmap(actionMapId){// verify the required parameter 'actionMapId' is set
8116
8159
  if(actionMapId===undefined||actionMapId===null){throw'Missing the required parameter "actionMapId" when calling deleteJourneyActionmap';}return this.apiClient.callApi('/api/v2/journey/actionmaps/{actionMapId}','DELETE',{'actionMapId':actionMapId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8117
8160
  * Delete a single action template.
8118
8161
  *
@@ -8487,10 +8530,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8487
8530
  * @param {Object} opts Optional parameters
8488
8531
  * @param {Array.<Object>} opts.body
8489
8532
  * postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8490
- */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
8533
+ */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
8491
8534
  * Knowledge service.
8492
8535
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8493
- * @version 190.0.0
8536
+ * @version 191.0.0
8494
8537
  */ /**
8495
8538
  * Constructs a new KnowledgeApi.
8496
8539
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -8501,7 +8544,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8501
8544
  * Delete knowledge base
8502
8545
  *
8503
8546
  * @param {String} knowledgeBaseId Knowledge base ID
8504
- */_createClass(KnowledgeApi,[{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
8547
+ */return _createClass(KnowledgeApi,[{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
8505
8548
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebase';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}','DELETE',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8506
8549
  * Delete category
8507
8550
  *
@@ -9399,10 +9442,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9399
9442
  *
9400
9443
  * @param {Object} body
9401
9444
  */},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
9402
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
9445
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
9403
9446
  * LanguageUnderstanding service.
9404
9447
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9405
- * @version 190.0.0
9448
+ * @version 191.0.0
9406
9449
  */ /**
9407
9450
  * Constructs a new LanguageUnderstandingApi.
9408
9451
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9413,7 +9456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9413
9456
  * Delete an NLU Domain.
9414
9457
  *
9415
9458
  * @param {String} domainId ID of the NLU domain.
9416
- */_createClass(LanguageUnderstandingApi,[{key:"deleteLanguageunderstandingDomain",value:function deleteLanguageunderstandingDomain(domainId){// verify the required parameter 'domainId' is set
9459
+ */return _createClass(LanguageUnderstandingApi,[{key:"deleteLanguageunderstandingDomain",value:function deleteLanguageunderstandingDomain(domainId){// verify the required parameter 'domainId' is set
9417
9460
  if(domainId===undefined||domainId===null){throw'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomain';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}','DELETE',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9418
9461
  * Delete the feedback on the NLU Domain Version.
9419
9462
  *
@@ -9655,10 +9698,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9655
9698
  */},{key:"putLanguageunderstandingDomainVersion",value:function putLanguageunderstandingDomainVersion(domainId,domainVersionId,body){// verify the required parameter 'domainId' is set
9656
9699
  if(domainId===undefined||domainId===null){throw'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';}// verify the required parameter 'domainVersionId' is set
9657
9700
  if(domainVersionId===undefined||domainVersionId===null){throw'Missing the required parameter "domainVersionId" when calling putLanguageunderstandingDomainVersion';}// verify the required parameter 'body' is set
9658
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
9701
+ 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(){/**
9659
9702
  * Languages service.
9660
9703
  * @module purecloud-platform-client-v2/api/LanguagesApi
9661
- * @version 190.0.0
9704
+ * @version 191.0.0
9662
9705
  */ /**
9663
9706
  * Constructs a new LanguagesApi.
9664
9707
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9670,7 +9713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9670
9713
  * This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
9671
9714
  * @param {String} languageId Language ID
9672
9715
  * @deprecated
9673
- */_createClass(LanguagesApi,[{key:"deleteLanguage",value:function deleteLanguage(languageId){// verify the required parameter 'languageId' is set
9716
+ */return _createClass(LanguagesApi,[{key:"deleteLanguage",value:function deleteLanguage(languageId){// verify the required parameter 'languageId' is set
9674
9717
  if(languageId===undefined||languageId===null){throw'Missing the required parameter "languageId" when calling deleteLanguage';}return this.apiClient.callApi('/api/v2/languages/{languageId}','DELETE',{'languageId':languageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9675
9718
  * Get Language (Deprecated)
9676
9719
  * This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
@@ -9710,10 +9753,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9710
9753
  * @param {Object} body Language
9711
9754
  * @deprecated
9712
9755
  */},{key:"postLanguages",value:function postLanguages(body){// verify the required parameter 'body' is set
9713
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
9756
+ 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(){/**
9714
9757
  * Learning service.
9715
9758
  * @module purecloud-platform-client-v2/api/LearningApi
9716
- * @version 190.0.0
9759
+ * @version 191.0.0
9717
9760
  */ /**
9718
9761
  * Constructs a new LearningApi.
9719
9762
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9724,7 +9767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9724
9767
  * Delete a learning assignment
9725
9768
  *
9726
9769
  * @param {String} assignmentId The Learning Assignment ID
9727
- */_createClass(LearningApi,[{key:"deleteLearningAssignment",value:function deleteLearningAssignment(assignmentId){// verify the required parameter 'assignmentId' is set
9770
+ */return _createClass(LearningApi,[{key:"deleteLearningAssignment",value:function deleteLearningAssignment(assignmentId){// verify the required parameter 'assignmentId' is set
9728
9771
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling deleteLearningAssignment';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}','DELETE',{'assignmentId':assignmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9729
9772
  * Delete a learning module
9730
9773
  * This will delete a learning module if it is unpublished or it will delete a published and archived learning module
@@ -9854,7 +9897,6 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
9854
9897
  * @param {String} moduleId Key identifier for the module
9855
9898
  * @param {String} userId Key identifier for the user
9856
9899
  * @param {Object} body The learning request for updating the assignment
9857
- * patchLearningModuleUserAssignments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9858
9900
  */},{key:"patchLearningModuleUserAssignments",value:function patchLearningModuleUserAssignments(moduleId,userId,body){// verify the required parameter 'moduleId' is set
9859
9901
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'userId' is set
9860
9902
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'body' is set
@@ -9940,10 +9982,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9940
9982
  * @param {Object} body The learning module rule to be updated
9941
9983
  */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body){// verify the required parameter 'moduleId' is set
9942
9984
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';}// verify the required parameter 'body' is set
9943
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
9985
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
9944
9986
  * License service.
9945
9987
  * @module purecloud-platform-client-v2/api/LicenseApi
9946
- * @version 190.0.0
9988
+ * @version 191.0.0
9947
9989
  */ /**
9948
9990
  * Constructs a new LicenseApi.
9949
9991
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -9954,7 +9996,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9954
9996
  * Get PureCloud license definition.
9955
9997
  *
9956
9998
  * @param {String} licenseId ID
9957
- */_createClass(LicenseApi,[{key:"getLicenseDefinition",value:function getLicenseDefinition(licenseId){// verify the required parameter 'licenseId' is set
9999
+ */return _createClass(LicenseApi,[{key:"getLicenseDefinition",value:function getLicenseDefinition(licenseId){// verify the required parameter 'licenseId' is set
9958
10000
  if(licenseId===undefined||licenseId===null){throw'Missing the required parameter "licenseId" when calling getLicenseDefinition';}return this.apiClient.callApi('/api/v2/license/definitions/{licenseId}','GET',{'licenseId':licenseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9959
10001
  * Get all PureCloud license definitions available for the organization.
9960
10002
  *
@@ -9994,10 +10036,10 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9994
10036
  *
9995
10037
  * @param {Object} opts Optional parameters
9996
10038
  * @param {Array.<String>} opts.body The user IDs to fetch.
9997
- */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
10039
+ */},{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(){/**
9998
10040
  * Locations service.
9999
10041
  * @module purecloud-platform-client-v2/api/LocationsApi
10000
- * @version 190.0.0
10042
+ * @version 191.0.0
10001
10043
  */ /**
10002
10044
  * Constructs a new LocationsApi.
10003
10045
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -10008,7 +10050,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
10008
10050
  * Delete a location
10009
10051
  *
10010
10052
  * @param {String} locationId Location ID
10011
- */_createClass(LocationsApi,[{key:"deleteLocation",value:function deleteLocation(locationId){// verify the required parameter 'locationId' is set
10053
+ */return _createClass(LocationsApi,[{key:"deleteLocation",value:function deleteLocation(locationId){// verify the required parameter 'locationId' is set
10012
10054
  if(locationId===undefined||locationId===null){throw'Missing the required parameter "locationId" when calling deleteLocation';}return this.apiClient.callApi('/api/v2/locations/{locationId}','DELETE',{'locationId':locationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10013
10055
  * Get Location by ID.
10014
10056
  *
@@ -10053,10 +10095,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10053
10095
  *
10054
10096
  * @param {Object} body Search request options
10055
10097
  */},{key:"postLocationsSearch",value:function postLocationsSearch(body){// verify the required parameter 'body' is set
10056
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
10098
+ 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(){/**
10057
10099
  * LogCapture service.
10058
10100
  * @module purecloud-platform-client-v2/api/LogCaptureApi
10059
- * @version 190.0.0
10101
+ * @version 191.0.0
10060
10102
  */ /**
10061
10103
  * Constructs a new LogCaptureApi.
10062
10104
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -10067,7 +10109,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10067
10109
  * Disable browser log capture for the user
10068
10110
  *
10069
10111
  * @param {String} userId The id of the user to disable browser log capture
10070
- */_createClass(LogCaptureApi,[{key:"deleteDiagnosticsLogcaptureBrowserUser",value:function deleteDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
10112
+ */return _createClass(LogCaptureApi,[{key:"deleteDiagnosticsLogcaptureBrowserUser",value:function deleteDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
10071
10113
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10072
10114
  * Gets status of async download execution
10073
10115
  *
@@ -10103,10 +10145,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10103
10145
  * @param {Object} opts Optional parameters
10104
10146
  * @param {Object} opts.body
10105
10147
  */},{key:"postDiagnosticsLogcaptureBrowserUser",value:function postDiagnosticsLogcaptureBrowserUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
10106
- if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
10148
+ if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
10107
10149
  * Messaging service.
10108
10150
  * @module purecloud-platform-client-v2/api/MessagingApi
10109
- * @version 190.0.0
10151
+ * @version 191.0.0
10110
10152
  */ /**
10111
10153
  * Constructs a new MessagingApi.
10112
10154
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10118,7 +10160,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10118
10160
  *
10119
10161
  * @param {String} messageSettingId Message Settings ID
10120
10162
  * @deprecated
10121
- */_createClass(MessagingApi,[{key:"deleteMessagingSetting",value:function deleteMessagingSetting(messageSettingId){// verify the required parameter 'messageSettingId' is set
10163
+ */return _createClass(MessagingApi,[{key:"deleteMessagingSetting",value:function deleteMessagingSetting(messageSettingId){// verify the required parameter 'messageSettingId' is set
10122
10164
  if(messageSettingId===undefined||messageSettingId===null){throw'Missing the required parameter "messageSettingId" when calling deleteMessagingSetting';}return this.apiClient.callApi('/api/v2/messaging/settings/{messageSettingId}','DELETE',{'messageSettingId':messageSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10123
10165
  * Delete the organization's default setting, a global default will be applied to integrations without settings
10124
10166
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
@@ -10193,10 +10235,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10193
10235
  * @param {Object} body Messaging Setting ID
10194
10236
  * @deprecated
10195
10237
  */},{key:"putMessagingSettingsDefault",value:function putMessagingSettingsDefault(body){// verify the required parameter 'body' is set
10196
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
10238
+ 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(){/**
10197
10239
  * MobileDevices service.
10198
10240
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10199
- * @version 190.0.0
10241
+ * @version 191.0.0
10200
10242
  */ /**
10201
10243
  * Constructs a new MobileDevicesApi.
10202
10244
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10207,7 +10249,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10207
10249
  * Delete device
10208
10250
  *
10209
10251
  * @param {String} deviceId Device ID
10210
- */_createClass(MobileDevicesApi,[{key:"deleteMobiledevice",value:function deleteMobiledevice(deviceId){// verify the required parameter 'deviceId' is set
10252
+ */return _createClass(MobileDevicesApi,[{key:"deleteMobiledevice",value:function deleteMobiledevice(deviceId){// verify the required parameter 'deviceId' is set
10211
10253
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling deleteMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','DELETE',{'deviceId':deviceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10212
10254
  * Get device
10213
10255
  *
@@ -10232,10 +10274,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10232
10274
  * @param {Object} opts Optional parameters
10233
10275
  * @param {Object} opts.body Device
10234
10276
  */},{key:"putMobiledevice",value:function putMobiledevice(deviceId,opts){opts=opts||{};// verify the required parameter 'deviceId' is set
10235
- if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
10277
+ if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
10236
10278
  * Notifications service.
10237
10279
  * @module purecloud-platform-client-v2/api/NotificationsApi
10238
- * @version 190.0.0
10280
+ * @version 191.0.0
10239
10281
  */ /**
10240
10282
  * Constructs a new NotificationsApi.
10241
10283
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10246,7 +10288,7 @@ if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "
10246
10288
  * Remove all subscriptions
10247
10289
  *
10248
10290
  * @param {String} channelId Channel ID
10249
- */_createClass(NotificationsApi,[{key:"deleteNotificationsChannelSubscriptions",value:function deleteNotificationsChannelSubscriptions(channelId){// verify the required parameter 'channelId' is set
10291
+ */return _createClass(NotificationsApi,[{key:"deleteNotificationsChannelSubscriptions",value:function deleteNotificationsChannelSubscriptions(channelId){// verify the required parameter 'channelId' is set
10250
10292
  if(channelId===undefined||channelId===null){throw'Missing the required parameter "channelId" when calling deleteNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','DELETE',{'channelId':channelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10251
10293
  * Get available notification topics.
10252
10294
  *
@@ -10289,10 +10331,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10289
10331
  * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
10290
10332
  */},{key:"putNotificationsChannelSubscriptions",value:function putNotificationsChannelSubscriptions(channelId,body,opts){opts=opts||{};// verify the required parameter 'channelId' is set
10291
10333
  if(channelId===undefined||channelId===null){throw'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';}// verify the required parameter 'body' is set
10292
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
10334
+ 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(){/**
10293
10335
  * OAuth service.
10294
10336
  * @module purecloud-platform-client-v2/api/OAuthApi
10295
- * @version 190.0.0
10337
+ * @version 191.0.0
10296
10338
  */ /**
10297
10339
  * Constructs a new OAuthApi.
10298
10340
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -10303,7 +10345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10303
10345
  * Delete OAuth Client
10304
10346
  *
10305
10347
  * @param {String} clientId Client ID
10306
- */_createClass(OAuthApi,[{key:"deleteOauthClient",value:function deleteOauthClient(clientId){// verify the required parameter 'clientId' is set
10348
+ */return _createClass(OAuthApi,[{key:"deleteOauthClient",value:function deleteOauthClient(clientId){// verify the required parameter 'clientId' is set
10307
10349
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling deleteOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','DELETE',{'clientId':clientId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10308
10350
  * Get a client that is authorized by the resource owner
10309
10351
  *
@@ -10374,10 +10416,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10374
10416
  * @param {Object} body Client
10375
10417
  */},{key:"putOauthClient",value:function putOauthClient(clientId,body){// verify the required parameter 'clientId' is set
10376
10418
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling putOauthClient';}// verify the required parameter 'body' is set
10377
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
10419
+ 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(){/**
10378
10420
  * Objects service.
10379
10421
  * @module purecloud-platform-client-v2/api/ObjectsApi
10380
- * @version 190.0.0
10422
+ * @version 191.0.0
10381
10423
  */ /**
10382
10424
  * Constructs a new ObjectsApi.
10383
10425
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10390,7 +10432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10390
10432
  * @param {String} divisionId Division ID
10391
10433
  * @param {Object} opts Optional parameters
10392
10434
  * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
10393
- */_createClass(ObjectsApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
10435
+ */return _createClass(ObjectsApi,[{key:"deleteAuthorizationDivision",value:function deleteAuthorizationDivision(divisionId,opts){opts=opts||{};// verify the required parameter 'divisionId' is set
10394
10436
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','DELETE',{'divisionId':divisionId},{'force':opts['force']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10395
10437
  * Returns an authorization division.
10396
10438
  *
@@ -10445,10 +10487,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10445
10487
  * @param {Object} body Updated division data
10446
10488
  */},{key:"putAuthorizationDivision",value:function putAuthorizationDivision(divisionId,body){// verify the required parameter 'divisionId' is set
10447
10489
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';}// verify the required parameter 'body' is set
10448
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
10490
+ 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(){/**
10449
10491
  * OperationalEvents service.
10450
10492
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10451
- * @version 190.0.0
10493
+ * @version 191.0.0
10452
10494
  */ /**
10453
10495
  * Constructs a new OperationalEventsApi.
10454
10496
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10459,14 +10501,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10459
10501
  * Get an operational event definition by its id
10460
10502
  *
10461
10503
  * @param {String} eventDefinitionId EventDefinition id
10462
- */_createClass(OperationalEventsApi,[{key:"getUsageEventsDefinition",value:function getUsageEventsDefinition(eventDefinitionId){// verify the required parameter 'eventDefinitionId' is set
10504
+ */return _createClass(OperationalEventsApi,[{key:"getUsageEventsDefinition",value:function getUsageEventsDefinition(eventDefinitionId){// verify the required parameter 'eventDefinitionId' is set
10463
10505
  if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';}return this.apiClient.callApi('/api/v2/usage/events/definitions/{eventDefinitionId}','GET',{'eventDefinitionId':eventDefinitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10464
10506
  * Get all operational event definitions
10465
10507
  *
10466
- */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
10508
+ */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
10467
10509
  * Organization service.
10468
10510
  * @module purecloud-platform-client-v2/api/OrganizationApi
10469
- * @version 190.0.0
10511
+ * @version 191.0.0
10470
10512
  */ /**
10471
10513
  * Constructs a new OrganizationApi.
10472
10514
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10478,7 +10520,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10478
10520
  *
10479
10521
  * @param {Object} type Field type
10480
10522
  * @deprecated
10481
- */_createClass(OrganizationApi,[{key:"getFieldconfig",value:function getFieldconfig(type){// verify the required parameter 'type' is set
10523
+ */return _createClass(OrganizationApi,[{key:"getFieldconfig",value:function getFieldconfig(type){// verify the required parameter 'type' is set
10482
10524
  if(type===undefined||type===null){throw'Missing the required parameter "type" when calling getFieldconfig';}return this.apiClient.callApi('/api/v2/fieldconfig','GET',{},{'type':type},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10483
10525
  * Gets the organization's settings
10484
10526
  *
@@ -10565,10 +10607,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10565
10607
  * @param {Object} body Whitelist settings
10566
10608
  * @deprecated
10567
10609
  */},{key:"putOrganizationsWhitelist",value:function putOrganizationsWhitelist(body){// verify the required parameter 'body' is set
10568
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
10610
+ 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(){/**
10569
10611
  * OrganizationAuthorization service.
10570
10612
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10571
- * @version 190.0.0
10613
+ * @version 191.0.0
10572
10614
  */ /**
10573
10615
  * Constructs a new OrganizationAuthorizationApi.
10574
10616
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10579,7 +10621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10579
10621
  * Delete Org Trust
10580
10622
  *
10581
10623
  * @param {String} trusteeOrgId Trustee Organization Id
10582
- */_createClass(OrganizationAuthorizationApi,[{key:"deleteOrgauthorizationTrustee",value:function deleteOrgauthorizationTrustee(trusteeOrgId){// verify the required parameter 'trusteeOrgId' is set
10624
+ */return _createClass(OrganizationAuthorizationApi,[{key:"deleteOrgauthorizationTrustee",value:function deleteOrgauthorizationTrustee(trusteeOrgId){// verify the required parameter 'trusteeOrgId' is set
10583
10625
  if(trusteeOrgId===undefined||trusteeOrgId===null){throw'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrustee';}return this.apiClient.callApi('/api/v2/orgauthorization/trustees/{trusteeOrgId}','DELETE',{'trusteeOrgId':trusteeOrgId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10584
10626
  * Deletes cloned user
10585
10627
  *
@@ -10888,10 +10930,10 @@ if(trustorGroupId===undefined||trustorGroupId===null){throw'Missing the required
10888
10930
  * @param {String} trusteeUserId Trustee User Id
10889
10931
  */},{key:"putOrgauthorizationTrustorUser",value:function putOrgauthorizationTrustorUser(trustorOrgId,trusteeUserId){// verify the required parameter 'trustorOrgId' is set
10890
10932
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';}// verify the required parameter 'trusteeUserId' is set
10891
- if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
10933
+ if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
10892
10934
  * Outbound service.
10893
10935
  * @module purecloud-platform-client-v2/api/OutboundApi
10894
- * @version 190.0.0
10936
+ * @version 191.0.0
10895
10937
  */ /**
10896
10938
  * Constructs a new OutboundApi.
10897
10939
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -10902,7 +10944,7 @@ if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required p
10902
10944
  * Delete attempt limits
10903
10945
  *
10904
10946
  * @param {String} attemptLimitsId Attempt limits ID
10905
- */_createClass(OutboundApi,[{key:"deleteOutboundAttemptlimit",value:function deleteOutboundAttemptlimit(attemptLimitsId){// verify the required parameter 'attemptLimitsId' is set
10947
+ */return _createClass(OutboundApi,[{key:"deleteOutboundAttemptlimit",value:function deleteOutboundAttemptlimit(attemptLimitsId){// verify the required parameter 'attemptLimitsId' is set
10906
10948
  if(attemptLimitsId===undefined||attemptLimitsId===null){throw'Missing the required parameter "attemptLimitsId" when calling deleteOutboundAttemptlimit';}return this.apiClient.callApi('/api/v2/outbound/attemptlimits/{attemptLimitsId}','DELETE',{'attemptLimitsId':attemptLimitsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10907
10949
  * Delete callable time set
10908
10950
  *
@@ -11926,10 +11968,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11926
11968
  *
11927
11969
  * @param {Object} body wrapUpCodeMapping
11928
11970
  */},{key:"putOutboundWrapupcodemappings",value:function putOutboundWrapupcodemappings(body){// verify the required parameter 'body' is set
11929
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
11971
+ 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(){/**
11930
11972
  * Presence service.
11931
11973
  * @module purecloud-platform-client-v2/api/PresenceApi
11932
- * @version 190.0.0
11974
+ * @version 191.0.0
11933
11975
  */ /**
11934
11976
  * Constructs a new PresenceApi.
11935
11977
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -11940,7 +11982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11940
11982
  * Delete a Presence Definition
11941
11983
  *
11942
11984
  * @param {String} definitionId Presence Definition ID
11943
- */_createClass(PresenceApi,[{key:"deletePresenceDefinition0",value:function deletePresenceDefinition0(definitionId){// verify the required parameter 'definitionId' is set
11985
+ */return _createClass(PresenceApi,[{key:"deletePresenceDefinition0",value:function deletePresenceDefinition0(definitionId){// verify the required parameter 'definitionId' is set
11944
11986
  if(definitionId===undefined||definitionId===null){throw'Missing the required parameter "definitionId" when calling deletePresenceDefinition0';}return this.apiClient.callApi('/api/v2/presence/definitions/{definitionId}','DELETE',{'definitionId':definitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11945
11987
  * Delete a Presence Source
11946
11988
  *
@@ -12099,10 +12141,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12099
12141
  *
12100
12142
  * @param {Array.<Object>} body List of User presences
12101
12143
  */},{key:"putUsersPresencesBulk",value:function putUsersPresencesBulk(body){// verify the required parameter 'body' is set
12102
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
12144
+ 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(){/**
12103
12145
  * ProcessAutomation service.
12104
12146
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
12105
- * @version 190.0.0
12147
+ * @version 191.0.0
12106
12148
  */ /**
12107
12149
  * Constructs a new ProcessAutomationApi.
12108
12150
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -12113,7 +12155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12113
12155
  * Delete a Trigger
12114
12156
  *
12115
12157
  * @param {String} triggerId triggerId
12116
- */_createClass(ProcessAutomationApi,[{key:"deleteProcessautomationTrigger",value:function deleteProcessautomationTrigger(triggerId){// verify the required parameter 'triggerId' is set
12158
+ */return _createClass(ProcessAutomationApi,[{key:"deleteProcessautomationTrigger",value:function deleteProcessautomationTrigger(triggerId){// verify the required parameter 'triggerId' is set
12117
12159
  if(triggerId===undefined||triggerId===null){throw'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','DELETE',{'triggerId':triggerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12118
12160
  * Retrieve a single Trigger matching id
12119
12161
  *
@@ -12162,10 +12204,10 @@ if(topicName===undefined||topicName===null){throw'Missing the required parameter
12162
12204
  * @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
12163
12205
  */},{key:"putProcessautomationTrigger",value:function putProcessautomationTrigger(triggerId,body){// verify the required parameter 'triggerId' is set
12164
12206
  if(triggerId===undefined||triggerId===null){throw'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';}// verify the required parameter 'body' is set
12165
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
12207
+ 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(){/**
12166
12208
  * Quality service.
12167
12209
  * @module purecloud-platform-client-v2/api/QualityApi
12168
- * @version 190.0.0
12210
+ * @version 191.0.0
12169
12211
  */ /**
12170
12212
  * Constructs a new QualityApi.
12171
12213
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12177,7 +12219,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12177
12219
  *
12178
12220
  * @param {String} calibrationId Calibration ID
12179
12221
  * @param {String} calibratorId calibratorId
12180
- */_createClass(QualityApi,[{key:"deleteQualityCalibration",value:function deleteQualityCalibration(calibrationId,calibratorId){// verify the required parameter 'calibrationId' is set
12222
+ */return _createClass(QualityApi,[{key:"deleteQualityCalibration",value:function deleteQualityCalibration(calibrationId,calibratorId){// verify the required parameter 'calibrationId' is set
12181
12223
  if(calibrationId===undefined||calibrationId===null){throw'Missing the required parameter "calibrationId" when calling deleteQualityCalibration';}// verify the required parameter 'calibratorId' is set
12182
12224
  if(calibratorId===undefined||calibratorId===null){throw'Missing the required parameter "calibratorId" when calling deleteQualityCalibration';}return this.apiClient.callApi('/api/v2/quality/calibrations/{calibrationId}','DELETE',{'calibrationId':calibrationId},{'calibratorId':calibratorId},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12183
12225
  * Delete an evaluation
@@ -12633,10 +12675,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12633
12675
  * @param {Object} body survey
12634
12676
  */},{key:"putQualitySurveysScorable",value:function putQualitySurveysScorable(customerSurveyUrl,body){// verify the required parameter 'customerSurveyUrl' is set
12635
12677
  if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';}// verify the required parameter 'body' is set
12636
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
12678
+ 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(){/**
12637
12679
  * Recording service.
12638
12680
  * @module purecloud-platform-client-v2/api/RecordingApi
12639
- * @version 190.0.0
12681
+ * @version 191.0.0
12640
12682
  */ /**
12641
12683
  * Constructs a new RecordingApi.
12642
12684
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -12649,7 +12691,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12649
12691
  * @param {String} conversationId Conversation ID
12650
12692
  * @param {String} recordingId Recording ID
12651
12693
  * @param {String} annotationId Annotation ID
12652
- */_createClass(RecordingApi,[{key:"deleteConversationRecordingAnnotation",value:function deleteConversationRecordingAnnotation(conversationId,recordingId,annotationId){// verify the required parameter 'conversationId' is set
12694
+ */return _createClass(RecordingApi,[{key:"deleteConversationRecordingAnnotation",value:function deleteConversationRecordingAnnotation(conversationId,recordingId,annotationId){// verify the required parameter 'conversationId' is set
12653
12695
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling deleteConversationRecordingAnnotation';}// verify the required parameter 'recordingId' is set
12654
12696
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling deleteConversationRecordingAnnotation';}// verify the required parameter 'annotationId' is set
12655
12697
  if(annotationId===undefined||annotationId===null){throw'Missing the required parameter "annotationId" when calling deleteConversationRecordingAnnotation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}','DELETE',{'conversationId':conversationId,'recordingId':recordingId,'annotationId':annotationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12875,10 +12917,11 @@ if(reportId===undefined||reportId===null){throw'Missing the required parameter "
12875
12917
  */},{key:"getRecordingsRetentionQuery",value:function getRecordingsRetentionQuery(retentionThresholdDays,opts){opts=opts||{};// verify the required parameter 'retentionThresholdDays' is set
12876
12918
  if(retentionThresholdDays===undefined||retentionThresholdDays===null){throw'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';}return this.apiClient.callApi('/api/v2/recordings/retention/query','GET',{},{'retentionThresholdDays':retentionThresholdDays,'cursor':opts['cursor'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12877
12919
  * Retrieves a paged listing of screen recording sessions
12878
- *
12920
+ * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
12879
12921
  * @param {Object} opts Optional parameters
12880
12922
  * @param {Number} opts.pageSize Page size (default to 25)
12881
12923
  * @param {Number} opts.pageNumber Page number (default to 1)
12924
+ * @deprecated
12882
12925
  */},{key:"getRecordingsScreensessions",value:function getRecordingsScreensessions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/screensessions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12883
12926
  * Retrieves an object containing the total number of concurrent active screen recordings
12884
12927
  *
@@ -13044,10 +13087,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13044
13087
  * @param {Object} opts Optional parameters
13045
13088
  * @param {Boolean} opts.protect Check for apply, uncheck for revoke (each action requires the respective permission) (default to true)
13046
13089
  * @param {Object} opts.body
13047
- */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
13090
+ */},{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(){/**
13048
13091
  * ResponseManagement service.
13049
13092
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
13050
- * @version 190.0.0
13093
+ * @version 191.0.0
13051
13094
  */ /**
13052
13095
  * Constructs a new ResponseManagementApi.
13053
13096
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -13058,7 +13101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13058
13101
  * Delete an existing response library.
13059
13102
  * This will remove any responses associated with the library.
13060
13103
  * @param {String} libraryId Library ID
13061
- */_createClass(ResponseManagementApi,[{key:"deleteResponsemanagementLibrary",value:function deleteResponsemanagementLibrary(libraryId){// verify the required parameter 'libraryId' is set
13104
+ */return _createClass(ResponseManagementApi,[{key:"deleteResponsemanagementLibrary",value:function deleteResponsemanagementLibrary(libraryId){// verify the required parameter 'libraryId' is set
13062
13105
  if(libraryId===undefined||libraryId===null){throw'Missing the required parameter "libraryId" when calling deleteResponsemanagementLibrary';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/{libraryId}','DELETE',{'libraryId':libraryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13063
13106
  * Delete an existing response.
13064
13107
  * This will remove the response from any libraries associated with it.
@@ -13114,6 +13157,11 @@ if(libraryId===undefined||libraryId===null){throw'Missing the required parameter
13114
13157
  * @param {Object} body Library
13115
13158
  */},{key:"postResponsemanagementLibraries",value:function postResponsemanagementLibraries(body){// verify the required parameter 'body' is set
13116
13159
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibraries';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13160
+ * Get response libraries.
13161
+ *
13162
+ * @param {Object} body LibraryIDs (max allowed 50)
13163
+ */},{key:"postResponsemanagementLibrariesBulk",value:function postResponsemanagementLibrariesBulk(body){// verify the required parameter 'body' is set
13164
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13117
13165
  * Search response assets
13118
13166
  *
13119
13167
  * @param {Object} body request
@@ -13160,10 +13208,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13160
13208
  * @param {Object} body request
13161
13209
  */},{key:"putResponsemanagementResponseasset",value:function putResponsemanagementResponseasset(responseAssetId,body){// verify the required parameter 'responseAssetId' is set
13162
13210
  if(responseAssetId===undefined||responseAssetId===null){throw'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';}// verify the required parameter 'body' is set
13163
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
13211
+ 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(){/**
13164
13212
  * Routing service.
13165
13213
  * @module purecloud-platform-client-v2/api/RoutingApi
13166
- * @version 190.0.0
13214
+ * @version 191.0.0
13167
13215
  */ /**
13168
13216
  * Constructs a new RoutingApi.
13169
13217
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13174,7 +13222,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13174
13222
  * Delete single benefit assessment.
13175
13223
  *
13176
13224
  * @param {String} assessmentId Benefit Assessment ID
13177
- */_createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
13225
+ */return _createClass(RoutingApi,[{key:"deleteRoutingAssessment",value:function deleteRoutingAssessment(assessmentId){// verify the required parameter 'assessmentId' is set
13178
13226
  if(assessmentId===undefined||assessmentId===null){throw'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';}return this.apiClient.callApi('/api/v2/routing/assessments/{assessmentId}','DELETE',{'assessmentId':assessmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13179
13227
  * Delete a domain
13180
13228
  *
@@ -14006,6 +14054,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14006
14054
  * @param {Object} body SmsPhoneNumber
14007
14055
  */},{key:"postRoutingSmsPhonenumbers",value:function postRoutingSmsPhonenumbers(body){// verify the required parameter 'body' is set
14008
14056
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14057
+ * Provision an alphanumeric number for SMS
14058
+ *
14059
+ * @param {Object} body SmsPhoneNumber
14060
+ * postRoutingSmsPhonenumbersAlphanumeric is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14061
+ */},{key:"postRoutingSmsPhonenumbersAlphanumeric",value:function postRoutingSmsPhonenumbersAlphanumeric(body){// verify the required parameter 'body' is set
14062
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersAlphanumeric';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/alphanumeric','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14009
14063
  * Imports a phone number for SMS
14010
14064
  *
14011
14065
  * @param {Object} body SmsPhoneNumber
@@ -14129,10 +14183,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14129
14183
  * @param {Array.<Object>} body Skill
14130
14184
  */},{key:"putUserRoutingskillsBulk",value:function putUserRoutingskillsBulk(userId,body){// verify the required parameter 'userId' is set
14131
14185
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';}// verify the required parameter 'body' is set
14132
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
14186
+ 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(){/**
14133
14187
  * SCIM service.
14134
14188
  * @module purecloud-platform-client-v2/api/SCIMApi
14135
- * @version 190.0.0
14189
+ * @version 191.0.0
14136
14190
  */ /**
14137
14191
  * Constructs a new SCIMApi.
14138
14192
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -14145,7 +14199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14145
14199
  * @param {String} userId The ID of a user. Returned with GET /api/v2/scim/users.
14146
14200
  * @param {Object} opts Optional parameters
14147
14201
  * @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
14148
- */_createClass(SCIMApi,[{key:"deleteScimUser",value:function deleteScimUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
14202
+ */return _createClass(SCIMApi,[{key:"deleteScimUser",value:function deleteScimUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
14149
14203
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteScimUser';}return this.apiClient.callApi('/api/v2/scim/users/{userId}','DELETE',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},null,['PureCloud OAuth'],['application/json'],['application/scim+json','application/json']);}/**
14150
14204
  * Delete a user
14151
14205
  *
@@ -14354,10 +14408,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14354
14408
  * @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
14355
14409
  */},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
14356
14410
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
14357
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
14411
+ 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(){/**
14358
14412
  * ScreenRecording service.
14359
14413
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14360
- * @version 190.0.0
14414
+ * @version 191.0.0
14361
14415
  */ /**
14362
14416
  * Constructs a new ScreenRecordingApi.
14363
14417
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -14369,10 +14423,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14369
14423
  *
14370
14424
  * @param {Object} opts Optional parameters
14371
14425
  * @param {Object} opts.body
14372
- */_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
14426
+ */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(){/**
14373
14427
  * Scripts service.
14374
14428
  * @module purecloud-platform-client-v2/api/ScriptsApi
14375
- * @version 190.0.0
14429
+ * @version 191.0.0
14376
14430
  */ /**
14377
14431
  * Constructs a new ScriptsApi.
14378
14432
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14383,7 +14437,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14383
14437
  * Get a script
14384
14438
  *
14385
14439
  * @param {String} scriptId Script ID
14386
- */_createClass(ScriptsApi,[{key:"getScript",value:function getScript(scriptId){// verify the required parameter 'scriptId' is set
14440
+ */return _createClass(ScriptsApi,[{key:"getScript",value:function getScript(scriptId){// verify the required parameter 'scriptId' is set
14387
14441
  if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "scriptId" when calling getScript';}return this.apiClient.callApi('/api/v2/scripts/{scriptId}','GET',{'scriptId':scriptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14388
14442
  * Get a page
14389
14443
  *
@@ -14505,10 +14559,10 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14505
14559
  * @param {Object} opts Optional parameters
14506
14560
  * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
14507
14561
  * @param {Object} opts.body body
14508
- */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
14562
+ */},{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(){/**
14509
14563
  * Search service.
14510
14564
  * @module purecloud-platform-client-v2/api/SearchApi
14511
- * @version 190.0.0
14565
+ * @version 191.0.0
14512
14566
  */ /**
14513
14567
  * Constructs a new SearchApi.
14514
14568
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14519,7 +14573,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14519
14573
  * Search gkn documentation using the q64 value returned from a previous search
14520
14574
  *
14521
14575
  * @param {String} q64 q64
14522
- */_createClass(SearchApi,[{key:"getDocumentationGknSearch",value:function getDocumentationGknSearch(q64){// verify the required parameter 'q64' is set
14576
+ */return _createClass(SearchApi,[{key:"getDocumentationGknSearch",value:function getDocumentationGknSearch(q64){// verify the required parameter 'q64' is set
14523
14577
  if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getDocumentationGknSearch';}return this.apiClient.callApi('/api/v2/documentation/gkn/search','GET',{},{'q64':q64},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14524
14578
  * Search documentation using the q64 value returned from a previous search
14525
14579
  *
@@ -14665,10 +14719,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14665
14719
  *
14666
14720
  * @param {Object} body Search request options
14667
14721
  */},{key:"postVoicemailSearch",value:function postVoicemailSearch(body){// verify the required parameter 'body' is set
14668
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
14722
+ 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(){/**
14669
14723
  * Settings service.
14670
14724
  * @module purecloud-platform-client-v2/api/SettingsApi
14671
- * @version 190.0.0
14725
+ * @version 191.0.0
14672
14726
  */ /**
14673
14727
  * Constructs a new SettingsApi.
14674
14728
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14678,7 +14732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14678
14732
  */function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
14679
14733
  * Get email Contact Center settings
14680
14734
  *
14681
- */_createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14735
+ */return _createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14682
14736
  * Get the execution history enabled setting.
14683
14737
  * Get the execution history enabled setting.
14684
14738
  * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
@@ -14693,10 +14747,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14693
14747
  * @param {Object} body New Execution Data Setting
14694
14748
  * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14695
14749
  */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
14696
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14750
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
14697
14751
  * SpeechTextAnalytics service.
14698
14752
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14699
- * @version 190.0.0
14753
+ * @version 191.0.0
14700
14754
  */ /**
14701
14755
  * Constructs a new SpeechTextAnalyticsApi.
14702
14756
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -14707,7 +14761,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14707
14761
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
14708
14762
  *
14709
14763
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
14710
- */_createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
14764
+ */return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
14711
14765
  if(dictionaryFeedbackId===undefined||dictionaryFeedbackId===null){throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}','DELETE',{'dictionaryFeedbackId':dictionaryFeedbackId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14712
14766
  * Delete a Speech and Text Analytics program by id
14713
14767
  *
@@ -14937,10 +14991,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14937
14991
  * @param {Object} body The topic to update
14938
14992
  */},{key:"putSpeechandtextanalyticsTopic",value:function putSpeechandtextanalyticsTopic(topicId,body){// verify the required parameter 'topicId' is set
14939
14993
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSpeechandtextanalyticsTopic';}// verify the required parameter 'body' is set
14940
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
14994
+ 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(){/**
14941
14995
  * Stations service.
14942
14996
  * @module purecloud-platform-client-v2/api/StationsApi
14943
- * @version 190.0.0
14997
+ * @version 191.0.0
14944
14998
  */ /**
14945
14999
  * Constructs a new StationsApi.
14946
15000
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -14951,7 +15005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14951
15005
  * Unassigns the user assigned to this station
14952
15006
  *
14953
15007
  * @param {String} stationId Station ID
14954
- */_createClass(StationsApi,[{key:"deleteStationAssociateduser",value:function deleteStationAssociateduser(stationId){// verify the required parameter 'stationId' is set
15008
+ */return _createClass(StationsApi,[{key:"deleteStationAssociateduser",value:function deleteStationAssociateduser(stationId){// verify the required parameter 'stationId' is set
14955
15009
  if(stationId===undefined||stationId===null){throw'Missing the required parameter "stationId" when calling deleteStationAssociateduser';}return this.apiClient.callApi('/api/v2/stations/{stationId}/associateduser','DELETE',{'stationId':stationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14956
15010
  * Get station.
14957
15011
  *
@@ -14969,10 +15023,10 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14969
15023
  * @param {String} opts.webRtcUserId Filter for the webRtc station of the webRtcUserId
14970
15024
  * @param {String} opts.id Comma separated list of stationIds
14971
15025
  * @param {String} opts.lineAppearanceId lineAppearanceId
14972
- */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
15026
+ */},{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(){/**
14973
15027
  * Suggest service.
14974
15028
  * @module purecloud-platform-client-v2/api/SuggestApi
14975
- * @version 190.0.0
15029
+ * @version 191.0.0
14976
15030
  */ /**
14977
15031
  * Constructs a new SuggestApi.
14978
15032
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -14986,7 +15040,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14986
15040
  * @param {Object} opts Optional parameters
14987
15041
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
14988
15042
  * @param {Boolean} opts.profile profile (default to true)
14989
- */_createClass(SuggestApi,[{key:"getSearch",value:function getSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
15043
+ */return _createClass(SuggestApi,[{key:"getSearch",value:function getSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
14990
15044
  if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getSearch';}return this.apiClient.callApi('/api/v2/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'profile':opts['profile']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14991
15045
  * Suggest resources using the q64 value returned from a previous suggest query.
14992
15046
  *
@@ -15009,10 +15063,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15009
15063
  * @param {Object} opts Optional parameters
15010
15064
  * @param {Boolean} opts.profile profile (default to true)
15011
15065
  */},{key:"postSearchSuggest",value:function postSearchSuggest(body,opts){opts=opts||{};// verify the required parameter 'body' is set
15012
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
15066
+ 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(){/**
15013
15067
  * TaskManagement service.
15014
15068
  * @module purecloud-platform-client-v2/api/TaskManagementApi
15015
- * @version 190.0.0
15069
+ * @version 191.0.0
15016
15070
  */ /**
15017
15071
  * Constructs a new TaskManagementApi.
15018
15072
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -15024,7 +15078,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15024
15078
  *
15025
15079
  * @param {String} workbinId Workbin ID
15026
15080
  * deleteTaskmanagementWorkbin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15027
- */_createClass(TaskManagementApi,[{key:"deleteTaskmanagementWorkbin",value:function deleteTaskmanagementWorkbin(workbinId){// verify the required parameter 'workbinId' is set
15081
+ */return _createClass(TaskManagementApi,[{key:"deleteTaskmanagementWorkbin",value:function deleteTaskmanagementWorkbin(workbinId){// verify the required parameter 'workbinId' is set
15028
15082
  if(workbinId===undefined||workbinId===null){throw'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';}return this.apiClient.callApi('/api/v2/taskmanagement/workbins/{workbinId}','DELETE',{'workbinId':workbinId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15029
15083
  * Delete a workitem
15030
15084
  *
@@ -15357,10 +15411,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15357
15411
  * putTaskmanagementWorkitemsSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15358
15412
  */},{key:"putTaskmanagementWorkitemsSchema",value:function putTaskmanagementWorkitemsSchema(schemaId,body){// verify the required parameter 'schemaId' is set
15359
15413
  if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';}// verify the required parameter 'body' is set
15360
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
15414
+ 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(){/**
15361
15415
  * Teams service.
15362
15416
  * @module purecloud-platform-client-v2/api/TeamsApi
15363
- * @version 190.0.0
15417
+ * @version 191.0.0
15364
15418
  */ /**
15365
15419
  * Constructs a new TeamsApi.
15366
15420
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -15371,7 +15425,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15371
15425
  * Delete team
15372
15426
  *
15373
15427
  * @param {String} teamId Team ID
15374
- */_createClass(TeamsApi,[{key:"deleteTeam",value:function deleteTeam(teamId){// verify the required parameter 'teamId' is set
15428
+ */return _createClass(TeamsApi,[{key:"deleteTeam",value:function deleteTeam(teamId){// verify the required parameter 'teamId' is set
15375
15429
  if(teamId===undefined||teamId===null){throw'Missing the required parameter "teamId" when calling deleteTeam';}return this.apiClient.callApi('/api/v2/teams/{teamId}','DELETE',{'teamId':teamId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15376
15430
  * Delete team members
15377
15431
  *
@@ -15436,10 +15490,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15436
15490
  *
15437
15491
  * @param {Object} body Search request options
15438
15492
  */},{key:"postTeamsSearch",value:function postTeamsSearch(body){// verify the required parameter 'body' is set
15439
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
15493
+ 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(){/**
15440
15494
  * Telephony service.
15441
15495
  * @module purecloud-platform-client-v2/api/TelephonyApi
15442
- * @version 190.0.0
15496
+ * @version 191.0.0
15443
15497
  */ /**
15444
15498
  * Constructs a new TelephonyApi.
15445
15499
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15449,7 +15503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15449
15503
  */function TelephonyApi(apiClient){_classCallCheck(this,TelephonyApi);this.apiClient=apiClient||ApiClient.instance;}/**
15450
15504
  * Retrieve the list of AWS regions media can stream through.
15451
15505
  *
15452
- */_createClass(TelephonyApi,[{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(){return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15506
+ */return _createClass(TelephonyApi,[{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(){return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15453
15507
  * Get a SIP message.
15454
15508
  * Get the raw form of the SIP message
15455
15509
  * @param {String} conversationId Conversation id
@@ -15483,10 +15537,10 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15483
15537
  *
15484
15538
  * @param {Object} sIPSearchPublicRequest
15485
15539
  */},{key:"postTelephonySiptracesDownload",value:function postTelephonySiptracesDownload(sIPSearchPublicRequest){// verify the required parameter 'sIPSearchPublicRequest' is set
15486
- if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
15540
+ if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
15487
15541
  * TelephonyProvidersEdge service.
15488
15542
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15489
- * @version 190.0.0
15543
+ * @version 191.0.0
15490
15544
  */ /**
15491
15545
  * Constructs a new TelephonyProvidersEdgeApi.
15492
15546
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -15497,7 +15551,7 @@ if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Miss
15497
15551
  * Delete a edge.
15498
15552
  *
15499
15553
  * @param {String} edgeId Edge ID
15500
- */_createClass(TelephonyProvidersEdgeApi,[{key:"deleteTelephonyProvidersEdge",value:function deleteTelephonyProvidersEdge(edgeId){// verify the required parameter 'edgeId' is set
15554
+ */return _createClass(TelephonyProvidersEdgeApi,[{key:"deleteTelephonyProvidersEdge",value:function deleteTelephonyProvidersEdge(edgeId){// verify the required parameter 'edgeId' is set
15501
15555
  if(edgeId===undefined||edgeId===null){throw'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdge';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/{edgeId}','DELETE',{'edgeId':edgeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15502
15556
  * Delete an edge logical interface
15503
15557
  *
@@ -16297,10 +16351,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16297
16351
  * @param {Object} body Trunk base settings
16298
16352
  */},{key:"putTelephonyProvidersEdgesTrunkbasesetting",value:function putTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId,body){// verify the required parameter 'trunkBaseSettingsId' is set
16299
16353
  if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing the required parameter "trunkBaseSettingsId" when calling putTelephonyProvidersEdgesTrunkbasesetting';}// verify the required parameter 'body' is set
16300
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
16354
+ 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(){/**
16301
16355
  * Textbots service.
16302
16356
  * @module purecloud-platform-client-v2/api/TextbotsApi
16303
- * @version 190.0.0
16357
+ * @version 191.0.0
16304
16358
  */ /**
16305
16359
  * Constructs a new TextbotsApi.
16306
16360
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -16315,7 +16369,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16315
16369
  * @param {String} opts.botName Bot name
16316
16370
  * @param {Array.<String>} opts.botId Bot IDs
16317
16371
  * @param {Number} opts.pageSize The maximum results to return (default to 25)
16318
- */_createClass(TextbotsApi,[{key:"getTextbotsBotsSearch",value:function getTextbotsBotsSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/textbots/bots/search','GET',{},{'botType':this.apiClient.buildCollectionParam(opts['botType'],'multi'),'botName':opts['botName'],'botId':this.apiClient.buildCollectionParam(opts['botId'],'multi'),'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16372
+ */return _createClass(TextbotsApi,[{key:"getTextbotsBotsSearch",value:function getTextbotsBotsSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/textbots/bots/search','GET',{},{'botType':this.apiClient.buildCollectionParam(opts['botType'],'multi'),'botName':opts['botName'],'botId':this.apiClient.buildCollectionParam(opts['botId'],'multi'),'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16319
16373
  * Issue a bot flow turn event
16320
16374
  * Send a turn event to an executing bot flow and produce the next action to take.
16321
16375
  * @param {String} sessionId The bot flow session ID, typically obtained from 'POST /api/v2/textbots/botflows/sessions'
@@ -16332,10 +16386,10 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
16332
16386
  * This will either start a bot with the given id or relay a communication to an existing bot session.
16333
16387
  * @param {Object} postTextRequest
16334
16388
  */},{key:"postTextbotsBotsExecute",value:function postTextbotsBotsExecute(postTextRequest){// verify the required parameter 'postTextRequest' is set
16335
- if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
16389
+ 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(){/**
16336
16390
  * Tokens service.
16337
16391
  * @module purecloud-platform-client-v2/api/TokensApi
16338
- * @version 190.0.0
16392
+ * @version 191.0.0
16339
16393
  */ /**
16340
16394
  * Constructs a new TokensApi.
16341
16395
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -16346,7 +16400,7 @@ if(postTextRequest===undefined||postTextRequest===null){throw'Missing the requir
16346
16400
  * Delete all auth tokens for the specified user.
16347
16401
  *
16348
16402
  * @param {String} userId User ID
16349
- */_createClass(TokensApi,[{key:"deleteToken",value:function deleteToken(userId){// verify the required parameter 'userId' is set
16403
+ */return _createClass(TokensApi,[{key:"deleteToken",value:function deleteToken(userId){// verify the required parameter 'userId' is set
16350
16404
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteToken';}return this.apiClient.callApi('/api/v2/tokens/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16351
16405
  * Delete auth token used to make the request.
16352
16406
  *
@@ -16366,10 +16420,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16366
16420
  *
16367
16421
  * @param {Object} opts Optional parameters
16368
16422
  * @param {Object} opts.body
16369
- */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
16423
+ */},{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(){/**
16370
16424
  * Uploads service.
16371
16425
  * @module purecloud-platform-client-v2/api/UploadsApi
16372
- * @version 190.0.0
16426
+ * @version 191.0.0
16373
16427
  */ /**
16374
16428
  * Constructs a new UploadsApi.
16375
16429
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -16382,7 +16436,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16382
16436
  * @param {String} knowledgeBaseId Knowledge base ID
16383
16437
  * @param {String} jobId Upload job ID
16384
16438
  * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16385
- */_createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
16439
+ */return _createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
16386
16440
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
16387
16441
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16388
16442
  * Create upload presigned URL for draft function package file.
@@ -16432,10 +16486,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16432
16486
  *
16433
16487
  * @param {Object} body query
16434
16488
  */},{key:"postUploadsWorkforcemanagementHistoricaldataCsv",value:function postUploadsWorkforcemanagementHistoricaldataCsv(body){// verify the required parameter 'body' is set
16435
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
16489
+ 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(){/**
16436
16490
  * Usage service.
16437
16491
  * @module purecloud-platform-client-v2/api/UsageApi
16438
- * @version 190.0.0
16492
+ * @version 191.0.0
16439
16493
  */ /**
16440
16494
  * Constructs a new UsageApi.
16441
16495
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -16447,7 +16501,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16447
16501
  *
16448
16502
  * @param {String} executionId ID of the query execution
16449
16503
  * @param {String} clientId Client ID
16450
- */_createClass(UsageApi,[{key:"getOauthClientUsageQueryResult",value:function getOauthClientUsageQueryResult(executionId,clientId){// verify the required parameter 'executionId' is set
16504
+ */return _createClass(UsageApi,[{key:"getOauthClientUsageQueryResult",value:function getOauthClientUsageQueryResult(executionId,clientId){// verify the required parameter 'executionId' is set
16451
16505
  if(executionId===undefined||executionId===null){throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';}// verify the required parameter 'clientId' is set
16452
16506
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}','GET',{'executionId':executionId,'clientId':clientId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16453
16507
  * Get a summary of OAuth client API usage
@@ -16462,7 +16516,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
16462
16516
  * @param {String} executionId ID of the query execution
16463
16517
  */},{key:"getUsageQueryExecutionIdResults",value:function getUsageQueryExecutionIdResults(executionId){// verify the required parameter 'executionId' is set
16464
16518
  if(executionId===undefined||executionId===null){throw'Missing the required parameter "executionId" when calling getUsageQueryExecutionIdResults';}return this.apiClient.callApi('/api/v2/usage/query/{executionId}/results','GET',{'executionId':executionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16465
- * Get the results of a usage search
16519
+ * Get the results of a usage search. Number of records to be returned is limited to 20,000 results.
16466
16520
  *
16467
16521
  * @param {String} executionId ID of the search execution
16468
16522
  */},{key:"getUsageSimplesearchExecutionIdResults",value:function getUsageSimplesearchExecutionIdResults(executionId){// verify the required parameter 'executionId' is set
@@ -16479,14 +16533,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16479
16533
  * @param {Object} body Query
16480
16534
  */},{key:"postUsageQuery",value:function postUsageQuery(body){// verify the required parameter 'body' is set
16481
16535
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageQuery';}return this.apiClient.callApi('/api/v2/usage/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16482
- * Search organization API Usage -
16483
- * After calling this method, you will then need to poll for the query results based on the returned execution Id
16536
+ * Search organization API Usage
16537
+ * After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results
16484
16538
  * @param {Object} body SimpleSearch
16485
16539
  */},{key:"postUsageSimplesearch",value:function postUsageSimplesearch(body){// verify the required parameter 'body' is set
16486
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
16540
+ 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(){/**
16487
16541
  * UserRecordings service.
16488
16542
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
16489
- * @version 190.0.0
16543
+ * @version 191.0.0
16490
16544
  */ /**
16491
16545
  * Constructs a new UserRecordingsApi.
16492
16546
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16497,7 +16551,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16497
16551
  * Delete a user recording.
16498
16552
  *
16499
16553
  * @param {String} recordingId User Recording ID
16500
- */_createClass(UserRecordingsApi,[{key:"deleteUserrecording",value:function deleteUserrecording(recordingId){// verify the required parameter 'recordingId' is set
16554
+ */return _createClass(UserRecordingsApi,[{key:"deleteUserrecording",value:function deleteUserrecording(recordingId){// verify the required parameter 'recordingId' is set
16501
16555
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling deleteUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','DELETE',{'recordingId':recordingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16502
16556
  * Get a user recording.
16503
16557
  *
@@ -16532,10 +16586,10 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16532
16586
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
16533
16587
  */},{key:"putUserrecording",value:function putUserrecording(recordingId,body,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
16534
16588
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling putUserrecording';}// verify the required parameter 'body' is set
16535
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
16589
+ 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(){/**
16536
16590
  * Users service.
16537
16591
  * @module purecloud-platform-client-v2/api/UsersApi
16538
- * @version 190.0.0
16592
+ * @version 191.0.0
16539
16593
  */ /**
16540
16594
  * Constructs a new UsersApi.
16541
16595
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -16546,7 +16600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16546
16600
  * Delete/cancel an async request
16547
16601
  *
16548
16602
  * @param {String} jobId jobId
16549
- */_createClass(UsersApi,[{key:"deleteAnalyticsUsersDetailsJob",value:function deleteAnalyticsUsersDetailsJob(jobId){// verify the required parameter 'jobId' is set
16603
+ */return _createClass(UsersApi,[{key:"deleteAnalyticsUsersDetailsJob",value:function deleteAnalyticsUsersDetailsJob(jobId){// verify the required parameter 'jobId' is set
16550
16604
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersDetailsJob';}return this.apiClient.callApi('/api/v2/analytics/users/details/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16551
16605
  * Delete a grant of a role in a division
16552
16606
  *
@@ -17191,10 +17245,10 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
17191
17245
  */},{key:"putUserVerifier",value:function putUserVerifier(userId,verifierId,body){// verify the required parameter 'userId' is set
17192
17246
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserVerifier';}// verify the required parameter 'verifierId' is set
17193
17247
  if(verifierId===undefined||verifierId===null){throw'Missing the required parameter "verifierId" when calling putUserVerifier';}// verify the required parameter 'body' is set
17194
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
17248
+ 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(){/**
17195
17249
  * Utilities service.
17196
17250
  * @module purecloud-platform-client-v2/api/UtilitiesApi
17197
- * @version 190.0.0
17251
+ * @version 191.0.0
17198
17252
  */ /**
17199
17253
  * Constructs a new UtilitiesApi.
17200
17254
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -17204,7 +17258,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17204
17258
  */function UtilitiesApi(apiClient){_classCallCheck(this,UtilitiesApi);this.apiClient=apiClient||ApiClient.instance;}/**
17205
17259
  * Get the current system date/time
17206
17260
  *
17207
- */_createClass(UtilitiesApi,[{key:"getDate",value:function getDate(){return this.apiClient.callApi('/api/v2/date','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17261
+ */return _createClass(UtilitiesApi,[{key:"getDate",value:function getDate(){return this.apiClient.callApi('/api/v2/date','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17208
17262
  * Get public ip address ranges for Genesys Cloud
17209
17263
  *
17210
17264
  */},{key:"getIpranges",value:function getIpranges(){return this.apiClient.callApi('/api/v2/ipranges','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -17218,10 +17272,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17218
17272
  *
17219
17273
  * @param {Object} body Certificate
17220
17274
  */},{key:"postCertificateDetails",value:function postCertificateDetails(body){// verify the required parameter 'body' is set
17221
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
17275
+ 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(){/**
17222
17276
  * Voicemail service.
17223
17277
  * @module purecloud-platform-client-v2/api/VoicemailApi
17224
- * @version 190.0.0
17278
+ * @version 191.0.0
17225
17279
  */ /**
17226
17280
  * Constructs a new VoicemailApi.
17227
17281
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -17232,7 +17286,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17232
17286
  * Delete a voicemail message.
17233
17287
  * A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.
17234
17288
  * @param {String} messageId Message ID
17235
- */_createClass(VoicemailApi,[{key:"deleteVoicemailMessage",value:function deleteVoicemailMessage(messageId){// verify the required parameter 'messageId' is set
17289
+ */return _createClass(VoicemailApi,[{key:"deleteVoicemailMessage",value:function deleteVoicemailMessage(messageId){// verify the required parameter 'messageId' is set
17236
17290
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling deleteVoicemailMessage';}return this.apiClient.callApi('/api/v2/voicemail/messages/{messageId}','DELETE',{'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17237
17291
  * Delete all voicemail messages
17238
17292
  *
@@ -17367,10 +17421,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17367
17421
  * @param {Object} body The user's voicemail policy
17368
17422
  */},{key:"putVoicemailUserpolicy",value:function putVoicemailUserpolicy(userId,body){// verify the required parameter 'userId' is set
17369
17423
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putVoicemailUserpolicy';}// verify the required parameter 'body' is set
17370
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
17424
+ 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(){/**
17371
17425
  * WebChat service.
17372
17426
  * @module purecloud-platform-client-v2/api/WebChatApi
17373
- * @version 190.0.0
17427
+ * @version 191.0.0
17374
17428
  */ /**
17375
17429
  * Constructs a new WebChatApi.
17376
17430
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17382,7 +17436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17382
17436
  *
17383
17437
  * @param {String} deploymentId Deployment Id
17384
17438
  * @deprecated
17385
- */_createClass(WebChatApi,[{key:"deleteWebchatDeployment",value:function deleteWebchatDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
17439
+ */return _createClass(WebChatApi,[{key:"deleteWebchatDeployment",value:function deleteWebchatDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
17386
17440
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWebchatDeployment';}return this.apiClient.callApi('/api/v2/webchat/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17387
17441
  * Remove a member from a chat conversation
17388
17442
  *
@@ -17500,10 +17554,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17500
17554
  *
17501
17555
  * @param {Object} body webChatSettings
17502
17556
  */},{key:"putWebchatSettings",value:function putWebchatSettings(body){// verify the required parameter 'body' is set
17503
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
17557
+ 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(){/**
17504
17558
  * WebDeployments service.
17505
17559
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17506
- * @version 190.0.0
17560
+ * @version 191.0.0
17507
17561
  */ /**
17508
17562
  * Constructs a new WebDeploymentsApi.
17509
17563
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17514,7 +17568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17514
17568
  * Delete all versions of a configuration
17515
17569
  *
17516
17570
  * @param {String} configurationId The configuration version ID
17517
- */_createClass(WebDeploymentsApi,[{key:"deleteWebdeploymentsConfiguration",value:function deleteWebdeploymentsConfiguration(configurationId){// verify the required parameter 'configurationId' is set
17571
+ */return _createClass(WebDeploymentsApi,[{key:"deleteWebdeploymentsConfiguration",value:function deleteWebdeploymentsConfiguration(configurationId){// verify the required parameter 'configurationId' is set
17518
17572
  if(configurationId===undefined||configurationId===null){throw'Missing the required parameter "configurationId" when calling deleteWebdeploymentsConfiguration';}return this.apiClient.callApi('/api/v2/webdeployments/configurations/{configurationId}','DELETE',{'configurationId':configurationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17519
17573
  * Delete a deployment
17520
17574
  *
@@ -17621,10 +17675,10 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
17621
17675
  * @param {Object} deployment
17622
17676
  */},{key:"putWebdeploymentsDeployment",value:function putWebdeploymentsDeployment(deploymentId,deployment){// verify the required parameter 'deploymentId' is set
17623
17677
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';}// verify the required parameter 'deployment' is set
17624
- if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
17678
+ if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
17625
17679
  * WebMessaging service.
17626
17680
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17627
- * @version 190.0.0
17681
+ * @version 191.0.0
17628
17682
  */ /**
17629
17683
  * Constructs a new WebMessagingApi.
17630
17684
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17637,10 +17691,10 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17637
17691
  * @param {Object} opts Optional parameters
17638
17692
  * @param {Number} opts.pageSize Page size (default to 25)
17639
17693
  * @param {Number} opts.pageNumber Page number (default to 1)
17640
- */_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
17694
+ */return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
17641
17695
  * Widgets service.
17642
17696
  * @module purecloud-platform-client-v2/api/WidgetsApi
17643
- * @version 190.0.0
17697
+ * @version 191.0.0
17644
17698
  */ /**
17645
17699
  * Constructs a new WidgetsApi.
17646
17700
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17651,7 +17705,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17651
17705
  * Delete a Widget deployment
17652
17706
  *
17653
17707
  * @param {String} deploymentId Widget Config Id
17654
- */_createClass(WidgetsApi,[{key:"deleteWidgetsDeployment",value:function deleteWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
17708
+ */return _createClass(WidgetsApi,[{key:"deleteWidgetsDeployment",value:function deleteWidgetsDeployment(deploymentId){// verify the required parameter 'deploymentId' is set
17655
17709
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling deleteWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','DELETE',{'deploymentId':deploymentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17656
17710
  * Get a Widget deployment
17657
17711
  *
@@ -17672,10 +17726,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17672
17726
  * @param {Object} body Deployment
17673
17727
  */},{key:"putWidgetsDeployment",value:function putWidgetsDeployment(deploymentId,body){// verify the required parameter 'deploymentId' is set
17674
17728
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';}// verify the required parameter 'body' is set
17675
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
17729
+ 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(){/**
17676
17730
  * WorkforceManagement service.
17677
17731
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17678
- * @version 190.0.0
17732
+ * @version 191.0.0
17679
17733
  */ /**
17680
17734
  * Constructs a new WorkforceManagementApi.
17681
17735
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -17686,7 +17740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17686
17740
  * Delete business unit
17687
17741
  * A business unit cannot be deleted if it contains one or more management units
17688
17742
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
17689
- */_createClass(WorkforceManagementApi,[{key:"deleteWorkforcemanagementBusinessunit",value:function deleteWorkforcemanagementBusinessunit(businessUnitId){// verify the required parameter 'businessUnitId' is set
17743
+ */return _createClass(WorkforceManagementApi,[{key:"deleteWorkforcemanagementBusinessunit",value:function deleteWorkforcemanagementBusinessunit(businessUnitId){// verify the required parameter 'businessUnitId' is set
17690
17744
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunit';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}','DELETE',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17691
17745
  * Deletes an activity code
17692
17746
  *
@@ -19124,7 +19178,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19124
19178
  * @param {Object} opts.body body
19125
19179
  */},{key:"putWorkforcemanagementManagementunitTimeofflimitValues",value:function putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId,timeOffLimitId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
19126
19180
  if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}// verify the required parameter 'timeOffLimitId' is set
19127
- if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values','PUT',{'managementUnitId':managementUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WorkforceManagementApi;}();/**
19181
+ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values','PUT',{'managementUnitId':managementUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();/**
19128
19182
  * A JavaScript library to interface with the PureCloud Platform API.<br>
19129
19183
  * The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
19130
19184
  * <p>
@@ -19153,7 +19207,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
19153
19207
  * </pre>
19154
19208
  * </p>
19155
19209
  * @module purecloud-platform-client-v2/index
19156
- * @version 190.0.0
19210
+ * @version 191.0.0
19157
19211
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
19158
19212
  * The ApiClient constructor.
19159
19213
  * @property {module:purecloud-platform-client-v2/ApiClient}