purecloud-platform-client-v2 193.0.0 → 195.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +748 -406
  3. package/dist/web-amd/purecloud-platform-client-v2.js +748 -406
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +253 -180
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +253 -180
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +537 -453
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +30 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +26 -316
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +174 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +125 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -7
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +165 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5197,7 +5197,7 @@ module.exports = function getSideChannel() {
5197
5197
 
5198
5198
  },{"call-bind/callBound":8,"es-errors/type":17,"get-intrinsic":21,"object-inspect":28}],"platformClient":[function(require,module,exports){
5199
5199
  (function (global,Buffer){(function (){
5200
- 'use strict';function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e){throw _e;},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 normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e2){didErr=true;err=_e2;},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]();}finally{if(didErr)throw err;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function _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(fn){return function(){return new _AsyncGenerator(fn.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(t,e){this.v=t,this.k=e;}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'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
5200
+ '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 _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _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 _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(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 _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'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
5201
5201
  // if there are two placeholders, than the two characters before it
5202
5202
  // represent one byte
5203
5203
  // if there is only one, then the three characters before it represent 2 bytes
@@ -6054,7 +6054,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6054
6054
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6055
6055
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
6056
6056
  * @module purecloud-platform-client-v2/ApiClient
6057
- * @version 193.0.0
6057
+ * @version 195.0.0
6058
6058
  */var ApiClient=/*#__PURE__*/function(){/**
6059
6059
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6060
6060
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6283,7 +6283,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
6283
6283
  * Returns a string representation for an actual parameter.
6284
6284
  * @param param The actual parameter.
6285
6285
  * @returns {String} The string representation of <code>param</code>.
6286
- */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}return param.toString();}/**
6286
+ */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
6287
6287
  * Returns query parameters serialized in the format needed for an axios request.
6288
6288
  * @param param The unserialized query parameters.
6289
6289
  * @returns {Object} The serialized representation the query parameters.
@@ -6366,7 +6366,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6366
6366
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
6367
6367
  * Alerting service.
6368
6368
  * @module purecloud-platform-client-v2/api/AlertingApi
6369
- * @version 193.0.0
6369
+ * @version 195.0.0
6370
6370
  */ /**
6371
6371
  * Constructs a new AlertingApi.
6372
6372
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -6523,7 +6523,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
6523
6523
  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(){/**
6524
6524
  * Analytics service.
6525
6525
  * @module purecloud-platform-client-v2/api/AnalyticsApi
6526
- * @version 193.0.0
6526
+ * @version 195.0.0
6527
6527
  */ /**
6528
6528
  * Constructs a new AnalyticsApi.
6529
6529
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -6555,6 +6555,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
6555
6555
  * getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6556
6556
  */},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
6557
6557
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6558
+ * Get status for async query for agent copilot aggregates
6559
+ *
6560
+ * @param {String} jobId jobId
6561
+ * getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6562
+ */},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
6563
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6564
+ * Fetch a page of results for an async aggregates query
6565
+ *
6566
+ * @param {String} jobId jobId
6567
+ * @param {Object} opts Optional parameters
6568
+ * @param {String} opts.cursor Cursor token to retrieve next page
6569
+ * getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6570
+ */},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
6571
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6558
6572
  * Get Reporting Turns (division aware).
6559
6573
  * Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
6560
6574
  * @param {String} botFlowId ID of the bot flow.
@@ -6746,6 +6760,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
6746
6760
  * Get AnalyticsReportingSettings for an organization
6747
6761
  *
6748
6762
  */},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6763
+ * Get list of dashboard configurations
6764
+ *
6765
+ * @param {Object} dashboardType List dashboard of given type
6766
+ * @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
6767
+ * @param {Object} opts Optional parameters
6768
+ * @param {String} opts.sortBy (default to desc)
6769
+ * @param {Number} opts.pageNumber (default to 1)
6770
+ * @param {Number} opts.pageSize (default to 9)
6771
+ */},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
6772
+ if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
6773
+ if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'dashboardType':dashboardType,'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6749
6774
  * Get list of dashboards for an user
6750
6775
  *
6751
6776
  * @param {String} userId User ID
@@ -6860,6 +6885,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6860
6885
  * @param {Object} body query
6861
6886
  */},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
6862
6887
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6888
+ * Query for agent copilot aggregates asynchronously
6889
+ *
6890
+ * @param {Object} body query
6891
+ * postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6892
+ */},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
6893
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6894
+ * Query for agent copilot aggregates
6895
+ *
6896
+ * @param {Object} body query
6897
+ * postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6898
+ */},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
6899
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6863
6900
  * Query for bot aggregates asynchronously
6864
6901
  *
6865
6902
  * @param {Object} body query
@@ -6985,8 +7022,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6985
7022
  * @param {Object} body query
6986
7023
  */},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
6987
7024
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6988
- * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
6989
- *
7025
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
7026
+ * The max property can be used to determine estimated rate limit value hit.
6990
7027
  * @param {Object} body query
6991
7028
  */},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
