purecloud-platform-client-v2 189.1.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 +1160 -114
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1160 -114
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +516 -274
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +517 -277
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1229 -495
  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 +86 -20
  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 +33 -8
  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 +207 -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 +2 -2
  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 +24 -2
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +26 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +34 -7
  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 +516 -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
@@ -721,7 +721,7 @@ request.send(requestData||null);});};var knownAdapters={http:httpAdapter,xhr:xhr
721
721
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
722
722
  config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
723
723
  response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
724
- if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?thing.toJSON():thing;};/**
724
+ if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var headersToObject=function headersToObject(thing){return thing instanceof AxiosHeaders$1?_objectSpread({},thing):thing;};/**
725
725
  * Config-specific merge-function which creates a new config-object
726
726
  * by merging two configuration objects together.
727
727
  *
@@ -734,7 +734,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,caseless
734
734
  function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
735
735
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
736
736
  function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
737
- function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.7";var validators$1={};// eslint-disable-next-line func-names
737
+ function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.8";var validators$1={};// eslint-disable-next-line func-names
738
738
  ['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
739
739
  * Transitional option validator
740
740
  *
@@ -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 189.1.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 189.1.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 189.1.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 189.1.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 189.1.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 189.1.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 189.1.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 189.1.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 189.1.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,15 +3491,13 @@ 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
- * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3455
- */_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
3456
3495
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';}// verify the required parameter 'messageId' is set
3457
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']);}/**
3458
3497
  * Remove a user from a room.
3459
3498
  *
3460
3499
  * @param {String} roomJid roomJid
3461
3500
  * @param {String} userId userId
