purecloud-platform-client-v2 247.1.0 → 249.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2057 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +2057 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +626 -121
- package/dist/web-cjs/purecloud-platform-client-v2.js +626 -121
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1404 -337
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1100 -0
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +18 -14
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +501 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +37 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +57 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +46 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +152 -5
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
|
|
1
|
+
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value;}settle(!!r.done,n);},function(e){resume("throw",e);});}catch(e){settle(2,e);}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null;}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
|
|
2
2
|
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
3
3
|
function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
|
|
4
4
|
return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
|
|
@@ -1014,7 +1014,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
1014
1014
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
1015
1015
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
1016
1016
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1017
|
-
* @version
|
|
1017
|
+
* @version 249.0.0
|
|
1018
1018
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
1019
1019
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
1020
1020
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1380,7 +1380,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1380
1380
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
|
|
1381
1381
|
* AIStudio service.
|
|
1382
1382
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1383
|
-
* @version
|
|
1383
|
+
* @version 249.0.0
|
|
1384
1384
|
*//**
|
|
1385
1385
|
* Constructs a new AIStudioApi.
|
|
1386
1386
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1532,7 +1532,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1532
1532
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1533
1533
|
* AgentAssistants service.
|
|
1534
1534
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1535
|
-
* @version
|
|
1535
|
+
* @version 249.0.0
|
|
1536
1536
|
*//**
|
|
1537
1537
|
* Constructs a new AgentAssistantsApi.
|
|
1538
1538
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1719,7 +1719,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1719
1719
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1720
1720
|
* AgentCopilot service.
|
|
1721
1721
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1722
|
-
* @version
|
|
1722
|
+
* @version 249.0.0
|
|
1723
1723
|
*//**
|
|
1724
1724
|
* Constructs a new AgentCopilotApi.
|
|
1725
1725
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1746,7 +1746,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1746
1746
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1747
1747
|
* AgentUI service.
|
|
1748
1748
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1749
|
-
* @version
|
|
1749
|
+
* @version 249.0.0
|
|
1750
1750
|
*//**
|
|
1751
1751
|
* Constructs a new AgentUIApi.
|
|
1752
1752
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1780,7 +1780,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1780
1780
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1781
1781
|
* Alerting service.
|
|
1782
1782
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1783
|
-
* @version
|
|
1783
|
+
* @version 249.0.0
|
|
1784
1784
|
*//**
|
|
1785
1785
|
* Constructs a new AlertingApi.
|
|
1786
1786
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1869,7 +1869,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
1869
1869
|
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(){/**
|
|
1870
1870
|
* Analytics service.
|
|
1871
1871
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1872
|
-
* @version
|
|
1872
|
+
* @version 249.0.0
|
|
1873
1873
|
*//**
|
|
1874
1874
|
* Constructs a new AnalyticsApi.
|
|
1875
1875
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2688,7 +2688,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2688
2688
|
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(){/**
|
|
2689
2689
|
* Architect service.
|
|
2690
2690
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2691
|
-
* @version
|
|
2691
|
+
* @version 249.0.0
|
|
2692
2692
|
*//**
|
|
2693
2693
|
* Constructs a new ArchitectApi.
|
|
2694
2694
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3822,7 +3822,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
3822
3822
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
3823
3823
|
* AssistantCopilotVariations service.
|
|
3824
3824
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
3825
|
-
* @version
|
|
3825
|
+
* @version 249.0.0
|
|
3826
3826
|
*//**
|
|
3827
3827
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
3828
3828
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -3867,7 +3867,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
3867
3867
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3868
3868
|
* Audit service.
|
|
3869
3869
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3870
|
-
* @version
|
|
3870
|
+
* @version 249.0.0
|
|
3871
3871
|
*//**
|
|
3872
3872
|
* Constructs a new AuditApi.
|
|
3873
3873
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3917,7 +3917,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3917
3917
|
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(){/**
|
|
3918
3918
|
* Authorization service.
|
|
3919
3919
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3920
|
-
* @version
|
|
3920
|
+
* @version 249.0.0
|
|
3921
3921
|
*//**
|
|
3922
3922
|
* Constructs a new AuthorizationApi.
|
|
3923
3923
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -4345,7 +4345,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
4345
4345
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
4346
4346
|
* BackgroundAssistant service.
|
|
4347
4347
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
4348
|
-
* @version
|
|
4348
|
+
* @version 249.0.0
|
|
4349
4349
|
*//**
|
|
4350
4350
|
* Constructs a new BackgroundAssistantApi.
|
|
4351
4351
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -4366,7 +4366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4366
4366
|
*/},{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
4367
4367
|
* Billing service.
|
|
4368
4368
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
4369
|
-
* @version
|
|
4369
|
+
* @version 249.0.0
|
|
4370
4370
|
*//**
|
|
4371
4371
|
* Constructs a new BillingApi.
|
|
4372
4372
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -4443,7 +4443,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
4443
4443
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
4444
4444
|
* BusinessRules service.
|
|
4445
4445
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
4446
|
-
* @version
|
|
4446
|
+
* @version 249.0.0
|
|
4447
4447
|
*//**
|
|
4448
4448
|
* Constructs a new BusinessRulesApi.
|
|
4449
4449
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -4466,7 +4466,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
4466
4466
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
4467
4467
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4468
4468
|
* Delete a decision table row
|
|
4469
|
-
*
|
|
4469
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
4470
4470
|
* @param {String} tableId Table ID
|
|
4471
4471
|
* @param {Number} tableVersion Table Version
|
|
4472
4472
|
* @param {String} rowId Row ID
|
|
@@ -4554,7 +4554,7 @@ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missi
|
|
|
4554
4554
|
*
|
|
4555
4555
|
*/},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4556
4556
|
* Update a decision table
|
|
4557
|
-
*
|
|
4557
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
4558
4558
|
* @param {String} tableId Table ID
|
|
4559
4559
|
* @param {Object} body Decision Table
|
|
4560
4560
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
|
|
@@ -4595,7 +4595,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
4595
4595
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
|
|
4596
4596
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4597
4597
|
* Create a decision table row
|
|
4598
|
-
*
|
|
4598
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
4599
4599
|
* @param {String} tableId Table ID
|
|
4600
4600
|
* @param {Number} tableVersion Table Version
|
|
4601
4601
|
* @param {Object} body Create decision table row request
|
|
@@ -4628,7 +4628,7 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
4628
4628
|
*/},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
|
|
4629
4629
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4630
4630
|
* Create a decision table
|
|
4631
|
-
*
|
|
4631
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
4632
4632
|
* @param {Object} body Decision Table
|
|
4633
4633
|
*/},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
|
|
4634
4634
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -4645,7 +4645,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4645
4645
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
|
|
4646
4646
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4647
4647
|
* Full update a decision table row
|
|
4648
|
-
*
|
|
4648
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
4649
4649
|
* @param {String} tableId Table ID
|
|
4650
4650
|
* @param {Number} tableVersion Table Version
|
|
4651
4651
|
* @param {String} rowId Row ID
|
|
@@ -4664,7 +4664,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
4664
4664
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
4665
4665
|
* CarrierServices service.
|
|
4666
4666
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
4667
|
-
* @version
|
|
4667
|
+
* @version 249.0.0
|
|
4668
4668
|
*//**
|
|
4669
4669
|
* Constructs a new CarrierServicesApi.
|
|
4670
4670
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -4681,10 +4681,316 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
4681
4681
|
*
|
|
4682
4682
|
* @param {Object} opts Optional parameters
|
|
4683
4683
|
* @param {Object} opts.body
|
|
4684
|
-
*/},{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
|
|
4684
|
+
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
|
|
4685
|
+
* CaseManagement service.
|
|
4686
|
+
* @module purecloud-platform-client-v2/api/CaseManagementApi
|
|
4687
|
+
* @version 249.0.0
|
|
4688
|
+
*//**
|
|
4689
|
+
* Constructs a new CaseManagementApi.
|
|
4690
|
+
* @alias module:purecloud-platform-client-v2/api/CaseManagementApi
|
|
4691
|
+
* @class
|
|
4692
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
4693
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
4694
|
+
*/function CaseManagementApi(apiClient){_classCallCheck(this,CaseManagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
4695
|
+
* Delete a Case.
|
|
4696
|
+
*
|
|
4697
|
+
* @param {String} caseId Case ID
|
|
4698
|
+
* deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4699
|
+
*/return _createClass(CaseManagementApi,[{key:"deleteCasemanagementCase",value:function deleteCasemanagementCase(caseId){// verify the required parameter 'caseId' is set
|
|
4700
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','DELETE',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4701
|
+
* Delete a Caseplan.
|
|
4702
|
+
*
|
|
4703
|
+
* @param {String} caseplanId Caseplan ID
|
|
4704
|
+
* deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4705
|
+
*/},{key:"deleteCasemanagementCaseplan",value:function deleteCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
4706
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','DELETE',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4707
|
+
* Get a Case.
|
|
4708
|
+
*
|
|
4709
|
+
* @param {String} caseId Case ID
|
|
4710
|
+
* @param {Object} opts Optional parameters
|
|
4711
|
+
* @param {Object} opts.expands Which fields to expand.
|
|
4712
|
+
* getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4713
|
+
*/},{key:"getCasemanagementCase",value:function getCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
4714
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','GET',{'caseId':caseId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4715
|
+
* Get a Case Association.
|
|
4716
|
+
*
|
|
4717
|
+
* @param {String} caseId Case ID
|
|
4718
|
+
* @param {String} associationId Case Association ID
|
|
4719
|
+
* getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4720
|
+
*/},{key:"getCasemanagementCaseAssociation",value:function getCasemanagementCaseAssociation(caseId,associationId){// verify the required parameter 'caseId' is set
|
|
4721
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';}// verify the required parameter 'associationId' is set
|
|
4722
|
+
if(associationId===undefined||associationId===null||associationId===''){throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations/{associationId}','GET',{'caseId':caseId,'associationId':associationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4723
|
+
* Get a list of case associations for a provided case.
|
|
4724
|
+
*
|
|
4725
|
+
* @param {String} caseId Case ID.
|
|
4726
|
+
* @param {Object} opts Optional parameters
|
|
4727
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4728
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4729
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4730
|
+
* getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4731
|
+
*/},{key:"getCasemanagementCaseAssociations",value:function getCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
4732
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4733
|
+
* Get a Stage.
|
|
4734
|
+
*
|
|
4735
|
+
* @param {String} caseId Case ID
|
|
4736
|
+
* @param {String} stageId Stage ID
|
|
4737
|
+
* getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4738
|
+
*/},{key:"getCasemanagementCaseStage",value:function getCasemanagementCaseStage(caseId,stageId){// verify the required parameter 'caseId' is set
|
|
4739
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';}// verify the required parameter 'stageId' is set
|
|
4740
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}','GET',{'caseId':caseId,'stageId':stageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4741
|
+
* Get a Step.
|
|
4742
|
+
*
|
|
4743
|
+
* @param {String} caseId Case ID
|
|
4744
|
+
* @param {String} stageId Stage ID
|
|
4745
|
+
* @param {String} stepId Step ID
|
|
4746
|
+
* getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4747
|
+
*/},{key:"getCasemanagementCaseStageStep",value:function getCasemanagementCaseStageStep(caseId,stageId,stepId){// verify the required parameter 'caseId' is set
|
|
4748
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stageId' is set
|
|
4749
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stepId' is set
|
|
4750
|
+
if(stepId===undefined||stepId===null||stepId===''){throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}','GET',{'caseId':caseId,'stageId':stageId,'stepId':stepId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4751
|
+
* Get a list of Steps.
|
|
4752
|
+
*
|
|
4753
|
+
* @param {String} caseId Case ID
|
|
4754
|
+
* @param {String} stageId Stage ID
|
|
4755
|
+
* @param {Object} opts Optional parameters
|
|
4756
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4757
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4758
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4759
|
+
* getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4760
|
+
*/},{key:"getCasemanagementCaseStageSteps",value:function getCasemanagementCaseStageSteps(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
4761
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';}// verify the required parameter 'stageId' is set
|
|
4762
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps','GET',{'caseId':caseId,'stageId':stageId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4763
|
+
* Get a list of Stages.
|
|
4764
|
+
*
|
|
4765
|
+
* @param {String} caseId Case ID
|
|
4766
|
+
* @param {Object} opts Optional parameters
|
|
4767
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4768
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4769
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4770
|
+
* getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4771
|
+
*/},{key:"getCasemanagementCaseStages",value:function getCasemanagementCaseStages(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
4772
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4773
|
+
* Get a Terminate Job for a Case.
|
|
4774
|
+
*
|
|
4775
|
+
* @param {String} caseId Case ID
|
|
4776
|
+
* @param {String} jobId Job ID
|
|
4777
|
+
* getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4778
|
+
*/},{key:"getCasemanagementCaseTerminateJob",value:function getCasemanagementCaseTerminateJob(caseId,jobId){// verify the required parameter 'caseId' is set
|
|
4779
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';}// verify the required parameter 'jobId' is set
|
|
4780
|
+
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}','GET',{'caseId':caseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4781
|
+
* Get a Caseplan.
|
|
4782
|
+
*
|
|
4783
|
+
* @param {String} caseplanId Caseplan ID
|
|
4784
|
+
* getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4785
|
+
*/},{key:"getCasemanagementCaseplan",value:function getCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
4786
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','GET',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4787
|
+
* Get a Caseplan version.
|
|
4788
|
+
*
|
|
4789
|
+
* @param {String} caseplanId Caseplan ID
|
|
4790
|
+
* @param {String} versionId Version of the caseplan
|
|
4791
|
+
* getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4792
|
+
*/},{key:"getCasemanagementCaseplanVersion",value:function getCasemanagementCaseplanVersion(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
4793
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';}// verify the required parameter 'versionId' is set
|
|
4794
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4795
|
+
* Get the dataSchemas for a caseplan version.
|
|
4796
|
+
*
|
|
4797
|
+
* @param {String} caseplanId Caseplan ID
|
|
4798
|
+
* @param {String} versionId Version of the caseplan
|
|
4799
|
+
* getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4800
|
+
*/},{key:"getCasemanagementCaseplanVersionDataschemas",value:function getCasemanagementCaseplanVersionDataschemas(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
4801
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';}// verify the required parameter 'versionId' is set
|
|
4802
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4803
|
+
* Get the intake settings for a Caseplan version.
|
|
4804
|
+
*
|
|
4805
|
+
* @param {String} caseplanId Caseplan ID
|
|
4806
|
+
* @param {String} versionId Version of the caseplan
|
|
4807
|
+
* getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4808
|
+
*/},{key:"getCasemanagementCaseplanVersionIntakesettings",value:function getCasemanagementCaseplanVersionIntakesettings(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
4809
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';}// verify the required parameter 'versionId' is set
|
|
4810
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4811
|
+
* Get a Stageplan.
|
|
4812
|
+
*
|
|
4813
|
+
* @param {String} caseplanId Caseplan ID
|
|
4814
|
+
* @param {String} versionId Version ID
|
|
4815
|
+
* @param {String} stageplanId Stageplan ID
|
|
4816
|
+
* @param {Object} opts Optional parameters
|
|
4817
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
4818
|
+
* getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4819
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplan",value:function getCasemanagementCaseplanVersionStageplan(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
4820
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'versionId' is set
|
|
4821
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'stageplanId' is set
|
|
4822
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4823
|
+
* Get a Stepplan.
|
|
4824
|
+
*
|
|
4825
|
+
* @param {String} caseplanId Caseplan ID
|
|
4826
|
+
* @param {String} versionId Version ID
|
|
4827
|
+
* @param {String} stageplanId Stageplan ID
|
|
4828
|
+
* @param {String} stepplanId Stepplan ID
|
|
4829
|
+
* @param {Object} opts Optional parameters
|
|
4830
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
4831
|
+
* getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4832
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplan",value:function getCasemanagementCaseplanVersionStageplanStepplan(caseplanId,versionId,stageplanId,stepplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
4833
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'versionId' is set
|
|
4834
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
4835
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
4836
|
+
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId,'stepplanId':stepplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4837
|
+
* Get a list of Stepplans.
|
|
4838
|
+
*
|
|
4839
|
+
* @param {String} caseplanId Caseplan ID
|
|
4840
|
+
* @param {String} versionId Version ID
|
|
4841
|
+
* @param {String} stageplanId Stageplan ID
|
|
4842
|
+
* @param {Object} opts Optional parameters
|
|
4843
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4844
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4845
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4846
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
4847
|
+
* getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4848
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplans",value:function getCasemanagementCaseplanVersionStageplanStepplans(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
4849
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'versionId' is set
|
|
4850
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'stageplanId' is set
|
|
4851
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4852
|
+
* Get a list of Stageplans.
|
|
4853
|
+
*
|
|
4854
|
+
* @param {String} caseplanId Caseplan ID
|
|
4855
|
+
* @param {String} versionId Version ID
|
|
4856
|
+
* @param {Object} opts Optional parameters
|
|
4857
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
4858
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
4859
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
4860
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
4861
|
+
* getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4862
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplans",value:function getCasemanagementCaseplanVersionStageplans(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
4863
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';}// verify the required parameter 'versionId' is set
|
|
4864
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans','GET',{'caseplanId':caseplanId,'versionId':versionId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4865
|
+
* Get a list of Caseplans.
|
|
4866
|
+
*
|
|
4867
|
+
* @param {Object} opts Optional parameters
|
|
4868
|
+
* @param {String} opts.after The cursor that points to the end of the set of caseplans that has been returned.
|
|
4869
|
+
* @param {Number} opts.pageSize Number of caseplans to return. Maximum of 200.
|
|
4870
|
+
* @param {String} opts.customerIntentId Filter by Customer Intent.
|
|
4871
|
+
* @param {String} opts.divisionIds Filter by Divisions.
|
|
4872
|
+
* getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4873
|
+
*/},{key:"getCasemanagementCaseplans",value:function getCasemanagementCaseplans(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/caseplans','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'customerIntentId':opts['customerIntentId'],'divisionIds':opts['divisionIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4874
|
+
* Get a list of cases for provided external contact id.
|
|
4875
|
+
*
|
|
4876
|
+
* @param {String} externalContactId External Contact ID
|
|
4877
|
+
* @param {Object} opts Optional parameters
|
|
4878
|
+
* @param {String} opts.after The cursor that points to the end of the set of cases that has been returned.
|
|
4879
|
+
* @param {Number} opts.pageSize Number of cases to return. Maximum of 200.
|
|
4880
|
+
* @param {String} opts.divisionIds Filter by Divisions
|
|
4881
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
4882
|
+
* getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4883
|
+
*/},{key:"getCasemanagementCasesExternalcontact",value:function getCasemanagementCasesExternalcontact(externalContactId,opts){opts=opts||{};// verify the required parameter 'externalContactId' is set
|
|
4884
|
+
if(externalContactId===undefined||externalContactId===null||externalContactId===''){throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';}return this.apiClient.callApi('/api/v2/casemanagement/cases/externalcontacts/{externalContactId}','GET',{'externalContactId':externalContactId},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':opts['divisionIds'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4885
|
+
* Get a Case by reference.
|
|
4886
|
+
*
|
|
4887
|
+
* @param {String} referenceId Reference
|
|
4888
|
+
* @param {Object} opts Optional parameters
|
|
4889
|
+
* @param {Object} opts.expands Which fields to expand.
|
|
4890
|
+
* getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4891
|
+
*/},{key:"getCasemanagementCasesReference",value:function getCasemanagementCasesReference(referenceId,opts){opts=opts||{};// verify the required parameter 'referenceId' is set
|
|
4892
|
+
if(referenceId===undefined||referenceId===null||referenceId===''){throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';}return this.apiClient.callApi('/api/v2/casemanagement/cases/references/{referenceId}','GET',{'referenceId':referenceId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4893
|
+
* Update date due of a Case.
|
|
4894
|
+
*
|
|
4895
|
+
* @param {String} caseId Case ID
|
|
4896
|
+
* @param {Object} body Date due
|
|
4897
|
+
* patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4898
|
+
*/},{key:"patchCasemanagementCaseDatedue",value:function patchCasemanagementCaseDatedue(caseId,body){// verify the required parameter 'caseId' is set
|
|
4899
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';}// verify the required parameter 'body' is set
|
|
4900
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/datedue','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4901
|
+
* Update priority of a Case.
|
|
4902
|
+
*
|
|
4903
|
+
* @param {String} caseId Case ID
|
|
4904
|
+
* @param {Object} body Priority
|
|
4905
|
+
* patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4906
|
+
*/},{key:"patchCasemanagementCasePriority",value:function patchCasemanagementCasePriority(caseId,body){// verify the required parameter 'caseId' is set
|
|
4907
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';}// verify the required parameter 'body' is set
|
|
4908
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/priority','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4909
|
+
* Update summary of a Case.
|
|
4910
|
+
*
|
|
4911
|
+
* @param {String} caseId Case ID
|
|
4912
|
+
* @param {Object} body Summary
|
|
4913
|
+
* patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4914
|
+
*/},{key:"patchCasemanagementCaseSummary",value:function patchCasemanagementCaseSummary(caseId,body){// verify the required parameter 'caseId' is set
|
|
4915
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';}// verify the required parameter 'body' is set
|
|
4916
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/summary','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4917
|
+
* Update the attributes of a Caseplan.
|
|
4918
|
+
*
|
|
4919
|
+
* @param {String} caseplanId Caseplan ID
|
|
4920
|
+
* @param {Object} body Caseplan
|
|
4921
|
+
* patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4922
|
+
*/},{key:"patchCasemanagementCaseplan",value:function patchCasemanagementCaseplan(caseplanId,body){// verify the required parameter 'caseplanId' is set
|
|
4923
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';}// verify the required parameter 'body' is set
|
|
4924
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','PATCH',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4925
|
+
* Update the attributes of a Stageplan.
|
|
4926
|
+
*
|
|
4927
|
+
* @param {String} caseplanId Caseplan ID
|
|
4928
|
+
* @param {String} stageplanId Stageplan ID
|
|
4929
|
+
* @param {Object} body Stageplan
|
|
4930
|
+
* patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4931
|
+
*/},{key:"patchCasemanagementCaseplanStageplan",value:function patchCasemanagementCaseplanStageplan(caseplanId,stageplanId,body){// verify the required parameter 'caseplanId' is set
|
|
4932
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'stageplanId' is set
|
|
4933
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'body' is set
|
|
4934
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4935
|
+
* Update the attributes of a Stepplan.
|
|
4936
|
+
*
|
|
4937
|
+
* @param {String} caseplanId Caseplan ID
|
|
4938
|
+
* @param {String} stageplanId Stageplan ID
|
|
4939
|
+
* @param {String} stepplanId Stepplan ID
|
|
4940
|
+
* @param {Object} body Stepplan
|
|
4941
|
+
* patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4942
|
+
*/},{key:"patchCasemanagementCaseplanStageplanStepplan",value:function patchCasemanagementCaseplanStageplanStepplan(caseplanId,stageplanId,stepplanId,body){// verify the required parameter 'caseplanId' is set
|
|
4943
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
4944
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
4945
|
+
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'body' is set
|
|
4946
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId,'stepplanId':stepplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4947
|
+
* Create a case association.
|
|
4948
|
+
*
|
|
4949
|
+
* @param {String} caseId Case ID.
|
|
4950
|
+
* @param {Object} opts Optional parameters
|
|
4951
|
+
* @param {Object} opts.body Case Association
|
|
4952
|
+
* postCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4953
|
+
*/},{key:"postCasemanagementCaseAssociations",value:function postCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
4954
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','POST',{'caseId':caseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4955
|
+
* Create a Terminate Job for a Case.
|
|
4956
|
+
*
|
|
4957
|
+
* @param {String} caseId Case ID
|
|
4958
|
+
* postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4959
|
+
*/},{key:"postCasemanagementCaseTerminateJobs",value:function postCasemanagementCaseTerminateJobs(caseId){// verify the required parameter 'caseId' is set
|
|
4960
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs','POST',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4961
|
+
* Publish Caseplan.
|
|
4962
|
+
*
|
|
4963
|
+
* @param {String} caseplanId Caseplan ID
|
|
4964
|
+
* postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4965
|
+
*/},{key:"postCasemanagementCaseplanPublish",value:function postCasemanagementCaseplanPublish(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
4966
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/publish','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4967
|
+
* Create Caseplan version.
|
|
4968
|
+
*
|
|
4969
|
+
* @param {String} caseplanId Caseplan ID
|
|
4970
|
+
* postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4971
|
+
*/},{key:"postCasemanagementCaseplanVersions",value:function postCasemanagementCaseplanVersions(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
4972
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4973
|
+
* Create a Caseplan.
|
|
4974
|
+
*
|
|
4975
|
+
* @param {Object} body Caseplan
|
|
4976
|
+
* postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4977
|
+
*/},{key:"postCasemanagementCaseplans",value:function postCasemanagementCaseplans(body){// verify the required parameter 'body' is set
|
|
4978
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4979
|
+
* Create a Case.
|
|
4980
|
+
*
|
|
4981
|
+
* @param {Object} body Case
|
|
4982
|
+
* postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4983
|
+
*/},{key:"postCasemanagementCases",value:function postCasemanagementCases(body){// verify the required parameter 'body' is set
|
|
4984
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCases';}return this.apiClient.callApi('/api/v2/casemanagement/cases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4985
|
+
* Query for case associations
|
|
4986
|
+
*
|
|
4987
|
+
* @param {Object} opts Optional parameters
|
|
4988
|
+
* @param {Object} opts.body Case Association
|
|
4989
|
+
* postCasemanagementCasesAssociationsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4990
|
+
*/},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
4685
4991
|
* Chat service.
|
|
4686
4992
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
4687
|
-
* @version
|
|
4993
|
+
* @version 249.0.0
|
|
4688
4994
|
*//**
|
|
4689
4995
|
* Constructs a new ChatApi.
|
|
4690
4996
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -4915,7 +5221,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4915
5221
|
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(){/**
|
|
4916
5222
|
* Coaching service.
|
|
4917
5223
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
4918
|
-
* @version
|
|
5224
|
+
* @version 249.0.0
|
|
4919
5225
|
*//**
|
|
4920
5226
|
* Constructs a new CoachingApi.
|
|
4921
5227
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -5078,7 +5384,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5078
5384
|
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(){/**
|
|
5079
5385
|
* ContentManagement service.
|
|
5080
5386
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
5081
|
-
* @version
|
|
5387
|
+
* @version 249.0.0
|
|
5082
5388
|
*//**
|
|
5083
5389
|
* Constructs a new ContentManagementApi.
|
|
5084
5390
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -5360,7 +5666,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
5360
5666
|
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(){/**
|
|
5361
5667
|
* Conversations service.
|
|
5362
5668
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
5363
|
-
* @version
|
|
5669
|
+
* @version 249.0.0
|
|
5364
5670
|
*//**
|
|
5365
5671
|
* Constructs a new ConversationsApi.
|
|
5366
5672
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -5716,11 +6022,11 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
5716
6022
|
*/},{key:"getConversationsCallbackParticipantWrapupcodes",value:function getConversationsCallbackParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
5717
6023
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
5718
6024
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5719
|
-
* Get active
|
|
5720
|
-
*
|
|
6025
|
+
* Get the logged-in user's active conversations and their Callback participants state.
|
|
6026
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Callbacks? - Is the user directly participating in a Callback within that conversation?
|
|
5721
6027
|
*/},{key:"getConversationsCallbacks",value:function getConversationsCallbacks(){return this.apiClient.callApi('/api/v2/conversations/callbacks','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5722
|
-
* Get active
|
|
5723
|
-
*
|
|
6028
|
+
* Get the logged-in user's active conversations and their Call participants state.
|
|
6029
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Calls? - Is the user directly participating in a Call within that conversation?
|
|
5724
6030
|
*/},{key:"getConversationsCalls",value:function getConversationsCalls(){return this.apiClient.callApi('/api/v2/conversations/calls','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5725
6031
|
* Get call history
|
|
5726
6032
|
*
|
|
@@ -5876,8 +6182,10 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
5876
6182
|
* Get conversation messages
|
|
5877
6183
|
*
|
|
5878
6184
|
* @param {String} conversationId conversationId
|
|
5879
|
-
|
|
5880
|
-
|
|
6185
|
+
* @param {Object} opts Optional parameters
|
|
6186
|
+
* @param {Boolean} opts.includeAgentlessStitchedMessages Whether to include Agentless 'api' type of messages, on stitched conversations. If you provide a conversationId in the agentless email request (/api/v2/conversations/emails/agentless) that matches an existing conversation, then that's a stitched agentless message. (default to false)
|
|
6187
|
+
*/},{key:"getConversationsEmailMessages",value:function getConversationsEmailMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
6188
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/messages','GET',{'conversationId':conversationId},{'includeAgentlessStitchedMessages':opts['includeAgentlessStitchedMessages']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5881
6189
|
* Get conversation draft reply
|
|
5882
6190
|
*
|
|
5883
6191
|
* @param {String} conversationId conversationId
|
|
@@ -5915,16 +6223,16 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
5915
6223
|
* @param {String} conversationId conversationId
|
|
5916
6224
|
*/},{key:"getConversationsEmailSettings",value:function getConversationsEmailSettings(conversationId){// verify the required parameter 'conversationId' is set
|
|
5917
6225
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/settings','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5918
|
-
* Get active
|
|
5919
|
-
*
|
|
6226
|
+
* Get the logged-in user's active conversations and their Email participants state.
|
|
6227
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Emails? - Is the user directly participating in an Email within that conversation?
|
|
5920
6228
|
*/},{key:"getConversationsEmails",value:function getConversationsEmails(){return this.apiClient.callApi('/api/v2/conversations/emails','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5921
6229
|
* Get internal message conversation
|
|
5922
6230
|
*
|
|
5923
6231
|
* @param {String} conversationId conversationId
|
|
5924
6232
|
*/},{key:"getConversationsInternalmessage",value:function getConversationsInternalmessage(conversationId){// verify the required parameter 'conversationId' is set
|
|
5925
6233
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';}return this.apiClient.callApi('/api/v2/conversations/internalmessages/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5926
|
-
* Get
|
|
5927
|
-
*
|
|
6234
|
+
* Get the logged-in user's active conversations and their InternalMessage participants state.
|
|
6235
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include InternalMessages? - Is the user directly participating in an InternalMessage within that conversation?
|
|
5928
6236
|
*/},{key:"getConversationsInternalmessages",value:function getConversationsInternalmessages(){return this.apiClient.callApi('/api/v2/conversations/internalmessages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5929
6237
|
* Get the encryption key configurations
|
|
5930
6238
|
*
|
|
@@ -6002,8 +6310,8 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
6002
6310
|
*/},{key:"getConversationsMessageParticipantWrapupcodes",value:function getConversationsMessageParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
6003
6311
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
6004
6312
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6005
|
-
* Get active
|
|
6006
|
-
*
|
|
6313
|
+
* Get the logged-in user's active conversations and their Message participants state.
|
|
6314
|
+
* This endpoint answers three questions:- Is the user involved in any active conversation? - Does that active conversation include Messages? - Is the user directly participating in a Message within that conversation?
|
|
6007
6315
|
*/},{key:"getConversationsMessages",value:function getConversationsMessages(){return this.apiClient.callApi('/api/v2/conversations/messages','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6008
6316
|
* Get a list of cached media items
|
|
6009
6317
|
*
|
|
@@ -7663,7 +7971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7663
7971
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7664
7972
|
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
7665
7973
|
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
7666
|
-
* @param {Object} body
|
|
7974
|
+
* @param {Object} body Reference to supported content profile
|
|
7667
7975
|
*/},{key:"putConversationsMessagingSupportedcontentDefault",value:function putConversationsMessagingSupportedcontentDefault(body){// verify the required parameter 'body' is set
|
|
7668
7976
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/supportedcontent/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7669
7977
|
* Update conversation threading window timeline for each messaging type
|
|
@@ -7695,7 +8003,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
7695
8003
|
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(){/**
|
|
7696
8004
|
* DataExtensions service.
|
|
7697
8005
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
7698
|
-
* @version
|
|
8006
|
+
* @version 249.0.0
|
|
7699
8007
|
*//**
|
|
7700
8008
|
* Constructs a new DataExtensionsApi.
|
|
7701
8009
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -7716,7 +8024,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
7716
8024
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
7717
8025
|
* DataPrivacy service.
|
|
7718
8026
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
7719
|
-
* @version
|
|
8027
|
+
* @version 249.0.0
|
|
7720
8028
|
*//**
|
|
7721
8029
|
* Constructs a new DataPrivacyApi.
|
|
7722
8030
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -7756,7 +8064,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7756
8064
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
7757
8065
|
* Downloads service.
|
|
7758
8066
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
7759
|
-
* @version
|
|
8067
|
+
* @version 249.0.0
|
|
7760
8068
|
*//**
|
|
7761
8069
|
* Constructs a new DownloadsApi.
|
|
7762
8070
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -7775,7 +8083,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7775
8083
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
7776
8084
|
* Emails service.
|
|
7777
8085
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
7778
|
-
* @version
|
|
8086
|
+
* @version 249.0.0
|
|
7779
8087
|
*//**
|
|
7780
8088
|
* Constructs a new EmailsApi.
|
|
7781
8089
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -7804,7 +8112,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
7804
8112
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
7805
8113
|
* EmployeeEngagement service.
|
|
7806
8114
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
7807
|
-
* @version
|
|
8115
|
+
* @version 249.0.0
|
|
7808
8116
|
*//**
|
|
7809
8117
|
* Constructs a new EmployeeEngagementApi.
|
|
7810
8118
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -7852,7 +8160,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7852
8160
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
7853
8161
|
* Events service.
|
|
7854
8162
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
7855
|
-
* @version
|
|
8163
|
+
* @version 249.0.0
|
|
7856
8164
|
*//**
|
|
7857
8165
|
* Constructs a new EventsApi.
|
|
7858
8166
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -7877,7 +8185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7877
8185
|
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(){/**
|
|
7878
8186
|
* ExternalContacts service.
|
|
7879
8187
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
7880
|
-
* @version
|
|
8188
|
+
* @version 249.0.0
|
|
7881
8189
|
*//**
|
|
7882
8190
|
* Constructs a new ExternalContactsApi.
|
|
7883
8191
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -8274,6 +8582,13 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
8274
8582
|
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
8275
8583
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
8276
8584
|
*/},{key:"getExternalcontactsScanRelationshipsDivisionviewsAll",value:function getExternalcontactsScanRelationshipsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8585
|
+
* Update specific fields of an external contact
|
|
8586
|
+
*
|
|
8587
|
+
* @param {String} contactId ExternalContact ID
|
|
8588
|
+
* @param {Object} body Contact fields to update
|
|
8589
|
+
*/},{key:"patchExternalcontactsContact",value:function patchExternalcontactsContact(contactId,body){// verify the required parameter 'contactId' is set
|
|
8590
|
+
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContact';}// verify the required parameter 'body' is set
|
|
8591
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8277
8592
|
* Claim or release identifiers for a contact
|
|
8278
8593
|
*
|
|
8279
8594
|
* @param {String} contactId ExternalContact ID
|
|
@@ -8627,7 +8942,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
8627
8942
|
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(){/**
|
|
8628
8943
|
* Fax service.
|
|
8629
8944
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
8630
|
-
* @version
|
|
8945
|
+
* @version 249.0.0
|
|
8631
8946
|
*//**
|
|
8632
8947
|
* Constructs a new FaxApi.
|
|
8633
8948
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -8676,7 +8991,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8676
8991
|
*/},{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(){/**
|
|
8677
8992
|
* Flows service.
|
|
8678
8993
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
8679
|
-
* @version
|
|
8994
|
+
* @version 249.0.0
|
|
8680
8995
|
*//**
|
|
8681
8996
|
* Constructs a new FlowsApi.
|
|
8682
8997
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -8730,7 +9045,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8730
9045
|
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(){/**
|
|
8731
9046
|
* Gamification service.
|
|
8732
9047
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8733
|
-
* @version
|
|
9048
|
+
* @version 249.0.0
|
|
8734
9049
|
*//**
|
|
8735
9050
|
* Constructs a new GamificationApi.
|
|
8736
9051
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -9401,7 +9716,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9401
9716
|
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(){/**
|
|
9402
9717
|
* GeneralDataProtectionRegulation service.
|
|
9403
9718
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
9404
|
-
* @version
|
|
9719
|
+
* @version 249.0.0
|
|
9405
9720
|
*//**
|
|
9406
9721
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
9407
9722
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -9436,7 +9751,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
9436
9751
|
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(){/**
|
|
9437
9752
|
* Geolocation service.
|
|
9438
9753
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
9439
|
-
* @version
|
|
9754
|
+
* @version 249.0.0
|
|
9440
9755
|
*//**
|
|
9441
9756
|
* Constructs a new GeolocationApi.
|
|
9442
9757
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -9470,7 +9785,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
9470
9785
|
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(){/**
|
|
9471
9786
|
* Greetings service.
|
|
9472
9787
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
9473
|
-
* @version
|
|
9788
|
+
* @version 249.0.0
|
|
9474
9789
|
*//**
|
|
9475
9790
|
* Constructs a new GreetingsApi.
|
|
9476
9791
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -9598,7 +9913,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
9598
9913
|
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(){/**
|
|
9599
9914
|
* Groups service.
|
|
9600
9915
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
9601
|
-
* @version
|
|
9916
|
+
* @version 249.0.0
|
|
9602
9917
|
*//**
|
|
9603
9918
|
* Constructs a new GroupsApi.
|
|
9604
9919
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -9731,7 +10046,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
9731
10046
|
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(){/**
|
|
9732
10047
|
* IdentityProvider service.
|
|
9733
10048
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
9734
|
-
* @version
|
|
10049
|
+
* @version 249.0.0
|
|
9735
10050
|
*//**
|
|
9736
10051
|
* Constructs a new IdentityProviderApi.
|
|
9737
10052
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -9887,7 +10202,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9887
10202
|
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(){/**
|
|
9888
10203
|
* InfrastructureAsCode service.
|
|
9889
10204
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
9890
|
-
* @version
|
|
10205
|
+
* @version 249.0.0
|
|
9891
10206
|
*//**
|
|
9892
10207
|
* Constructs a new InfrastructureAsCodeApi.
|
|
9893
10208
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -9941,7 +10256,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
9941
10256
|
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(){/**
|
|
9942
10257
|
* Integrations service.
|
|
9943
10258
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
9944
|
-
* @version
|
|
10259
|
+
* @version 249.0.0
|
|
9945
10260
|
*//**
|
|
9946
10261
|
* Constructs a new IntegrationsApi.
|
|
9947
10262
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -10633,7 +10948,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
10633
10948
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
10634
10949
|
* Intents service.
|
|
10635
10950
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
10636
|
-
* @version
|
|
10951
|
+
* @version 249.0.0
|
|
10637
10952
|
*//**
|
|
10638
10953
|
* Constructs a new IntentsApi.
|
|
10639
10954
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -10750,7 +11065,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10750
11065
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
10751
11066
|
* Journey service.
|
|
10752
11067
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
10753
|
-
* @version
|
|
11068
|
+
* @version 249.0.0
|
|
10754
11069
|
*//**
|
|
10755
11070
|
* Constructs a new JourneyApi.
|
|
10756
11071
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -11259,7 +11574,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
11259
11574
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
11260
11575
|
* Knowledge service.
|
|
11261
11576
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
11262
|
-
* @version
|
|
11577
|
+
* @version 249.0.0
|
|
11263
11578
|
*//**
|
|
11264
11579
|
* Constructs a new KnowledgeApi.
|
|
11265
11580
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -11267,10 +11582,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11267
11582
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11268
11583
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11269
11584
|
*/function KnowledgeApi(apiClient){_classCallCheck(this,KnowledgeApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11585
|
+
* Delete connection
|
|
11586
|
+
*
|
|
11587
|
+
* @param {String} connectionId Connection ID
|
|
11588
|
+
*/return _createClass(KnowledgeApi,[{key:"deleteKnowledgeConnection",value:function deleteKnowledgeConnection(connectionId){// verify the required parameter 'connectionId' is set
|
|
11589
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling deleteKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','DELETE',{'connectionId':connectionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11270
11590
|
* Delete knowledge base
|
|
11271
11591
|
*
|
|
11272
11592
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
11273
|
-
*/
|
|
11593
|
+
*/},{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
11274
11594
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebase';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}','DELETE',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11275
11595
|
* Delete category
|
|
11276
11596
|
*
|
|
@@ -11342,6 +11662,28 @@ if(syncJobId===undefined||syncJobId===null||syncJobId===''){throw'Missing the re
|
|
|
11342
11662
|
* @param {String} knowledgeSettingId Knowledge Setting ID.
|
|
11343
11663
|
*/},{key:"deleteKnowledgeSetting",value:function deleteKnowledgeSetting(knowledgeSettingId){// verify the required parameter 'knowledgeSettingId' is set
|
|
11344
11664
|
if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','DELETE',{'knowledgeSettingId':knowledgeSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11665
|
+
* Delete source
|
|
11666
|
+
*
|
|
11667
|
+
* @param {String} sourceId Source ID
|
|
11668
|
+
*/},{key:"deleteKnowledgeSource",value:function deleteKnowledgeSource(sourceId){// verify the required parameter 'sourceId' is set
|
|
11669
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11670
|
+
* Get connection
|
|
11671
|
+
*
|
|
11672
|
+
* @param {String} connectionId Connection ID
|
|
11673
|
+
* @param {Object} opts Optional parameters
|
|
11674
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
11675
|
+
*/},{key:"getKnowledgeConnection",value:function getKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
11676
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','GET',{'connectionId':connectionId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11677
|
+
* Get connection options
|
|
11678
|
+
*
|
|
11679
|
+
* @param {String} connectionId Connection ID
|
|
11680
|
+
* @param {Object} opts Optional parameters
|
|
11681
|
+
* @param {String} opts.parentId The id of the parent option whose children to be listed.
|
|
11682
|
+
*/},{key:"getKnowledgeConnectionOptions",value:function getKnowledgeConnectionOptions(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
11683
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnectionOptions';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}/options','GET',{'connectionId':connectionId},{'parentId':opts['parentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11684
|
+
* Get connections
|
|
11685
|
+
*
|
|
11686
|
+
*/},{key:"getKnowledgeConnections",value:function getKnowledgeConnections(){return this.apiClient.callApi('/api/v2/knowledge/connections','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11345
11687
|
* Get categories
|
|
11346
11688
|
*
|
|
11347
11689
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -11698,6 +12040,48 @@ if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId
|
|
|
11698
12040
|
* @param {Object} opts.sortBy Field to sort the knowledge settings on.
|
|
11699
12041
|
* @param {Object} opts.sortOrder Sorting order for knowledge settings.
|
|
11700
12042
|
*/},{key:"getKnowledgeSettings",value:function getKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'sourceId':opts['sourceId'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12043
|
+
* Get source
|
|
12044
|
+
*
|
|
12045
|
+
* @param {String} sourceId Source ID
|
|
12046
|
+
* @param {Object} opts Optional parameters
|
|
12047
|
+
* @param {Array.<String>} opts.expand Optional fields to expand for the Source.
|
|
12048
|
+
*/},{key:"getKnowledgeSource",value:function getKnowledgeSource(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
12049
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','GET',{'sourceId':sourceId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12050
|
+
* Get a specific synchronization of a source.
|
|
12051
|
+
*
|
|
12052
|
+
* @param {String} sourceId Source ID
|
|
12053
|
+
* @param {String} synchronizationId Synchronization ID
|
|
12054
|
+
*/},{key:"getKnowledgeSourceSynchronization",value:function getKnowledgeSourceSynchronization(sourceId,synchronizationId){// verify the required parameter 'sourceId' is set
|
|
12055
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
|
|
12056
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','GET',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12057
|
+
* Get synchronizations of a source.
|
|
12058
|
+
*
|
|
12059
|
+
* @param {String} sourceId Source ID
|
|
12060
|
+
* @param {Object} opts Optional parameters
|
|
12061
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12062
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12063
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12064
|
+
*/},{key:"getKnowledgeSourceSynchronizations",value:function getKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
12065
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','GET',{'sourceId':sourceId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12066
|
+
* List sources
|
|
12067
|
+
*
|
|
12068
|
+
* @param {Object} opts Optional parameters
|
|
12069
|
+
* @param {Array.<String>} opts.expand Optional fields to expand for the Source.
|
|
12070
|
+
*/},{key:"getKnowledgeSources",value:function getKnowledgeSources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12071
|
+
* Get synchronizations of all sources of the organization.
|
|
12072
|
+
*
|
|
12073
|
+
* @param {Object} opts Optional parameters
|
|
12074
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12075
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12076
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12077
|
+
*/},{key:"getKnowledgeSourcesSynchronizations",value:function getKnowledgeSourcesSynchronizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources/synchronizations','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12078
|
+
* Update connection
|
|
12079
|
+
*
|
|
12080
|
+
* @param {String} connectionId Connection ID
|
|
12081
|
+
* @param {Object} opts Optional parameters
|
|
12082
|
+
* @param {Object} opts.body
|
|
12083
|
+
*/},{key:"patchKnowledgeConnection",value:function patchKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
12084
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling patchKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','PATCH',{'connectionId':connectionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11701
12085
|
* Update search result.
|
|
11702
12086
|
*
|
|
11703
12087
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -11826,6 +12210,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11826
12210
|
*/},{key:"patchKnowledgeSetting",value:function patchKnowledgeSetting(knowledgeSettingId,body){// verify the required parameter 'knowledgeSettingId' is set
|
|
11827
12211
|
if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';}// verify the required parameter 'body' is set
|
|
11828
12212
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','PATCH',{'knowledgeSettingId':knowledgeSettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12213
|
+
* Update synchronization.
|
|
12214
|
+
*
|
|
12215
|
+
* @param {String} sourceId Source ID
|
|
12216
|
+
* @param {String} synchronizationId Synchronization ID
|
|
12217
|
+
* @param {Object} body
|
|
12218
|
+
*/},{key:"patchKnowledgeSourceSynchronization",value:function patchKnowledgeSourceSynchronization(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
|
|
12219
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
|
|
12220
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'body' is set
|
|
12221
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','PATCH',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12222
|
+
* Create new connection
|
|
12223
|
+
*
|
|
12224
|
+
* @param {Object} body
|
|
12225
|
+
*/},{key:"postKnowledgeConnections",value:function postKnowledgeConnections(body){// verify the required parameter 'body' is set
|
|
12226
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeConnections';}return this.apiClient.callApi('/api/v2/knowledge/connections','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11829
12227
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
11830
12228
|
*
|
|
11831
12229
|
* @param {Object} body query
|
|
@@ -12104,6 +12502,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12104
12502
|
* @param {Object} body
|
|
12105
12503
|
*/},{key:"postKnowledgeKnowledgebases",value:function postKnowledgeKnowledgebases(body){// verify the required parameter 'body' is set
|
|
12106
12504
|
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']);}/**
|
|
12505
|
+
* Get Knowledge Search
|
|
12506
|
+
*
|
|
12507
|
+
* @param {Object} opts Optional parameters
|
|
12508
|
+
* @param {Object} opts.body
|
|
12509
|
+
*/},{key:"postKnowledgeSearch",value:function postKnowledgeSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/search','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12107
12510
|
* Get Knowledge Search Preview
|
|
12108
12511
|
*
|
|
12109
12512
|
* @param {Object} opts Optional parameters
|
|
@@ -12114,6 +12517,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12114
12517
|
* @param {Object} opts Optional parameters
|
|
12115
12518
|
* @param {Object} opts.body
|
|
12116
12519
|
*/},{key:"postKnowledgeSettings",value:function postKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12520
|
+
* Create presigned URL for uploading a file in the synchronization.
|
|
12521
|
+
*
|
|
12522
|
+
* @param {String} sourceId Source ID
|
|
12523
|
+
* @param {String} synchronizationId Synchronization ID
|
|
12524
|
+
* @param {Object} body
|
|
12525
|
+
*/},{key:"postKnowledgeSourceSynchronizationUploads",value:function postKnowledgeSourceSynchronizationUploads(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
|
|
12526
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'synchronizationId' is set
|
|
12527
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'body' is set
|
|
12528
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationUploads';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads','POST',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12529
|
+
* Start a manual synchronization from a source.
|
|
12530
|
+
*
|
|
12531
|
+
* @param {String} sourceId Source ID
|
|
12532
|
+
* @param {Object} opts Optional parameters
|
|
12533
|
+
* @param {Object} opts.body
|
|
12534
|
+
*/},{key:"postKnowledgeSourceSynchronizations",value:function postKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
12535
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','POST',{'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12536
|
+
* Create a new source
|
|
12537
|
+
*
|
|
12538
|
+
* @param {Object} body
|
|
12539
|
+
*/},{key:"postKnowledgeSources",value:function postKnowledgeSources(body){// verify the required parameter 'body' is set
|
|
12540
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSources';}return this.apiClient.callApi('/api/v2/knowledge/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12117
12541
|
* Update Salesforce Knowledge integration source
|
|
12118
12542
|
*
|
|
12119
12543
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -12131,10 +12555,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12131
12555
|
*/},{key:"putKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
12132
12556
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
12133
12557
|
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'body' is set
|
|
12134
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
12558
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12559
|
+
* Update the source
|
|
12560
|
+
*
|
|
12561
|
+
* @param {String} sourceId Source ID
|
|
12562
|
+
* @param {Object} body
|
|
12563
|
+
*/},{key:"putKnowledgeSource",value:function putKnowledgeSource(sourceId,body){// verify the required parameter 'sourceId' is set
|
|
12564
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeSource';}// verify the required parameter 'body' is set
|
|
12565
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
12135
12566
|
* LanguageUnderstanding service.
|
|
12136
12567
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
12137
|
-
* @version
|
|
12568
|
+
* @version 249.0.0
|
|
12138
12569
|
*//**
|
|
12139
12570
|
* Constructs a new LanguageUnderstandingApi.
|
|
12140
12571
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -12443,7 +12874,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
12443
12874
|
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(){/**
|
|
12444
12875
|
* Languages service.
|
|
12445
12876
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
12446
|
-
* @version
|
|
12877
|
+
* @version 249.0.0
|
|
12447
12878
|
*//**
|
|
12448
12879
|
* Constructs a new LanguagesApi.
|
|
12449
12880
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -12498,7 +12929,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12498
12929
|
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(){/**
|
|
12499
12930
|
* Learning service.
|
|
12500
12931
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
12501
|
-
* @version
|
|
12932
|
+
* @version 249.0.0
|
|
12502
12933
|
*//**
|
|
12503
12934
|
* Constructs a new LearningApi.
|
|
12504
12935
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -12787,7 +13218,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
12787
13218
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
12788
13219
|
* License service.
|
|
12789
13220
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
12790
|
-
* @version
|
|
13221
|
+
* @version 249.0.0
|
|
12791
13222
|
*//**
|
|
12792
13223
|
* Constructs a new LicenseApi.
|
|
12793
13224
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -12824,6 +13255,12 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12824
13255
|
* @param {Object} opts Optional parameters
|
|
12825
13256
|
* @param {Array.<String>} opts.body The roleIds to use while inferring licenses
|
|
12826
13257
|
*/},{key:"postLicenseInfer",value:function postLicenseInfer(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13258
|
+
* Get a list of licenses inferred based on a list of permissions
|
|
13259
|
+
*
|
|
13260
|
+
* @param {Object} opts Optional parameters
|
|
13261
|
+
* @param {Array.<String>} opts.body The permissions to use while inferring licenses
|
|
13262
|
+
* postLicenseInferPermissions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13263
|
+
*/},{key:"postLicenseInferPermissions",value:function postLicenseInferPermissions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer/permissions','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12827
13264
|
* Update the organization's license assignments in a batch.
|
|
12828
13265
|
*
|
|
12829
13266
|
* @param {Object} opts Optional parameters
|
|
@@ -12841,7 +13278,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
12841
13278
|
*/},{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(){/**
|
|
12842
13279
|
* Locations service.
|
|
12843
13280
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
12844
|
-
* @version
|
|
13281
|
+
* @version 249.0.0
|
|
12845
13282
|
*//**
|
|
12846
13283
|
* Constructs a new LocationsApi.
|
|
12847
13284
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -12900,7 +13337,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12900
13337
|
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(){/**
|
|
12901
13338
|
* LogCapture service.
|
|
12902
13339
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
12903
|
-
* @version
|
|
13340
|
+
* @version 249.0.0
|
|
12904
13341
|
*//**
|
|
12905
13342
|
* Constructs a new LogCaptureApi.
|
|
12906
13343
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -12949,7 +13386,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12949
13386
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
12950
13387
|
* Messaging service.
|
|
12951
13388
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
12952
|
-
* @version
|
|
13389
|
+
* @version 249.0.0
|
|
12953
13390
|
*//**
|
|
12954
13391
|
* Constructs a new MessagingApi.
|
|
12955
13392
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -13039,7 +13476,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13039
13476
|
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(){/**
|
|
13040
13477
|
* MobileDevices service.
|
|
13041
13478
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
13042
|
-
* @version
|
|
13479
|
+
* @version 249.0.0
|
|
13043
13480
|
*//**
|
|
13044
13481
|
* Constructs a new MobileDevicesApi.
|
|
13045
13482
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -13078,7 +13515,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13078
13515
|
if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
13079
13516
|
* Notifications service.
|
|
13080
13517
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
13081
|
-
* @version
|
|
13518
|
+
* @version 249.0.0
|
|
13082
13519
|
*//**
|
|
13083
13520
|
* Constructs a new NotificationsApi.
|
|
13084
13521
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -13135,7 +13572,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
13135
13572
|
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(){/**
|
|
13136
13573
|
* OAuth service.
|
|
13137
13574
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
13138
|
-
* @version
|
|
13575
|
+
* @version 249.0.0
|
|
13139
13576
|
*//**
|
|
13140
13577
|
* Constructs a new OAuthApi.
|
|
13141
13578
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -13220,7 +13657,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
13220
13657
|
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(){/**
|
|
13221
13658
|
* Objects service.
|
|
13222
13659
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
13223
|
-
* @version
|
|
13660
|
+
* @version 249.0.0
|
|
13224
13661
|
*//**
|
|
13225
13662
|
* Constructs a new ObjectsApi.
|
|
13226
13663
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -13306,7 +13743,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
13306
13743
|
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(){/**
|
|
13307
13744
|
* OperationalEvents service.
|
|
13308
13745
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
13309
|
-
* @version
|
|
13746
|
+
* @version 249.0.0
|
|
13310
13747
|
*//**
|
|
13311
13748
|
* Constructs a new OperationalEventsApi.
|
|
13312
13749
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -13337,7 +13774,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
13337
13774
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
13338
13775
|
* Organization service.
|
|
13339
13776
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
13340
|
-
* @version
|
|
13777
|
+
* @version 249.0.0
|
|
13341
13778
|
*//**
|
|
13342
13779
|
* Constructs a new OrganizationApi.
|
|
13343
13780
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -13442,7 +13879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13442
13879
|
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(){/**
|
|
13443
13880
|
* OrganizationAuthorization service.
|
|
13444
13881
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
13445
|
-
* @version
|
|
13882
|
+
* @version 249.0.0
|
|
13446
13883
|
*//**
|
|
13447
13884
|
* Constructs a new OrganizationAuthorizationApi.
|
|
13448
13885
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -13776,7 +14213,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
13776
14213
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
13777
14214
|
* Outbound service.
|
|
13778
14215
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
13779
|
-
* @version
|
|
14216
|
+
* @version 249.0.0
|
|
13780
14217
|
*//**
|
|
13781
14218
|
* Constructs a new OutboundApi.
|
|
13782
14219
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -13826,7 +14263,7 @@ if(contactListId===undefined||contactListId===null||contactListId===''){throw'Mi
|
|
|
13826
14263
|
*/},{key:"deleteOutboundContactlistContact",value:function deleteOutboundContactlistContact(contactListId,contactId){// verify the required parameter 'contactListId' is set
|
|
13827
14264
|
if(contactListId===undefined||contactListId===null||contactListId===''){throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContact';}// verify the required parameter 'contactId' is set
|
|
13828
14265
|
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling deleteOutboundContactlistContact';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}','DELETE',{'contactListId':contactListId,'contactId':contactId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13829
|
-
* Delete contacts from a contact list.
|
|
14266
|
+
* Delete contacts from a contact list. Only contacts that are not in use by any campaign will be deleted
|
|
13830
14267
|
*
|
|
13831
14268
|
* @param {String} contactListId Contact List ID
|
|
13832
14269
|
* @param {Array.<String>} contactIds ContactIds to delete.
|
|
@@ -14238,6 +14675,15 @@ if(contactListTemplateId===undefined||contactListTemplateId===null||contactListT
|
|
|
14238
14675
|
* @param {String} opts.sortBy Sort by
|
|
14239
14676
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
14240
14677
|
*/},{key:"getOutboundContactlisttemplates",value:function getOutboundContactlisttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14678
|
+
* Get diagnostic summary for a single campaign
|
|
14679
|
+
*
|
|
14680
|
+
* @param {String} campaignId Campaign ID
|
|
14681
|
+
* @param {String} start Start datetime (ISO 8601 or Unix epoch)
|
|
14682
|
+
* @param {String} end End datetime (ISO 8601 or Unix epoch)
|
|
14683
|
+
*/},{key:"getOutboundDiagnosticsCampaignSummary",value:function getOutboundDiagnosticsCampaignSummary(campaignId,start,end){// verify the required parameter 'campaignId' is set
|
|
14684
|
+
if(campaignId===undefined||campaignId===null||campaignId===''){throw'Missing the required parameter "campaignId" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'start' is set
|
|
14685
|
+
if(start===undefined||start===null){throw'Missing the required parameter "start" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'end' is set
|
|
14686
|
+
if(end===undefined||end===null){throw'Missing the required parameter "end" when calling getOutboundDiagnosticsCampaignSummary';}return this.apiClient.callApi('/api/v2/outbound/diagnostics/campaigns/{campaignId}/summary','GET',{'campaignId':campaignId},{'start':start,'end':end},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14241
14687
|
* Get an Outbound Digital Rule Set
|
|
14242
14688
|
*
|
|
14243
14689
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -14943,7 +15389,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14943
15389
|
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(){/**
|
|
14944
15390
|
* Presence service.
|
|
14945
15391
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
14946
|
-
* @version
|
|
15392
|
+
* @version 249.0.0
|
|
14947
15393
|
*//**
|
|
14948
15394
|
* Constructs a new PresenceApi.
|
|
14949
15395
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -15116,7 +15562,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15116
15562
|
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(){/**
|
|
15117
15563
|
* ProcessAutomation service.
|
|
15118
15564
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
15119
|
-
* @version
|
|
15565
|
+
* @version 249.0.0
|
|
15120
15566
|
*//**
|
|
15121
15567
|
* Constructs a new ProcessAutomationApi.
|
|
15122
15568
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -15179,7 +15625,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
15179
15625
|
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(){/**
|
|
15180
15626
|
* Quality service.
|
|
15181
15627
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
15182
|
-
* @version
|
|
15628
|
+
* @version 249.0.0
|
|
15183
15629
|
*//**
|
|
15184
15630
|
* Constructs a new QualityApi.
|
|
15185
15631
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -15723,7 +16169,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
15723
16169
|
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(){/**
|
|
15724
16170
|
* Recording service.
|
|
15725
16171
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
15726
|
-
* @version
|
|
16172
|
+
* @version 249.0.0
|
|
15727
16173
|
*//**
|
|
15728
16174
|
* Constructs a new RecordingApi.
|
|
15729
16175
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -16122,7 +16568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16122
16568
|
*/},{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(){/**
|
|
16123
16569
|
* ResponseManagement service.
|
|
16124
16570
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
16125
|
-
* @version
|
|
16571
|
+
* @version 249.0.0
|
|
16126
16572
|
*//**
|
|
16127
16573
|
* Constructs a new ResponseManagementApi.
|
|
16128
16574
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -16194,6 +16640,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16194
16640
|
* @param {Object} body LibraryIDs (max allowed 50)
|
|
16195
16641
|
*/},{key:"postResponsemanagementLibrariesBulk",value:function postResponsemanagementLibrariesBulk(body){// verify the required parameter 'body' is set
|
|
16196
16642
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16643
|
+
* Query libraries using criteria. Users can set DivisionId parameter as '*' to fetch libraries that aren't associated with any divisions.
|
|
16644
|
+
*
|
|
16645
|
+
* @param {Object} body Query criteria
|
|
16646
|
+
* @param {Object} opts Optional parameters
|
|
16647
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16648
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16649
|
+
* postResponsemanagementLibrariesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
16650
|
+
*/},{key:"postResponsemanagementLibrariesQuery",value:function postResponsemanagementLibrariesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
16651
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesQuery';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16652
|
+
* Get response assets.
|
|
16653
|
+
*
|
|
16654
|
+
* @param {Object} body Asset IDs (max allowed 50)
|
|
16655
|
+
*/},{key:"postResponsemanagementResponseassetsBulk",value:function postResponsemanagementResponseassetsBulk(body){// verify the required parameter 'body' is set
|
|
16656
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16197
16657
|
* Search response assets
|
|
16198
16658
|
*
|
|
16199
16659
|
* @param {Object} body request
|
|
@@ -16243,7 +16703,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
16243
16703
|
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(){/**
|
|
16244
16704
|
* Routing service.
|
|
16245
16705
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
16246
|
-
* @version
|
|
16706
|
+
* @version 249.0.0
|
|
16247
16707
|
*//**
|
|
16248
16708
|
* Constructs a new RoutingApi.
|
|
16249
16709
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -16790,14 +17250,14 @@ if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the requir
|
|
|
16790
17250
|
*/},{key:"getRoutingSmsIdentityresolutionPhonenumber",value:function getRoutingSmsIdentityresolutionPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
16791
17251
|
if(addressId===undefined||addressId===null||addressId===''){throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','GET',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16792
17252
|
* Get a phone number provisioned for SMS.
|
|
16793
|
-
*
|
|
17253
|
+
* When no supported content profile is explicitly set on an MMS-capable phone number, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile using the PATCH endpoint.
|
|
16794
17254
|
* @param {String} phoneNumberId phone number
|
|
16795
17255
|
* @param {Object} opts Optional parameters
|
|
16796
17256
|
* @param {Object} opts.expand Expand response with additional information
|
|
16797
17257
|
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
16798
17258
|
if(phoneNumberId===undefined||phoneNumberId===null||phoneNumberId===''){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16799
17259
|
* Get a list of provisioned phone numbers.
|
|
16800
|
-
*
|
|
17260
|
+
* When no supported content profile is explicitly set, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile.
|
|
16801
17261
|
* @param {Object} opts Optional parameters
|
|
16802
17262
|
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
16803
17263
|
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
@@ -17034,7 +17494,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17034
17494
|
if(skillGroupId===undefined||skillGroupId===null||skillGroupId===''){throw'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';}// verify the required parameter 'body' is set
|
|
17035
17495
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSkillgroup';}return this.apiClient.callApi('/api/v2/routing/skillgroups/{skillGroupId}','PATCH',{'skillGroupId':skillGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17036
17496
|
* Update a phone number provisioned for SMS.
|
|
17037
|
-
*
|
|
17497
|
+
* Use this endpoint to assign a custom supported content profile to an MMS-capable phone number. If no supported content profile is set, the phone number uses the "SMS Default" profile, which allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To customize media filtering, provide a supported content profile ID in the request body.
|
|
17038
17498
|
* @param {String} phoneNumberId phone number
|
|
17039
17499
|
* @param {Object} body SmsPhoneNumberPatchRequest
|
|
17040
17500
|
*/},{key:"patchRoutingSmsPhonenumber",value:function patchRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
@@ -17227,7 +17687,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17227
17687
|
*/},{key:"postRoutingSmsAddresses",value:function postRoutingSmsAddresses(body){// verify the required parameter 'body' is set
|
|
17228
17688
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsAddresses';}return this.apiClient.callApi('/api/v2/routing/sms/addresses','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17229
17689
|
* Provision a phone number for SMS
|
|
17230
|
-
*
|
|
17690
|
+
* When provisioning an MMS-capable phone number, if no supported content profile is specified in the request, the system automatically assigns the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To use custom media filtering, specify a supported content profile ID in the request body.
|
|
17231
17691
|
* @param {Object} body SmsPhoneNumber
|
|
17232
17692
|
*/},{key:"postRoutingSmsPhonenumbers",value:function postRoutingSmsPhonenumbers(body){// verify the required parameter 'body' is set
|
|
17233
17693
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -17389,7 +17849,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17389
17849
|
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(){/**
|
|
17390
17850
|
* SCIM service.
|
|
17391
17851
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
17392
|
-
* @version
|
|
17852
|
+
* @version 249.0.0
|
|
17393
17853
|
*//**
|
|
17394
17854
|
* Constructs a new SCIMApi.
|
|
17395
17855
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -17614,7 +18074,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17614
18074
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
17615
18075
|
* Scripts service.
|
|
17616
18076
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
17617
|
-
* @version
|
|
18077
|
+
* @version 249.0.0
|
|
17618
18078
|
*//**
|
|
17619
18079
|
* Constructs a new ScriptsApi.
|
|
17620
18080
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -17760,7 +18220,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
17760
18220
|
*/},{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(){/**
|
|
17761
18221
|
* Search service.
|
|
17762
18222
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
17763
|
-
* @version
|
|
18223
|
+
* @version 249.0.0
|
|
17764
18224
|
*//**
|
|
17765
18225
|
* Constructs a new SearchApi.
|
|
17766
18226
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -17924,7 +18384,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17924
18384
|
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(){/**
|
|
17925
18385
|
* Settings service.
|
|
17926
18386
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
17927
|
-
* @version
|
|
18387
|
+
* @version 249.0.0
|
|
17928
18388
|
*//**
|
|
17929
18389
|
* Constructs a new SettingsApi.
|
|
17930
18390
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -17996,7 +18456,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
17996
18456
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
17997
18457
|
* SocialMedia service.
|
|
17998
18458
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
17999
|
-
* @version
|
|
18459
|
+
* @version 249.0.0
|
|
18000
18460
|
*//**
|
|
18001
18461
|
* Constructs a new SocialMediaApi.
|
|
18002
18462
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -18485,7 +18945,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18485
18945
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
18486
18946
|
* SpeechTextAnalytics service.
|
|
18487
18947
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
18488
|
-
* @version
|
|
18948
|
+
* @version 249.0.0
|
|
18489
18949
|
*//**
|
|
18490
18950
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
18491
18951
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -18864,7 +19324,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
18864
19324
|
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(){/**
|
|
18865
19325
|
* Stations service.
|
|
18866
19326
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
18867
|
-
* @version
|
|
19327
|
+
* @version 249.0.0
|
|
18868
19328
|
*//**
|
|
18869
19329
|
* Constructs a new StationsApi.
|
|
18870
19330
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -18896,7 +19356,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
18896
19356
|
*/},{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(){/**
|
|
18897
19357
|
* Suggest service.
|
|
18898
19358
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
18899
|
-
* @version
|
|
19359
|
+
* @version 249.0.0
|
|
18900
19360
|
*//**
|
|
18901
19361
|
* Constructs a new SuggestApi.
|
|
18902
19362
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -18936,7 +19396,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18936
19396
|
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(){/**
|
|
18937
19397
|
* TaskManagement service.
|
|
18938
19398
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
18939
|
-
* @version
|
|
19399
|
+
* @version 249.0.0
|
|
18940
19400
|
*//**
|
|
18941
19401
|
* Constructs a new TaskManagementApi.
|
|
18942
19402
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19382,9 +19842,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19382
19842
|
*/},{key:"postTaskmanagementWorkitemsBulkTerminateJobs",value:function postTaskmanagementWorkitemsBulkTerminateJobs(body){// verify the required parameter 'body' is set
|
|
19383
19843
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsBulkTerminateJobs';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/bulk/terminate/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19384
19844
|
* Query for workitems
|
|
19385
|
-
* This query requires at least one EQ filter on the workbinId, assigneeId or typeId attributes.
|
|
19845
|
+
* This query requires at least one EQ filter on the workbinId, assigneeId, queueId or typeId attributes. A maximum of three filters are allowed.
|
|
19386
19846
|
* @param {Object} body WorkitemQueryPostRequest
|
|
19387
|
-
* postTaskmanagementWorkitemsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19388
19847
|
*/},{key:"postTaskmanagementWorkitemsQuery",value:function postTaskmanagementWorkitemsQuery(body){// verify the required parameter 'body' is set
|
|
19389
19848
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQuery';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19390
19849
|
* Create a workitem query job
|
|
@@ -19444,7 +19903,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
19444
19903
|
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(){/**
|
|
19445
19904
|
* Teams service.
|
|
19446
19905
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19447
|
-
* @version
|
|
19906
|
+
* @version 249.0.0
|
|
19448
19907
|
*//**
|
|
19449
19908
|
* Constructs a new TeamsApi.
|
|
19450
19909
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19524,7 +19983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19524
19983
|
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(){/**
|
|
19525
19984
|
* Telephony service.
|
|
19526
19985
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19527
|
-
* @version
|
|
19986
|
+
* @version 249.0.0
|
|
19528
19987
|
*//**
|
|
19529
19988
|
* Constructs a new TelephonyApi.
|
|
19530
19989
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -19548,6 +20007,9 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
19548
20007
|
* Retrieve the list of AWS regions media can stream through.
|
|
19549
20008
|
*
|
|
19550
20009
|
*/},{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(){return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20010
|
+
* Get the global telephony configuration.
|
|
20011
|
+
*
|
|
20012
|
+
*/},{key:"getTelephonySettings",value:function getTelephonySettings(){return this.apiClient.callApi('/api/v2/telephony/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19551
20013
|
* Get a SIP message.
|
|
19552
20014
|
* Get the raw form of the SIP message
|
|
19553
20015
|
* @param {String} conversationId Conversation id
|
|
@@ -19593,10 +20055,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19593
20055
|
*
|
|
19594
20056
|
* @param {Object} body Agent Greeting
|
|
19595
20057
|
*/},{key:"putTelephonyAgentsGreetingsMe",value:function putTelephonyAgentsGreetingsMe(body){// verify the required parameter 'body' is set
|
|
19596
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
20058
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20059
|
+
* Update the global telephony configuration.
|
|
20060
|
+
*
|
|
20061
|
+
* @param {Object} body Telephony
|
|
20062
|
+
*/},{key:"putTelephonySettings",value:function putTelephonySettings(body){// verify the required parameter 'body' is set
|
|
20063
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
19597
20064
|
* TelephonyProvidersEdge service.
|
|
19598
20065
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
19599
|
-
* @version
|
|
20066
|
+
* @version 249.0.0
|
|
19600
20067
|
*//**
|
|
19601
20068
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
19602
20069
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20444,7 +20911,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
20444
20911
|
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(){/**
|
|
20445
20912
|
* Textbots service.
|
|
20446
20913
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20447
|
-
* @version
|
|
20914
|
+
* @version 249.0.0
|
|
20448
20915
|
*//**
|
|
20449
20916
|
* Constructs a new TextbotsApi.
|
|
20450
20917
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20480,7 +20947,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20480
20947
|
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(){/**
|
|
20481
20948
|
* Tokens service.
|
|
20482
20949
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20483
|
-
* @version
|
|
20950
|
+
* @version 249.0.0
|
|
20484
20951
|
*//**
|
|
20485
20952
|
* Constructs a new TokensApi.
|
|
20486
20953
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20514,7 +20981,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
20514
20981
|
*/},{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(){/**
|
|
20515
20982
|
* Uploads service.
|
|
20516
20983
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20517
|
-
* @version
|
|
20984
|
+
* @version 249.0.0
|
|
20518
20985
|
*//**
|
|
20519
20986
|
* Constructs a new UploadsApi.
|
|
20520
20987
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20587,7 +21054,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20587
21054
|
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(){/**
|
|
20588
21055
|
* Usage service.
|
|
20589
21056
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20590
|
-
* @version
|
|
21057
|
+
* @version 249.0.0
|
|
20591
21058
|
*//**
|
|
20592
21059
|
* Constructs a new UsageApi.
|
|
20593
21060
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -20671,7 +21138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20671
21138
|
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(){/**
|
|
20672
21139
|
* UserRecordings service.
|
|
20673
21140
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
20674
|
-
* @version
|
|
21141
|
+
* @version 249.0.0
|
|
20675
21142
|
*//**
|
|
20676
21143
|
* Constructs a new UserRecordingsApi.
|
|
20677
21144
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -20719,7 +21186,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
20719
21186
|
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(){/**
|
|
20720
21187
|
* Users service.
|
|
20721
21188
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
20722
|
-
* @version
|
|
21189
|
+
* @version 249.0.0
|
|
20723
21190
|
*//**
|
|
20724
21191
|
* Constructs a new UsersApi.
|
|
20725
21192
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21569,7 +22036,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
21569
22036
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
21570
22037
|
* UsersRules service.
|
|
21571
22038
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
21572
|
-
* @version
|
|
22039
|
+
* @version 249.0.0
|
|
21573
22040
|
*//**
|
|
21574
22041
|
* Constructs a new UsersRulesApi.
|
|
21575
22042
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -21644,7 +22111,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21644
22111
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
21645
22112
|
* Utilities service.
|
|
21646
22113
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21647
|
-
* @version
|
|
22114
|
+
* @version 249.0.0
|
|
21648
22115
|
*//**
|
|
21649
22116
|
* Constructs a new UtilitiesApi.
|
|
21650
22117
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21671,7 +22138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21671
22138
|
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(){/**
|
|
21672
22139
|
* Voicemail service.
|
|
21673
22140
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21674
|
-
* @version
|
|
22141
|
+
* @version 249.0.0
|
|
21675
22142
|
*//**
|
|
21676
22143
|
* Constructs a new VoicemailApi.
|
|
21677
22144
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21833,7 +22300,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
21833
22300
|
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(){/**
|
|
21834
22301
|
* WebChat service.
|
|
21835
22302
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21836
|
-
* @version
|
|
22303
|
+
* @version 249.0.0
|
|
21837
22304
|
*//**
|
|
21838
22305
|
* Constructs a new WebChatApi.
|
|
21839
22306
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -21980,7 +22447,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21980
22447
|
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(){/**
|
|
21981
22448
|
* WebDeployments service.
|
|
21982
22449
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
21983
|
-
* @version
|
|
22450
|
+
* @version 249.0.0
|
|
21984
22451
|
*//**
|
|
21985
22452
|
* Constructs a new WebDeploymentsApi.
|
|
21986
22453
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22123,7 +22590,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
22123
22590
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22124
22591
|
* WebMessaging service.
|
|
22125
22592
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22126
|
-
* @version
|
|
22593
|
+
* @version 249.0.0
|
|
22127
22594
|
*//**
|
|
22128
22595
|
* Constructs a new WebMessagingApi.
|
|
22129
22596
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22164,7 +22631,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
22164
22631
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22165
22632
|
* Widgets service.
|
|
22166
22633
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22167
|
-
* @version
|
|
22634
|
+
* @version 249.0.0
|
|
22168
22635
|
*//**
|
|
22169
22636
|
* Constructs a new WidgetsApi.
|
|
22170
22637
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22204,7 +22671,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
22204
22671
|
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(){/**
|
|
22205
22672
|
* WorkforceManagement service.
|
|
22206
22673
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22207
|
-
* @version
|
|
22674
|
+
* @version 249.0.0
|
|
22208
22675
|
*//**
|
|
22209
22676
|
* Constructs a new WorkforceManagementApi.
|
|
22210
22677
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -22503,9 +22970,11 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
22503
22970
|
*
|
|
22504
22971
|
* @param {String} businessUnitId The ID of the business unit
|
|
22505
22972
|
* @param {String} capacityPlanId The ID of the capacity plan
|
|
22506
|
-
|
|
22973
|
+
* @param {Object} opts Optional parameters
|
|
22974
|
+
* @param {Object} opts.granularity Granularity to access staffing group data, defaults to weekly
|
|
22975
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations",value:function getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations(businessUnitId,capacityPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22507
22976
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}// verify the required parameter 'capacityPlanId' is set
|
|
22508
|
-
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22977
|
+
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling getWorkforcemanagementBusinessunitCapacityplanStaffinggroupallocations';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}/staffinggroupallocations','GET',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22509
22978
|
* Get a capacity plan's staffing requirements
|
|
22510
22979
|
*
|
|
22511
22980
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -22518,10 +22987,12 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
22518
22987
|
* @param {String} businessUnitId
|
|
22519
22988
|
* @param {String} weekDateId weekDateId of forecast, format yyyy-MM-dd. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
22520
22989
|
* @param {String} forecastId forecastId of forecast
|
|
22521
|
-
|
|
22990
|
+
* @param {Object} opts Optional parameters
|
|
22991
|
+
* @param {Object} opts.granularity Granularity to access staffing requirements data, defaults to weekly
|
|
22992
|
+
*/},{key:"getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast",value:function getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast(businessUnitId,weekDateId,forecastId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22522
22993
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'weekDateId' is set
|
|
22523
22994
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}// verify the required parameter 'forecastId' is set
|
|
22524
|
-
if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22995
|
+
if(forecastId===undefined||forecastId===null||forecastId===''){throw'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitCapacityplanningLongtermrequirementsAutomaticbestmethodWeekForecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplanning/longtermrequirements/automaticbestmethod/weeks/{weekDateId}/forecasts/{forecastId}','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{'granularity':opts['granularity']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22525
22996
|
* Get list of capacity plans for a business unit
|
|
22526
22997
|
*
|
|
22527
22998
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -22566,6 +23037,11 @@ if(snapshotId===undefined||snapshotId===null||snapshotId===''){throw'Missing the
|
|
|
22566
23037
|
* @param {String} opts.divisionId If specified, the list of management units belonging to the specified division will be returned
|
|
22567
23038
|
*/},{key:"getWorkforcemanagementBusinessunitManagementunits",value:function getWorkforcemanagementBusinessunitManagementunits(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22568
23039
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/managementunits','GET',{'businessUnitId':businessUnitId},{'feature':opts['feature'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23040
|
+
* Get minimum staffing settings for a business unit
|
|
23041
|
+
*
|
|
23042
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23043
|
+
*/},{key:"getWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function getWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23044
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22569
23045
|
* Get a planning group
|
|
22570
23046
|
*
|
|
22571
23047
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -22578,6 +23054,11 @@ if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){th
|
|
|
22578
23054
|
* @param {String} businessUnitId The ID of the business unit.
|
|
22579
23055
|
*/},{key:"getWorkforcemanagementBusinessunitPlanninggroups",value:function getWorkforcemanagementBusinessunitPlanninggroups(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
22580
23056
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23057
|
+
* Get scheduler settings for a business unit
|
|
23058
|
+
*
|
|
23059
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23060
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulerSettings",value:function getWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23061
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22581
23062
|
* Get a scheduling run
|
|
22582
23063
|
*
|
|
22583
23064
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -22661,6 +23142,13 @@ if(timeOffPlanId===undefined||timeOffPlanId===null||timeOffPlanId===''){throw'Mi
|
|
|
22661
23142
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
22662
23143
|
*/},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
22663
23144
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23145
|
+
* Get users in the business unit
|
|
23146
|
+
*
|
|
23147
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23148
|
+
* @param {Object} opts Optional parameters
|
|
23149
|
+
* @param {Array.<String>} opts.managementUnitIds The IDs of the management units for which to retrieve users
|
|
23150
|
+
*/},{key:"getWorkforcemanagementBusinessunitUsers",value:function getWorkforcemanagementBusinessunitUsers(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
23151
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitUsers';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/users','GET',{'businessUnitId':businessUnitId},{'managementUnitIds':this.apiClient.buildCollectionParam(opts['managementUnitIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22664
23152
|
* Get the metadata for the schedule, describing which management units and agents are in the scheduleSchedule data can then be loaded with the query route
|
|
22665
23153
|
*
|
|
22666
23154
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -23195,6 +23683,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23195
23683
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'capacityPlanId' is set
|
|
23196
23684
|
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'body' is set
|
|
23197
23685
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitCapacityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}','PATCH',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23686
|
+
* Update minimum staffing settings for a business unit
|
|
23687
|
+
*
|
|
23688
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23689
|
+
* @param {Object} body body
|
|
23690
|
+
*/},{key:"patchWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function patchWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
23691
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}// verify the required parameter 'body' is set
|
|
23692
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23198
23693
|
* Updates the planning group
|
|
23199
23694
|
*
|
|
23200
23695
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -23204,6 +23699,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23204
23699
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'planningGroupId' is set
|
|
23205
23700
|
if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'body' is set
|
|
23206
23701
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}','PATCH',{'businessUnitId':businessUnitId,'planningGroupId':planningGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23702
|
+
* Update scheduler settings for a business unit
|
|
23703
|
+
*
|
|
23704
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23705
|
+
* @param {Object} body body
|
|
23706
|
+
*/},{key:"patchWorkforcemanagementBusinessunitSchedulerSettings",value:function patchWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
23707
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}// verify the required parameter 'body' is set
|
|
23708
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23207
23709
|
* Mark a schedule run as applied
|
|
23208
23710
|
*
|
|
23209
23711
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -24227,7 +24729,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24227
24729
|
* </pre>
|
|
24228
24730
|
* </p>
|
|
24229
24731
|
* @module purecloud-platform-client-v2/index
|
|
24230
|
-
* @version
|
|
24732
|
+
* @version 249.0.0
|
|
24231
24733
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24232
24734
|
* The ApiClient constructor.
|
|
24233
24735
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -24277,6 +24779,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24277
24779
|
* The CarrierServicesApi service constructor.
|
|
24278
24780
|
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
24279
24781
|
*/this.CarrierServicesApi=CarrierServicesApi;/**
|
|
24782
|
+
* The CaseManagementApi service constructor.
|
|
24783
|
+
* @property {module:purecloud-platform-client-v2/api/CaseManagementApi}
|
|
24784
|
+
*/this.CaseManagementApi=CaseManagementApi;/**
|
|
24280
24785
|
* The ChatApi service constructor.
|
|
24281
24786
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|
|
24282
24787
|
*/this.ChatApi=ChatApi;/**
|