6992
7029
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7107,7 +7144,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7107
7144
  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(){/**
7108
7145
  * Architect service.
7109
7146
  * @module purecloud-platform-client-v2/api/ArchitectApi
7110
- * @version 193.0.0
7147
+ * @version 195.0.0
7111
7148
  */ /**
7112
7149
  * Constructs a new ArchitectApi.
7113
7150
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -8223,7 +8260,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8223
8260
  if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
8224
8261
  * Audit service.
8225
8262
  * @module purecloud-platform-client-v2/api/AuditApi
8226
- * @version 193.0.0
8263
+ * @version 195.0.0
8227
8264
  */ /**
8228
8265
  * Constructs a new AuditApi.
8229
8266
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8262,10 +8299,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8262
8299
  * @param {Object} opts Optional parameters
8263
8300
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
8264
8301
  */},{key:"postAuditsQueryRealtime",value:function postAuditsQueryRealtime(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8265
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
8302
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8303
+ * Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.
8304
+ *
8305
+ * @param {Object} body query
8306
+ * @param {Object} opts Optional parameters
8307
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
8308
+ */},{key:"postAuditsQueryRealtimeRelated",value:function postAuditsQueryRealtimeRelated(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8309
+ 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(){/**
8266
8310
  * Authorization service.
8267
8311
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8268
- * @version 193.0.0
8312
+ * @version 195.0.0
8269
8313
  */ /**
8270
8314
  * Constructs a new AuthorizationApi.
8271
8315
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -8580,7 +8624,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
8580
8624
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
8581
8625
  * Billing service.
8582
8626
  * @module purecloud-platform-client-v2/api/BillingApi
8583
- * @version 193.0.0
8627
+ * @version 195.0.0
8584
8628
  */ /**
8585
8629
  * Constructs a new BillingApi.
8586
8630
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -8604,7 +8648,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
8604
8648
  if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
8605
8649
  * CarrierServices service.
8606
8650
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8607
- * @version 193.0.0
8651
+ * @version 195.0.0
8608
8652
  */ /**
8609
8653
  * Constructs a new CarrierServicesApi.
8610
8654
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -8624,7 +8668,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
8624
8668
  */},{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(){/**
8625
8669
  * Chat service.
8626
8670
  * @module purecloud-platform-client-v2/api/ChatApi
8627
- * @version 193.0.0
8671
+ * @version 195.0.0
8628
8672
  */ /**
8629
8673
  * Constructs a new ChatApi.
8630
8674
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -8849,7 +8893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8849
8893
  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(){/**
8850
8894
  * Coaching service.
8851
8895
  * @module purecloud-platform-client-v2/api/CoachingApi
8852
- * @version 193.0.0
8896
+ * @version 195.0.0
8853
8897
  */ /**
8854
8898
  * Constructs a new CoachingApi.
8855
8899
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -9002,7 +9046,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9002
9046
  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(){/**
9003
9047
  * ContentManagement service.
9004
9048
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9005
- * @version 193.0.0
9049
+ * @version 195.0.0
9006
9050
  */ /**
9007
9051
  * Constructs a new ContentManagementApi.
9008
9052
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -9285,7 +9329,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
9285
9329
  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(){/**
9286
9330
  * Conversations service.
9287
9331
  * @module purecloud-platform-client-v2/api/ConversationsApi
9288
- * @version 193.0.0
9332
+ * @version 195.0.0
9289
9333
  */ /**
9290
9334
  * Constructs a new ConversationsApi.
9291
9335
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -9343,23 +9387,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9343
9387
  * @param {String} integrationId Integration ID
9344
9388
  */},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9345
9389
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9346
- * Delete a LINE messenger integration (Deprecated)
9347
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9348
- * @param {String} integrationId Integration ID
9349
- * @deprecated
9350
- */},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9351
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9352
9390
  * Delete an Open messaging integration
9353
9391
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
9354
9392
  * @param {String} integrationId Integration ID
9355
9393
  */},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9356
9394
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9357
- * Delete a Twitter messaging integration
9358
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
9359
- * @param {String} integrationId Integration ID
9360
- * @deprecated
9361
- */},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9362
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9363
9395
  * Delete a WhatsApp messaging integration
9364
9396
  *
9365
9397
  * @param {String} integrationId Integration ID
@@ -9820,24 +9852,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9820
9852
  * @param {Object} opts.expand Expand instructions for the return value.
9821
9853
  */},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9822
9854
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9823
- * Get a list of LINE messenger Integrations (Deprecated)
9824
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9825
- * @param {Object} opts Optional parameters
9826
- * @param {Number} opts.pageSize Page size (default to 25)
9827
- * @param {Number} opts.pageNumber Page number (default to 1)
9828
- * @param {Object} opts.expand Expand instructions for the return value.
9829
- * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
9830
- * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
9831
- * @deprecated
9832
- */},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9833
- * Get a LINE messenger integration (Deprecated)
9834
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9835
- * @param {String} integrationId Integration ID
9836
- * @param {Object} opts Optional parameters
9837
- * @param {Object} opts.expand Expand instructions for the return value.
9838
- * @deprecated
9839
- */},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9840
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9841
9855
  * Get a list of Open messaging integrations
9842
9856
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
9843
9857
  * @param {Object} opts Optional parameters
@@ -9854,24 +9868,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9854
9868
  * @param {Object} opts.expand Expand instructions for the return value.
9855
9869
  */},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9856
9870
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9857
- * Get a list of Twitter Integrations (Deprecated)
9858
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
9859
- * @param {Object} opts Optional parameters
9860
- * @param {Number} opts.pageSize Page size (default to 25)
9861
- * @param {Number} opts.pageNumber Page number (default to 1)
9862
- * @param {Object} opts.expand Expand instructions for the return value.
9863
- * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
9864
- * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
9865
- * @deprecated
9866
- */},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9867
- * Get a Twitter messaging integration (Deprecated)
9868
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
9869
- * @param {String} integrationId Integration ID
9870
- * @param {Object} opts Optional parameters
9871
- * @param {Object} opts.expand Expand instructions for the return value.
9872
- * @deprecated
9873
- */},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9874
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9875
9871
  * Get a list of WhatsApp Integrations
9876
9872
  *
9877
9873
  * @param {Object} opts Optional parameters
@@ -9902,15 +9898,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
9902
9898
  * Get the organization's default settings that will be used as the default when creating an integration.
9903
9899
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
9904
9900
  */},{key:"getConversationsMessagingSettingsDefault",value:function getConversationsMessagingSettingsDefault(){return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9905
- * Get a list of Messaging Stickers (Deprecated)
9906
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9907
- * @param {Object} messengerType Messenger Type
9908
- * @param {Object} opts Optional parameters
9909
- * @param {Number} opts.pageSize Page size (default to 25)
9910
- * @param {Number} opts.pageNumber Page number (default to 1)
9911
- * @deprecated
9912
- */},{key:"getConversationsMessagingSticker",value:function getConversationsMessagingSticker(messengerType,opts){opts=opts||{};// verify the required parameter 'messengerType' is set
9913
- if(messengerType===undefined||messengerType===null){throw'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';}return this.apiClient.callApi('/api/v2/conversations/messaging/stickers/{messengerType}','GET',{'messengerType':messengerType},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9914
9901
  * Get a list of Supported Content profiles
9915
9902
  *
9916
9903
  * @param {Object} opts Optional parameters
@@ -10285,14 +10272,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10285
10272
  */},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
10286
10273
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
10287
10274
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10288
- * Update Twitter messaging integration
10289
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
10290
- * @param {String} integrationId Integration ID
10291
- * @param {Object} body TwitterIntegrationRequest
10292
- * @deprecated
10293
- */},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
10294
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
10295
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10296
10275
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
10297
10276
  * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
10298
10277
  * @param {String} integrationId Integration ID
@@ -10693,6 +10672,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
10693
10672
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
10694
10673
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
10695
10674
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10675
+ * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
10676
+ *
10677
+ * @param {String} conversationId conversationId
10678
+ */},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
10679
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/reconnect','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10696
10680
  * Create an email conversation
10697
10681
  * If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
10698
10682
  * @param {Object} body Create email request
@@ -10827,23 +10811,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10827
10811
  * @param {Object} body InstagramIntegrationRequest
10828
10812
  */},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