3462
- * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3463
3501
  */},{key:"deleteChatsRoomParticipant",value:function deleteChatsRoomParticipant(roomJid,userId){// verify the required parameter 'roomJid' is set
3464
3502
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';}// verify the required parameter 'userId' is set
3465
3503
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/participants/{userId}','DELETE',{'roomJid':roomJid,'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3467,7 +3505,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
3467
3505
  *
3468
3506
  * @param {String} roomJid roomJid
3469
3507
  * @param {String} pinnedMessageId pinnedMessageId
3470
- * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3471
3508
  */},{key:"deleteChatsRoomPinnedmessage",value:function deleteChatsRoomPinnedmessage(roomJid,pinnedMessageId){// verify the required parameter 'roomJid' is set
3472
3509
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';}// verify the required parameter 'pinnedMessageId' is set
3473
3510
  if(pinnedMessageId===undefined||pinnedMessageId===null){throw'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}','DELETE',{'roomJid':roomJid,'pinnedMessageId':pinnedMessageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3475,27 +3512,23 @@ if(pinnedMessageId===undefined||pinnedMessageId===null){throw'Missing the requir
3475
3512
  *
3476
3513
  * @param {String} userId userId
3477
3514
  * @param {String} messageId messageId
3478
- * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3479
3515
  */},{key:"deleteChatsUserMessage",value:function deleteChatsUserMessage(userId,messageId){// verify the required parameter 'userId' is set
3480
3516
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteChatsUserMessage';}// verify the required parameter 'messageId' is set
3481
3517
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling deleteChatsUserMessage';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/{messageId}','DELETE',{'userId':userId,'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3482
3518
  * Get a message
3483
3519
  *
3484
3520
  * @param {String} messageId messageId
3485
- * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3486
3521
  */},{key:"getChatsMessage",value:function getChatsMessage(messageId){// verify the required parameter 'messageId' is set
3487
3522
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getChatsMessage';}return this.apiClient.callApi('/api/v2/chats/messages/{messageId}','GET',{'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3488
3523
  * Get a room
3489
3524
  *
3490
3525
  * @param {String} roomJid roomJid
3491
- * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3492
3526
  */},{key:"getChatsRoom",value:function getChatsRoom(roomJid){// verify the required parameter 'roomJid' is set
3493
3527
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoom';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}','GET',{'roomJid':roomJid},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3494
3528
  * Get messages by id(s) from a room
3495
3529
  *
3496
3530
  * @param {String} roomJid roomJid
3497
3531
  * @param {String} messageIds messageIds, comma separated
3498
- * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3499
3532
  */},{key:"getChatsRoomMessage",value:function getChatsRoomMessage(roomJid,messageIds){// verify the required parameter 'roomJid' is set
3500
3533
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessage';}// verify the required parameter 'messageIds' is set
3501
3534
  if(messageIds===undefined||messageIds===null){throw'Missing the required parameter "messageIds" when calling getChatsRoomMessage';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages/{messageIds}','GET',{'roomJid':roomJid,'messageIds':messageIds},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3506,9 +3539,20 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
3506
3539
  * @param {String} opts.limit The maximum number of messages to retrieve
3507
3540
  * @param {String} opts.before The cutoff date for messages to retrieve
3508
3541
  * @param {String} opts.after The beginning date for messages to retrieve
3509
- * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3510
3542
  */},{key:"getChatsRoomMessages",value:function getChatsRoomMessages(roomJid,opts){opts=opts||{};// verify the required parameter 'roomJid' is set
3511
3543
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3544
+ * Get a room participant
3545
+ *
3546
+ * @param {String} roomJid roomJid
3547
+ * @param {String} participantJid participantJid
3548
+ */},{key:"getChatsRoomParticipant",value:function getChatsRoomParticipant(roomJid,participantJid){// verify the required parameter 'roomJid' is set
3549
+ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipant';}// verify the required parameter 'participantJid' is set
3550
+ if(participantJid===undefined||participantJid===null){throw'Missing the required parameter "participantJid" when calling getChatsRoomParticipant';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/participants/{participantJid}','GET',{'roomJid':roomJid,'participantJid':participantJid},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3551
+ * Get room participants in a room
3552
+ *
3553
+ * @param {String} roomJid roomJid
3554
+ */},{key:"getChatsRoomParticipants",value:function getChatsRoomParticipants(roomJid){// verify the required parameter 'roomJid' is set
3555
+ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/participants','GET',{'roomJid':roomJid},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3512
3556
  * Get Chat Settings.
3513
3557
  *
3514
3558
  */},{key:"getChatsSettings",value:function getChatsSettings(){return this.apiClient.callApi('/api/v2/chats/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3519,14 +3563,12 @@ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "ro
3519
3563
  * @param {String} opts.limit The maximum number of messages to retrieve
3520
3564
  * @param {String} opts.before The cutoff date for messages to retrieve
3521
3565
  * @param {String} opts.after The beginning date for messages to retrieve
3522
- * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3523
3566
  */},{key:"getChatsThreadMessages",value:function getChatsThreadMessages(threadId,opts){opts=opts||{};// verify the required parameter 'threadId' is set
3524
3567
  if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3525
3568
  * Get messages by id(s) from a 1on1
3526
3569
  *
3527
3570
  * @param {String} userId userId
3528
3571
  * @param {String} messageIds messageIds, comma separated
3529
- * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3530
3572
  */},{key:"getChatsUserMessage",value:function getChatsUserMessage(userId,messageIds){// verify the required parameter 'userId' is set
3531
3573
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessage';}// verify the required parameter 'messageIds' is set
3532
3574
  if(messageIds===undefined||messageIds===null){throw'Missing the required parameter "messageIds" when calling getChatsUserMessage';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/{messageIds}','GET',{'userId':userId,'messageIds':messageIds},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3537,7 +3579,6 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
3537
3579
  * @param {String} opts.limit The maximum number of messages to retrieve
3538
3580
  * @param {String} opts.before The cutoff date for messages to retrieve
3539
3581
  * @param {String} opts.after The beginning date for messages to retrieve
3540
- * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3541
3582
  */},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
3542
3583
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3543
3584
  * Get a user's chat settings
@@ -3550,7 +3591,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
3550
3591
  *
3551
3592
  * @param {String} roomJid roomJid
3552
3593
  * @param {Object} body Room properties
3553
- * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3554
3594
  */},{key:"patchChatsRoom",value:function patchChatsRoom(roomJid,body){// verify the required parameter 'roomJid' is set
3555
3595
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling patchChatsRoom';}// verify the required parameter 'body' is set
3556
3596
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsRoom';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}','PATCH',{'roomJid':roomJid},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3559,7 +3599,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3559
3599
  * @param {String} roomJid roomId
3560
3600
  * @param {String} messageId messageId
3561
3601
  * @param {Object} body messageBody
3562
- * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3563
3602
  */},{key:"patchChatsRoomMessage",value:function patchChatsRoomMessage(roomJid,messageId,body){// verify the required parameter 'roomJid' is set
3564
3603
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';}// verify the required parameter 'messageId' is set
3565
3604
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling patchChatsRoomMessage';}// verify the required parameter 'body' is set
@@ -3574,7 +3613,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3574
3613
  * @param {String} userId userId
3575
3614
  * @param {String} messageId messageId
3576
3615
  * @param {Object} body message body
3577
- * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3578
3616
  */},{key:"patchChatsUserMessage",value:function patchChatsUserMessage(userId,messageId,body){// verify the required parameter 'userId' is set
3579
3617
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserMessage';}// verify the required parameter 'messageId' is set
3580
3618
  if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling patchChatsUserMessage';}// verify the required parameter 'body' is set
@@ -3591,7 +3629,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3591
3629
  *
3592
3630
  * @param {String} roomJid roomId
3593
3631
  * @param {Object} body messageBody
3594
- * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3595
3632
  */},{key:"postChatsRoomMessages",value:function postChatsRoomMessages(roomJid,body){// verify the required parameter 'roomJid' is set
3596
3633
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling postChatsRoomMessages';}// verify the required parameter 'body' is set
3597
3634
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','POST',{'roomJid':roomJid},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3599,7 +3636,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
3599
3636
  *
3600
3637
  * @param {String} roomJid roomJid
3601
3638
  * @param {String} userId userId
3602
- * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3603
3639
  */},{key:"postChatsRoomParticipant",value:function postChatsRoomParticipant(roomJid,userId){// verify the required parameter 'roomJid' is set
3604
3640
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';}// verify the required parameter 'userId' is set
3605
3641
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postChatsRoomParticipant';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/participants/{userId}','POST',{'roomJid':roomJid,'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -3607,32 +3643,36 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
3607
3643
  *
3608
3644
  * @param {String} roomJid roomJid
3609
3645
  * @param {Object} body Pinned Message Ids
3610
- * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3611
3646
  */},{key:"postChatsRoomPinnedmessages",value:function postChatsRoomPinnedmessages(roomJid,body){// verify the required parameter 'roomJid' is set
3612
3647
  if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';}// verify the required parameter 'body' is set
3613
3648
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/pinnedmessages','POST',{'roomJid':roomJid},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3614
3649
  * Create an adhoc room
3615
3650
  *
3616
3651
  * @param {Object} body Room properties
3617
- * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3618
3652
  */},{key:"postChatsRooms",value:function postChatsRooms(body){// verify the required parameter 'body' is set
3619
3653
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsRooms';}return this.apiClient.callApi('/api/v2/chats/rooms','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3620
3654
  * Send a message to a user
3621
3655
  *
3622
3656
  * @param {String} userId userId
3623
3657
  * @param {Object} body message body
3624
- * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3625
3658
  */},{key:"postChatsUserMessages",value:function postChatsUserMessages(userId,body){// verify the required parameter 'userId' is set
3626
3659
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postChatsUserMessages';}// verify the required parameter 'body' is set
3627
3660
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3661
+ * Update reactions to a message
3662
+ *
3663
+ * @param {String} messageId messageId
3664
+ * @param {Object} body reactionUpdate
3665
+ */},{key:"putChatsMessageReactions",value:function putChatsMessageReactions(messageId,body){// verify the required parameter 'messageId' is set
3666
+ if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling putChatsMessageReactions';}// verify the required parameter 'body' is set
3667
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsMessageReactions';}return this.apiClient.callApi('/api/v2/chats/messages/{messageId}/reactions','PUT',{'messageId':messageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
3628
3668
  * Update Chat Settings.
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 189.1.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 189.1.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 189.1.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
  *
@@ -4138,8 +4178,9 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4138
4178
  */},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4139
4179
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4140
4180
  * Delete a Twitter messaging integration
4141
- *
4181
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
4142
4182
  * @param {String} integrationId Integration ID
4183
+ * @deprecated
4143
4184
  */},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
4144
4185
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4145
4186
  * Delete a WhatsApp messaging integration
@@ -4555,6 +4596,9 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null){throw'Missing the re
4555
4596
  * Get Genesys Facebook App Id
4556
4597
  *
4557
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']);}/**
4558
4602
  * Get a list of Integrations
4559
4603
  *
4560
4604
  * @param {Object} opts Optional parameters
@@ -4630,20 +4674,22 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
4630
4674
  * @param {Object} opts.expand Expand instructions for the return value.
4631
4675
  */},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
4632
4676
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4633
- * Get a list of Twitter Integrations
4634
- *
4677
+ * Get a list of Twitter Integrations (Deprecated)
4678
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
4635
4679
  * @param {Object} opts Optional parameters
4636
4680
  * @param {Number} opts.pageSize Page size (default to 25)
4637
4681
  * @param {Number} opts.pageNumber Page number (default to 1)
4638
4682
  * @param {Object} opts.expand Expand instructions for the return value.
4639
4683
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
4640
4684
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
4685
+ * @deprecated
4641
4686
  */},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4642
- * Get a Twitter messaging integration
4643
- *
4687
+ * Get a Twitter messaging integration (Deprecated)
4688
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
4644
4689
  * @param {String} integrationId Integration ID
4645
4690
  * @param {Object} opts Optional parameters
4646
4691
  * @param {Object} opts.expand Expand instructions for the return value.
4692
+ * @deprecated
4647
4693
  */},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
4648
4694
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
4649
4695
  * Get a list of WhatsApp Integrations
@@ -5046,9 +5092,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5046
5092
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
5047
5093
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5048
5094
  * Update Twitter messaging integration
5049
- *
5095
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
5050
5096
  * @param {String} integrationId Integration ID
5051
5097
  * @param {Object} body TwitterIntegrationRequest
5098
+ * @deprecated
5052
5099
  */},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
5053
5100
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
5054
5101
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -5596,8 +5643,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5596
5643
  */},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
5597
5644
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5598
5645
  * Create a Twitter Integration
5599
- *
5646
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
5600
5647
  * @param {Object} body TwitterIntegrationRequest
5648
+ * @deprecated
5601
5649
  */},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
5602
5650
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5603
5651
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
@@ -5796,10 +5844,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5796
5844
  * @param {Object} body SetRecordingState
5797
5845
  */},{key:"putConversationsVideoRecordingstate",value:function putConversationsVideoRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
5798
5846
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';}// verify the required parameter 'body' is set
5799
- 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(){/**
5800
5848
  * DataExtensions service.
5801
5849
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
5802
- * @version 189.1.0
5850
+ * @version 191.0.0
5803
5851
  */ /**
5804
5852
  * Constructs a new DataExtensionsApi.
5805
5853
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -5810,17 +5858,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5810
5858
  * Get a specific named core type.
5811
5859
  *
5812
5860
  * @param {Object} coretypeName The core type's name
5813
- */_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
5814
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']);}/**
5815
5863
  * Get the core types from which all schemas are built.
5816
5864
  *
5817
5865
  */},{key:"getDataextensionsCoretypes",value:function getDataextensionsCoretypes(){return this.apiClient.callApi('/api/v2/dataextensions/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
5818
5866
  * Get quantitative limits on schemas
5819
5867
  *
5820
- */},{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(){/**
5821
5869
  * Downloads service.
5822
5870
  * @module purecloud-platform-client-v2/api/DownloadsApi
5823
- * @version 189.1.0
5871
+ * @version 191.0.0
5824
5872
  */ /**
5825
5873
  * Constructs a new DownloadsApi.
5826
5874
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -5835,11 +5883,11 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
5835
5883
  * @param {String} opts.contentDisposition
5836
5884
  * @param {Boolean} opts.issueRedirect (default to true)
5837
5885
  * @param {Boolean} opts.redirectToAuth (default to true)
5838
- */_createClass(DownloadsApi,[{key:"getDownload",value:function getDownload(downloadId,opts){opts=opts||{};// verify the required parameter 'downloadId' is set
5839
- 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(){/**
5840
5888
  * Emails service.
5841
5889
  * @module purecloud-platform-client-v2/api/EmailsApi
5842
- * @version 189.1.0
5890
+ * @version 191.0.0
5843
5891
  */ /**
5844
5892
  * Constructs a new EmailsApi.
5845
5893
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -5849,15 +5897,15 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5849
5897
  */function EmailsApi(apiClient){_classCallCheck(this,EmailsApi);this.apiClient=apiClient||ApiClient.instance;}/**
5850
5898
  * Get email Contact Center settings
5851
5899
  *
5852
- */_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']);}/**
5853
5901
  * Patch email Contact Center settings
5854
5902
  *
5855
5903
  * @param {Object} opts Optional parameters
5856
5904
  * @param {Object} opts.body
5857
- */},{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(){/**
5858
5906
  * Events service.
5859
5907
  * @module purecloud-platform-client-v2/api/EventsApi
5860
- * @version 189.1.0
5908
+ * @version 191.0.0
5861
5909
  */ /**
5862
5910
  * Constructs a new EventsApi.
5863
5911
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -5868,7 +5916,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
5868
5916
  * Publish Conversation Batch Events
5869
5917
  *
5870
5918
  * @param {Object} body batchRequest
5871
- */_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
5872
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']);}/**
5873
5921
  * Publish User Presence Status Batch Events
5874
5922
  *
@@ -5879,10 +5927,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5879
5927
  *
5880
5928
  * @param {Object} body batchRequest
5881
5929
  */},{key:"postEventsUsersRoutingstatus",value:function postEventsUsersRoutingstatus(body){// verify the required parameter 'body' is set
5882
- 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(){/**
5883
5931
  * ExternalContacts service.
5884
5932
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
5885
- * @version 189.1.0
5933
+ * @version 191.0.0
5886
5934
  */ /**
5887
5935
  * Constructs a new ExternalContactsApi.
5888
5936
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -5893,7 +5941,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
5893
5941
  * Delete an external contact
5894
5942
  *
5895
5943
  * @param {String} contactId ExternalContact ID
5896
- */_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
5897
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']);}/**
5898
5946
  * Delete a note for an external contact
5899
5947
  *
@@ -6334,10 +6382,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6334
6382
  * @param {Object} body Relationship
6335
6383
  */},{key:"putExternalcontactsRelationship",value:function putExternalcontactsRelationship(relationshipId,body){// verify the required parameter 'relationshipId' is set
6336
6384
  if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling putExternalcontactsRelationship';}// verify the required parameter 'body' is set
6337
- 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(){/**
6338
6386
  * Fax service.
6339
6387
  * @module purecloud-platform-client-v2/api/FaxApi
6340
- * @version 189.1.0
6388
+ * @version 191.0.0
6341
6389
  */ /**
6342
6390
  * Constructs a new FaxApi.
6343
6391
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -6348,7 +6396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6348
6396
  * Delete a fax document.
6349
6397
  *
6350
6398
  * @param {String} documentId Document ID
6351
- */_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
6352
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']);}/**
6353
6401
  * Get a document.
6354
6402
  *
@@ -6375,10 +6423,10 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
6375
6423
  * @param {Object} body Document
6376
6424
  */},{key:"putFaxDocument",value:function putFaxDocument(documentId,body){// verify the required parameter 'documentId' is set
6377
6425
  if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling putFaxDocument';}// verify the required parameter 'body' is set
6378
- 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(){/**
6379
6427
  * Flows service.
6380
6428
  * @module purecloud-platform-client-v2/api/FlowsApi
6381
- * @version 189.1.0
6429
+ * @version 191.0.0
6382
6430
  */ /**
6383
6431
  * Constructs a new FlowsApi.
6384
6432
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -6390,7 +6438,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6390
6438
  *
6391
6439
  * @param {String} jobId jobId
6392
6440
  * getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6393
- */_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
6394
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']);}/**
6395
6443
  * Fetch a page of results for an async aggregates query
6396
6444
  *
@@ -6424,10 +6472,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6424
6472
  *
6425
6473
  * @param {Object} body query
6426
6474
  */},{key:"postAnalyticsFlowsObservationsQuery",value:function postAnalyticsFlowsObservationsQuery(body){// verify the required parameter 'body' is set
6427
- 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(){/**
6428
6476
  * Gamification service.
6429
6477
  * @module purecloud-platform-client-v2/api/GamificationApi
6430
- * @version 189.1.0
6478
+ * @version 191.0.0
6431
6479
  */ /**
6432
6480
  * Constructs a new GamificationApi.
6433
6481
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -6438,7 +6486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6438
6486
  * Delete an External Metric Definition
6439
6487
  *
6440
6488
  * @param {String} metricId Specifies the External Metric Definition ID
6441
- */_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
6442
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']);}/**
6443
6491
  * Get an External Metric Definition
6444
6492
  *
@@ -6964,10 +7012,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6964
7012
  *
6965
7013
  * @param {Object} status Gamification status
6966
7014
  */},{key:"putGamificationStatus",value:function putGamificationStatus(status){// verify the required parameter 'status' is set
6967
- 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(){/**
6968
7016
  * GeneralDataProtectionRegulation service.
6969
7017
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
6970
- * @version 189.1.0
7018
+ * @version 191.0.0
6971
7019
  */ /**
6972
7020
  * Constructs a new GeneralDataProtectionRegulationApi.
6973
7021
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -6978,7 +7026,7 @@ if(status===undefined||status===null){throw'Missing the required parameter "stat
6978
7026
  * Get an existing GDPR request
6979
7027
  *
6980
7028
  * @param {String} requestId Request id
6981
- */_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
6982
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']);}/**
6983
7031
  * Get all GDPR requests
6984
7032
  *
@@ -6999,10 +7047,10 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
6999
7047
  * @param {Object} opts Optional parameters
7000
7048
  * @param {Boolean} opts.deleteConfirmed Confirm delete (default to false)
7001
7049
  */},{key:"postGdprRequests",value:function postGdprRequests(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7002
- 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(){/**
7003
7051
  * Geolocation service.
7004
7052
  * @module purecloud-platform-client-v2/api/GeolocationApi
7005
- * @version 189.1.0
7053
+ * @version 191.0.0
7006
7054
  */ /**
7007
7055
  * Constructs a new GeolocationApi.
7008
7056
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -7012,7 +7060,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7012
7060
  */function GeolocationApi(apiClient){_classCallCheck(this,GeolocationApi);this.apiClient=apiClient||ApiClient.instance;}/**
7013
7061
  * Get a organization's GeolocationSettings
7014
7062
  *
7015
- */_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']);}/**
7016
7064
  * Get a user's Geolocation
7017
7065
  *
7018
7066
  * @param {String} userId user Id
@@ -7033,10 +7081,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7033
7081
  */},{key:"patchUserGeolocation",value:function patchUserGeolocation(userId,clientId,body){// verify the required parameter 'userId' is set
7034
7082
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchUserGeolocation';}// verify the required parameter 'clientId' is set
7035
7083
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling patchUserGeolocation';}// verify the required parameter 'body' is set
7036
- 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(){/**
7037
7085
  * Greetings service.
7038
7086
  * @module purecloud-platform-client-v2/api/GreetingsApi
7039
- * @version 189.1.0
7087
+ * @version 191.0.0
7040
7088
  */ /**
7041
7089
  * Constructs a new GreetingsApi.
7042
7090
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -7047,7 +7095,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7047
7095
  * Deletes a Greeting with the given GreetingId
7048
7096
  *
7049
7097
  * @param {String} greetingId Greeting ID
7050
- */_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
7051
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']);}/**
7052
7100
  * Get a Greeting with the given GreetingId
7053
7101
  *
@@ -7140,10 +7188,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7140
7188
  * @param {Object} body The updated defaultGreetingList
7141
7189
  */},{key:"putUserGreetingsDefaults",value:function putUserGreetingsDefaults(userId,body){// verify the required parameter 'userId' is set
7142
7190
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserGreetingsDefaults';}// verify the required parameter 'body' is set
7143
- 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(){/**
7144
7192
  * Groups service.
7145
7193
  * @module purecloud-platform-client-v2/api/GroupsApi
7146
- * @version 189.1.0
7194
+ * @version 191.0.0
7147
7195
  */ /**
7148
7196
  * Constructs a new GroupsApi.
7149
7197
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -7154,7 +7202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7154
7202
  * Delete group
7155
7203
  *
7156
7204
  * @param {String} groupId Group ID
7157
- */_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
7158
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']);}/**
7159
7207
  * Remove dynamic group definition
7160
7208
  *
@@ -7273,10 +7321,10 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
7273
7321
  * putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7274
7322
  */},{key:"putGroupDynamicsettings",value:function putGroupDynamicsettings(groupId,body){// verify the required parameter 'groupId' is set
7275
7323
  if(groupId===undefined||groupId===null){throw'Missing the required parameter "groupId" when calling putGroupDynamicsettings';}// verify the required parameter 'body' is set
7276
- 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(){/**
7277
7325
  * IdentityProvider service.
7278
7326
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
7279
- * @version 189.1.0
7327
+ * @version 191.0.0
7280
7328
  */ /**
7281
7329
  * Constructs a new IdentityProviderApi.
7282
7330
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -7287,7 +7335,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7287
7335
  * Delete Identity Provider
7288
7336
  *
7289
7337
  * @param {String} providerId Provider ID
7290
- */_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
7291
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']);}/**
7292
7340
  * Delete ADFS Identity Provider
7293
7341
  *
@@ -7429,10 +7477,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7429
7477
  *
7430
7478
  * @param {Object} body Provider
7431
7479
  */},{key:"putIdentityprovidersSalesforce",value:function putIdentityprovidersSalesforce(body){// verify the required parameter 'body' is set
7432
- 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(){/**
7433
7481
  * InfrastructureAsCode service.
7434
7482
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
7435
- * @version 189.1.0
7483
+ * @version 191.0.0
7436
7484
  */ /**
7437
7485
  * Constructs a new InfrastructureAsCodeApi.
7438
7486
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -7445,7 +7493,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7445
7493
  * @param {String} acceleratorId Accelerator ID
7446
7494
  * @param {Object} opts Optional parameters
7447
7495
  * @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
7448
- */_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
7449
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']);}/**
7450
7498
  * Get a list of available accelerators
7451
7499
  * Search for accelerators that can be run.
@@ -7483,10 +7531,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
7483
7531
  * Create and submit a job for remote execution or see job planning results.
7484
7532
  * @param {Object} body
7485
7533
  */},{key:"postInfrastructureascodeJobs",value:function postInfrastructureascodeJobs(body){// verify the required parameter 'body' is set
7486
- 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(){/**
7487
7535
  * Integrations service.
7488
7536
  * @module purecloud-platform-client-v2/api/IntegrationsApi
7489
- * @version 189.1.0
7537
+ * @version 191.0.0
7490
7538
  */ /**
7491
7539
  * Constructs a new IntegrationsApi.
7492
7540
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -7497,7 +7545,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7497
7545
  * Delete integration.
7498
7546
  *
7499
7547
  * @param {String} integrationId Integration Id
7500
- */_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
7501
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']);}/**
7502
7550
  * Delete an Action
7503
7551
  *
@@ -8093,10 +8141,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8093
8141
  * @param {Array.<Object>} body List of User presences
8094
8142
  */},{key:"putIntegrationsUnifiedcommunicationThirdpartypresences",value:function putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId,body){// verify the required parameter 'ucIntegrationId' is set
8095
8143
  if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}// verify the required parameter 'body' is set
8096
- 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(){/**
8097
8145
  * Journey service.
8098
8146
  * @module purecloud-platform-client-v2/api/JourneyApi
8099
- * @version 189.1.0
8147
+ * @version 191.0.0
8100
8148
  */ /**
8101
8149
  * Constructs a new JourneyApi.
8102
8150
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -8107,7 +8155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8107
8155
  * Delete single action map.
8108
8156
  *
8109
8157
  * @param {String} actionMapId ID of the action map.
8110
- */_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
8111
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']);}/**
8112
8160
  * Delete a single action template.
8113
8161
  *
@@ -8311,10 +8359,48 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
8311
8359
  */},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
8312
8360
  if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
8313
8361
  if(versionId===undefined||versionId===null){throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','GET',{'viewId':viewId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8362
+ * Get the job for a journey view version.
8363
+ * used for long descriptions
8364
+ * @param {String} viewId Journey View Id
8365
+ * @param {String} journeyVersionId Journey View Version
8366
+ * @param {String} jobId JobId
8367
+ * getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8368
+ */},{key:"getJourneyViewVersionJob",value:function getJourneyViewVersionJob(viewId,journeyVersionId,jobId){// verify the required parameter 'viewId' is set
8369
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJob';}// verify the required parameter 'journeyVersionId' is set
8370
+ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';}// verify the required parameter 'jobId' is set
8371
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8372
+ * Get the result of a job for a journey view version.
8373
+ * used for long descriptions
8374
+ * @param {String} viewId JourneyViewResult id
8375
+ * @param {String} journeyViewVersion Journey View Version
8376
+ * @param {String} jobId Id of the executing job
8377
+ * getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8378
+ */},{key:"getJourneyViewVersionJobResults",value:function getJourneyViewVersionJobResults(viewId,journeyViewVersion,jobId){// verify the required parameter 'viewId' is set
8379
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';}// verify the required parameter 'journeyViewVersion' is set
8380
+ if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';}// verify the required parameter 'jobId' is set
8381
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8382
+ * Get the latest job of a journey view version.
8383
+ * used for long descriptions
8384
+ * @param {String} viewId Journey View Id
8385
+ * @param {String} journeyVersionId Journey View Version
8386
+ * getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8387
+ */},{key:"getJourneyViewVersionJobsLatest",value:function getJourneyViewVersionJobsLatest(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
8388
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersionJobsLatest';}// verify the required parameter 'journeyVersionId' is set
8389
+ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8314
8390
  * Get a list of Journey Views
8315
8391
  *
8316
8392
  * getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8317
8393
  */},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8394
+ * Get an Event Definition
8395
+ *
8396
+ * @param {String} eventDefinitionId Event Definition ID
8397
+ * getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8398
+ */},{key:"getJourneyViewsEventdefinition",value:function getJourneyViewsEventdefinition(eventDefinitionId){// verify the required parameter 'eventDefinitionId' is set
8399
+ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the required parameter "eventDefinitionId" when calling getJourneyViewsEventdefinition';}return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions/{eventDefinitionId}','GET',{'eventDefinitionId':eventDefinitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8400
+ * Get a list of Event Definitions
8401
+ *
8402
+ * getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8403
+ */},{key:"getJourneyViewsEventdefinitions",value:function getJourneyViewsEventdefinitions(){return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8318
8404
  * Update single action map.
8319
8405
  *
8320
8406
  * @param {String} actionMapId ID of the action map.
@@ -8417,6 +8503,14 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
8417
8503
  * @param {Object} opts Optional parameters
8418
8504
  * @param {Object} opts.body
8419
8505
  */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8506
+ * Submit a job request for a journey view version.
8507
+ * used for long descriptions
8508
+ * @param {String} viewId Journey View Id
8509
+ * @param {String} journeyVersionId Journey View Version
8510
+ * postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8511
+ */},{key:"postJourneyViewVersionJobs",value:function postJourneyViewVersionJobs(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
8512
+ if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewVersionJobs';}// verify the required parameter 'journeyVersionId' is set
8513
+ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling postJourneyViewVersionJobs';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs','POST',{'viewId':viewId,'journeyVersionId':journeyVersionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8420
8514
  * Update a Journey View by ID
8421
8515
  * creates a new version
8422
8516
  * @param {String} viewId viewId
@@ -8430,10 +8524,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8430
8524
  * @param {Object} body JourneyView
8431
8525
  * postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8432
8526
  */},{key:"postJourneyViews",value:function postJourneyViews(body){// verify the required parameter 'body' is set
8433
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
8527
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8528
+ * Validate whether an encoding exist for a label/value combination.
8529
+ * True indicates a valid encoding
8530
+ * @param {Object} opts Optional parameters
8531
+ * @param {Array.<Object>} opts.body
8532
+ * postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
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(){/**
8434
8534
  * Knowledge service.
8435
8535
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8436
- * @version 189.1.0
8536
+ * @version 191.0.0
8437
8537
  */ /**
8438
8538
  * Constructs a new KnowledgeApi.
8439
8539
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -8444,7 +8544,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8444
8544
  * Delete knowledge base
8445
8545
  *
8446
8546
  * @param {String} knowledgeBaseId Knowledge base ID
8447
- */_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
8448
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']);}/**
8449
8549
  * Delete category
8450
8550
  *
@@ -9342,10 +9442,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9342
9442
  *
9343
9443
  * @param {Object} body
9344
9444
  */},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
9345
- 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(){/**
9346
9446
  * LanguageUnderstanding service.
9347
9447
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
9348
- * @version 189.1.0
9448
+ * @version 191.0.0
9349
9449
  */ /**
9350
9450
  * Constructs a new LanguageUnderstandingApi.
9351
9451
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -9356,7 +9456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9356
9456
  * Delete an NLU Domain.
9357
9457
  *
9358
9458
  * @param {String} domainId ID of the NLU domain.
9359
- */_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
9360
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']);}/**
9361
9461
  * Delete the feedback on the NLU Domain Version.
9362
9462
  *
@@ -9598,10 +9698,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9598
9698
  */},{key:"putLanguageunderstandingDomainVersion",value:function putLanguageunderstandingDomainVersion(domainId,domainVersionId,body){// verify the required parameter 'domainId' is set
9599
9699
  if(domainId===undefined||domainId===null){throw'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';}// verify the required parameter 'domainVersionId' is set
9600
9700
  if(domainVersionId===undefined||domainVersionId===null){throw'Missing the required parameter "domainVersionId" when calling putLanguageunderstandingDomainVersion';}// verify the required parameter 'body' is set
9601
- 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(){/**
9602
9702
  * Languages service.
9603
9703
  * @module purecloud-platform-client-v2/api/LanguagesApi
9604
- * @version 189.1.0
9704
+ * @version 191.0.0
9605
9705
  */ /**
9606
9706
  * Constructs a new LanguagesApi.
9607
9707
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -9613,7 +9713,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9613
9713
  * This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
9614
9714
  * @param {String} languageId Language ID
9615
9715
  * @deprecated
9616
- */_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
9617
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']);}/**
9618
9718
  * Get Language (Deprecated)
9619
9719
  * This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
@@ -9653,10 +9753,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
9653
9753
  * @param {Object} body Language
9654
9754
  * @deprecated
9655
9755
  */},{key:"postLanguages",value:function postLanguages(body){// verify the required parameter 'body' is set
9656
- 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(){/**
9657
9757
  * Learning service.
9658
9758
  * @module purecloud-platform-client-v2/api/LearningApi
9659
- * @version 189.1.0
9759
+ * @version 191.0.0
9660
9760
  */ /**
9661
9761
  * Constructs a new LearningApi.
9662
9762
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -9667,7 +9767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9667
9767
  * Delete a learning assignment
9668
9768
  *
9669
9769
  * @param {String} assignmentId The Learning Assignment ID
9670
- */_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
9671
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']);}/**
9672
9772
  * Delete a learning module
9673
9773
  * This will delete a learning module if it is unpublished or it will delete a published and archived learning module
@@ -9797,7 +9897,6 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
9797
9897
  * @param {String} moduleId Key identifier for the module
9798
9898
  * @param {String} userId Key identifier for the user
9799
9899
  * @param {Object} body The learning request for updating the assignment
9800
- * patchLearningModuleUserAssignments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9801
9900
  */},{key:"patchLearningModuleUserAssignments",value:function patchLearningModuleUserAssignments(moduleId,userId,body){// verify the required parameter 'moduleId' is set
9802
9901
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'userId' is set
9803
9902
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchLearningModuleUserAssignments';}// verify the required parameter 'body' is set
@@ -9883,10 +9982,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9883
9982
  * @param {Object} body The learning module rule to be updated
9884
9983
  */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body){// verify the required parameter 'moduleId' is set
9885
9984
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';}// verify the required parameter 'body' is set
9886
- 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(){/**
9887
9986
  * License service.
9888
9987
  * @module purecloud-platform-client-v2/api/LicenseApi
9889
- * @version 189.1.0
9988
+ * @version 191.0.0
9890
9989
  */ /**
9891
9990
  * Constructs a new LicenseApi.
9892
9991
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -9897,7 +9996,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9897
9996
  * Get PureCloud license definition.
9898
9997
  *
9899
9998
  * @param {String} licenseId ID
9900
- */_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
9901
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']);}/**
9902
10001
  * Get all PureCloud license definitions available for the organization.
9903
10002
  *
@@ -9937,10 +10036,10 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9937
10036
  *
9938
10037
  * @param {Object} opts Optional parameters
9939
10038
  * @param {Array.<String>} opts.body The user IDs to fetch.
9940
- */},{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(){/**
9941
10040
  * Locations service.
9942
10041
  * @module purecloud-platform-client-v2/api/LocationsApi
9943
- * @version 189.1.0
10042
+ * @version 191.0.0
9944
10043
  */ /**
9945
10044
  * Constructs a new LocationsApi.
9946
10045
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -9951,7 +10050,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
9951
10050
  * Delete a location
9952
10051
  *
9953
10052
  * @param {String} locationId Location ID
9954
- */_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
9955
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']);}/**
9956
10055
  * Get Location by ID.
9957
10056
  *
@@ -9996,10 +10095,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9996
10095
  *
9997
10096
  * @param {Object} body Search request options
9998
10097
  */},{key:"postLocationsSearch",value:function postLocationsSearch(body){// verify the required parameter 'body' is set
9999
- 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(){/**
10000
10099
  * LogCapture service.
10001
10100
  * @module purecloud-platform-client-v2/api/LogCaptureApi
10002
- * @version 189.1.0
10101
+ * @version 191.0.0
10003
10102
  */ /**
10004
10103
  * Constructs a new LogCaptureApi.
10005
10104
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -10010,7 +10109,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10010
10109
  * Disable browser log capture for the user
10011
10110
  *
10012
10111
  * @param {String} userId The id of the user to disable browser log capture
10013
- */_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
10014
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']);}/**
10015
10114
  * Gets status of async download execution
10016
10115
  *
@@ -10046,10 +10145,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10046
10145
  * @param {Object} opts Optional parameters
10047
10146
  * @param {Object} opts.body
10048
10147
  */},{key:"postDiagnosticsLogcaptureBrowserUser",value:function postDiagnosticsLogcaptureBrowserUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
10049
- 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(){/**
10050
10149
  * Messaging service.
10051
10150
  * @module purecloud-platform-client-v2/api/MessagingApi
10052
- * @version 189.1.0
10151
+ * @version 191.0.0
10053
10152
  */ /**
10054
10153
  * Constructs a new MessagingApi.
10055
10154
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -10061,7 +10160,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
10061
10160
  *
10062
10161
  * @param {String} messageSettingId Message Settings ID
10063
10162
  * @deprecated
10064
- */_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
10065
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']);}/**
10066
10165
  * Delete the organization's default setting, a global default will be applied to integrations without settings
10067
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.
@@ -10136,10 +10235,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10136
10235
  * @param {Object} body Messaging Setting ID
10137
10236
  * @deprecated
10138
10237
  */},{key:"putMessagingSettingsDefault",value:function putMessagingSettingsDefault(body){// verify the required parameter 'body' is set
10139
- 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(){/**
10140
10239
  * MobileDevices service.
10141
10240
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
10142
- * @version 189.1.0
10241
+ * @version 191.0.0
10143
10242
  */ /**
10144
10243
  * Constructs a new MobileDevicesApi.
10145
10244
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -10150,7 +10249,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10150
10249
  * Delete device
10151
10250
  *
10152
10251
  * @param {String} deviceId Device ID
10153
- */_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
10154
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']);}/**
10155
10254
  * Get device
10156
10255
  *
@@ -10175,10 +10274,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10175
10274
  * @param {Object} opts Optional parameters
10176
10275
  * @param {Object} opts.body Device
10177
10276
  */},{key:"putMobiledevice",value:function putMobiledevice(deviceId,opts){opts=opts||{};// verify the required parameter 'deviceId' is set
10178
- 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(){/**
10179
10278
  * Notifications service.
10180
10279
  * @module purecloud-platform-client-v2/api/NotificationsApi
10181
- * @version 189.1.0
10280
+ * @version 191.0.0
10182
10281
  */ /**
10183
10282
  * Constructs a new NotificationsApi.
10184
10283
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -10189,7 +10288,7 @@ if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "
10189
10288
  * Remove all subscriptions
10190
10289
  *
10191
10290
  * @param {String} channelId Channel ID
10192
- */_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
10193
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']);}/**
10194
10293
  * Get available notification topics.
10195
10294
  *
@@ -10232,10 +10331,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10232
10331
  * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
10233
10332
  */},{key:"putNotificationsChannelSubscriptions",value:function putNotificationsChannelSubscriptions(channelId,body,opts){opts=opts||{};// verify the required parameter 'channelId' is set
10234
10333
  if(channelId===undefined||channelId===null){throw'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';}// verify the required parameter 'body' is set
10235
- 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(){/**
10236
10335
  * OAuth service.
10237
10336
  * @module purecloud-platform-client-v2/api/OAuthApi
10238
- * @version 189.1.0
10337
+ * @version 191.0.0
10239
10338
  */ /**
10240
10339
  * Constructs a new OAuthApi.
10241
10340
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -10246,7 +10345,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10246
10345
  * Delete OAuth Client
10247
10346
  *
10248
10347
  * @param {String} clientId Client ID
10249
- */_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
10250
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']);}/**
10251
10350
  * Get a client that is authorized by the resource owner
10252
10351
  *
@@ -10317,10 +10416,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10317
10416
  * @param {Object} body Client
10318
10417
  */},{key:"putOauthClient",value:function putOauthClient(clientId,body){// verify the required parameter 'clientId' is set
10319
10418
  if(clientId===undefined||clientId===null){throw'Missing the required parameter "clientId" when calling putOauthClient';}// verify the required parameter 'body' is set
10320
- 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(){/**
10321
10420
  * Objects service.
10322
10421
  * @module purecloud-platform-client-v2/api/ObjectsApi
10323
- * @version 189.1.0
10422
+ * @version 191.0.0
10324
10423
  */ /**
10325
10424
  * Constructs a new ObjectsApi.
10326
10425
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -10333,7 +10432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10333
10432
  * @param {String} divisionId Division ID
10334
10433
  * @param {Object} opts Optional parameters
10335
10434
  * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
10336
- */_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
10337
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']);}/**
10338
10437
  * Returns an authorization division.
10339
10438
  *
@@ -10388,10 +10487,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10388
10487
  * @param {Object} body Updated division data
10389
10488
  */},{key:"putAuthorizationDivision",value:function putAuthorizationDivision(divisionId,body){// verify the required parameter 'divisionId' is set
10390
10489
  if(divisionId===undefined||divisionId===null){throw'Missing the required parameter "divisionId" when calling putAuthorizationDivision';}// verify the required parameter 'body' is set
10391
- 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(){/**
10392
10491
  * OperationalEvents service.
10393
10492
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
10394
- * @version 189.1.0
10493
+ * @version 191.0.0
10395
10494
  */ /**
10396
10495
  * Constructs a new OperationalEventsApi.
10397
10496
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -10402,14 +10501,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10402
10501
  * Get an operational event definition by its id
10403
10502
  *
10404
10503
  * @param {String} eventDefinitionId EventDefinition id
10405
- */_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
10406
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']);}/**
10407
10506
  * Get all operational event definitions
10408
10507
  *
10409
- */},{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(){/**
10410
10509
  * Organization service.
10411
10510
  * @module purecloud-platform-client-v2/api/OrganizationApi
10412
- * @version 189.1.0
10511
+ * @version 191.0.0
10413
10512
  */ /**
10414
10513
  * Constructs a new OrganizationApi.
10415
10514
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -10421,7 +10520,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
10421
10520
  *
10422
10521
  * @param {Object} type Field type
10423
10522
  * @deprecated
10424
- */_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
10425
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']);}/**
10426
10525
  * Gets the organization's settings
10427
10526
  *
@@ -10448,7 +10547,7 @@ if(requestId===undefined||requestId===null){throw'Missing the required parameter
10448
10547
  * @param {Number} opts.pageSize Page Size (default to 25)
10449
10548
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
10450
10549
  */},{key:"getOrganizationsLimitsChangerequests",value:function getOrganizationsLimitsChangerequests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/organizations/limits/changerequests','GET',{},{'after':opts['after'],'before':opts['before'],'status':opts['status'],'pageSize':opts['pageSize'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10451
- * Get a link to the limit documentation
10550
+ * Get limit documentation
10452
10551
  *
10453
10552
  */},{key:"getOrganizationsLimitsDocs",value:function getOrganizationsLimitsDocs(){return this.apiClient.callApi('/api/v2/organizations/limits/docs','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10454
10553
  * Get the effective limits in a namespace for an organization
@@ -10508,10 +10607,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10508
10607
  * @param {Object} body Whitelist settings
10509
10608
  * @deprecated
10510
10609
  */},{key:"putOrganizationsWhitelist",value:function putOrganizationsWhitelist(body){// verify the required parameter 'body' is set
10511
- 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(){/**
10512
10611
  * OrganizationAuthorization service.
10513
10612
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
10514
- * @version 189.1.0
10613
+ * @version 191.0.0
10515
10614
  */ /**
10516
10615
  * Constructs a new OrganizationAuthorizationApi.
10517
10616
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -10522,7 +10621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10522
10621
  * Delete Org Trust
10523
10622
  *
10524
10623
  * @param {String} trusteeOrgId Trustee Organization Id
10525
- */_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
10526
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']);}/**
10527
10626
  * Deletes cloned user
10528
10627
  *
@@ -10831,10 +10930,10 @@ if(trustorGroupId===undefined||trustorGroupId===null){throw'Missing the required
10831
10930
  * @param {String} trusteeUserId Trustee User Id
10832
10931
  */},{key:"putOrgauthorizationTrustorUser",value:function putOrgauthorizationTrustorUser(trustorOrgId,trusteeUserId){// verify the required parameter 'trustorOrgId' is set
10833
10932
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';}// verify the required parameter 'trusteeUserId' is set
10834
- 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(){/**
10835
10934
  * Outbound service.
10836
10935
  * @module purecloud-platform-client-v2/api/OutboundApi
10837
- * @version 189.1.0
10936
+ * @version 191.0.0
10838
10937
  */ /**
10839
10938
  * Constructs a new OutboundApi.
10840
10939
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -10845,7 +10944,7 @@ if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required p
10845
10944
  * Delete attempt limits
10846
10945
  *
10847
10946
  * @param {String} attemptLimitsId Attempt limits ID
10848
- */_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
10849
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']);}/**
10850
10949
  * Delete callable time set
10851
10950
  *
@@ -11869,10 +11968,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11869
11968
  *
11870
11969
  * @param {Object} body wrapUpCodeMapping
11871
11970
  */},{key:"putOutboundWrapupcodemappings",value:function putOutboundWrapupcodemappings(body){// verify the required parameter 'body' is set
11872
- 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(){/**
11873
11972
  * Presence service.
11874
11973
  * @module purecloud-platform-client-v2/api/PresenceApi
11875
- * @version 189.1.0
11974
+ * @version 191.0.0
11876
11975
  */ /**
11877
11976
  * Constructs a new PresenceApi.
11878
11977
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -11883,7 +11982,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11883
11982
  * Delete a Presence Definition
11884
11983
  *
11885
11984
  * @param {String} definitionId Presence Definition ID
11886
- */_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
11887
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']);}/**
11888
11987
  * Delete a Presence Source
11889
11988
  *
@@ -12042,10 +12141,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12042
12141
  *
12043
12142
  * @param {Array.<Object>} body List of User presences
12044
12143
  */},{key:"putUsersPresencesBulk",value:function putUsersPresencesBulk(body){// verify the required parameter 'body' is set
12045
- 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(){/**
12046
12145
  * ProcessAutomation service.
12047
12146
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
12048
- * @version 189.1.0
12147
+ * @version 191.0.0
12049
12148
  */ /**
12050
12149
  * Constructs a new ProcessAutomationApi.
12051
12150
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -12056,7 +12155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12056
12155
  * Delete a Trigger
12057
12156
  *
12058
12157
  * @param {String} triggerId triggerId
12059
- */_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
12060
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']);}/**
12061
12160
  * Retrieve a single Trigger matching id
12062
12161
  *
@@ -12105,10 +12204,10 @@ if(topicName===undefined||topicName===null){throw'Missing the required parameter
12105
12204
  * @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
12106
12205
  */},{key:"putProcessautomationTrigger",value:function putProcessautomationTrigger(triggerId,body){// verify the required parameter 'triggerId' is set
12107
12206
  if(triggerId===undefined||triggerId===null){throw'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';}// verify the required parameter 'body' is set
12108
- 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(){/**
12109
12208
  * Quality service.
12110
12209
  * @module purecloud-platform-client-v2/api/QualityApi
12111
- * @version 189.1.0
12210
+ * @version 191.0.0
12112
12211
  */ /**
12113
12212
  * Constructs a new QualityApi.
12114
12213
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -12120,7 +12219,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12120
12219
  *
12121
12220
  * @param {String} calibrationId Calibration ID
12122
12221
  * @param {String} calibratorId calibratorId
12123
- */_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
12124
12223
  if(calibrationId===undefined||calibrationId===null){throw'Missing the required parameter "calibrationId" when calling deleteQualityCalibration';}// verify the required parameter 'calibratorId' is set
12125
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']);}/**
12126
12225
  * Delete an evaluation
@@ -12576,10 +12675,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12576
12675
  * @param {Object} body survey
12577
12676
  */},{key:"putQualitySurveysScorable",value:function putQualitySurveysScorable(customerSurveyUrl,body){// verify the required parameter 'customerSurveyUrl' is set
12578
12677
  if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';}// verify the required parameter 'body' is set
12579
- 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(){/**
12580
12679
  * Recording service.
12581
12680
  * @module purecloud-platform-client-v2/api/RecordingApi
12582
- * @version 189.1.0
12681
+ * @version 191.0.0
12583
12682
  */ /**
12584
12683
  * Constructs a new RecordingApi.
12585
12684
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -12592,7 +12691,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12592
12691
  * @param {String} conversationId Conversation ID
12593
12692
  * @param {String} recordingId Recording ID
12594
12693
  * @param {String} annotationId Annotation ID
12595
- */_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
12596
12695
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling deleteConversationRecordingAnnotation';}// verify the required parameter 'recordingId' is set
12597
12696
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling deleteConversationRecordingAnnotation';}// verify the required parameter 'annotationId' is set
12598
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']);}/**
@@ -12818,11 +12917,16 @@ if(reportId===undefined||reportId===null){throw'Missing the required parameter "
12818
12917
  */},{key:"getRecordingsRetentionQuery",value:function getRecordingsRetentionQuery(retentionThresholdDays,opts){opts=opts||{};// verify the required parameter 'retentionThresholdDays' is set
12819
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']);}/**
12820
12919
  * Retrieves a paged listing of screen recording sessions
12821
- *
12920
+ * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
12822
12921
  * @param {Object} opts Optional parameters
12823
12922
  * @param {Number} opts.pageSize Page size (default to 25)
12824
12923
  * @param {Number} opts.pageNumber Page number (default to 1)
12924
+ * @deprecated
12825
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']);}/**
12926
+ * Retrieves an object containing the total number of concurrent active screen recordings
12927
+ *
12928
+ * getRecordingsScreensessionsDetails is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12929
+ */},{key:"getRecordingsScreensessionsDetails",value:function getRecordingsScreensessionsDetails(){return this.apiClient.callApi('/api/v2/recordings/screensessions/details','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12826
12930
  * Patch a media retention policy
12827
12931
  *
12828
12932
  * @param {String} policyId Policy ID
@@ -12983,10 +13087,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12983
13087
  * @param {Object} opts Optional parameters
12984
13088
  * @param {Boolean} opts.protect Check for apply, uncheck for revoke (each action requires the respective permission) (default to true)
12985
13089
  * @param {Object} opts.body
12986
- */},{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(){/**
12987
13091
  * ResponseManagement service.
12988
13092
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
12989
- * @version 189.1.0
13093
+ * @version 191.0.0
12990
13094
  */ /**
12991
13095
  * Constructs a new ResponseManagementApi.
12992
13096
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -12997,7 +13101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12997
13101
  * Delete an existing response library.
12998
13102
  * This will remove any responses associated with the library.
12999
13103
  * @param {String} libraryId Library ID
13000
- */_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
13001
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']);}/**
13002
13106
  * Delete an existing response.
13003
13107
  * This will remove the response from any libraries associated with it.
@@ -13053,6 +13157,11 @@ if(libraryId===undefined||libraryId===null){throw'Missing the required parameter
13053
13157
  * @param {Object} body Library
13054
13158
  */},{key:"postResponsemanagementLibraries",value:function postResponsemanagementLibraries(body){// verify the required parameter 'body' is set
13055
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']);}/**
13056
13165
  * Search response assets
13057
13166
  *
13058
13167
  * @param {Object} body request
@@ -13099,10 +13208,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13099
13208
  * @param {Object} body request
13100
13209
  */},{key:"putResponsemanagementResponseasset",value:function putResponsemanagementResponseasset(responseAssetId,body){// verify the required parameter 'responseAssetId' is set
13101
13210
  if(responseAssetId===undefined||responseAssetId===null){throw'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';}// verify the required parameter 'body' is set
13102
- 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(){/**
13103
13212
  * Routing service.
13104
13213
  * @module purecloud-platform-client-v2/api/RoutingApi
13105
- * @version 189.1.0
13214
+ * @version 191.0.0
13106
13215
  */ /**
13107
13216
  * Constructs a new RoutingApi.
13108
13217
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -13113,7 +13222,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13113
13222
  * Delete single benefit assessment.
13114
13223
  *
13115
13224
  * @param {String} assessmentId Benefit Assessment ID
13116
- */_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
13117
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']);}/**
13118
13227
  * Delete a domain
13119
13228
  *
@@ -13456,12 +13565,13 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
13456
13565
  * @param {Number} opts.pageNumber Page number (default to 1)
13457
13566
  * @param {Number} opts.pageSize Page size (default to 25)
13458
13567
  * @param {Object} opts.sortOrder Note: results are sorted by name. (default to asc)
13459
- * @param {String} opts.name Filter by queue name
13460
- * @param {Array.<String>} opts.id Filter by queue ID(s)
13461
- * @param {Array.<String>} opts.divisionId Filter by queue division ID(s)
13462
- * @param {Array.<String>} opts.peerId Filter by queue peer ID(s)
13463
- * @param {Boolean} opts.hasPeer Filter by queues associated with peer
13464
- */},{key:"getRoutingQueues",value:function getRoutingQueues(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/queues','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'peerId':this.apiClient.buildCollectionParam(opts['peerId'],'multi'),'hasPeer':opts['hasPeer']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13568
+ * @param {String} opts.name Include only queues with the given name (leading and trailing asterisks allowed)
13569
+ * @param {Array.<String>} opts.id Include only queues with the specified ID(s)
13570
+ * @param {Array.<String>} opts.divisionId Include only queues in the specified division ID(s)
13571
+ * @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
13572
+ * @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
13573
+ * @param {Boolean} opts.hasPeer Include only queues with a peer ID
13574
+ */},{key:"getRoutingQueues",value:function getRoutingQueues(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/queues','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'peerId':this.apiClient.buildCollectionParam(opts['peerId'],'multi'),'cannedResponseLibraryId':opts['cannedResponseLibraryId'],'hasPeer':opts['hasPeer']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13465
13575
  * Get a paged listing of simplified queue objects, filterable by name, queue ID(s), or division ID(s).
13466
13576
  *
13467
13577
  * @param {Object} opts Optional parameters
@@ -13944,6 +14054,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13944
14054
  * @param {Object} body SmsPhoneNumber
13945
14055
  */},{key:"postRoutingSmsPhonenumbers",value:function postRoutingSmsPhonenumbers(body){// verify the required parameter 'body' is set
13946
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']);}/**
13947
14063
  * Imports a phone number for SMS
13948
14064
  *
13949
14065
  * @param {Object} body SmsPhoneNumber
@@ -14067,10 +14183,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14067
14183
  * @param {Array.<Object>} body Skill
14068
14184
  */},{key:"putUserRoutingskillsBulk",value:function putUserRoutingskillsBulk(userId,body){// verify the required parameter 'userId' is set
14069
14185
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';}// verify the required parameter 'body' is set
14070
- 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(){/**
14071
14187
  * SCIM service.
14072
14188
  * @module purecloud-platform-client-v2/api/SCIMApi
14073
- * @version 189.1.0
14189
+ * @version 191.0.0
14074
14190
  */ /**
14075
14191
  * Constructs a new SCIMApi.
14076
14192
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -14083,7 +14199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14083
14199
  * @param {String} userId The ID of a user. Returned with GET /api/v2/scim/users.
14084
14200
  * @param {Object} opts Optional parameters
14085
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.
14086
- */_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
14087
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']);}/**
14088
14204
  * Delete a user
14089
14205
  *
@@ -14292,10 +14408,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14292
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.
14293
14409
  */},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
14294
14410
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
14295
- 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(){/**
14296
14412
  * ScreenRecording service.
14297
14413
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
14298
- * @version 189.1.0
14414
+ * @version 191.0.0
14299
14415
  */ /**
14300
14416
  * Constructs a new ScreenRecordingApi.
14301
14417
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -14307,10 +14423,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14307
14423
  *
14308
14424
  * @param {Object} opts Optional parameters
14309
14425
  * @param {Object} opts.body
14310
- */_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(){/**
14311
14427
  * Scripts service.
14312
14428
  * @module purecloud-platform-client-v2/api/ScriptsApi
14313
- * @version 189.1.0
14429
+ * @version 191.0.0
14314
14430
  */ /**
14315
14431
  * Constructs a new ScriptsApi.
14316
14432
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -14321,7 +14437,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14321
14437
  * Get a script
14322
14438
  *
14323
14439
  * @param {String} scriptId Script ID
14324
- */_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
14325
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']);}/**
14326
14442
  * Get a page
14327
14443
  *
@@ -14443,10 +14559,10 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14443
14559
  * @param {Object} opts Optional parameters
14444
14560
  * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
14445
14561
  * @param {Object} opts.body body
14446
- */},{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(){/**
14447
14563
  * Search service.
14448
14564
  * @module purecloud-platform-client-v2/api/SearchApi
14449
- * @version 189.1.0
14565
+ * @version 191.0.0
14450
14566
  */ /**
14451
14567
  * Constructs a new SearchApi.
14452
14568
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -14457,7 +14573,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
14457
14573
  * Search gkn documentation using the q64 value returned from a previous search
14458
14574
  *
14459
14575
  * @param {String} q64 q64
14460
- */_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
14461
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']);}/**
14462
14578
  * Search documentation using the q64 value returned from a previous search
14463
14579
  *
@@ -14603,10 +14719,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14603
14719
  *
14604
14720
  * @param {Object} body Search request options
14605
14721
  */},{key:"postVoicemailSearch",value:function postVoicemailSearch(body){// verify the required parameter 'body' is set
14606
- 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(){/**
14607
14723
  * Settings service.
14608
14724
  * @module purecloud-platform-client-v2/api/SettingsApi
14609
- * @version 189.1.0
14725
+ * @version 191.0.0
14610
14726
  */ /**
14611
14727
  * Constructs a new SettingsApi.
14612
14728
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -14616,7 +14732,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14616
14732
  */function SettingsApi(apiClient){_classCallCheck(this,SettingsApi);this.apiClient=apiClient||ApiClient.instance;}/**
14617
14733
  * Get email Contact Center settings
14618
14734
  *
14619
- */_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']);}/**
14620
14736
  * Get the execution history enabled setting.
14621
14737
  * Get the execution history enabled setting.
14622
14738
  * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
@@ -14631,10 +14747,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14631
14747
  * @param {Object} body New Execution Data Setting
14632
14748
  * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14633
14749
  */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
14634
- 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(){/**
14635
14751
  * SpeechTextAnalytics service.
14636
14752
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
14637
- * @version 189.1.0
14753
+ * @version 191.0.0
14638
14754
  */ /**
14639
14755
  * Constructs a new SpeechTextAnalyticsApi.
14640
14756
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -14645,7 +14761,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14645
14761
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
14646
14762
  *
14647
14763
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
14648
- */_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
14649
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']);}/**
14650
14766
  * Delete a Speech and Text Analytics program by id
14651
14767
  *
@@ -14875,10 +14991,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14875
14991
  * @param {Object} body The topic to update
14876
14992
  */},{key:"putSpeechandtextanalyticsTopic",value:function putSpeechandtextanalyticsTopic(topicId,body){// verify the required parameter 'topicId' is set
14877
14993
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSpeechandtextanalyticsTopic';}// verify the required parameter 'body' is set
14878
- 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(){/**
14879
14995
  * Stations service.
14880
14996
  * @module purecloud-platform-client-v2/api/StationsApi
14881
- * @version 189.1.0
14997
+ * @version 191.0.0
14882
14998
  */ /**
14883
14999
  * Constructs a new StationsApi.
14884
15000
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -14889,7 +15005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14889
15005
  * Unassigns the user assigned to this station
14890
15006
  *
14891
15007
  * @param {String} stationId Station ID
14892
- */_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
14893
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']);}/**
14894
15010
  * Get station.
14895
15011
  *
@@ -14907,10 +15023,10 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14907
15023
  * @param {String} opts.webRtcUserId Filter for the webRtc station of the webRtcUserId
14908
15024
  * @param {String} opts.id Comma separated list of stationIds
14909
15025
  * @param {String} opts.lineAppearanceId lineAppearanceId
14910
- */},{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(){/**
14911
15027
  * Suggest service.
14912
15028
  * @module purecloud-platform-client-v2/api/SuggestApi
14913
- * @version 189.1.0
15029
+ * @version 191.0.0
14914
15030
  */ /**
14915
15031
  * Constructs a new SuggestApi.
14916
15032
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -14924,7 +15040,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
14924
15040
  * @param {Object} opts Optional parameters
14925
15041
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
14926
15042
  * @param {Boolean} opts.profile profile (default to true)
14927
- */_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
14928
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']);}/**
14929
15045
  * Suggest resources using the q64 value returned from a previous suggest query.
14930
15046
  *
@@ -14947,10 +15063,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14947
15063
  * @param {Object} opts Optional parameters
14948
15064
  * @param {Boolean} opts.profile profile (default to true)
14949
15065
  */},{key:"postSearchSuggest",value:function postSearchSuggest(body,opts){opts=opts||{};// verify the required parameter 'body' is set
14950
- 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(){/**
14951
15067
  * TaskManagement service.
14952
15068
  * @module purecloud-platform-client-v2/api/TaskManagementApi
14953
- * @version 189.1.0
15069
+ * @version 191.0.0
14954
15070
  */ /**
14955
15071
  * Constructs a new TaskManagementApi.
14956
15072
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -14962,7 +15078,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14962
15078
  *
14963
15079
  * @param {String} workbinId Workbin ID
14964
15080
  * deleteTaskmanagementWorkbin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14965
- */_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
14966
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']);}/**
14967
15083
  * Delete a workitem
14968
15084
  *
@@ -15295,10 +15411,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15295
15411
  * putTaskmanagementWorkitemsSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
15296
15412
  */},{key:"putTaskmanagementWorkitemsSchema",value:function putTaskmanagementWorkitemsSchema(schemaId,body){// verify the required parameter 'schemaId' is set
15297
15413
  if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';}// verify the required parameter 'body' is set
15298
- 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(){/**
15299
15415
  * Teams service.
15300
15416
  * @module purecloud-platform-client-v2/api/TeamsApi
15301
- * @version 189.1.0
15417
+ * @version 191.0.0
15302
15418
  */ /**
15303
15419
  * Constructs a new TeamsApi.
15304
15420
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -15309,7 +15425,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15309
15425
  * Delete team
15310
15426
  *
15311
15427
  * @param {String} teamId Team ID
15312
- */_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
15313
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']);}/**
15314
15430
  * Delete team members
15315
15431
  *
@@ -15374,10 +15490,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15374
15490
  *
15375
15491
  * @param {Object} body Search request options
15376
15492
  */},{key:"postTeamsSearch",value:function postTeamsSearch(body){// verify the required parameter 'body' is set
15377
- 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(){/**
15378
15494
  * Telephony service.
15379
15495
  * @module purecloud-platform-client-v2/api/TelephonyApi
15380
- * @version 189.1.0
15496
+ * @version 191.0.0
15381
15497
  */ /**
15382
15498
  * Constructs a new TelephonyApi.
15383
15499
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -15387,7 +15503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15387
15503
  */function TelephonyApi(apiClient){_classCallCheck(this,TelephonyApi);this.apiClient=apiClient||ApiClient.instance;}/**
15388
15504
  * Retrieve the list of AWS regions media can stream through.
15389
15505
  *
15390
- */_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']);}/**
15391
15507
  * Get a SIP message.
15392
15508
  * Get the raw form of the SIP message
15393
15509
  * @param {String} conversationId Conversation id
@@ -15421,10 +15537,10 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
15421
15537
  *
15422
15538
  * @param {Object} sIPSearchPublicRequest
15423
15539
  */},{key:"postTelephonySiptracesDownload",value:function postTelephonySiptracesDownload(sIPSearchPublicRequest){// verify the required parameter 'sIPSearchPublicRequest' is set
15424
- 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(){/**
15425
15541
  * TelephonyProvidersEdge service.
15426
15542
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
15427
- * @version 189.1.0
15543
+ * @version 191.0.0
15428
15544
  */ /**
15429
15545
  * Constructs a new TelephonyProvidersEdgeApi.
15430
15546
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -15435,7 +15551,7 @@ if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Miss
15435
15551
  * Delete a edge.
15436
15552
  *
15437
15553
  * @param {String} edgeId Edge ID
15438
- */_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
15439
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']);}/**
15440
15556
  * Delete an edge logical interface
15441
15557
  *
@@ -16235,10 +16351,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16235
16351
  * @param {Object} body Trunk base settings
16236
16352
  */},{key:"putTelephonyProvidersEdgesTrunkbasesetting",value:function putTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId,body){// verify the required parameter 'trunkBaseSettingsId' is set
16237
16353
  if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing the required parameter "trunkBaseSettingsId" when calling putTelephonyProvidersEdgesTrunkbasesetting';}// verify the required parameter 'body' is set
16238
- 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(){/**
16239
16355
  * Textbots service.
16240
16356
  * @module purecloud-platform-client-v2/api/TextbotsApi
16241
- * @version 189.1.0
16357
+ * @version 191.0.0
16242
16358
  */ /**
16243
16359
  * Constructs a new TextbotsApi.
16244
16360
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -16253,7 +16369,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16253
16369
  * @param {String} opts.botName Bot name
16254
16370
  * @param {Array.<String>} opts.botId Bot IDs
16255
16371
  * @param {Number} opts.pageSize The maximum results to return (default to 25)
16256
- */_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']);}/**
16257
16373
  * Issue a bot flow turn event
16258
16374
  * Send a turn event to an executing bot flow and produce the next action to take.
16259
16375
  * @param {String} sessionId The bot flow session ID, typically obtained from 'POST /api/v2/textbots/botflows/sessions'
@@ -16270,10 +16386,10 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
16270
16386
  * This will either start a bot with the given id or relay a communication to an existing bot session.
16271
16387
  * @param {Object} postTextRequest
16272
16388
  */},{key:"postTextbotsBotsExecute",value:function postTextbotsBotsExecute(postTextRequest){// verify the required parameter 'postTextRequest' is set
16273
- 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(){/**
16274
16390
  * Tokens service.
16275
16391
  * @module purecloud-platform-client-v2/api/TokensApi
16276
- * @version 189.1.0
16392
+ * @version 191.0.0
16277
16393
  */ /**
16278
16394
  * Constructs a new TokensApi.
16279
16395
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -16284,7 +16400,7 @@ if(postTextRequest===undefined||postTextRequest===null){throw'Missing the requir
16284
16400
  * Delete all auth tokens for the specified user.
16285
16401
  *
16286
16402
  * @param {String} userId User ID
16287
- */_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
16288
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']);}/**
16289
16405
  * Delete auth token used to make the request.
16290
16406
  *
@@ -16304,10 +16420,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16304
16420
  *
16305
16421
  * @param {Object} opts Optional parameters
16306
16422
  * @param {Object} opts.body
16307
- */},{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(){/**
16308
16424
  * Uploads service.
16309
16425
  * @module purecloud-platform-client-v2/api/UploadsApi
16310
- * @version 189.1.0
16426
+ * @version 191.0.0
16311
16427
  */ /**
16312
16428
  * Constructs a new UploadsApi.
16313
16429
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -16320,7 +16436,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
16320
16436
  * @param {String} knowledgeBaseId Knowledge base ID
16321
16437
  * @param {String} jobId Upload job ID
16322
16438
  * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16323
- */_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
16324
16440
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
16325
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']);}/**
16326
16442
  * Create upload presigned URL for draft function package file.
@@ -16370,10 +16486,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16370
16486
  *
16371
16487
  * @param {Object} body query
16372
16488
  */},{key:"postUploadsWorkforcemanagementHistoricaldataCsv",value:function postUploadsWorkforcemanagementHistoricaldataCsv(body){// verify the required parameter 'body' is set
16373
- 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(){/**
16374
16490
  * Usage service.
16375
16491
  * @module purecloud-platform-client-v2/api/UsageApi
16376
- * @version 189.1.0
16492
+ * @version 191.0.0
16377
16493
  */ /**
16378
16494
  * Constructs a new UsageApi.
16379
16495
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -16385,7 +16501,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16385
16501
  *
16386
16502
  * @param {String} executionId ID of the query execution
16387
16503
  * @param {String} clientId Client ID
16388
- */_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
16389
16505
  if(executionId===undefined||executionId===null){throw'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';}// verify the required parameter 'clientId' is set
16390
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']);}/**
16391
16507
  * Get a summary of OAuth client API usage
@@ -16400,7 +16516,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
16400
16516
  * @param {String} executionId ID of the query execution
16401
16517
  */},{key:"getUsageQueryExecutionIdResults",value:function getUsageQueryExecutionIdResults(executionId){// verify the required parameter 'executionId' is set
16402
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']);}/**
16403
- * 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.
16404
16520
  *
16405
16521
  * @param {String} executionId ID of the search execution
16406
16522
  */},{key:"getUsageSimplesearchExecutionIdResults",value:function getUsageSimplesearchExecutionIdResults(executionId){// verify the required parameter 'executionId' is set
@@ -16417,14 +16533,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16417
16533
  * @param {Object} body Query
16418
16534
  */},{key:"postUsageQuery",value:function postUsageQuery(body){// verify the required parameter 'body' is set
16419
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']);}/**
16420
- * Search organization API Usage -
16421
- * 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
16422
16538
  * @param {Object} body SimpleSearch
16423
16539
  */},{key:"postUsageSimplesearch",value:function postUsageSimplesearch(body){// verify the required parameter 'body' is set
16424
- 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(){/**
16425
16541
  * UserRecordings service.
16426
16542
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
16427
- * @version 189.1.0
16543
+ * @version 191.0.0
16428
16544
  */ /**
16429
16545
  * Constructs a new UserRecordingsApi.
16430
16546
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -16435,7 +16551,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16435
16551
  * Delete a user recording.
16436
16552
  *
16437
16553
  * @param {String} recordingId User Recording ID
16438
- */_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
16439
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']);}/**
16440
16556
  * Get a user recording.
16441
16557
  *
@@ -16470,10 +16586,10 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
16470
16586
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
16471
16587
  */},{key:"putUserrecording",value:function putUserrecording(recordingId,body,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
16472
16588
  if(recordingId===undefined||recordingId===null){throw'Missing the required parameter "recordingId" when calling putUserrecording';}// verify the required parameter 'body' is set
16473
- 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(){/**
16474
16590
  * Users service.
16475
16591
  * @module purecloud-platform-client-v2/api/UsersApi
16476
- * @version 189.1.0
16592
+ * @version 191.0.0
16477
16593
  */ /**
16478
16594
  * Constructs a new UsersApi.
16479
16595
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -16484,7 +16600,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16484
16600
  * Delete/cancel an async request
16485
16601
  *
16486
16602
  * @param {String} jobId jobId
16487
- */_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
16488
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']);}/**
16489
16605
  * Delete a grant of a role in a division
16490
16606
  *
@@ -17129,10 +17245,10 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
17129
17245
  */},{key:"putUserVerifier",value:function putUserVerifier(userId,verifierId,body){// verify the required parameter 'userId' is set
17130
17246
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putUserVerifier';}// verify the required parameter 'verifierId' is set
17131
17247
  if(verifierId===undefined||verifierId===null){throw'Missing the required parameter "verifierId" when calling putUserVerifier';}// verify the required parameter 'body' is set
17132
- 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(){/**
17133
17249
  * Utilities service.
17134
17250
  * @module purecloud-platform-client-v2/api/UtilitiesApi
17135
- * @version 189.1.0
17251
+ * @version 191.0.0
17136
17252
  */ /**
17137
17253
  * Constructs a new UtilitiesApi.
17138
17254
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -17142,7 +17258,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17142
17258
  */function UtilitiesApi(apiClient){_classCallCheck(this,UtilitiesApi);this.apiClient=apiClient||ApiClient.instance;}/**
17143
17259
  * Get the current system date/time
17144
17260
  *
17145
- */_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']);}/**
17146
17262
  * Get public ip address ranges for Genesys Cloud
17147
17263
  *
17148
17264
  */},{key:"getIpranges",value:function getIpranges(){return this.apiClient.callApi('/api/v2/ipranges','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -17156,10 +17272,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17156
17272
  *
17157
17273
  * @param {Object} body Certificate
17158
17274
  */},{key:"postCertificateDetails",value:function postCertificateDetails(body){// verify the required parameter 'body' is set
17159
- 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(){/**
17160
17276
  * Voicemail service.
17161
17277
  * @module purecloud-platform-client-v2/api/VoicemailApi
17162
- * @version 189.1.0
17278
+ * @version 191.0.0
17163
17279
  */ /**
17164
17280
  * Constructs a new VoicemailApi.
17165
17281
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -17170,7 +17286,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17170
17286
  * Delete a voicemail message.
17171
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.
17172
17288
  * @param {String} messageId Message ID
17173
- */_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
17174
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']);}/**
17175
17291
  * Delete all voicemail messages
17176
17292
  *
@@ -17305,10 +17421,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17305
17421
  * @param {Object} body The user's voicemail policy
17306
17422
  */},{key:"putVoicemailUserpolicy",value:function putVoicemailUserpolicy(userId,body){// verify the required parameter 'userId' is set
17307
17423
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putVoicemailUserpolicy';}// verify the required parameter 'body' is set
17308
- 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(){/**
17309
17425
  * WebChat service.
17310
17426
  * @module purecloud-platform-client-v2/api/WebChatApi
17311
- * @version 189.1.0
17427
+ * @version 191.0.0
17312
17428
  */ /**
17313
17429
  * Constructs a new WebChatApi.
17314
17430
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -17320,7 +17436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17320
17436
  *
17321
17437
  * @param {String} deploymentId Deployment Id
17322
17438
  * @deprecated
17323
- */_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
17324
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']);}/**
17325
17441
  * Remove a member from a chat conversation
17326
17442
  *
@@ -17438,10 +17554,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17438
17554
  *
17439
17555
  * @param {Object} body webChatSettings
17440
17556
  */},{key:"putWebchatSettings",value:function putWebchatSettings(body){// verify the required parameter 'body' is set
17441
- 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(){/**
17442
17558
  * WebDeployments service.
17443
17559
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
17444
- * @version 189.1.0
17560
+ * @version 191.0.0
17445
17561
  */ /**
17446
17562
  * Constructs a new WebDeploymentsApi.
17447
17563
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -17452,7 +17568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17452
17568
  * Delete all versions of a configuration
17453
17569
  *
17454
17570
  * @param {String} configurationId The configuration version ID
17455
- */_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
17456
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']);}/**
17457
17573
  * Delete a deployment
17458
17574
  *
@@ -17559,10 +17675,10 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
17559
17675
  * @param {Object} deployment
17560
17676
  */},{key:"putWebdeploymentsDeployment",value:function putWebdeploymentsDeployment(deploymentId,deployment){// verify the required parameter 'deploymentId' is set
17561
17677
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeployment';}// verify the required parameter 'deployment' is set
17562
- 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(){/**
17563
17679
  * WebMessaging service.
17564
17680
  * @module purecloud-platform-client-v2/api/WebMessagingApi
17565
- * @version 189.1.0
17681
+ * @version 191.0.0
17566
17682
  */ /**
17567
17683
  * Constructs a new WebMessagingApi.
17568
17684
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -17575,10 +17691,10 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17575
17691
  * @param {Object} opts Optional parameters
17576
17692
  * @param {Number} opts.pageSize Page size (default to 25)
17577
17693
  * @param {Number} opts.pageNumber Page number (default to 1)
17578
- */_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(){/**
17579
17695
  * Widgets service.
17580
17696
  * @module purecloud-platform-client-v2/api/WidgetsApi
17581
- * @version 189.1.0
17697
+ * @version 191.0.0
17582
17698
  */ /**
17583
17699
  * Constructs a new WidgetsApi.
17584
17700
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -17589,7 +17705,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
17589
17705
  * Delete a Widget deployment
17590
17706
  *
17591
17707
  * @param {String} deploymentId Widget Config Id
17592
- */_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
17593
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']);}/**
17594
17710
  * Get a Widget deployment
17595
17711
  *
@@ -17610,10 +17726,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17610
17726
  * @param {Object} body Deployment
17611
17727
  */},{key:"putWidgetsDeployment",value:function putWidgetsDeployment(deploymentId,body){// verify the required parameter 'deploymentId' is set
17612
17728
  if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling putWidgetsDeployment';}// verify the required parameter 'body' is set
17613
- 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(){/**
17614
17730
  * WorkforceManagement service.
17615
17731
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
17616
- * @version 189.1.0
17732
+ * @version 191.0.0
17617
17733
  */ /**
17618
17734
  * Constructs a new WorkforceManagementApi.
17619
17735
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -17624,7 +17740,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17624
17740
  * Delete business unit
17625
17741
  * A business unit cannot be deleted if it contains one or more management units
17626
17742
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
17627
- */_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
17628
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']);}/**
17629
17745
  * Deletes an activity code
17630
17746
  *
@@ -17654,6 +17770,27 @@ if(runId===undefined||runId===null){throw'Missing the required parameter "runId"
17654
17770
  */},{key:"deleteWorkforcemanagementBusinessunitServicegoaltemplate",value:function deleteWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId,serviceGoalTemplateId){// verify the required parameter 'businessUnitId' is set
17655
17771
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';}// verify the required parameter 'serviceGoalTemplateId' is set
17656
17772
  if(serviceGoalTemplateId===undefined||serviceGoalTemplateId===null){throw'Missing the required parameter "serviceGoalTemplateId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}','DELETE',{'businessUnitId':businessUnitId,'serviceGoalTemplateId':serviceGoalTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17773
+ * Deletes a staffing group
17774
+ *
17775
+ * @param {String} businessUnitId The ID of the business unit
17776
+ * @param {String} staffingGroupId The ID of the staffing group to delete
17777
+ */},{key:"deleteWorkforcemanagementBusinessunitStaffinggroup",value:function deleteWorkforcemanagementBusinessunitStaffinggroup(businessUnitId,staffingGroupId){// verify the required parameter 'businessUnitId' is set
17778
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';}// verify the required parameter 'staffingGroupId' is set
17779
+ if(staffingGroupId===undefined||staffingGroupId===null){throw'Missing the required parameter "staffingGroupId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}','DELETE',{'businessUnitId':businessUnitId,'staffingGroupId':staffingGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17780
+ * Deletes a time-off limit object
17781
+ *
17782
+ * @param {String} businessUnitId The ID of the business unit
17783
+ * @param {String} timeOffLimitId The ID of the time-off limit object to delete
17784
+ */},{key:"deleteWorkforcemanagementBusinessunitTimeofflimit",value:function deleteWorkforcemanagementBusinessunitTimeofflimit(businessUnitId,timeOffLimitId){// verify the required parameter 'businessUnitId' is set
17785
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';}// verify the required parameter 'timeOffLimitId' is set
17786
+ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}','DELETE',{'businessUnitId':businessUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17787
+ * Deletes a time-off plan
17788
+ *
17789
+ * @param {String} businessUnitId The ID of the business unit
17790
+ * @param {String} timeOffPlanId The ID of the time-off plan to delete
17791
+ */},{key:"deleteWorkforcemanagementBusinessunitTimeoffplan",value:function deleteWorkforcemanagementBusinessunitTimeoffplan(businessUnitId,timeOffPlanId){// verify the required parameter 'businessUnitId' is set
17792
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';}// verify the required parameter 'timeOffPlanId' is set
17793
+ if(timeOffPlanId===undefined||timeOffPlanId===null){throw'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}','DELETE',{'businessUnitId':businessUnitId,'timeOffPlanId':timeOffPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17657
17794
  * Delete a schedule
17658
17795
  *
17659
17796
  * @param {String} businessUnitId The ID of the business unit
@@ -17841,6 +17978,49 @@ if(serviceGoalTemplateId===undefined||serviceGoalTemplateId===null){throw'Missin
17841
17978
  * @param {Array.<String>} opts.expand Include to access additional data on the service goal template
17842
17979
  */},{key:"getWorkforcemanagementBusinessunitServicegoaltemplates",value:function getWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
17843
17980
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplates';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates','GET',{'businessUnitId':businessUnitId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17981
+ * Gets a staffing group
17982
+ *
17983
+ * @param {String} businessUnitId The ID of the business unit
17984
+ * @param {String} staffingGroupId The ID of the staffing group to fetch
17985
+ */},{key:"getWorkforcemanagementBusinessunitStaffinggroup",value:function getWorkforcemanagementBusinessunitStaffinggroup(businessUnitId,staffingGroupId){// verify the required parameter 'businessUnitId' is set
17986
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroup';}// verify the required parameter 'staffingGroupId' is set
17987
+ if(staffingGroupId===undefined||staffingGroupId===null){throw'Missing the required parameter "staffingGroupId" when calling getWorkforcemanagementBusinessunitStaffinggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}','GET',{'businessUnitId':businessUnitId,'staffingGroupId':staffingGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17988
+ * Gets a list of staffing groups
17989
+ *
17990
+ * @param {String} businessUnitId The ID of the business unit
17991
+ * @param {Object} opts Optional parameters
17992
+ * @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
17993
+ */},{key:"getWorkforcemanagementBusinessunitStaffinggroups",value:function getWorkforcemanagementBusinessunitStaffinggroups(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
17994
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17995
+ * Gets a time-off limit object
17996
+ * Returns properties of time-off limit object, but not daily values
17997
+ * @param {String} businessUnitId The ID of the business unit
17998
+ * @param {String} timeOffLimitId The ID of the time-off limit to fetch
17999
+ */},{key:"getWorkforcemanagementBusinessunitTimeofflimit",value:function getWorkforcemanagementBusinessunitTimeofflimit(businessUnitId,timeOffLimitId){// verify the required parameter 'businessUnitId' is set
18000
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';}// verify the required parameter 'timeOffLimitId' is set
18001
+ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}','GET',{'businessUnitId':businessUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18002
+ * Gets a list of time-off limit objects
18003
+ *
18004
+ * @param {String} businessUnitId The ID of the business unit
18005
+ * @param {Object} opts Optional parameters
18006
+ * @param {String} opts.managementUnitId The ID of the management unit to get management unit specific time-off limit objects
18007
+ */},{key:"getWorkforcemanagementBusinessunitTimeofflimits",value:function getWorkforcemanagementBusinessunitTimeofflimits(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18008
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimits';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18009
+ * Gets a time-off plan
18010
+ *
18011
+ * @param {String} businessUnitId The ID of the business unit
18012
+ * @param {String} timeOffPlanId The ID of the time-off plan to fetch
18013
+ */},{key:"getWorkforcemanagementBusinessunitTimeoffplan",value:function getWorkforcemanagementBusinessunitTimeoffplan(businessUnitId,timeOffPlanId){// verify the required parameter 'businessUnitId' is set
18014
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplan';}// verify the required parameter 'timeOffPlanId' is set
18015
+ if(timeOffPlanId===undefined||timeOffPlanId===null){throw'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementBusinessunitTimeoffplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}','GET',{'businessUnitId':businessUnitId,'timeOffPlanId':timeOffPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18016
+ * Gets a list of time-off plans
18017
+ *
18018
+ * @param {String} businessUnitId The ID of the business unit
18019
+ * @param {Object} opts Optional parameters
18020
+ * @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
18021
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
18022
+ */},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18023
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17844
18024
  * Get the metadata for the schedule, describing which management units and agents are in the scheduleSchedule data can then be loaded with the query route
17845
18025
  *
17846
18026
  * @param {String} businessUnitId The ID of the business unit
@@ -18285,6 +18465,24 @@ if(runId===undefined||runId===null){throw'Missing the required parameter "runId"
18285
18465
  */},{key:"patchWorkforcemanagementBusinessunitServicegoaltemplate",value:function patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId,serviceGoalTemplateId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18286
18466
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';}// verify the required parameter 'serviceGoalTemplateId' is set
18287
18467
  if(serviceGoalTemplateId===undefined||serviceGoalTemplateId===null){throw'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}','PATCH',{'businessUnitId':businessUnitId,'serviceGoalTemplateId':serviceGoalTemplateId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18468
+ * Updates a staffing group
18469
+ *
18470
+ * @param {String} businessUnitId The ID of the business unit
18471
+ * @param {String} staffingGroupId The ID of the staffing group to update
18472
+ * @param {Object} opts Optional parameters
18473
+ * @param {Object} opts.body body
18474
+ */},{key:"patchWorkforcemanagementBusinessunitStaffinggroup",value:function patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId,staffingGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18475
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';}// verify the required parameter 'staffingGroupId' is set
18476
+ if(staffingGroupId===undefined||staffingGroupId===null){throw'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}','PATCH',{'businessUnitId':businessUnitId,'staffingGroupId':staffingGroupId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18477
+ * Updates a time-off plan
18478
+ *
18479
+ * @param {String} businessUnitId The ID of the business unit
18480
+ * @param {String} timeOffPlanId The ID of the time-off plan to update
18481
+ * @param {Object} opts Optional parameters
18482
+ * @param {Object} opts.body body
18483
+ */},{key:"patchWorkforcemanagementBusinessunitTimeoffplan",value:function patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId,timeOffPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18484
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';}// verify the required parameter 'timeOffPlanId' is set
18485
+ if(timeOffPlanId===undefined||timeOffPlanId===null){throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}','PATCH',{'businessUnitId':businessUnitId,'timeOffPlanId':timeOffPlanId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18288
18486
  * Update the requested management unit
18289
18487
  *
18290
18488
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
@@ -18485,6 +18683,41 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
18485
18683
  * @param {Object} opts.body body
18486
18684
  */},{key:"postWorkforcemanagementBusinessunitServicegoaltemplates",value:function postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18487
18685
  if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18686
+ * Creates a new staffing group
18687
+ *
18688
+ * @param {String} businessUnitId The ID of the business unit
18689
+ * @param {Object} opts Optional parameters
18690
+ * @param {Object} opts.body body
18691
+ */},{key:"postWorkforcemanagementBusinessunitStaffinggroups",value:function postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18692
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18693
+ * Gets staffing group associations for a list of user IDs
18694
+ *
18695
+ * @param {String} businessUnitId The ID of the business unit
18696
+ * @param {Object} opts Optional parameters
18697
+ * @param {Object} opts.body body
18698
+ */},{key:"postWorkforcemanagementBusinessunitStaffinggroupsQuery",value:function postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18699
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18700
+ * Creates a new time-off limit object
18701
+ *
18702
+ * @param {String} businessUnitId The ID of the business unit
18703
+ * @param {Object} opts Optional parameters
18704
+ * @param {Object} opts.body body
18705
+ */},{key:"postWorkforcemanagementBusinessunitTimeofflimits",value:function postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18706
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18707
+ * Retrieves time-off limit related values based on a given set of filters.
18708
+ *
18709
+ * @param {String} businessUnitId The ID of the business unit
18710
+ * @param {Object} opts Optional parameters
18711
+ * @param {Object} opts.body body
18712
+ */},{key:"postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery",value:function postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18713
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18714
+ * Creates a new time-off plan
18715
+ *
18716
+ * @param {String} businessUnitId The ID of the business unit
18717
+ * @param {Object} opts Optional parameters
18718
+ * @param {Object} opts.body body
18719
+ */},{key:"postWorkforcemanagementBusinessunitTimeoffplans",value:function postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
18720
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18488
18721
  * Loads agent schedule data from the schedule. Used in combination with the metadata route
18489
18722
  *
18490
18723
  * @param {String} businessUnitId The ID of the business unit
@@ -18928,6 +19161,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18928
19161
  */},{key:"putWorkforcemanagementAgentIntegrationsHris",value:function putWorkforcemanagementAgentIntegrationsHris(agentId,body){// verify the required parameter 'agentId' is set
18929
19162
  if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putWorkforcemanagementAgentIntegrationsHris';}// verify the required parameter 'body' is set
18930
19163
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWorkforcemanagementAgentIntegrationsHris';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/{agentId}/integrations/hris','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19164
+ * Sets daily values for a date range of time-off limit object
19165
+ * Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time-off limit API
19166
+ * @param {String} businessUnitId The ID of the business unit
19167
+ * @param {String} timeOffLimitId The ID of the time-off limit object to set values for
19168
+ * @param {Object} opts Optional parameters
19169
+ * @param {Object} opts.body body
19170
+ */},{key:"putWorkforcemanagementBusinessunitTimeofflimitValues",value:function putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId,timeOffLimitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
19171
+ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';}// verify the required parameter 'timeOffLimitId' is set
19172
+ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values','PUT',{'businessUnitId':businessUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18931
19173
  * Sets daily values for a date range of time off limit object
18932
19174
  * Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
18933
19175
  * @param {String} managementUnitId The ID of the management unit.
@@ -18936,7 +19178,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18936
19178
  * @param {Object} opts.body body
18937
19179
  */},{key:"putWorkforcemanagementManagementunitTimeofflimitValues",value:function putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId,timeOffLimitId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
18938
19180
  if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}// verify the required parameter 'timeOffLimitId' is set
18939
- 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']);}}]);}();/**
18940
19182
  * A JavaScript library to interface with the PureCloud Platform API.<br>
18941
19183
  * The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
18942
19184
  * <p>
@@ -18965,7 +19207,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
18965
19207
  * </pre>
18966
19208
  * </p>
18967
19209
  * @module purecloud-platform-client-v2/index
18968
- * @version 189.1.0
19210
+ * @version 191.0.0
18969
19211
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
18970
19212
  * The ApiClient constructor.
18971
19213
  * @property {module:purecloud-platform-client-v2/ApiClient}