purecloud-platform-client-v2 247.1.0 → 249.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 (97) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +2057 -116
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2057 -116
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +626 -121
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +626 -121
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1404 -337
  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/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +6 -6
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1100 -0
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +18 -14
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +31 -1
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +501 -1
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +26 -1
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +37 -2
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +57 -1
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +5 -5
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -3
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +46 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +152 -5
  97. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5683,7 +5683,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
5683
5683
  }).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
5684
5684
  },{"process/browser.js":43,"timers":53}],"platformClient":[function(require,module,exports){
5685
5685
  (function (global,Buffer,setImmediate){(function (){
5686
- 'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}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(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}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 _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_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(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}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(r){if(Array.isArray(r))return r;}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);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}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',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
5686
+ 'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}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(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}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 _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_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(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}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(r){if(Array.isArray(r))return r;}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);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value;}settle(!!r.done,n);},function(e){resume("throw",e);});}catch(e){settle(2,e);}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null;}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}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',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
5687
5687
  // based off https://github.com/defunctzombie/node-process/blob/master/browser.js
5688
5688
  function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
5689
5689
  return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
@@ -6699,7 +6699,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6699
6699
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6700
6700
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
6701
6701
  * @module purecloud-platform-client-v2/ApiClient
6702
- * @version 247.1.0
6702
+ * @version 249.0.0
6703
6703
  */var ApiClient=/*#__PURE__*/function(){/**
6704
6704
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6705
6705
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -7065,7 +7065,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
7065
7065
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
7066
7066
  * AIStudio service.
7067
7067
  * @module purecloud-platform-client-v2/api/AIStudioApi
7068
- * @version 247.1.0
7068
+ * @version 249.0.0
7069
7069
  *//**
7070
7070
  * Constructs a new AIStudioApi.
7071
7071
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -7217,7 +7217,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
7217
7217
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
7218
7218
  * AgentAssistants service.
7219
7219
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
7220
- * @version 247.1.0
7220
+ * @version 249.0.0
7221
7221
  *//**
7222
7222
  * Constructs a new AgentAssistantsApi.
7223
7223
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7404,7 +7404,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
7404
7404
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
7405
7405
  * AgentCopilot service.
7406
7406
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7407
- * @version 247.1.0
7407
+ * @version 249.0.0
7408
7408
  *//**
7409
7409
  * Constructs a new AgentCopilotApi.
7410
7410
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7431,7 +7431,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7431
7431
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
7432
7432
  * AgentUI service.
7433
7433
  * @module purecloud-platform-client-v2/api/AgentUIApi
7434
- * @version 247.1.0
7434
+ * @version 249.0.0
7435
7435
  *//**
7436
7436
  * Constructs a new AgentUIApi.
7437
7437
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7465,7 +7465,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7465
7465
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
7466
7466
  * Alerting service.
7467
7467
  * @module purecloud-platform-client-v2/api/AlertingApi
7468
- * @version 247.1.0
7468
+ * @version 249.0.0
7469
7469
  *//**
7470
7470
  * Constructs a new AlertingApi.
7471
7471
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7554,7 +7554,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7554
7554
  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(){/**
7555
7555
  * Analytics service.
7556
7556
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7557
- * @version 247.1.0
7557
+ * @version 249.0.0
7558
7558
  *//**
7559
7559
  * Constructs a new AnalyticsApi.
7560
7560
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -8373,7 +8373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8373
8373
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
8374
8374
  * Architect service.
8375
8375
  * @module purecloud-platform-client-v2/api/ArchitectApi
8376
- * @version 247.1.0
8376
+ * @version 249.0.0
8377
8377
  *//**
8378
8378
  * Constructs a new ArchitectApi.
8379
8379
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9507,7 +9507,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9507
9507
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
9508
9508
  * AssistantCopilotVariations service.
9509
9509
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
9510
- * @version 247.1.0
9510
+ * @version 249.0.0
9511
9511
  *//**
9512
9512
  * Constructs a new AssistantCopilotVariationsApi.
9513
9513
  * @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
@@ -9552,7 +9552,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
9552
9552
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
9553
9553
  * Audit service.
9554
9554
  * @module purecloud-platform-client-v2/api/AuditApi
9555
- * @version 247.1.0
9555
+ * @version 249.0.0
9556
9556
  *//**
9557
9557
  * Constructs a new AuditApi.
9558
9558
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9602,7 +9602,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9602
9602
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
9603
9603
  * Authorization service.
9604
9604
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9605
- * @version 247.1.0
9605
+ * @version 249.0.0
9606
9606
  *//**
9607
9607
  * Constructs a new AuthorizationApi.
9608
9608
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -10030,7 +10030,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
10030
10030
  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 BackgroundAssistantApi=/*#__PURE__*/function(){/**
10031
10031
  * BackgroundAssistant service.
10032
10032
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
10033
- * @version 247.1.0
10033
+ * @version 249.0.0
10034
10034
  *//**
10035
10035
  * Constructs a new BackgroundAssistantApi.
10036
10036
  * @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
@@ -10051,7 +10051,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10051
10051
  */},{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 BillingApi=/*#__PURE__*/function(){/**
10052
10052
  * Billing service.
10053
10053
  * @module purecloud-platform-client-v2/api/BillingApi
10054
- * @version 247.1.0
10054
+ * @version 249.0.0
10055
10055
  *//**
10056
10056
  * Constructs a new BillingApi.
10057
10057
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -10128,7 +10128,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
10128
10128
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
10129
10129
  * BusinessRules service.
10130
10130
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
10131
- * @version 247.1.0
10131
+ * @version 249.0.0
10132
10132
  *//**
10133
10133
  * Constructs a new BusinessRulesApi.
10134
10134
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -10151,7 +10151,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
10151
10151
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
10152
10152
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10153
10153
  * Delete a decision table row
10154
- *
10154
+ * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
10155
10155
  * @param {String} tableId Table ID
10156
10156
  * @param {Number} tableVersion Table Version
10157
10157
  * @param {String} rowId Row ID
@@ -10239,7 +10239,7 @@ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missi
10239
10239
  *
10240
10240
  */},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10241
10241
  * Update a decision table
10242
- *
10242
+ * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
10243
10243
  * @param {String} tableId Table ID
10244
10244
  * @param {Object} body Decision Table
10245
10245
  */},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
@@ -10280,7 +10280,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
10280
10280
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
10281
10281
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10282
10282
  * Create a decision table row
10283
- *
10283
+ * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
10284
10284
  * @param {String} tableId Table ID
10285
10285
  * @param {Number} tableVersion Table Version
10286
10286
  * @param {Object} body Create decision table row request
@@ -10313,7 +10313,7 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
10313
10313
  */},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
10314
10314
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10315
10315
  * Create a decision table
10316
- *
10316
+ * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
10317
10317
  * @param {Object} body Decision Table
10318
10318
  */},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
10319
10319
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10330,7 +10330,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10330
10330
  if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
10331
10331
  if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10332
10332
  * Full update a decision table row
10333
- *
10333
+ * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
10334
10334
  * @param {String} tableId Table ID
10335
10335
  * @param {Number} tableVersion Table Version
10336
10336
  * @param {String} rowId Row ID
@@ -10349,7 +10349,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
10349
10349
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
10350
10350
  * CarrierServices service.
10351
10351
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10352
- * @version 247.1.0
10352
+ * @version 249.0.0
10353
10353
  *//**
10354
10354
  * Constructs a new CarrierServicesApi.
10355
10355
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -10366,10 +10366,316 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
10366
10366
  *
10367
10367
  * @param {Object} opts Optional parameters
10368
10368
  * @param {Object} opts.body
10369
- */},{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(){/**
10369
+ */},{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 CaseManagementApi=/*#__PURE__*/function(){/**
10370
+ * CaseManagement service.
10371
+ * @module purecloud-platform-client-v2/api/CaseManagementApi
10372
+ * @version 249.0.0
10373
+ *//**
10374
+ * Constructs a new CaseManagementApi.
10375
+ * @alias module:purecloud-platform-client-v2/api/CaseManagementApi
10376
+ * @class
10377
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
10378
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
10379
+ */function CaseManagementApi(apiClient){_classCallCheck(this,CaseManagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
10380
+ * Delete a Case.
10381
+ *
10382
+ * @param {String} caseId Case ID
10383
+ * deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10384
+ */return _createClass(CaseManagementApi,[{key:"deleteCasemanagementCase",value:function deleteCasemanagementCase(caseId){// verify the required parameter 'caseId' is set
10385
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','DELETE',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10386
+ * Delete a Caseplan.
10387
+ *
10388
+ * @param {String} caseplanId Caseplan ID
10389
+ * deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10390
+ */},{key:"deleteCasemanagementCaseplan",value:function deleteCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
10391
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','DELETE',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10392
+ * Get a Case.
10393
+ *
10394
+ * @param {String} caseId Case ID
10395
+ * @param {Object} opts Optional parameters
10396
+ * @param {Object} opts.expands Which fields to expand.
10397
+ * getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10398
+ */},{key:"getCasemanagementCase",value:function getCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
10399
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','GET',{'caseId':caseId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10400
+ * Get a Case Association.
10401
+ *
10402
+ * @param {String} caseId Case ID
10403
+ * @param {String} associationId Case Association ID
10404
+ * getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10405
+ */},{key:"getCasemanagementCaseAssociation",value:function getCasemanagementCaseAssociation(caseId,associationId){// verify the required parameter 'caseId' is set
10406
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';}// verify the required parameter 'associationId' is set
10407
+ if(associationId===undefined||associationId===null||associationId===''){throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations/{associationId}','GET',{'caseId':caseId,'associationId':associationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10408
+ * Get a list of case associations for a provided case.
10409
+ *
10410
+ * @param {String} caseId Case ID.
10411
+ * @param {Object} opts Optional parameters
10412
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
10413
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
10414
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
10415
+ * getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10416
+ */},{key:"getCasemanagementCaseAssociations",value:function getCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
10417
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10418
+ * Get a Stage.
10419
+ *
10420
+ * @param {String} caseId Case ID
10421
+ * @param {String} stageId Stage ID
10422
+ * getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10423
+ */},{key:"getCasemanagementCaseStage",value:function getCasemanagementCaseStage(caseId,stageId){// verify the required parameter 'caseId' is set
10424
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';}// verify the required parameter 'stageId' is set
10425
+ if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}','GET',{'caseId':caseId,'stageId':stageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10426
+ * Get a Step.
10427
+ *
10428
+ * @param {String} caseId Case ID
10429
+ * @param {String} stageId Stage ID
10430
+ * @param {String} stepId Step ID
10431
+ * getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10432
+ */},{key:"getCasemanagementCaseStageStep",value:function getCasemanagementCaseStageStep(caseId,stageId,stepId){// verify the required parameter 'caseId' is set
10433
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stageId' is set
10434
+ if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stepId' is set
10435
+ if(stepId===undefined||stepId===null||stepId===''){throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}','GET',{'caseId':caseId,'stageId':stageId,'stepId':stepId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10436
+ * Get a list of Steps.
10437
+ *
10438
+ * @param {String} caseId Case ID
10439
+ * @param {String} stageId Stage ID
10440
+ * @param {Object} opts Optional parameters
10441
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
10442
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
10443
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
10444
+ * getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10445
+ */},{key:"getCasemanagementCaseStageSteps",value:function getCasemanagementCaseStageSteps(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
10446
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';}// verify the required parameter 'stageId' is set
10447
+ if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps','GET',{'caseId':caseId,'stageId':stageId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10448
+ * Get a list of Stages.
10449
+ *
10450
+ * @param {String} caseId Case ID
10451
+ * @param {Object} opts Optional parameters
10452
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
10453
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
10454
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
10455
+ * getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10456
+ */},{key:"getCasemanagementCaseStages",value:function getCasemanagementCaseStages(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
10457
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10458
+ * Get a Terminate Job for a Case.
10459
+ *
10460
+ * @param {String} caseId Case ID
10461
+ * @param {String} jobId Job ID
10462
+ * getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10463
+ */},{key:"getCasemanagementCaseTerminateJob",value:function getCasemanagementCaseTerminateJob(caseId,jobId){// verify the required parameter 'caseId' is set
10464
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';}// verify the required parameter 'jobId' is set
10465
+ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}','GET',{'caseId':caseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10466
+ * Get a Caseplan.
10467
+ *
10468
+ * @param {String} caseplanId Caseplan ID
10469
+ * getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10470
+ */},{key:"getCasemanagementCaseplan",value:function getCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
10471
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','GET',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10472
+ * Get a Caseplan version.
10473
+ *
10474
+ * @param {String} caseplanId Caseplan ID
10475
+ * @param {String} versionId Version of the caseplan
10476
+ * getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10477
+ */},{key:"getCasemanagementCaseplanVersion",value:function getCasemanagementCaseplanVersion(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
10478
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';}// verify the required parameter 'versionId' is set
10479
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10480
+ * Get the dataSchemas for a caseplan version.
10481
+ *
10482
+ * @param {String} caseplanId Caseplan ID
10483
+ * @param {String} versionId Version of the caseplan
10484
+ * getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10485
+ */},{key:"getCasemanagementCaseplanVersionDataschemas",value:function getCasemanagementCaseplanVersionDataschemas(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
10486
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';}// verify the required parameter 'versionId' is set
10487
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10488
+ * Get the intake settings for a Caseplan version.
10489
+ *
10490
+ * @param {String} caseplanId Caseplan ID
10491
+ * @param {String} versionId Version of the caseplan
10492
+ * getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10493
+ */},{key:"getCasemanagementCaseplanVersionIntakesettings",value:function getCasemanagementCaseplanVersionIntakesettings(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
10494
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';}// verify the required parameter 'versionId' is set
10495
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10496
+ * Get a Stageplan.
10497
+ *
10498
+ * @param {String} caseplanId Caseplan ID
10499
+ * @param {String} versionId Version ID
10500
+ * @param {String} stageplanId Stageplan ID
10501
+ * @param {Object} opts Optional parameters
10502
+ * @param {Array.<String>} opts.expands Which fields to expand.
10503
+ * getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10504
+ */},{key:"getCasemanagementCaseplanVersionStageplan",value:function getCasemanagementCaseplanVersionStageplan(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
10505
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'versionId' is set
10506
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'stageplanId' is set
10507
+ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10508
+ * Get a Stepplan.
10509
+ *
10510
+ * @param {String} caseplanId Caseplan ID
10511
+ * @param {String} versionId Version ID
10512
+ * @param {String} stageplanId Stageplan ID
10513
+ * @param {String} stepplanId Stepplan ID
10514
+ * @param {Object} opts Optional parameters
10515
+ * @param {Array.<String>} opts.expands Which fields to expand.
10516
+ * getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10517
+ */},{key:"getCasemanagementCaseplanVersionStageplanStepplan",value:function getCasemanagementCaseplanVersionStageplanStepplan(caseplanId,versionId,stageplanId,stepplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
10518
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'versionId' is set
10519
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stageplanId' is set
10520
+ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stepplanId' is set
10521
+ if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId,'stepplanId':stepplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10522
+ * Get a list of Stepplans.
10523
+ *
10524
+ * @param {String} caseplanId Caseplan ID
10525
+ * @param {String} versionId Version ID
10526
+ * @param {String} stageplanId Stageplan ID
10527
+ * @param {Object} opts Optional parameters
10528
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
10529
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
10530
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
10531
+ * @param {Array.<String>} opts.expands Which fields to expand.
10532
+ * getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10533
+ */},{key:"getCasemanagementCaseplanVersionStageplanStepplans",value:function getCasemanagementCaseplanVersionStageplanStepplans(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
10534
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'versionId' is set
10535
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'stageplanId' is set
10536
+ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10537
+ * Get a list of Stageplans.
10538
+ *
10539
+ * @param {String} caseplanId Caseplan ID
10540
+ * @param {String} versionId Version ID
10541
+ * @param {Object} opts Optional parameters
10542
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
10543
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
10544
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
10545
+ * @param {Array.<String>} opts.expands Which fields to expand.
10546
+ * getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10547
+ */},{key:"getCasemanagementCaseplanVersionStageplans",value:function getCasemanagementCaseplanVersionStageplans(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
10548
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';}// verify the required parameter 'versionId' is set
10549
+ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans','GET',{'caseplanId':caseplanId,'versionId':versionId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10550
+ * Get a list of Caseplans.
10551
+ *
10552
+ * @param {Object} opts Optional parameters
10553
+ * @param {String} opts.after The cursor that points to the end of the set of caseplans that has been returned.
10554
+ * @param {Number} opts.pageSize Number of caseplans to return. Maximum of 200.
10555
+ * @param {String} opts.customerIntentId Filter by Customer Intent.
10556
+ * @param {String} opts.divisionIds Filter by Divisions.
10557
+ * getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10558
+ */},{key:"getCasemanagementCaseplans",value:function getCasemanagementCaseplans(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/caseplans','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'customerIntentId':opts['customerIntentId'],'divisionIds':opts['divisionIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10559
+ * Get a list of cases for provided external contact id.
10560
+ *
10561
+ * @param {String} externalContactId External Contact ID
10562
+ * @param {Object} opts Optional parameters
10563
+ * @param {String} opts.after The cursor that points to the end of the set of cases that has been returned.
10564
+ * @param {Number} opts.pageSize Number of cases to return. Maximum of 200.
10565
+ * @param {String} opts.divisionIds Filter by Divisions
10566
+ * @param {Array.<String>} opts.expands Which fields to expand.
10567
+ * getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10568
+ */},{key:"getCasemanagementCasesExternalcontact",value:function getCasemanagementCasesExternalcontact(externalContactId,opts){opts=opts||{};// verify the required parameter 'externalContactId' is set
10569
+ if(externalContactId===undefined||externalContactId===null||externalContactId===''){throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';}return this.apiClient.callApi('/api/v2/casemanagement/cases/externalcontacts/{externalContactId}','GET',{'externalContactId':externalContactId},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':opts['divisionIds'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10570
+ * Get a Case by reference.
10571
+ *
10572
+ * @param {String} referenceId Reference
10573
+ * @param {Object} opts Optional parameters
10574
+ * @param {Object} opts.expands Which fields to expand.
10575
+ * getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10576
+ */},{key:"getCasemanagementCasesReference",value:function getCasemanagementCasesReference(referenceId,opts){opts=opts||{};// verify the required parameter 'referenceId' is set
10577
+ if(referenceId===undefined||referenceId===null||referenceId===''){throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';}return this.apiClient.callApi('/api/v2/casemanagement/cases/references/{referenceId}','GET',{'referenceId':referenceId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10578
+ * Update date due of a Case.
10579
+ *
10580
+ * @param {String} caseId Case ID
10581
+ * @param {Object} body Date due
10582
+ * patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10583
+ */},{key:"patchCasemanagementCaseDatedue",value:function patchCasemanagementCaseDatedue(caseId,body){// verify the required parameter 'caseId' is set
10584
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';}// verify the required parameter 'body' is set
10585
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/datedue','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10586
+ * Update priority of a Case.
10587
+ *
10588
+ * @param {String} caseId Case ID
10589
+ * @param {Object} body Priority
10590
+ * patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10591
+ */},{key:"patchCasemanagementCasePriority",value:function patchCasemanagementCasePriority(caseId,body){// verify the required parameter 'caseId' is set
10592
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';}// verify the required parameter 'body' is set
10593
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/priority','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10594
+ * Update summary of a Case.
10595
+ *
10596
+ * @param {String} caseId Case ID
10597
+ * @param {Object} body Summary
10598
+ * patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10599
+ */},{key:"patchCasemanagementCaseSummary",value:function patchCasemanagementCaseSummary(caseId,body){// verify the required parameter 'caseId' is set
10600
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';}// verify the required parameter 'body' is set
10601
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/summary','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10602
+ * Update the attributes of a Caseplan.
10603
+ *
10604
+ * @param {String} caseplanId Caseplan ID
10605
+ * @param {Object} body Caseplan
10606
+ * patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10607
+ */},{key:"patchCasemanagementCaseplan",value:function patchCasemanagementCaseplan(caseplanId,body){// verify the required parameter 'caseplanId' is set
10608
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';}// verify the required parameter 'body' is set
10609
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','PATCH',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10610
+ * Update the attributes of a Stageplan.
10611
+ *
10612
+ * @param {String} caseplanId Caseplan ID
10613
+ * @param {String} stageplanId Stageplan ID
10614
+ * @param {Object} body Stageplan
10615
+ * patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10616
+ */},{key:"patchCasemanagementCaseplanStageplan",value:function patchCasemanagementCaseplanStageplan(caseplanId,stageplanId,body){// verify the required parameter 'caseplanId' is set
10617
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'stageplanId' is set
10618
+ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'body' is set
10619
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10620
+ * Update the attributes of a Stepplan.
10621
+ *
10622
+ * @param {String} caseplanId Caseplan ID
10623
+ * @param {String} stageplanId Stageplan ID
10624
+ * @param {String} stepplanId Stepplan ID
10625
+ * @param {Object} body Stepplan
10626
+ * patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10627
+ */},{key:"patchCasemanagementCaseplanStageplanStepplan",value:function patchCasemanagementCaseplanStageplanStepplan(caseplanId,stageplanId,stepplanId,body){// verify the required parameter 'caseplanId' is set
10628
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stageplanId' is set
10629
+ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stepplanId' is set
10630
+ if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'body' is set
10631
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId,'stepplanId':stepplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10632
+ * Create a case association.
10633
+ *
10634
+ * @param {String} caseId Case ID.
10635
+ * @param {Object} opts Optional parameters
10636
+ * @param {Object} opts.body Case Association
10637
+ * postCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10638
+ */},{key:"postCasemanagementCaseAssociations",value:function postCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
10639
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','POST',{'caseId':caseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
10640
+ * Create a Terminate Job for a Case.
10641
+ *
10642
+ * @param {String} caseId Case ID
10643
+ * postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10644
+ */},{key:"postCasemanagementCaseTerminateJobs",value:function postCasemanagementCaseTerminateJobs(caseId){// verify the required parameter 'caseId' is set
10645
+ if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs','POST',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10646
+ * Publish Caseplan.
10647
+ *
10648
+ * @param {String} caseplanId Caseplan ID
10649
+ * postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10650
+ */},{key:"postCasemanagementCaseplanPublish",value:function postCasemanagementCaseplanPublish(caseplanId){// verify the required parameter 'caseplanId' is set
10651
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/publish','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10652
+ * Create Caseplan version.
10653
+ *
10654
+ * @param {String} caseplanId Caseplan ID
10655
+ * postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10656
+ */},{key:"postCasemanagementCaseplanVersions",value:function postCasemanagementCaseplanVersions(caseplanId){// verify the required parameter 'caseplanId' is set
10657
+ if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10658
+ * Create a Caseplan.
10659
+ *
10660
+ * @param {Object} body Caseplan
10661
+ * postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10662
+ */},{key:"postCasemanagementCaseplans",value:function postCasemanagementCaseplans(body){// verify the required parameter 'body' is set
10663
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10664
+ * Create a Case.
10665
+ *
10666
+ * @param {Object} body Case
10667
+ * postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10668
+ */},{key:"postCasemanagementCases",value:function postCasemanagementCases(body){// verify the required parameter 'body' is set
10669
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCases';}return this.apiClient.callApi('/api/v2/casemanagement/cases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10670
+ * Query for case associations
10671
+ *
10672
+ * @param {Object} opts Optional parameters
10673
+ * @param {Object} opts.body Case Association
10674
+ * postCasemanagementCasesAssociationsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10675
+ */},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
10370
10676
  * Chat service.
10371
10677
  * @module purecloud-platform-client-v2/api/ChatApi
10372
- * @version 247.1.0
10678
+ * @version 249.0.0
10373
10679
  *//**
10374
10680
  * Constructs a new ChatApi.
10375
10681
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10600,7 +10906,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10600
10906
  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(){/**
10601
10907
  * Coaching service.
10602
10908
  * @module purecloud-platform-client-v2/api/CoachingApi
10603
- * @version 247.1.0
10909
+ * @version 249.0.0
10604
10910
  *//**
10605
10911
  * Constructs a new CoachingApi.
10606
10912
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10763,7 +11069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10763
11069
  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(){/**
10764
11070
  * ContentManagement service.
10765
11071
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10766
- * @version 247.1.0
11072
+ * @version 249.0.0
10767
11073
  *//**
10768
11074
  * Constructs a new ContentManagementApi.
10769
11075
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -11045,7 +11351,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
11045
11351
  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(){/**
11046
11352
  * Conversations service.
11047
11353
  * @module purecloud-platform-client-v2/api/ConversationsApi
11048
- * @version 247.1.0
11354
+ * @version 249.0.0
11049
11355
  *//**
11050
11356
  * Constructs a new ConversationsApi.
11051
11357
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -11401,11 +11707,11 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
11401
11707
  */},{key:"getConversationsCallbackParticipantWrapupcodes",value:function getConversationsCallbackParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
11402
11708
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
11403
11709
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11404
- * Get active callback conversations for the logged in user
11405
- *
11710
+ * Get the logged-in user's active conversations and their Callback participants state.
11711
+ * This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Callbacks? - Is the user directly participating in a Callback within that conversation?
11406
11712
  */},{key:"getConversationsCallbacks",value:function getConversationsCallbacks(){return this.apiClient.callApi('/api/v2/conversations/callbacks','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11407
- * Get active call conversations for the logged in user
11408
- *
11713
+ * Get the logged-in user's active conversations and their Call participants state.
11714
+ * This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Calls? - Is the user directly participating in a Call within that conversation?
11409
11715
  */},{key:"getConversationsCalls",value:function getConversationsCalls(){return this.apiClient.callApi('/api/v2/conversations/calls','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11410
11716
  * Get call history
11411
11717
  *
@@ -11561,8 +11867,10 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
11561
11867
  * Get conversation messages
11562
11868
  *
11563
11869
  * @param {String} conversationId conversationId
11564
- */},{key:"getConversationsEmailMessages",value:function getConversationsEmailMessages(conversationId){// verify the required parameter 'conversationId' is set
11565
- if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/messages','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11870
+ * @param {Object} opts Optional parameters
11871
+ * @param {Boolean} opts.includeAgentlessStitchedMessages Whether to include Agentless 'api' type of messages, on stitched conversations. If you provide a conversationId in the agentless email request (/api/v2/conversations/emails/agentless) that matches an existing conversation, then that's a stitched agentless message. (default to false)
11872
+ */},{key:"getConversationsEmailMessages",value:function getConversationsEmailMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
11873
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/messages','GET',{'conversationId':conversationId},{'includeAgentlessStitchedMessages':opts['includeAgentlessStitchedMessages']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11566
11874
  * Get conversation draft reply
11567
11875
  *
11568
11876
  * @param {String} conversationId conversationId
@@ -11600,16 +11908,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
11600
11908
  * @param {String} conversationId conversationId
11601
11909
  */},{key:"getConversationsEmailSettings",value:function getConversationsEmailSettings(conversationId){// verify the required parameter 'conversationId' is set
11602
11910
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/settings','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11603
- * Get active email conversations for the logged in user
11604
- *
11911
+ * Get the logged-in user's active conversations and their Email participants state.
11912
+ * This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Emails? - Is the user directly participating in an Email within that conversation?
11605
11913
  */},{key:"getConversationsEmails",value:function getConversationsEmails(){return this.apiClient.callApi('/api/v2/conversations/emails','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11606
11914
  * Get internal message conversation
11607
11915
  *
11608
11916
  * @param {String} conversationId conversationId
11609
11917
  */},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
11610
11918
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';}return this.apiClient.callApi('/api/v2/conversations/internalmessages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11611
- * Get active internal message conversations for the logged in user
11612
- *
11919
+ * Get the logged-in user's active conversations and their InternalMessage participants state.
11920
+ * This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include InternalMessages? - Is the user directly participating in an InternalMessage within that conversation?
11613
11921
  */},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11614
11922
  * Get the encryption key configurations
11615
11923
  *
@@ -11687,8 +11995,8 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
11687
11995
  */},{key:"getConversationsMessageParticipantWrapupcodes",value:function getConversationsMessageParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
11688
11996
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
11689
11997
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11690
- * Get active message conversations for the logged in user
11691
- *
11998
+ * Get the logged-in user's active conversations and their Message participants state.
11999
+ * This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Messages? - Is the user directly participating in a Message within that conversation?
11692
12000
  */},{key:"getConversationsMessages",value:function getConversationsMessages(){return this.apiClient.callApi('/api/v2/conversations/messages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11693
12001
  * Get a list of cached media items
11694
12002
  *
@@ -13348,7 +13656,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13348
13656
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13349
13657
  * Set the organization's default supported content profile that may be assigned to an integration when it is created.
13350
13658
  * When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
13351
- * @param {Object} body SupportedContent
13659
+ * @param {Object} body Reference to supported content profile
13352
13660
  */},{key:"putConversationsMessagingSupportedcontentDefault",value:function putConversationsMessagingSupportedcontentDefault(body){// verify the required parameter 'body' is set
13353
13661
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/supportedcontent/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13354
13662
  * Update conversation threading window timeline for each messaging type
@@ -13380,7 +13688,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
13380
13688
  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(){/**
13381
13689
  * DataExtensions service.
13382
13690
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13383
- * @version 247.1.0
13691
+ * @version 249.0.0
13384
13692
  *//**
13385
13693
  * Constructs a new DataExtensionsApi.
13386
13694
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -13401,7 +13709,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
13401
13709
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
13402
13710
  * DataPrivacy service.
13403
13711
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
13404
- * @version 247.1.0
13712
+ * @version 249.0.0
13405
13713
  *//**
13406
13714
  * Constructs a new DataPrivacyApi.
13407
13715
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -13441,7 +13749,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13441
13749
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
13442
13750
  * Downloads service.
13443
13751
  * @module purecloud-platform-client-v2/api/DownloadsApi
13444
- * @version 247.1.0
13752
+ * @version 249.0.0
13445
13753
  *//**
13446
13754
  * Constructs a new DownloadsApi.
13447
13755
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -13460,7 +13768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13460
13768
  if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
13461
13769
  * Emails service.
13462
13770
  * @module purecloud-platform-client-v2/api/EmailsApi
13463
- * @version 247.1.0
13771
+ * @version 249.0.0
13464
13772
  *//**
13465
13773
  * Constructs a new EmailsApi.
13466
13774
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -13489,7 +13797,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
13489
13797
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
13490
13798
  * EmployeeEngagement service.
13491
13799
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
13492
- * @version 247.1.0
13800
+ * @version 249.0.0
13493
13801
  *//**
13494
13802
  * Constructs a new EmployeeEngagementApi.
13495
13803
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -13537,7 +13845,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13537
13845
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
13538
13846
  * Events service.
13539
13847
  * @module purecloud-platform-client-v2/api/EventsApi
13540
- * @version 247.1.0
13848
+ * @version 249.0.0
13541
13849
  *//**
13542
13850
  * Constructs a new EventsApi.
13543
13851
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -13562,7 +13870,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13562
13870
  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(){/**
13563
13871
  * ExternalContacts service.
13564
13872
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13565
- * @version 247.1.0
13873
+ * @version 249.0.0
13566
13874
  *//**
13567
13875
  * Constructs a new ExternalContactsApi.
13568
13876
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13959,6 +14267,13 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
13959
14267
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
13960
14268
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
13961
14269
  */},{key:"getExternalcontactsScanRelationshipsDivisionviewsAll",value:function getExternalcontactsScanRelationshipsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14270
+ * Update specific fields of an external contact
14271
+ *
14272
+ * @param {String} contactId ExternalContact ID
14273
+ * @param {Object} body Contact fields to update
14274
+ */},{key:"patchExternalcontactsContact",value:function patchExternalcontactsContact(contactId,body){// verify the required parameter 'contactId' is set
14275
+ if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContact';}// verify the required parameter 'body' is set
14276
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13962
14277
  * Claim or release identifiers for a contact
13963
14278
  *
13964
14279
  * @param {String} contactId ExternalContact ID
@@ -14312,7 +14627,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
14312
14627
  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(){/**
14313
14628
  * Fax service.
14314
14629
  * @module purecloud-platform-client-v2/api/FaxApi
14315
- * @version 247.1.0
14630
+ * @version 249.0.0
14316
14631
  *//**
14317
14632
  * Constructs a new FaxApi.
14318
14633
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -14361,7 +14676,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14361
14676
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
14362
14677
  * Flows service.
14363
14678
  * @module purecloud-platform-client-v2/api/FlowsApi
14364
- * @version 247.1.0
14679
+ * @version 249.0.0
14365
14680
  *//**
14366
14681
  * Constructs a new FlowsApi.
14367
14682
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -14415,7 +14730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14415
14730
  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(){/**
14416
14731
  * Gamification service.
14417
14732
  * @module purecloud-platform-client-v2/api/GamificationApi
14418
- * @version 247.1.0
14733
+ * @version 249.0.0
14419
14734
  *//**
14420
14735
  * Constructs a new GamificationApi.
14421
14736
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -15086,7 +15401,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15086
15401
  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(){/**
15087
15402
  * GeneralDataProtectionRegulation service.
15088
15403
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
15089
- * @version 247.1.0
15404
+ * @version 249.0.0
15090
15405
  *//**
15091
15406
  * Constructs a new GeneralDataProtectionRegulationApi.
15092
15407
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -15121,7 +15436,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
15121
15436
  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(){/**
15122
15437
  * Geolocation service.
15123
15438
  * @module purecloud-platform-client-v2/api/GeolocationApi
15124
- * @version 247.1.0
15439
+ * @version 249.0.0
15125
15440
  *//**
15126
15441
  * Constructs a new GeolocationApi.
15127
15442
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -15155,7 +15470,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
15155
15470
  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(){/**
15156
15471
  * Greetings service.
15157
15472
  * @module purecloud-platform-client-v2/api/GreetingsApi
15158
- * @version 247.1.0
15473
+ * @version 249.0.0
15159
15474
  *//**
15160
15475
  * Constructs a new GreetingsApi.
15161
15476
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -15283,7 +15598,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
15283
15598
  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(){/**
15284
15599
  * Groups service.
15285
15600
  * @module purecloud-platform-client-v2/api/GroupsApi
15286
- * @version 247.1.0
15601
+ * @version 249.0.0
15287
15602
  *//**
15288
15603
  * Constructs a new GroupsApi.
15289
15604
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -15416,7 +15731,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
15416
15731
  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(){/**
15417
15732
  * IdentityProvider service.
15418
15733
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
15419
- * @version 247.1.0
15734
+ * @version 249.0.0
15420
15735
  *//**
15421
15736
  * Constructs a new IdentityProviderApi.
15422
15737
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -15572,7 +15887,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15572
15887
  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(){/**
15573
15888
  * InfrastructureAsCode service.
15574
15889
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
15575
- * @version 247.1.0
15890
+ * @version 249.0.0
15576
15891
  *//**
15577
15892
  * Constructs a new InfrastructureAsCodeApi.
15578
15893
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -15626,7 +15941,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
15626
15941
  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(){/**
15627
15942
  * Integrations service.
15628
15943
  * @module purecloud-platform-client-v2/api/IntegrationsApi
15629
- * @version 247.1.0
15944
+ * @version 249.0.0
15630
15945
  *//**
15631
15946
  * Constructs a new IntegrationsApi.
15632
15947
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -16318,7 +16633,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
16318
16633
  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 IntentsApi=/*#__PURE__*/function(){/**
16319
16634
  * Intents service.
16320
16635
  * @module purecloud-platform-client-v2/api/IntentsApi
16321
- * @version 247.1.0
16636
+ * @version 249.0.0
16322
16637
  *//**
16323
16638
  * Constructs a new IntentsApi.
16324
16639
  * @alias module:purecloud-platform-client-v2/api/IntentsApi
@@ -16435,7 +16750,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16435
16750
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
16436
16751
  * Journey service.
16437
16752
  * @module purecloud-platform-client-v2/api/JourneyApi
16438
- * @version 247.1.0
16753
+ * @version 249.0.0
16439
16754
  *//**
16440
16755
  * Constructs a new JourneyApi.
16441
16756
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -16944,7 +17259,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16944
17259
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
16945
17260
  * Knowledge service.
16946
17261
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16947
- * @version 247.1.0
17262
+ * @version 249.0.0
16948
17263
  *//**
16949
17264
  * Constructs a new KnowledgeApi.
16950
17265
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -16952,10 +17267,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16952
17267
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16953
17268
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
16954
17269
  */function KnowledgeApi(apiClient){_classCallCheck(this,KnowledgeApi);this.apiClient=apiClient||ApiClient.instance;}/**
17270
+ * Delete connection
17271
+ *
17272
+ * @param {String} connectionId Connection ID
17273
+ */return _createClass(KnowledgeApi,[{key:"deleteKnowledgeConnection",value:function deleteKnowledgeConnection(connectionId){// verify the required parameter 'connectionId' is set
17274
+ if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling deleteKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','DELETE',{'connectionId':connectionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16955
17275
  * Delete knowledge base
16956
17276
  *
16957
17277
  * @param {String} knowledgeBaseId Knowledge base ID
16958
- */return _createClass(KnowledgeApi,[{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
17278
+ */},{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
16959
17279
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){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']);}/**
16960
17280
  * Delete category
16961
17281
  *
@@ -17027,6 +17347,28 @@ if(syncJobId===undefined||syncJobId===null||syncJobId===''){throw'Missing the re
17027
17347
  * @param {String} knowledgeSettingId Knowledge Setting ID.
17028
17348
  */},{key:"deleteKnowledgeSetting",value:function deleteKnowledgeSetting(knowledgeSettingId){// verify the required parameter 'knowledgeSettingId' is set
17029
17349
  if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','DELETE',{'knowledgeSettingId':knowledgeSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17350
+ * Delete source
17351
+ *
17352
+ * @param {String} sourceId Source ID
17353
+ */},{key:"deleteKnowledgeSource",value:function deleteKnowledgeSource(sourceId){// verify the required parameter 'sourceId' is set
17354
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17355
+ * Get connection
17356
+ *
17357
+ * @param {String} connectionId Connection ID
17358
+ * @param {Object} opts Optional parameters
17359
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
17360
+ */},{key:"getKnowledgeConnection",value:function getKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
17361
+ if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','GET',{'connectionId':connectionId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17362
+ * Get connection options
17363
+ *
17364
+ * @param {String} connectionId Connection ID
17365
+ * @param {Object} opts Optional parameters
17366
+ * @param {String} opts.parentId The id of the parent option whose children to be listed.
17367
+ */},{key:"getKnowledgeConnectionOptions",value:function getKnowledgeConnectionOptions(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
17368
+ if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnectionOptions';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}/options','GET',{'connectionId':connectionId},{'parentId':opts['parentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17369
+ * Get connections
17370
+ *
17371
+ */},{key:"getKnowledgeConnections",value:function getKnowledgeConnections(){return this.apiClient.callApi('/api/v2/knowledge/connections','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17030
17372
  * Get categories
17031
17373
  *
17032
17374
  * @param {String} sessionId Knowledge guest session ID.
@@ -17383,6 +17725,48 @@ if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId
17383
17725
  * @param {Object} opts.sortBy Field to sort the knowledge settings on.
17384
17726
  * @param {Object} opts.sortOrder Sorting order for knowledge settings.
17385
17727
  */},{key:"getKnowledgeSettings",value:function getKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'sourceId':opts['sourceId'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17728
+ * Get source
17729
+ *
17730
+ * @param {String} sourceId Source ID
17731
+ * @param {Object} opts Optional parameters
17732
+ * @param {Array.<String>} opts.expand Optional fields to expand for the Source.
17733
+ */},{key:"getKnowledgeSource",value:function getKnowledgeSource(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
17734
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','GET',{'sourceId':sourceId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17735
+ * Get a specific synchronization of a source.
17736
+ *
17737
+ * @param {String} sourceId Source ID
17738
+ * @param {String} synchronizationId Synchronization ID
17739
+ */},{key:"getKnowledgeSourceSynchronization",value:function getKnowledgeSourceSynchronization(sourceId,synchronizationId){// verify the required parameter 'sourceId' is set
17740
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
17741
+ if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','GET',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17742
+ * Get synchronizations of a source.
17743
+ *
17744
+ * @param {String} sourceId Source ID
17745
+ * @param {Object} opts Optional parameters
17746
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
17747
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
17748
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
17749
+ */},{key:"getKnowledgeSourceSynchronizations",value:function getKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
17750
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','GET',{'sourceId':sourceId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17751
+ * List sources
17752
+ *
17753
+ * @param {Object} opts Optional parameters
17754
+ * @param {Array.<String>} opts.expand Optional fields to expand for the Source.
17755
+ */},{key:"getKnowledgeSources",value:function getKnowledgeSources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17756
+ * Get synchronizations of all sources of the organization.
17757
+ *
17758
+ * @param {Object} opts Optional parameters
17759
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
17760
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
17761
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
17762
+ */},{key:"getKnowledgeSourcesSynchronizations",value:function getKnowledgeSourcesSynchronizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources/synchronizations','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17763
+ * Update connection
17764
+ *
17765
+ * @param {String} connectionId Connection ID
17766
+ * @param {Object} opts Optional parameters
17767
+ * @param {Object} opts.body
17768
+ */},{key:"patchKnowledgeConnection",value:function patchKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
17769
+ if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling patchKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','PATCH',{'connectionId':connectionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
17386
17770
  * Update search result.
17387
17771
  *
17388
17772
  * @param {String} sessionId Knowledge guest session ID.
@@ -17511,6 +17895,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17511
17895
  */},{key:"patchKnowledgeSetting",value:function patchKnowledgeSetting(knowledgeSettingId,body){// verify the required parameter 'knowledgeSettingId' is set
17512
17896
  if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';}// verify the required parameter 'body' is set
17513
17897
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','PATCH',{'knowledgeSettingId':knowledgeSettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17898
+ * Update synchronization.
17899
+ *
17900
+ * @param {String} sourceId Source ID
17901
+ * @param {String} synchronizationId Synchronization ID
17902
+ * @param {Object} body
17903
+ */},{key:"patchKnowledgeSourceSynchronization",value:function patchKnowledgeSourceSynchronization(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
17904
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
17905
+ if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'body' is set
17906
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','PATCH',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17907
+ * Create new connection
17908
+ *
17909
+ * @param {Object} body
17910
+ */},{key:"postKnowledgeConnections",value:function postKnowledgeConnections(body){// verify the required parameter 'body' is set
17911
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeConnections';}return this.apiClient.callApi('/api/v2/knowledge/connections','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17514
17912
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
17515
17913
  *
17516
17914
  * @param {Object} body query
@@ -17789,6 +18187,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17789
18187
  * @param {Object} body
17790
18188
  */},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
17791
18189
  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']);}/**
18190
+ * Get Knowledge Search
18191
+ *
18192
+ * @param {Object} opts Optional parameters
18193
+ * @param {Object} opts.body
18194
+ */},{key:"postKnowledgeSearch",value:function postKnowledgeSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/search','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
17792
18195
  * Get Knowledge Search Preview
17793
18196
  *
17794
18197
  * @param {Object} opts Optional parameters
@@ -17799,6 +18202,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17799
18202
  * @param {Object} opts Optional parameters
17800
18203
  * @param {Object} opts.body
17801
18204
  */},{key:"postKnowledgeSettings",value:function postKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18205
+ * Create presigned URL for uploading a file in the synchronization.
18206
+ *
18207
+ * @param {String} sourceId Source ID
18208
+ * @param {String} synchronizationId Synchronization ID
18209
+ * @param {Object} body
18210
+ */},{key:"postKnowledgeSourceSynchronizationUploads",value:function postKnowledgeSourceSynchronizationUploads(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
18211
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'synchronizationId' is set
18212
+ if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'body' is set
18213
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationUploads';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads','POST',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18214
+ * Start a manual synchronization from a source.
18215
+ *
18216
+ * @param {String} sourceId Source ID
18217
+ * @param {Object} opts Optional parameters
18218
+ * @param {Object} opts.body
18219
+ */},{key:"postKnowledgeSourceSynchronizations",value:function postKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
18220
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','POST',{'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18221
+ * Create a new source
18222
+ *
18223
+ * @param {Object} body
18224
+ */},{key:"postKnowledgeSources",value:function postKnowledgeSources(body){// verify the required parameter 'body' is set
18225
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSources';}return this.apiClient.callApi('/api/v2/knowledge/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17802
18226
  * Update Salesforce Knowledge integration source
17803
18227
  *
17804
18228
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -17816,10 +18240,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17816
18240
  */},{key:"putKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
17817
18241
  if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
17818
18242
  if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'body' is set
17819
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
18243
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18244
+ * Update the source
18245
+ *
18246
+ * @param {String} sourceId Source ID
18247
+ * @param {Object} body
18248
+ */},{key:"putKnowledgeSource",value:function putKnowledgeSource(sourceId,body){// verify the required parameter 'sourceId' is set
18249
+ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeSource';}// verify the required parameter 'body' is set
18250
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
17820
18251
  * LanguageUnderstanding service.
17821
18252
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17822
- * @version 247.1.0
18253
+ * @version 249.0.0
17823
18254
  *//**
17824
18255
  * Constructs a new LanguageUnderstandingApi.
17825
18256
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -18128,7 +18559,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
18128
18559
  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(){/**
18129
18560
  * Languages service.
18130
18561
  * @module purecloud-platform-client-v2/api/LanguagesApi
18131
- * @version 247.1.0
18562
+ * @version 249.0.0
18132
18563
  *//**
18133
18564
  * Constructs a new LanguagesApi.
18134
18565
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -18183,7 +18614,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
18183
18614
  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(){/**
18184
18615
  * Learning service.
18185
18616
  * @module purecloud-platform-client-v2/api/LearningApi
18186
- * @version 247.1.0
18617
+ * @version 249.0.0
18187
18618
  *//**
18188
18619
  * Constructs a new LearningApi.
18189
18620
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -18472,7 +18903,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
18472
18903
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
18473
18904
  * License service.
18474
18905
  * @module purecloud-platform-client-v2/api/LicenseApi
18475
- * @version 247.1.0
18906
+ * @version 249.0.0
18476
18907
  *//**
18477
18908
  * Constructs a new LicenseApi.
18478
18909
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -18509,6 +18940,12 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
18509
18940
  * @param {Object} opts Optional parameters
18510
18941
  * @param {Array.<String>} opts.body The roleIds to use while inferring licenses
18511
18942
  */},{key:"postLicenseInfer",value:function postLicenseInfer(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18943
+ * Get a list of licenses inferred based on a list of permissions
18944
+ *
18945
+ * @param {Object} opts Optional parameters
18946
+ * @param {Array.<String>} opts.body The permissions to use while inferring licenses
18947
+ * postLicenseInferPermissions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18948
+ */},{key:"postLicenseInferPermissions",value:function postLicenseInferPermissions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer/permissions','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
18512
18949
  * Update the organization's license assignments in a batch.
18513
18950
  *
18514
18951
  * @param {Object} opts Optional parameters
@@ -18526,7 +18963,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
18526
18963
  */},{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(){/**
18527
18964
  * Locations service.
18528
18965
  * @module purecloud-platform-client-v2/api/LocationsApi
18529
- * @version 247.1.0
18966
+ * @version 249.0.0
18530
18967
  *//**
18531
18968
  * Constructs a new LocationsApi.
18532
18969
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -18585,7 +19022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18585
19022
  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(){/**
18586
19023
  * LogCapture service.
18587
19024
  * @module purecloud-platform-client-v2/api/LogCaptureApi
18588
- * @version 247.1.0
19025
+ * @version 249.0.0
18589
19026
  *//**
18590
19027
  * Constructs a new LogCaptureApi.
18591
19028
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -18634,7 +19071,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
18634
19071
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
18635
19072
  * Messaging service.
18636
19073
  * @module purecloud-platform-client-v2/api/MessagingApi
18637
- * @version 247.1.0
19074
+ * @version 249.0.0
18638
19075
  *//**
18639
19076
  * Constructs a new MessagingApi.
18640
19077
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -18724,7 +19161,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18724
19161
  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(){/**
18725
19162
  * MobileDevices service.
18726
19163
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
18727
- * @version 247.1.0
19164
+ * @version 249.0.0
18728
19165
  *//**
18729
19166
  * Constructs a new MobileDevicesApi.
18730
19167
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -18763,7 +19200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18763
19200
  if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
18764
19201
  * Notifications service.
18765
19202
  * @module purecloud-platform-client-v2/api/NotificationsApi
18766
- * @version 247.1.0
19203
+ * @version 249.0.0
18767
19204
  *//**
18768
19205
  * Constructs a new NotificationsApi.
18769
19206
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18820,7 +19257,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18820
19257
  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(){/**
18821
19258
  * OAuth service.
18822
19259
  * @module purecloud-platform-client-v2/api/OAuthApi
18823
- * @version 247.1.0
19260
+ * @version 249.0.0
18824
19261
  *//**
18825
19262
  * Constructs a new OAuthApi.
18826
19263
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18905,7 +19342,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18905
19342
  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(){/**
18906
19343
  * Objects service.
18907
19344
  * @module purecloud-platform-client-v2/api/ObjectsApi
18908
- * @version 247.1.0
19345
+ * @version 249.0.0
18909
19346
  *//**
18910
19347
  * Constructs a new ObjectsApi.
18911
19348
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18991,7 +19428,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18991
19428
  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(){/**
18992
19429
  * OperationalEvents service.
18993
19430
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18994
- * @version 247.1.0
19431
+ * @version 249.0.0
18995
19432
  *//**
18996
19433
  * Constructs a new OperationalEventsApi.
18997
19434
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -19022,7 +19459,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
19022
19459
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
19023
19460
  * Organization service.
19024
19461
  * @module purecloud-platform-client-v2/api/OrganizationApi
19025
- * @version 247.1.0
19462
+ * @version 249.0.0
19026
19463
  *//**
19027
19464
  * Constructs a new OrganizationApi.
19028
19465
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -19127,7 +19564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19127
19564
  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(){/**
19128
19565
  * OrganizationAuthorization service.
19129
19566
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
19130
- * @version 247.1.0
19567
+ * @version 249.0.0
19131
19568
  *//**
19132
19569
  * Constructs a new OrganizationAuthorizationApi.
19133
19570
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -19461,7 +19898,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
19461
19898
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
19462
19899
  * Outbound service.
19463
19900
  * @module purecloud-platform-client-v2/api/OutboundApi
19464
- * @version 247.1.0
19901
+ * @version 249.0.0
19465
19902
  *//**
19466
19903
  * Constructs a new OutboundApi.
19467
19904
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19511,7 +19948,7 @@ if(contactListId===undefined||contactListId===null||contactListId===''){throw'Mi
19511
19948
  */},{key:"deleteOutboundContactlistContact",value:function deleteOutboundContactlistContact(contactListId,contactId){// verify the required parameter 'contactListId' is set
19512
19949
  if(contactListId===undefined||contactListId===null||contactListId===''){throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContact';}// verify the required parameter 'contactId' is set
19513
19950
  if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling deleteOutboundContactlistContact';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}','DELETE',{'contactListId':contactListId,'contactId':contactId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19514
- * Delete contacts from a contact list.
19951
+ * Delete contacts from a contact list. Only contacts that are not in use by any campaign will be deleted
19515
19952
  *
19516
19953
  * @param {String} contactListId Contact List ID
19517
19954
  * @param {Array.<String>} contactIds ContactIds to delete.
@@ -19923,6 +20360,15 @@ if(contactListTemplateId===undefined||contactListTemplateId===null||contactListT
19923
20360
  * @param {String} opts.sortBy Sort by
19924
20361
  * @param {Object} opts.sortOrder Sort order (default to a)
19925
20362
  */},{key:"getOutboundContactlisttemplates",value:function getOutboundContactlisttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20363
+ * Get diagnostic summary for a single campaign
20364
+ *
20365
+ * @param {String} campaignId Campaign ID
20366
+ * @param {String} start Start datetime (ISO 8601 or Unix epoch)
20367
+ * @param {String} end End datetime (ISO 8601 or Unix epoch)
20368
+ */},{key:"getOutboundDiagnosticsCampaignSummary",value:function getOutboundDiagnosticsCampaignSummary(campaignId,start,end){// verify the required parameter 'campaignId' is set
20369
+ if(campaignId===undefined||campaignId===null||campaignId===''){throw'Missing the required parameter "campaignId" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'start' is set
20370
+ if(start===undefined||start===null){throw'Missing the required parameter "start" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'end' is set
20371
+ if(end===undefined||end===null){throw'Missing the required parameter "end" when calling getOutboundDiagnosticsCampaignSummary';}return this.apiClient.callApi('/api/v2/outbound/diagnostics/campaigns/{campaignId}/summary','GET',{'campaignId':campaignId},{'start':start,'end':end},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19926
20372
  * Get an Outbound Digital Rule Set
19927
20373
  *
19928
20374
  * @param {String} digitalRuleSetId The Digital Rule Set ID
@@ -20628,7 +21074,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20628
21074
  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(){/**
20629
21075
  * Presence service.
20630
21076
  * @module purecloud-platform-client-v2/api/PresenceApi
20631
- * @version 247.1.0
21077
+ * @version 249.0.0
20632
21078
  *//**
20633
21079
  * Constructs a new PresenceApi.
20634
21080
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -20801,7 +21247,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20801
21247
  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(){/**
20802
21248
  * ProcessAutomation service.
20803
21249
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20804
- * @version 247.1.0
21250
+ * @version 249.0.0
20805
21251
  *//**
20806
21252
  * Constructs a new ProcessAutomationApi.
20807
21253
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20864,7 +21310,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20864
21310
  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(){/**
20865
21311
  * Quality service.
20866
21312
  * @module purecloud-platform-client-v2/api/QualityApi
20867
- * @version 247.1.0
21313
+ * @version 249.0.0
20868
21314
  *//**
20869
21315
  * Constructs a new QualityApi.
20870
21316
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -21408,7 +21854,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
21408
21854
  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(){/**
21409
21855
  * Recording service.
21410
21856
  * @module purecloud-platform-client-v2/api/RecordingApi
21411
- * @version 247.1.0
21857
+ * @version 249.0.0
21412
21858
  *//**
21413
21859
  * Constructs a new RecordingApi.
21414
21860
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -21807,7 +22253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21807
22253
  */},{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(){/**
21808
22254
  * ResponseManagement service.
21809
22255
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
21810
- * @version 247.1.0
22256
+ * @version 249.0.0
21811
22257
  *//**
21812
22258
  * Constructs a new ResponseManagementApi.
21813
22259
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21879,6 +22325,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21879
22325
  * @param {Object} body LibraryIDs (max allowed 50)
21880
22326
  */},{key:"postResponsemanagementLibrariesBulk",value:function postResponsemanagementLibrariesBulk(body){// verify the required parameter 'body' is set
21881
22327
  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']);}/**
22328
+ * Query libraries using criteria. Users can set DivisionId parameter as '*' to fetch libraries that aren't associated with any divisions.
22329
+ *
22330
+ * @param {Object} body Query criteria
22331
+ * @param {Object} opts Optional parameters
22332
+ * @param {Number} opts.pageNumber Page number (default to 1)
22333
+ * @param {Number} opts.pageSize Page size (default to 25)
22334
+ * postResponsemanagementLibrariesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22335
+ */},{key:"postResponsemanagementLibrariesQuery",value:function postResponsemanagementLibrariesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
22336
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesQuery';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22337
+ * Get response assets.
22338
+ *
22339
+ * @param {Object} body Asset IDs (max allowed 50)
22340
+ */},{key:"postResponsemanagementResponseassetsBulk",value:function postResponsemanagementResponseassetsBulk(body){// verify the required parameter 'body' is set
22341
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21882
22342
  * Search response assets
21883
22343
  *
21884
22344
  * @param {Object} body request
@@ -21928,7 +22388,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21928
22388
  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(){/**
21929
22389
  * Routing service.
21930
22390
  * @module purecloud-platform-client-v2/api/RoutingApi
21931
- * @version 247.1.0
22391
+ * @version 249.0.0
21932
22392
  *//**
21933
22393
  * Constructs a new RoutingApi.
21934
22394
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -22475,14 +22935,14 @@ if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the requir
22475
22935
  */},{key:"getRoutingSmsIdentityresolutionPhonenumber",value:function getRoutingSmsIdentityresolutionPhonenumber(addressId){// verify the required parameter 'addressId' is set
22476
22936
  if(addressId===undefined||addressId===null||addressId===''){throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','GET',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22477
22937
  * Get a phone number provisioned for SMS.
22478
- *
22938
+ * When no supported content profile is explicitly set on an MMS-capable phone number, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile using the PATCH endpoint.
22479
22939
  * @param {String} phoneNumberId phone number
22480
22940
  * @param {Object} opts Optional parameters
22481
22941
  * @param {Object} opts.expand Expand response with additional information
22482
22942
  */},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
22483
22943
  if(phoneNumberId===undefined||phoneNumberId===null||phoneNumberId===''){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22484
22944
  * Get a list of provisioned phone numbers.
22485
- *
22945
+ * When no supported content profile is explicitly set, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile.
22486
22946
  * @param {Object} opts Optional parameters
22487
22947
  * @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
22488
22948
  * @param {Array.<String>} opts.phoneNumberType Filter on phone number type
@@ -22719,7 +23179,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22719
23179
  if(skillGroupId===undefined||skillGroupId===null||skillGroupId===''){throw'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';}// verify the required parameter 'body' is set
22720
23180
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSkillgroup';}return this.apiClient.callApi('/api/v2/routing/skillgroups/{skillGroupId}','PATCH',{'skillGroupId':skillGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22721
23181
  * Update a phone number provisioned for SMS.
22722
- *
23182
+ * Use this endpoint to assign a custom supported content profile to an MMS-capable phone number. If no supported content profile is set, the phone number uses the "SMS Default" profile, which allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To customize media filtering, provide a supported content profile ID in the request body.
22723
23183
  * @param {String} phoneNumberId phone number
22724
23184
  * @param {Object} body SmsPhoneNumberPatchRequest
22725
23185
  */},{key:"patchRoutingSmsPhonenumber",value:function patchRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
@@ -22912,7 +23372,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22912
23372
  */},{key:"postRoutingSmsAddresses",value:function postRoutingSmsAddresses(body){// verify the required parameter 'body' is set
22913
23373
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsAddresses';}return this.apiClient.callApi('/api/v2/routing/sms/addresses','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22914
23374
  * Provision a phone number for SMS
22915
- *
23375
+ * When provisioning an MMS-capable phone number, if no supported content profile is specified in the request, the system automatically assigns the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To use custom media filtering, specify a supported content profile ID in the request body.
22916
23376
  * @param {Object} body SmsPhoneNumber
22917
23377
  */},{key:"postRoutingSmsPhonenumbers",value:function postRoutingSmsPhonenumbers(body){// verify the required parameter 'body' is set
22918
23378
  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']);}/**
@@ -23074,7 +23534,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
23074
23534
  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(){/**
23075
23535
  * SCIM service.
23076
23536
  * @module purecloud-platform-client-v2/api/SCIMApi
23077
- * @version 247.1.0
23537
+ * @version 249.0.0
23078
23538
  *//**
23079
23539
  * Constructs a new SCIMApi.
23080
23540
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -23299,7 +23759,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
23299
23759
  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 ScriptsApi=/*#__PURE__*/function(){/**
23300
23760
  * Scripts service.
23301
23761
  * @module purecloud-platform-client-v2/api/ScriptsApi
23302
- * @version 247.1.0
23762
+ * @version 249.0.0
23303
23763
  *//**
23304
23764
  * Constructs a new ScriptsApi.
23305
23765
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -23445,7 +23905,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
23445
23905
  */},{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(){/**
23446
23906
  * Search service.
23447
23907
  * @module purecloud-platform-client-v2/api/SearchApi
23448
- * @version 247.1.0
23908
+ * @version 249.0.0
23449
23909
  *//**
23450
23910
  * Constructs a new SearchApi.
23451
23911
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -23609,7 +24069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23609
24069
  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(){/**
23610
24070
  * Settings service.
23611
24071
  * @module purecloud-platform-client-v2/api/SettingsApi
23612
- * @version 247.1.0
24072
+ * @version 249.0.0
23613
24073
  *//**
23614
24074
  * Constructs a new SettingsApi.
23615
24075
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -23681,7 +24141,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
23681
24141
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
23682
24142
  * SocialMedia service.
23683
24143
  * @module purecloud-platform-client-v2/api/SocialMediaApi
23684
- * @version 247.1.0
24144
+ * @version 249.0.0
23685
24145
  *//**
23686
24146
  * Constructs a new SocialMediaApi.
23687
24147
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -24170,7 +24630,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
24170
24630
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
24171
24631
  * SpeechTextAnalytics service.
24172
24632
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
24173
- * @version 247.1.0
24633
+ * @version 249.0.0
24174
24634
  *//**
24175
24635
  * Constructs a new SpeechTextAnalyticsApi.
24176
24636
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -24549,7 +25009,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
24549
25009
  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(){/**
24550
25010
  * Stations service.
24551
25011
  * @module purecloud-platform-client-v2/api/StationsApi
24552
- * @version 247.1.0
25012
+ * @version 249.0.0
24553
25013
  *//**
24554
25014
  * Constructs a new StationsApi.
24555
25015
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -24581,7 +25041,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
24581
25041
  */},{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(){/**
24582
25042
  * Suggest service.
24583
25043
  * @module purecloud-platform-client-v2/api/SuggestApi
24584
- * @version 247.1.0
25044
+ * @version 249.0.0
24585
25045
  *//**
24586
25046
  * Constructs a new SuggestApi.
24587
25047
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -24621,7 +25081,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24621
25081
  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(){/**
24622
25082
  * TaskManagement service.
24623
25083
  * @module purecloud-platform-client-v2/api/TaskManagementApi
24624
- * @version 247.1.0
25084
+ * @version 249.0.0
24625
25085
  *//**
24626
25086
  * Constructs a new TaskManagementApi.
24627
25087
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -25067,9 +25527,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25067
25527
  */},{key:"postTaskmanagementWorkitemsBulkTerminateJobs",value:function postTaskmanagementWorkitemsBulkTerminateJobs(body){// verify the required parameter 'body' is set
25068
25528
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/bulk/terminate/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25069
25529
  * Query for workitems
25070
- * This query requires at least one EQ filter on the workbinId, assigneeId or typeId attributes.
25530
+ * This query requires at least one EQ filter on the workbinId, assigneeId, queueId or typeId attributes. A maximum of three filters are allowed.
25071
25531
  * @param {Object} body WorkitemQueryPostRequest
25072
- * postTaskmanagementWorkitemsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25073
25532
  */},{key:"postTaskmanagementWorkitemsQuery",value:function postTaskmanagementWorkitemsQuery(body){// verify the required parameter 'body' is set
25074
25533
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25075
25534
  * Create a workitem query job
@@ -25129,7 +25588,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
25129
25588
  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(){/**
25130
25589
  * Teams service.
25131
25590
  * @module purecloud-platform-client-v2/api/TeamsApi
25132
- * @version 247.1.0
25591
+ * @version 249.0.0
25133
25592
  *//**
25134
25593
  * Constructs a new TeamsApi.
25135
25594
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -25209,7 +25668,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25209
25668
  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(){/**
25210
25669
  * Telephony service.
25211
25670
  * @module purecloud-platform-client-v2/api/TelephonyApi
25212
- * @version 247.1.0
25671
+ * @version 249.0.0
25213
25672
  *//**
25214
25673
  * Constructs a new TelephonyApi.
25215
25674
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -25233,6 +25692,9 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
25233
25692
  * Retrieve the list of AWS regions media can stream through.
25234
25693
  *
25235
25694
  */},{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(){return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25695
+ * Get the global telephony configuration.
25696
+ *
25697
+ */},{key:"getTelephonySettings",value:function getTelephonySettings(){return this.apiClient.callApi('/api/v2/telephony/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25236
25698
  * Get a SIP message.
25237
25699
  * Get the raw form of the SIP message
25238
25700
  * @param {String} conversationId Conversation id
@@ -25278,10 +25740,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25278
25740
  *
25279
25741
  * @param {Object} body Agent Greeting
25280
25742
  */},{key:"putTelephonyAgentsGreetingsMe",value:function putTelephonyAgentsGreetingsMe(body){// verify the required parameter 'body' is set
25281
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
25743
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25744
+ * Update the global telephony configuration.
25745
+ *
25746
+ * @param {Object} body Telephony
25747
+ */},{key:"putTelephonySettings",value:function putTelephonySettings(body){// verify the required parameter 'body' is set
25748
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
25282
25749
  * TelephonyProvidersEdge service.
25283
25750
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
25284
- * @version 247.1.0
25751
+ * @version 249.0.0
25285
25752
  *//**
25286
25753
  * Constructs a new TelephonyProvidersEdgeApi.
25287
25754
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -26129,7 +26596,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
26129
26596
  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(){/**
26130
26597
  * Textbots service.
26131
26598
  * @module purecloud-platform-client-v2/api/TextbotsApi
26132
- * @version 247.1.0
26599
+ * @version 249.0.0
26133
26600
  *//**
26134
26601
  * Constructs a new TextbotsApi.
26135
26602
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -26165,7 +26632,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
26165
26632
  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(){/**
26166
26633
  * Tokens service.
26167
26634
  * @module purecloud-platform-client-v2/api/TokensApi
26168
- * @version 247.1.0
26635
+ * @version 249.0.0
26169
26636
  *//**
26170
26637
  * Constructs a new TokensApi.
26171
26638
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -26199,7 +26666,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26199
26666
  */},{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(){/**
26200
26667
  * Uploads service.
26201
26668
  * @module purecloud-platform-client-v2/api/UploadsApi
26202
- * @version 247.1.0
26669
+ * @version 249.0.0
26203
26670
  *//**
26204
26671
  * Constructs a new UploadsApi.
26205
26672
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -26272,7 +26739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26272
26739
  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(){/**
26273
26740
  * Usage service.
26274
26741
  * @module purecloud-platform-client-v2/api/UsageApi
26275
- * @version 247.1.0
26742
+ * @version 249.0.0
26276
26743
  *//**
26277
26744
  * Constructs a new UsageApi.
26278
26745
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -26356,7 +26823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26356
26823
  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(){/**
26357
26824
  * UserRecordings service.
26358
26825
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
26359
- * @version 247.1.0
26826
+ * @version 249.0.0
26360
26827
  *//**
26361
26828
  * Constructs a new UserRecordingsApi.
26362
26829
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -26404,7 +26871,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
26404
26871
  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(){/**
26405
26872
  * Users service.
26406
26873
  * @module purecloud-platform-client-v2/api/UsersApi
26407
- * @version 247.1.0
26874
+ * @version 249.0.0
26408
26875
  *//**
26409
26876
  * Constructs a new UsersApi.
26410
26877
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -27254,7 +27721,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
27254
27721
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
27255
27722
  * UsersRules service.
27256
27723
  * @module purecloud-platform-client-v2/api/UsersRulesApi
27257
- * @version 247.1.0
27724
+ * @version 249.0.0
27258
27725
  *//**
27259
27726
  * Constructs a new UsersRulesApi.
27260
27727
  * @alias module:purecloud-platform-client-v2/api/UsersRulesApi
@@ -27329,7 +27796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27329
27796
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
27330
27797
  * Utilities service.
27331
27798
  * @module purecloud-platform-client-v2/api/UtilitiesApi
27332
- * @version 247.1.0
27799
+ * @version 249.0.0
27333
27800
  *//**
27334
27801
  * Constructs a new UtilitiesApi.
27335
27802
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -27356,7 +27823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27356
27823
  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(){/**
27357
27824
  * Voicemail service.
27358
27825
  * @module purecloud-platform-client-v2/api/VoicemailApi
27359
- * @version 247.1.0
27826
+ * @version 249.0.0
27360
27827
  *//**
27361
27828
  * Constructs a new VoicemailApi.
27362
27829
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -27518,7 +27985,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
27518
27985
  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(){/**
27519
27986
  * WebChat service.
27520
27987
  * @module purecloud-platform-client-v2/api/WebChatApi
27521
- * @version 247.1.0
27988
+ * @version 249.0.0
27522
27989
  *//**
27523
27990
  * Constructs a new WebChatApi.
27524
27991
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -27665,7 +28132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27665
28132
  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(){/**
27666
28133
  * WebDeployments service.
27667
28134
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
27668
- * @version 247.1.0
28135
+ * @version 249.0.0
27669
28136
  *//**
27670
28137
  * Constructs a new WebDeploymentsApi.
27671
28138
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -27808,7 +28275,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
27808
28275
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
27809
28276
  * WebMessaging service.
27810
28277
  * @module purecloud-platform-client-v2/api/WebMessagingApi
27811
- * @version 247.1.0
28278
+ * @version 249.0.0
27812
28279
  *//**
27813
28280
  * Constructs a new WebMessagingApi.
27814
28281
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -27849,7 +28316,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
27849
28316
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
27850
28317
  * Widgets service.
27851
28318
  * @module purecloud-platform-client-v2/api/WidgetsApi
27852
- * @version 247.1.0
28319
+ * @version 249.0.0
27853
28320
  *//**
27854
28321
  * Constructs a new WidgetsApi.
27855
28322
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -27889,7 +28356,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
27889
28356
  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(){/**
27890
28357
  * WorkforceManagement service.
27891
28358
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
27892
- * @version 247.1.0
28359
+ * @version 249.0.0
27893
28360
  *//**
27894
28361
  * Constructs a new WorkforceManagementApi.
27895
28362
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -28188,9 +28655,11 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
28188
28655
  *
28189
28656
  * @param {String} businessUnitId The ID of the business unit
28190
28657
  * @param {String} capacityPlanId The ID of the capacity plan
28191
- */},{key:"getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations",value:function getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(businessUnitId,capacityPlanId){// verify the required parameter 'businessUnitId' is set
28658
+ * @param {Object} opts Optional parameters
28659
+ * @param {Object} opts.granularity Granularity to access staffing group data, defaults to weekly
28660
+ */},{key:"getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations",value:function getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28192
28661
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}// verify the required parameter 'capacityPlanId' is set
28193
- if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28662
+ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28194
28663
  * Get a capacity plan's staffing requirements
28195
28664
  *
28196
28665
  * @param {String} businessUnitId The ID of the business unit
@@ -28203,10 +28672,12 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
28203
28672
  * @param {String} businessUnitId
28204
28673
  * @param {String} weekDateId weekDateId of forecast, format yyyy-MM-dd. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
28205
28674
  * @param {String} forecastId forecastId of forecast
28206
- */},{key:"getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast",value:function getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(businessUnitId,weekDateId,forecastId){// verify the required parameter 'businessUnitId' is set
28675
+ * @param {Object} opts Optional parameters
28676
+ * @param {Object} opts.granularity Granularity to access staffing requirements data, defaults to weekly
28677
+ */},{key:"getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast",value:function getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28207
28678
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'weekDateId' is set
28208
28679
  if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'forecastId' is set
28209
- if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28680
+ if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28210
28681
  * Get list of capacity plans for a business unit
28211
28682
  *
28212
28683
  * @param {String} businessUnitId The ID of the business unit
@@ -28251,6 +28722,11 @@ if(snapshotId===undefined||snapshotId===null||snapshotId===''){throw'Missing the
28251
28722
  * @param {String} opts.divisionId If specified, the list of management units belonging to the specified division will be returned
28252
28723
  */},{key:"getWorkforcemanagementBusinessunitManagementunits",value:function getWorkforcemanagementBusinessunitManagementunits(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28253
28724
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/managementunits','GET',{'businessUnitId':businessUnitId},{'feature':opts['feature'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28725
+ * Get minimum staffing settings for a business unit
28726
+ *
28727
+ * @param {String} businessUnitId The ID of the business unit
28728
+ */},{key:"getWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function getWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
28729
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28254
28730
  * Get a planning group
28255
28731
  *
28256
28732
  * @param {String} businessUnitId The ID of the business unit.
@@ -28263,6 +28739,11 @@ if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){th
28263
28739
  * @param {String} businessUnitId The ID of the business unit.
28264
28740
  */},{key:"getWorkforcemanagementBusinessunitPlanninggroups",value:function getWorkforcemanagementBusinessunitPlanninggroups(businessUnitId){// verify the required parameter 'businessUnitId' is set
28265
28741
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28742
+ * Get scheduler settings for a business unit
28743
+ *
28744
+ * @param {String} businessUnitId The ID of the business unit
28745
+ */},{key:"getWorkforcemanagementBusinessunitSchedulerSettings",value:function getWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
28746
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28266
28747
  * Get a scheduling run
28267
28748
  *
28268
28749
  * @param {String} businessUnitId The ID of the business unit
@@ -28346,6 +28827,13 @@ if(timeOffPlanId===undefined||timeOffPlanId===null||timeOffPlanId===''){throw'Mi
28346
28827
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
28347
28828
  */},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28348
28829
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){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']);}/**
28830
+ * Get users in the business unit
28831
+ *
28832
+ * @param {String} businessUnitId The ID of the business unit
28833
+ * @param {Object} opts Optional parameters
28834
+ * @param {Array.<String>} opts.managementUnitIds The IDs of the management units for which to retrieve users
28835
+ */},{key:"getWorkforcemanagementBusinessunitUsers",value:function getWorkforcemanagementBusinessunitUsers(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
28836
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitUsers';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/users','GET',{'businessUnitId':businessUnitId},{'managementUnitIds':this.apiClient.buildCollectionParam(opts['managementUnitIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28349
28837
  * 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
28350
28838
  *
28351
28839
  * @param {String} businessUnitId The ID of the business unit
@@ -28880,6 +29368,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28880
29368
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'capacityPlanId' is set
28881
29369
  if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'body' is set
28882
29370
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitCapacityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}','PATCH',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
29371
+ * Update minimum staffing settings for a business unit
29372
+ *
29373
+ * @param {String} businessUnitId The ID of the business unit
29374
+ * @param {Object} body body
29375
+ */},{key:"patchWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function patchWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
29376
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}// verify the required parameter 'body' is set
29377
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28883
29378
  * Updates the planning group
28884
29379
  *
28885
29380
  * @param {String} businessUnitId The ID of the business unit.
@@ -28889,6 +29384,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28889
29384
  if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'planningGroupId' is set
28890
29385
  if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'body' is set
28891
29386
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}','PATCH',{'businessUnitId':businessUnitId,'planningGroupId':planningGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
29387
+ * Update scheduler settings for a business unit
29388
+ *
29389
+ * @param {String} businessUnitId The ID of the business unit
29390
+ * @param {Object} body body
29391
+ */},{key:"patchWorkforcemanagementBusinessunitSchedulerSettings",value:function patchWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
29392
+ if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}// verify the required parameter 'body' is set
29393
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28892
29394
  * Mark a schedule run as applied
28893
29395
  *
28894
29396
  * @param {String} businessUnitId The ID of the business unit
@@ -29912,7 +30414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
29912
30414
  * </pre>
29913
30415
  * </p>
29914
30416
  * @module purecloud-platform-client-v2/index
29915
- * @version 247.1.0
30417
+ * @version 249.0.0
29916
30418
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
29917
30419
  * The ApiClient constructor.
29918
30420
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -29962,6 +30464,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
29962
30464
  * The CarrierServicesApi service constructor.
29963
30465
  * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
29964
30466
  */this.CarrierServicesApi=CarrierServicesApi;/**
30467
+ * The CaseManagementApi service constructor.
30468
+ * @property {module:purecloud-platform-client-v2/api/CaseManagementApi}
30469
+ */this.CaseManagementApi=CaseManagementApi;/**
29965
30470
  * The ChatApi service constructor.
29966
30471
  * @property {module:purecloud-platform-client-v2/api/ChatApi}
29967
30472
  */this.ChatApi=ChatApi;/**