10829
10813
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10830
- * Create a LINE messenger Integration (Deprecated)
10831
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
10832
- * @param {Object} body LineIntegrationRequest
10833
- * @deprecated
10834
- */},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
10835
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10836
10814
  * Create an Open messaging integration
10837
10815
  * See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
10838
10816
  * @param {Object} body OpenIntegrationRequest
10839
10817
  */},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
10840
10818
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10841
- * Create a Twitter Integration
10842
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
10843
- * @param {Object} body TwitterIntegrationRequest
10844
- * @deprecated
10845
- */},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
10846
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10847
10819
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
10848
10820
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
10849
10821
  * @param {Object} body WhatsAppIntegrationRequest
@@ -10998,14 +10970,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10998
10970
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
10999
10971
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
11000
10972
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11001
- * Update a LINE messenger integration (Deprecated)
11002
- * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
11003
- * @param {String} integrationId Integration ID
11004
- * @param {Object} body LineIntegrationRequest
11005
- * @deprecated
11006
- */},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
11007
- if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
11008
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11009
10973
  * Set the organization's default setting that may be applied to to integrations without settings
11010
10974
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
11011
10975
  * @param {Object} body MessagingSetting
@@ -11045,7 +11009,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
11045
11009
  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(){/**
11046
11010
  * DataExtensions service.
11047
11011
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
11048
- * @version 193.0.0
11012
+ * @version 195.0.0
11049
11013
  */ /**
11050
11014
  * Constructs a new DataExtensionsApi.
11051
11015
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -11066,7 +11030,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
11066
11030
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
11067
11031
  * Downloads service.
11068
11032
  * @module purecloud-platform-client-v2/api/DownloadsApi
11069
- * @version 193.0.0
11033
+ * @version 195.0.0
11070
11034
  */ /**
11071
11035
  * Constructs a new DownloadsApi.
11072
11036
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -11085,7 +11049,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
11085
11049
  if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
11086
11050
  * Emails service.
11087
11051
  * @module purecloud-platform-client-v2/api/EmailsApi
11088
- * @version 193.0.0
11052
+ * @version 195.0.0
11089
11053
  */ /**
11090
11054
  * Constructs a new EmailsApi.
11091
11055
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -11103,7 +11067,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
11103
11067
  */},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
11104
11068
  * Events service.
11105
11069
  * @module purecloud-platform-client-v2/api/EventsApi
11106
- * @version 193.0.0
11070
+ * @version 195.0.0
11107
11071
  */ /**
11108
11072
  * Constructs a new EventsApi.
11109
11073
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -11128,7 +11092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11128
11092
  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(){/**
11129
11093
  * ExternalContacts service.
11130
11094
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
11131
- * @version 193.0.0
11095
+ * @version 195.0.0
11132
11096
  */ /**
11133
11097
  * Constructs a new ExternalContactsApi.
11134
11098
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -11255,10 +11219,10 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
11255
11219
  *
11256
11220
  * @param {String} externalOrganizationId External Organization ID
11257
11221
  * @param {Object} opts Optional parameters
11258
- * @param {Object} opts.expand which fields, if any, to expand (externalDataSources)
11222
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalDataSources)
11259
11223
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
11260
11224
  */},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
11261
- if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':opts['expand'],'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11225
+ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11262
11226
  * Search for external contacts in an external organization
11263
11227
  *
11264
11228
  * @param {String} externalOrganizationId External Organization ID
@@ -11295,10 +11259,10 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
11295
11259
  * @param {Object} opts Optional parameters
11296
11260
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
11297
11261
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
11298
- * @param {Object} opts.expand which fields, if any, to expand
11262
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
11299
11263
  * @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
11300
11264
  */},{key:"getExternalcontactsOrganizationRelationships",value:function getExternalcontactsOrganizationRelationships(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
11301
- if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11265
+ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11302
11266
  * Search for external organizations
11303
11267
  *
11304
11268
  * @param {Object} opts Optional parameters
@@ -11334,9 +11298,9 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
11334
11298
  *
11335
11299
  * @param {String} relationshipId Relationship Id
11336
11300
  * @param {Object} opts Optional parameters
11337
- * @param {Object} opts.expand which fields, if any, to expand
11301
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
11338
11302
  */},{key:"getExternalcontactsRelationship",value:function getExternalcontactsRelationship(relationshipId,opts){opts=opts||{};// verify the required parameter 'relationshipId' is set
11339
- if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11303
+ if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11340
11304
  * Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
11341
11305
  *
11342
11306
  * @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
@@ -11583,7 +11547,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
11583
11547
  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(){/**
11584
11548
  * Fax service.
11585
11549
  * @module purecloud-platform-client-v2/api/FaxApi
11586
- * @version 193.0.0
11550
+ * @version 195.0.0
11587
11551
  */ /**
11588
11552
  * Constructs a new FaxApi.
11589
11553
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -11632,7 +11596,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11632
11596
  */},{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(){/**
11633
11597
  * Flows service.
11634
11598
  * @module purecloud-platform-client-v2/api/FlowsApi
11635
- * @version 193.0.0
11599
+ * @version 195.0.0
11636
11600
  */ /**
11637
11601
  * Constructs a new FlowsApi.
11638
11602
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11680,7 +11644,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11680
11644
  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(){/**
11681
11645
  * Gamification service.
11682
11646
  * @module purecloud-platform-client-v2/api/GamificationApi
11683
- * @version 193.0.0
11647
+ * @version 195.0.0
11684
11648
  */ /**
11685
11649
  * Constructs a new GamificationApi.
11686
11650
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -12220,7 +12184,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12220
12184
  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(){/**
12221
12185
  * GeneralDataProtectionRegulation service.
12222
12186
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
12223
- * @version 193.0.0
12187
+ * @version 195.0.0
12224
12188
  */ /**
12225
12189
  * Constructs a new GeneralDataProtectionRegulationApi.
12226
12190
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -12255,7 +12219,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
12255
12219
  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(){/**
12256
12220
  * Geolocation service.
12257
12221
  * @module purecloud-platform-client-v2/api/GeolocationApi
12258
- * @version 193.0.0
12222
+ * @version 195.0.0
12259
12223
  */ /**
12260
12224
  * Constructs a new GeolocationApi.
12261
12225
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -12289,7 +12253,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
12289
12253
  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(){/**
12290
12254
  * Greetings service.
12291
12255
  * @module purecloud-platform-client-v2/api/GreetingsApi
12292
- * @version 193.0.0
12256
+ * @version 195.0.0
12293
12257
  */ /**
12294
12258
  * Constructs a new GreetingsApi.
12295
12259
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12396,7 +12360,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
12396
12360
  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(){/**
12397
12361
  * Groups service.
12398
12362
  * @module purecloud-platform-client-v2/api/GroupsApi
12399
- * @version 193.0.0
12363
+ * @version 195.0.0
12400
12364
  */ /**
12401
12365
  * Constructs a new GroupsApi.
12402
12366
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12529,7 +12493,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
12529
12493
  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(){/**
12530
12494
  * IdentityProvider service.
12531
12495
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12532
- * @version 193.0.0
12496
+ * @version 195.0.0
12533
12497
  */ /**
12534
12498
  * Constructs a new IdentityProviderApi.
12535
12499
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12685,7 +12649,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12685
12649
  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(){/**
12686
12650
  * InfrastructureAsCode service.
12687
12651
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12688
- * @version 193.0.0
12652
+ * @version 195.0.0
12689
12653
  */ /**
12690
12654
  * Constructs a new InfrastructureAsCodeApi.
12691
12655
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12739,7 +12703,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12739
12703
  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(){/**
12740
12704
  * Integrations service.
12741
12705
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12742
- * @version 193.0.0
12706
+ * @version 195.0.0
12743
12707
  */ /**
12744
12708
  * Constructs a new IntegrationsApi.
12745
12709
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -13350,7 +13314,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
13350
13314
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
13351
13315
  * Journey service.
13352
13316
  * @module purecloud-platform-client-v2/api/JourneyApi
13353
- * @version 193.0.0
13317
+ * @version 195.0.0
13354
13318
  */ /**
13355
13319
  * Constructs a new JourneyApi.
13356
13320
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13738,7 +13702,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13738
13702
  */},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
13739
13703
  * Knowledge service.
13740
13704
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13741
- * @version 193.0.0
13705
+ * @version 195.0.0
13742
13706
  */ /**
13743
13707
  * Constructs a new KnowledgeApi.
13744
13708
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -14151,9 +14115,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
14151
14115
  * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
14152
14116
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
14153
14117
  * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
14118
+ * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
14154
14119
  * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14155
14120
  */},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
14156
- if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14121
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval'],'sourceId':this.apiClient.buildCollectionParam(opts['sourceId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14157
14122
  * Get ids of operation creator users and oauth clients
14158
14123
  *
14159
14124
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -14650,7 +14615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14650
14615
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
14651
14616
  * LanguageUnderstanding service.
14652
14617
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
14653
- * @version 193.0.0
14618
+ * @version 195.0.0
14654
14619
  */ /**
14655
14620
  * Constructs a new LanguageUnderstandingApi.
14656
14621
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -14910,7 +14875,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
14910
14875
  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(){/**
14911
14876
  * Languages service.
14912
14877
  * @module purecloud-platform-client-v2/api/LanguagesApi
14913
- * @version 193.0.0
14878
+ * @version 195.0.0
14914
14879
  */ /**
14915
14880
  * Constructs a new LanguagesApi.
14916
14881
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -14965,7 +14930,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14965
14930
  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(){/**
14966
14931
  * Learning service.
14967
14932
  * @module purecloud-platform-client-v2/api/LearningApi
14968
- * @version 193.0.0
14933
+ * @version 195.0.0
14969
14934
  */ /**
14970
14935
  * Constructs a new LearningApi.
14971
14936
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -14990,6 +14955,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
14990
14955
  * @param {Array.<String>} opts.expand Fields to expand in response
14991
14956
  */},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
14992
14957
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}','GET',{'assignmentId':assignmentId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14958
+ * Get Learning Assignment Step
14959
+ * Permission not required if you are the assigned user of the learning assignment
14960
+ * @param {String} assignmentId The ID of Learning Assignment
14961
+ * @param {String} stepId The ID of Learning Assignment Step
14962
+ * @param {Object} opts Optional parameters
14963
+ * @param {String} opts.shareableContentObjectId The ID of SCO to load
14964
+ * @param {Array.<String>} opts.expand Fields to expand in response
14965
+ */},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
14966
+ if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
14967
+ if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14993
14968
  * List of Learning module Assignments
14994
14969
  * Either moduleId or user value is required
14995
14970
  * @param {Object} opts Optional parameters
@@ -15041,6 +15016,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
15041
15016
  */},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
15042
15017
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
15043
15018
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getLearningModuleJob';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/jobs/{jobId}','GET',{'moduleId':moduleId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15019
+ * Get a learning module preview
15020
+ *
15021
+ * @param {String} moduleId The ID of the learning module
15022
+ */},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
15023
+ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','GET',{'moduleId':moduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15044
15024
  * Get a learning module rule
15045
15025
  *
15046
15026
  * @param {String} moduleId The ID of the learning module
@@ -15087,6 +15067,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
15087
15067
  * @param {String} coverArtId Key identifier for the cover art
15088
15068
  */},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
15089
15069
  if(coverArtId===undefined||coverArtId===null){throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';}return this.apiClient.callApi('/api/v2/learning/modules/coverart/{coverArtId}','GET',{'coverArtId':coverArtId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15070
+ * Get Learning SCORM Result
15071
+ *
15072
+ * @param {String} scormId The ID of the SCORM package
15073
+ */},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
15074
+ if(scormId===undefined||scormId===null){throw'Missing the required parameter "scormId" when calling getLearningScormScormId';}return this.apiClient.callApi('/api/v2/learning/scorm/{scormId}','GET',{'scormId':scormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15090
15075
  * Update Learning Assignment
15091
15076
  *
15092
15077
  * @param {String} assignmentId The ID of Learning Assignment
@@ -15101,6 +15086,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
15101
15086
  * @param {Object} opts.body The Learning assignment reschedule model
15102
15087
  */},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
15103
15088
  if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/reschedule','PATCH',{'assignmentId':assignmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
15089
+ * Update Learning Assignment Step
15090
+ * Permission not required if you are the assigned user of the learning assignment
15091
+ * @param {String} assignmentId The ID of Learning Assignment
15092
+ * @param {String} stepId The ID of Learning Assignment Step
15093
+ * @param {Object} opts Optional parameters
15094
+ * @param {Object} opts.body The Learning Assignment Step to be updated
15095
+ */},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
15096
+ if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
15097
+ if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','PATCH',{'assignmentId':assignmentId,'stepId':stepId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
15104
15098
  * Update an external assignment for a specific user
15105
15099
  *
15106
15100
  * @param {String} moduleId Key identifier for the module
@@ -15178,6 +15172,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15178
15172
  * @param {Object} body The slot search request
15179
15173
  */},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
15180
15174
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15175
+ * Create a SCORM package upload request
15176
+ *
15177
+ * @param {Object} opts Optional parameters
15178
+ * @param {Object} opts.body The SCORM package to be uploaded
15179
+ */},{key:"postLearningScorm",value:function postLearningScorm(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/scorm','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
15181
15180
  * Update a learning module
15182
15181
  * This will update the name, description, completion time in days and inform steps for a learning module
15183
15182
  * @param {String} moduleId The ID of the learning module
@@ -15185,6 +15184,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15185
15184
  */},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
15186
15185
  if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
15187
15186
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15187
+ * Update a learning module preview
15188
+ * This will update a learning module preview
15189
+ * @param {String} moduleId The ID of the learning module
15190
+ * @param {Object} body The learning module to be updated
15191
+ */},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
15192
+ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
15193
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15188
15194
  * Update a learning module rule
15189
15195
  * This will update a learning module rule with the specified fields.
15190
15196
  * @param {String} moduleId The ID of the learning module
@@ -15194,7 +15200,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
15194
15200
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
15195
15201
  * License service.
15196
15202
  * @module purecloud-platform-client-v2/api/LicenseApi
15197
- * @version 193.0.0
15203
+ * @version 195.0.0
15198
15204
  */ /**
15199
15205
  * Constructs a new LicenseApi.
15200
15206
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -15248,7 +15254,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
15248
15254
  */},{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(){/**
15249
15255
  * Locations service.
15250
15256
  * @module purecloud-platform-client-v2/api/LocationsApi
15251
- * @version 193.0.0
15257
+ * @version 195.0.0
15252
15258
  */ /**
15253
15259
  * Constructs a new LocationsApi.
15254
15260
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -15307,7 +15313,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15307
15313
  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(){/**
15308
15314
  * LogCapture service.
15309
15315
  * @module purecloud-platform-client-v2/api/LogCaptureApi
15310
- * @version 193.0.0
15316
+ * @version 195.0.0
15311
15317
  */ /**
15312
15318
  * Constructs a new LogCaptureApi.
15313
15319
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -15357,7 +15363,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15357
15363
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
15358
15364
  * Messaging service.
15359
15365
  * @module purecloud-platform-client-v2/api/MessagingApi
15360
- * @version 193.0.0
15366
+ * @version 195.0.0
15361
15367
  */ /**
15362
15368
  * Constructs a new MessagingApi.
15363
15369
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -15447,7 +15453,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15447
15453
  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(){/**
15448
15454
  * MobileDevices service.
15449
15455
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
15450
- * @version 193.0.0
15456
+ * @version 195.0.0
15451
15457
  */ /**
15452
15458
  * Constructs a new MobileDevicesApi.
15453
15459
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -15486,7 +15492,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15486
15492
  if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
15487
15493
  * Notifications service.
15488
15494
  * @module purecloud-platform-client-v2/api/NotificationsApi
15489
- * @version 193.0.0
15495
+ * @version 195.0.0
15490
15496
  */ /**
15491
15497
  * Constructs a new NotificationsApi.
15492
15498
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -15543,7 +15549,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
15543
15549
  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(){/**
15544
15550
  * OAuth service.
15545
15551
  * @module purecloud-platform-client-v2/api/OAuthApi
15546
- * @version 193.0.0
15552
+ * @version 195.0.0
15547
15553
  */ /**
15548
15554
  * Constructs a new OAuthApi.
15549
15555
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -15628,7 +15634,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
15628
15634
  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(){/**
15629
15635
  * Objects service.
15630
15636
  * @module purecloud-platform-client-v2/api/ObjectsApi
15631
- * @version 193.0.0
15637
+ * @version 195.0.0
15632
15638
  */ /**
15633
15639
  * Constructs a new ObjectsApi.
15634
15640
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -15699,7 +15705,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15699
15705
  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(){/**
15700
15706
  * OperationalEvents service.
15701
15707
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
15702
- * @version 193.0.0
15708
+ * @version 195.0.0
15703
15709
  */ /**
15704
15710
  * Constructs a new OperationalEventsApi.
15705
15711
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -15717,7 +15723,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
15717
15723
  */},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
15718
15724
  * Organization service.
15719
15725
  * @module purecloud-platform-client-v2/api/OrganizationApi
15720
- * @version 193.0.0
15726
+ * @version 195.0.0
15721
15727
  */ /**
15722
15728
  * Constructs a new OrganizationApi.
15723
15729
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -15822,7 +15828,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15822
15828
  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(){/**
15823
15829
  * OrganizationAuthorization service.
15824
15830
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
15825
- * @version 193.0.0
15831
+ * @version 195.0.0
15826
15832
  */ /**
15827
15833
  * Constructs a new OrganizationAuthorizationApi.
15828
15834
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -16145,7 +16151,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
16145
16151
  if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
16146
16152
  * Outbound service.
16147
16153
  * @module purecloud-platform-client-v2/api/OutboundApi
16148
- * @version 193.0.0
16154
+ * @version 195.0.0
16149
16155
  */ /**
16150
16156
  * Constructs a new OutboundApi.
16151
16157
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -16381,6 +16387,18 @@ if(campaignId===undefined||campaignId===null){throw'Missing the required paramet
16381
16387
  * @param {String} campaignId Campaign ID
16382
16388
  */},{key:"getOutboundCampaignInteractions",value:function getOutboundCampaignInteractions(campaignId){// verify the required parameter 'campaignId' is set
16383
16389
  if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignInteractions';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/interactions','GET',{'campaignId':campaignId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16390
+ * Get line distribution information for campaigns using same Edge Group or Site as given campaign
16391
+ *
16392
+ * @param {String} campaignId Campaign ID
16393
+ * @param {Object} opts Optional parameters
16394
+ * @param {Boolean} opts.includeOnlyActiveCampaigns If true will return only active Campaigns (default to true)
16395
+ * @param {String} opts.edgeGroupId Edge group to be used in line distribution calculations instead of current Campaign's Edge Group. Campaign's Site and Edge Group are mutually exclusive.
16396
+ * @param {String} opts.siteId Site to be used in line distribution calculations instead of current Campaign's Site. Campaign's Site and Edge Group are mutually exclusive.
16397
+ * @param {Boolean} opts.useWeight Enable usage of weight, this value overrides current Campaign's setting in line distribution calculations
16398
+ * @param {Number} opts.relativeWeight Relative weight to be used in line distribution calculations instead of current Campaign's relative weight
16399
+ * @param {Number} opts.outboundLineCount The number of outbound lines to be used in line distribution calculations, instead of current Campaign's Outbound Lines Count
16400
+ */},{key:"getOutboundCampaignLinedistribution",value:function getOutboundCampaignLinedistribution(campaignId,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
16401
+ if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/linedistribution','GET',{'campaignId':campaignId},{'includeOnlyActiveCampaigns':opts['includeOnlyActiveCampaigns'],'edgeGroupId':opts['edgeGroupId'],'siteId':opts['siteId'],'useWeight':opts['useWeight'],'relativeWeight':opts['relativeWeight'],'outboundLineCount':opts['outboundLineCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16384
16402
  * Get campaign progress
16385
16403
  *
16386
16404
  * @param {String} campaignId Campaign ID
@@ -16913,6 +16931,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16913
16931
  */},{key:"postOutboundContactlistContactsBulk",value:function postOutboundContactlistContactsBulk(contactListId,body){// verify the required parameter 'contactListId' is set
16914
16932
  if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulk';}// verify the required parameter 'body' is set
16915
16933
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulk';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16934
+ * Start an async job to delete contacts using a filter.
16935
+ *
16936
+ * @param {String} contactListId Contact List ID
16937
+ * @param {Object} body Contact filter information.
16938
+ */},{key:"postOutboundContactlistContactsBulkRemove",value:function postOutboundContactlistContactsBulkRemove(contactListId,body){// verify the required parameter 'contactListId' is set
16939
+ if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';}// verify the required parameter 'body' is set
16940
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkRemove';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16941
+ * Start an async job to bulk edit contacts.
16942
+ *
16943
+ * @param {String} contactListId Contact List ID
16944
+ * @param {Object} body Contact bulk edit request information.
16945
+ */},{key:"postOutboundContactlistContactsBulkUpdate",value:function postOutboundContactlistContactsBulkUpdate(contactListId,body){// verify the required parameter 'contactListId' is set
16946
+ if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';}// verify the required parameter 'body' is set
16947
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkUpdate';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16948
+ * Query contacts from a contact list.
16949
+ *
16950
+ * @param {String} contactListId Contact List ID
16951
+ * @param {Object} body Contact search parameters.
16952
+ */},{key:"postOutboundContactlistContactsSearch",value:function postOutboundContactlistContactsSearch(contactListId,body){// verify the required parameter 'contactListId' is set
16953
+ if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';}// verify the required parameter 'body' is set
16954
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/search','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16916
16955
  * Initiate the export of a contact list.
16917
16956
  * Returns 200 if received OK.
16918
16957
  * @param {String} contactListId ContactList ID
@@ -17184,7 +17223,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17184
17223
  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(){/**
17185
17224
  * Presence service.
17186
17225
  * @module purecloud-platform-client-v2/api/PresenceApi
17187
- * @version 193.0.0
17226
+ * @version 195.0.0
17188
17227
  */ /**
17189
17228
  * Constructs a new PresenceApi.
17190
17229
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -17357,7 +17396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17357
17396
  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(){/**
17358
17397
  * ProcessAutomation service.
17359
17398
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
17360
- * @version 193.0.0
17399
+ * @version 195.0.0
17361
17400
  */ /**
17362
17401
  * Constructs a new ProcessAutomationApi.
17363
17402
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -17420,7 +17459,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
17420
17459
  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(){/**
17421
17460
  * Quality service.
17422
17461
  * @module purecloud-platform-client-v2/api/QualityApi
17423
- * @version 193.0.0
17462
+ * @version 195.0.0
17424
17463
  */ /**
17425
17464
  * Constructs a new QualityApi.
17426
17465
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -17891,7 +17930,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
17891
17930
  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(){/**
17892
17931
  * Recording service.
17893
17932
  * @module purecloud-platform-client-v2/api/RecordingApi
17894
- * @version 193.0.0
17933
+ * @version 195.0.0
17895
17934
  */ /**
17896
17935
  * Constructs a new RecordingApi.
17897
17936
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -18302,7 +18341,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18302
18341
  */},{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(){/**
18303
18342
  * ResponseManagement service.
18304
18343
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
18305
- * @version 193.0.0
18344
+ * @version 195.0.0
18306
18345
  */ /**
18307
18346
  * Constructs a new ResponseManagementApi.
18308
18347
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -18423,7 +18462,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
18423
18462
  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(){/**
18424
18463
  * Routing service.
18425
18464
  * @module purecloud-platform-client-v2/api/RoutingApi
18426
- * @version 193.0.0
18465
+ * @version 195.0.0
18427
18466
  */ /**
18428
18467
  * Constructs a new RoutingApi.
18429
18468
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -18528,7 +18567,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18528
18567
  * @param {String} labelId Utilization Label ID
18529
18568
  * @param {Object} opts Optional parameters
18530
18569
  * @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
18531
- * deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18532
18570
  */},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
18533
18571
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','DELETE',{'labelId':labelId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18534
18572
  * Delete an utilization tag
@@ -18918,13 +18956,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18918
18956
  * Get details about this utilization label
18919
18957
  *
18920
18958
  * @param {String} labelId Utilization Label ID
18921
- * getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18922
18959
  */},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
18923
18960
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18924
18961
  * Get list of agent ids associated with a utilization label
18925
18962
  *
18926
18963
  * @param {String} labelId Utilization Label ID
18927
- * getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18928
18964
  */},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
18929
18965
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}/agents','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18930
18966
  * Get list of utilization labels
@@ -18934,7 +18970,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
18934
18970
  * @param {Number} opts.pageNumber Page number (default to 1)
18935
18971
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
18936
18972
  * @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
18937
- * getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18938
18973
  */},{key:"getRoutingUtilizationLabels",value:function getRoutingUtilizationLabels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/utilization/labels','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
18939
18974
  * Get details about this utilization tag
18940
18975
  *
@@ -19279,7 +19314,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19279
19314
  * Create a utilization label
19280
19315
  *
19281
19316
  * @param {Object} body UtilizationLabel
19282
- * postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19283
19317
  */},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
19284
19318
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';}return this.apiClient.callApi('/api/v2/routing/utilization/labels','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19285
19319
  * Create an utilization tag
@@ -19368,7 +19402,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19368
19402
  *
19369
19403
  * @param {String} labelId Utilization Label ID
19370
19404
  * @param {Object} body UtilizationLabel
19371
- * putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19372
19405
  */},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
19373
19406
  if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
19374
19407
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','PUT',{'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -19397,7 +19430,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19397
19430
  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(){/**
19398
19431
  * SCIM service.
19399
19432
  * @module purecloud-platform-client-v2/api/SCIMApi
19400
- * @version 193.0.0
19433
+ * @version 195.0.0
19401
19434
  */ /**
19402
19435
  * Constructs a new SCIMApi.
19403
19436
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -19622,7 +19655,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19622
19655
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
19623
19656
  * ScreenRecording service.
19624
19657
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
19625
- * @version 193.0.0
19658
+ * @version 195.0.0
19626
19659
  */ /**
19627
19660
  * Constructs a new ScreenRecordingApi.
19628
19661
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -19637,7 +19670,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19637
19670
  */return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
19638
19671
  * Scripts service.
19639
19672
  * @module purecloud-platform-client-v2/api/ScriptsApi
19640
- * @version 193.0.0
19673
+ * @version 195.0.0
19641
19674
  */ /**
19642
19675
  * Constructs a new ScriptsApi.
19643
19676
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -19773,7 +19806,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
19773
19806
  */},{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(){/**
19774
19807
  * Search service.
19775
19808
  * @module purecloud-platform-client-v2/api/SearchApi
19776
- * @version 193.0.0
19809
+ * @version 195.0.0
19777
19810
  */ /**
19778
19811
  * Constructs a new SearchApi.
19779
19812
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -19933,7 +19966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19933
19966
  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(){/**
19934
19967
  * Settings service.
19935
19968
  * @module purecloud-platform-client-v2/api/SettingsApi
19936
- * @version 193.0.0
19969
+ * @version 195.0.0
19937
19970
  */ /**
19938
19971
  * Constructs a new SettingsApi.
19939
19972
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -19961,7 +19994,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19961
19994
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
19962
19995
  * SpeechTextAnalytics service.
19963
19996
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
19964
- * @version 193.0.0
19997
+ * @version 195.0.0
19965
19998
  */ /**
19966
19999
  * Constructs a new SpeechTextAnalyticsApi.
19967
20000
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -19969,10 +20002,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19969
20002
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
19970
20003
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
19971
20004
  */function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
20005
+ * Delete a Speech and Text Analytics category by ID
20006
+ *
20007
+ * @param {String} categoryId The id of the category
20008
+ */return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
20009
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','DELETE',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19972
20010
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
19973
20011
  *
19974
20012
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
19975
- */return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
20013
+ */},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
19976
20014
  if(dictionaryFeedbackId===undefined||dictionaryFeedbackId===null){throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}','DELETE',{'dictionaryFeedbackId':dictionaryFeedbackId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19977
20015
  * Delete a Speech and Text Analytics program by id
19978
20016
  *
@@ -19994,11 +20032,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
19994
20032
  * @param {String} topicId The id of the topic
19995
20033
  */},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
19996
20034
  if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','DELETE',{'topicId':topicId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20035
+ * Get the list of Speech and Text Analytics categories
20036
+ *
20037
+ * @param {Object} opts Optional parameters
20038
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
20039
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
20040
+ * @param {String} opts.name The category name filter applied to the listing
20041
+ * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
20042
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
20043
+ * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
20044
+ */},{key:"getSpeechandtextanalyticsCategories",value:function getSpeechandtextanalyticsCategories(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20045
+ * Get a Speech and Text Analytics Category by ID
20046
+ *
20047
+ * @param {String} categoryId The id of the category
20048
+ */},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
20049
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','GET',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19997
20050
  * Get Speech and Text Analytics for a specific conversation
19998
20051
  *
19999
20052
  * @param {String} conversationId Conversation Id
20000
20053
  */},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
20001
20054
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20055
+ * Get the list of detected Speech and Text Analytics categories of conversation
20056
+ *
20057
+ * @param {String} conversationId The id of the conversation
20058
+ * @param {Object} opts Optional parameters
20059
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
20060
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
20061
+ */},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
20062
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/categories','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20002
20063
  * Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
20003
20064
  *
20004
20065
  * @param {String} conversationId Conversation ID
@@ -20123,6 +20184,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
20123
20184
  * @param {Object} body Speech And Text Analytics Settings
20124
20185
  */},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
20125
20186
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20187
+ * Create new Speech and Text Analytics category
20188
+ *
20189
+ * @param {Object} body The category to create
20190
+ */},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
20191
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20126
20192
  * Create a Speech and Text Analytics DictionaryFeedback
20127
20193
  *
20128
20194
  * @param {Object} body The DictionaryFeedback to create
@@ -20163,6 +20229,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20163
20229
  * @param {Object} body Search request options
20164
20230
  */},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
20165
20231
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/transcripts/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20232
+ * Update a Speech and Text Analytics category by ID
20233
+ *
20234
+ * @param {String} categoryId The id of the category
20235
+ * @param {Object} body The updated category
20236
+ */},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
20237
+ if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
20238
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','PUT',{'categoryId':categoryId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20166
20239
  * Update existing Speech and Text Analytics dictionary feedback by id
20167
20240
  *
20168
20241
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
@@ -20205,7 +20278,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
20205
20278
  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(){/**
20206
20279
  * Stations service.
20207
20280
  * @module purecloud-platform-client-v2/api/StationsApi
20208
- * @version 193.0.0
20281
+ * @version 195.0.0
20209
20282
  */ /**
20210
20283
  * Constructs a new StationsApi.
20211
20284
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -20237,7 +20310,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
20237
20310
  */},{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(){/**
20238
20311
  * Suggest service.
20239
20312
  * @module purecloud-platform-client-v2/api/SuggestApi
20240
- * @version 193.0.0
20313
+ * @version 195.0.0
20241
20314
  */ /**
20242
20315
  * Constructs a new SuggestApi.
20243
20316
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -20277,7 +20350,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20277
20350
  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(){/**
20278
20351
  * TaskManagement service.
20279
20352
  * @module purecloud-platform-client-v2/api/TaskManagementApi
20280
- * @version 193.0.0
20353
+ * @version 195.0.0
20281
20354
  */ /**
20282
20355
  * Constructs a new TaskManagementApi.
20283
20356
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -20606,7 +20679,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
20606
20679
  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(){/**
20607
20680
  * Teams service.
20608
20681
  * @module purecloud-platform-client-v2/api/TeamsApi
20609
- * @version 193.0.0
20682
+ * @version 195.0.0
20610
20683
  */ /**
20611
20684
  * Constructs a new TeamsApi.
20612
20685
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -20684,7 +20757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20684
20757
  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(){/**
20685
20758
  * Telephony service.
20686
20759
  * @module purecloud-platform-client-v2/api/TelephonyApi
20687
- * @version 193.0.0
20760
+ * @version 195.0.0
20688
20761
  */ /**
20689
20762
  * Constructs a new TelephonyApi.
20690
20763
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -20731,7 +20804,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
20731
20804
  if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
20732
20805
  * TelephonyProvidersEdge service.
20733
20806
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
20734
- * @version 193.0.0
20807
+ * @version 195.0.0
20735
20808
  */ /**
20736
20809
  * Constructs a new TelephonyProvidersEdgeApi.
20737
20810
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -21541,7 +21614,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
21541
21614
  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(){/**
21542
21615
  * Textbots service.
21543
21616
  * @module purecloud-platform-client-v2/api/TextbotsApi
21544
- * @version 193.0.0
21617
+ * @version 195.0.0
21545
21618
  */ /**
21546
21619
  * Constructs a new TextbotsApi.
21547
21620
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -21576,7 +21649,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
21576
21649
  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(){/**
21577
21650
  * Tokens service.
21578
21651
  * @module purecloud-platform-client-v2/api/TokensApi
21579
- * @version 193.0.0
21652
+ * @version 195.0.0
21580
21653
  */ /**
21581
21654
  * Constructs a new TokensApi.
21582
21655
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -21610,7 +21683,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21610
21683
  */},{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(){/**
21611
21684
  * Uploads service.
21612
21685
  * @module purecloud-platform-client-v2/api/UploadsApi
21613
- * @version 193.0.0
21686
+ * @version 195.0.0
21614
21687
  */ /**
21615
21688
  * Constructs a new UploadsApi.
21616
21689
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -21676,7 +21749,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21676
21749
  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(){/**
21677
21750
  * Usage service.
21678
21751
  * @module purecloud-platform-client-v2/api/UsageApi
21679
- * @version 193.0.0
21752
+ * @version 195.0.0
21680
21753
  */ /**
21681
21754
  * Constructs a new UsageApi.
21682
21755
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -21730,7 +21803,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21730
21803
  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(){/**
21731
21804
  * UserRecordings service.
21732
21805
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
21733
- * @version 193.0.0
21806
+ * @version 195.0.0
21734
21807
  */ /**
21735
21808
  * Constructs a new UserRecordingsApi.
21736
21809
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -21779,7 +21852,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
21779
21852
  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(){/**
21780
21853
  * Users service.
21781
21854
  * @module purecloud-platform-client-v2/api/UsersApi
21782
- * @version 193.0.0
21855
+ * @version 195.0.0
21783
21856
  */ /**
21784
21857
  * Constructs a new UsersApi.
21785
21858
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -22441,7 +22514,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
22441
22514
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
22442
22515
  * Utilities service.
22443
22516
  * @module purecloud-platform-client-v2/api/UtilitiesApi
22444
- * @version 193.0.0
22517
+ * @version 195.0.0
22445
22518
  */ /**
22446
22519
  * Constructs a new UtilitiesApi.
22447
22520
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -22468,7 +22541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22468
22541
  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(){/**
22469
22542
  * Voicemail service.
22470
22543
  * @module purecloud-platform-client-v2/api/VoicemailApi
22471
- * @version 193.0.0
22544
+ * @version 195.0.0
22472
22545
  */ /**
22473
22546
  * Constructs a new VoicemailApi.
22474
22547
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -22617,7 +22690,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22617
22690
  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(){/**
22618
22691
  * WebChat service.
22619
22692
  * @module purecloud-platform-client-v2/api/WebChatApi
22620
- * @version 193.0.0
22693
+ * @version 195.0.0
22621
22694
  */ /**
22622
22695
  * Constructs a new WebChatApi.
22623
22696
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -22752,7 +22825,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22752
22825
  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(){/**
22753
22826
  * WebDeployments service.
22754
22827
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
22755
- * @version 193.0.0
22828
+ * @version 195.0.0
22756
22829
  */ /**
22757
22830
  * Constructs a new WebDeploymentsApi.
22758
22831
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -22873,7 +22946,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22873
22946
  if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
22874
22947
  * WebMessaging service.
22875
22948
  * @module purecloud-platform-client-v2/api/WebMessagingApi
22876
- * @version 193.0.0
22949
+ * @version 195.0.0
22877
22950
  */ /**
22878
22951
  * Constructs a new WebMessagingApi.
22879
22952
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -22889,7 +22962,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
22889
22962
  */return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
22890
22963
  * Widgets service.
22891
22964
  * @module purecloud-platform-client-v2/api/WidgetsApi
22892
- * @version 193.0.0
22965
+ * @version 195.0.0
22893
22966
  */ /**
22894
22967
  * Constructs a new WidgetsApi.
22895
22968
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -22924,7 +22997,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22924
22997
  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(){/**
22925
22998
  * WorkforceManagement service.
22926
22999
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
22927
- * @version 193.0.0
23000
+ * @version 195.0.0
22928
23001
  */ /**
22929
23002
  * Constructs a new WorkforceManagementApi.
22930
23003
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -24404,7 +24477,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
24404
24477
  * </pre>
24405
24478
  * </p>
24406
24479
  * @module purecloud-platform-client-v2/index
24407
- * @version 193.0.0
24480
+ * @version 195.0.0
24408
24481
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
24409
24482
  * The ApiClient constructor.
24410
24483
  * @property {module:purecloud-platform-client-v2/ApiClient}