purecloud-platform-client-v2 248.0.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 +2010 -100
- package/dist/web-amd/purecloud-platform-client-v2.js +2010 -100
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +602 -105
- package/dist/web-cjs/purecloud-platform-client-v2.js +602 -105
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1061 -82
- 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 +8 -4
- 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 +477 -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 +1 -1
- 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 +140 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5683,7 +5683,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
|
|
|
5683
5683
|
}).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
5684
5684
|
},{"process/browser.js":43,"timers":53}],"platformClient":[function(require,module,exports){
|
|
5685
5685
|
(function (global,Buffer,setImmediate){(function (){
|
|
5686
|
-
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
|
|
5686
|
+
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&_setPrototypeOf(p,r.prototype),p;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value;}settle(!!r.done,n);},function(e){resume("throw",e);});}catch(e){settle(2,e);}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null;}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
|
|
5687
5687
|
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
5688
5688
|
function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
|
|
5689
5689
|
return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
|
|
@@ -6699,7 +6699,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6699
6699
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6700
6700
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6701
6701
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6702
|
-
* @version
|
|
6702
|
+
* @version 249.0.0
|
|
6703
6703
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6704
6704
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6705
6705
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -7065,7 +7065,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
7065
7065
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
|
|
7066
7066
|
* AIStudio service.
|
|
7067
7067
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
7068
|
-
* @version
|
|
7068
|
+
* @version 249.0.0
|
|
7069
7069
|
*//**
|
|
7070
7070
|
* Constructs a new AIStudioApi.
|
|
7071
7071
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7217,7 +7217,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7217
7217
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
7218
7218
|
* AgentAssistants service.
|
|
7219
7219
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7220
|
-
* @version
|
|
7220
|
+
* @version 249.0.0
|
|
7221
7221
|
*//**
|
|
7222
7222
|
* Constructs a new AgentAssistantsApi.
|
|
7223
7223
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7404,7 +7404,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
7404
7404
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
7405
7405
|
* AgentCopilot service.
|
|
7406
7406
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7407
|
-
* @version
|
|
7407
|
+
* @version 249.0.0
|
|
7408
7408
|
*//**
|
|
7409
7409
|
* Constructs a new AgentCopilotApi.
|
|
7410
7410
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7431,7 +7431,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7431
7431
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
7432
7432
|
* AgentUI service.
|
|
7433
7433
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7434
|
-
* @version
|
|
7434
|
+
* @version 249.0.0
|
|
7435
7435
|
*//**
|
|
7436
7436
|
* Constructs a new AgentUIApi.
|
|
7437
7437
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7465,7 +7465,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7465
7465
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
7466
7466
|
* Alerting service.
|
|
7467
7467
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7468
|
-
* @version
|
|
7468
|
+
* @version 249.0.0
|
|
7469
7469
|
*//**
|
|
7470
7470
|
* Constructs a new AlertingApi.
|
|
7471
7471
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7554,7 +7554,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7554
7554
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
7555
7555
|
* Analytics service.
|
|
7556
7556
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7557
|
-
* @version
|
|
7557
|
+
* @version 249.0.0
|
|
7558
7558
|
*//**
|
|
7559
7559
|
* Constructs a new AnalyticsApi.
|
|
7560
7560
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8373,7 +8373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8373
8373
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
8374
8374
|
* Architect service.
|
|
8375
8375
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8376
|
-
* @version
|
|
8376
|
+
* @version 249.0.0
|
|
8377
8377
|
*//**
|
|
8378
8378
|
* Constructs a new ArchitectApi.
|
|
8379
8379
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9507,7 +9507,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9507
9507
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
9508
9508
|
* AssistantCopilotVariations service.
|
|
9509
9509
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
9510
|
-
* @version
|
|
9510
|
+
* @version 249.0.0
|
|
9511
9511
|
*//**
|
|
9512
9512
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
9513
9513
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -9552,7 +9552,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
9552
9552
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
9553
9553
|
* Audit service.
|
|
9554
9554
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9555
|
-
* @version
|
|
9555
|
+
* @version 249.0.0
|
|
9556
9556
|
*//**
|
|
9557
9557
|
* Constructs a new AuditApi.
|
|
9558
9558
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9602,7 +9602,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9602
9602
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
9603
9603
|
* Authorization service.
|
|
9604
9604
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9605
|
-
* @version
|
|
9605
|
+
* @version 249.0.0
|
|
9606
9606
|
*//**
|
|
9607
9607
|
* Constructs a new AuthorizationApi.
|
|
9608
9608
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -10030,7 +10030,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
10030
10030
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
10031
10031
|
* BackgroundAssistant service.
|
|
10032
10032
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
10033
|
-
* @version
|
|
10033
|
+
* @version 249.0.0
|
|
10034
10034
|
*//**
|
|
10035
10035
|
* Constructs a new BackgroundAssistantApi.
|
|
10036
10036
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -10051,7 +10051,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10051
10051
|
*/},{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
10052
10052
|
* Billing service.
|
|
10053
10053
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10054
|
-
* @version
|
|
10054
|
+
* @version 249.0.0
|
|
10055
10055
|
*//**
|
|
10056
10056
|
* Constructs a new BillingApi.
|
|
10057
10057
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -10128,7 +10128,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
10128
10128
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
10129
10129
|
* BusinessRules service.
|
|
10130
10130
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
10131
|
-
* @version
|
|
10131
|
+
* @version 249.0.0
|
|
10132
10132
|
*//**
|
|
10133
10133
|
* Constructs a new BusinessRulesApi.
|
|
10134
10134
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -10151,7 +10151,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
10151
10151
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
10152
10152
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10153
10153
|
* Delete a decision table row
|
|
10154
|
-
*
|
|
10154
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
10155
10155
|
* @param {String} tableId Table ID
|
|
10156
10156
|
* @param {Number} tableVersion Table Version
|
|
10157
10157
|
* @param {String} rowId Row ID
|
|
@@ -10239,7 +10239,7 @@ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missi
|
|
|
10239
10239
|
*
|
|
10240
10240
|
*/},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10241
10241
|
* Update a decision table
|
|
10242
|
-
*
|
|
10242
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
10243
10243
|
* @param {String} tableId Table ID
|
|
10244
10244
|
* @param {Object} body Decision Table
|
|
10245
10245
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
|
|
@@ -10280,7 +10280,7 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
10280
10280
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
|
|
10281
10281
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10282
10282
|
* Create a decision table row
|
|
10283
|
-
*
|
|
10283
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
10284
10284
|
* @param {String} tableId Table ID
|
|
10285
10285
|
* @param {Number} tableVersion Table Version
|
|
10286
10286
|
* @param {Object} body Create decision table row request
|
|
@@ -10313,7 +10313,7 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
10313
10313
|
*/},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
|
|
10314
10314
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10315
10315
|
* Create a decision table
|
|
10316
|
-
*
|
|
10316
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
10317
10317
|
* @param {Object} body Decision Table
|
|
10318
10318
|
*/},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
|
|
10319
10319
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10330,7 +10330,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10330
10330
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
|
|
10331
10331
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10332
10332
|
* Full update a decision table row
|
|
10333
|
-
*
|
|
10333
|
+
* Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
|
|
10334
10334
|
* @param {String} tableId Table ID
|
|
10335
10335
|
* @param {Number} tableVersion Table Version
|
|
10336
10336
|
* @param {String} rowId Row ID
|
|
@@ -10349,7 +10349,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
10349
10349
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
10350
10350
|
* CarrierServices service.
|
|
10351
10351
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10352
|
-
* @version
|
|
10352
|
+
* @version 249.0.0
|
|
10353
10353
|
*//**
|
|
10354
10354
|
* Constructs a new CarrierServicesApi.
|
|
10355
10355
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10366,10 +10366,316 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10366
10366
|
*
|
|
10367
10367
|
* @param {Object} opts Optional parameters
|
|
10368
10368
|
* @param {Object} opts.body
|
|
10369
|
-
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
10369
|
+
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
|
|
10370
|
+
* CaseManagement service.
|
|
10371
|
+
* @module purecloud-platform-client-v2/api/CaseManagementApi
|
|
10372
|
+
* @version 249.0.0
|
|
10373
|
+
*//**
|
|
10374
|
+
* Constructs a new CaseManagementApi.
|
|
10375
|
+
* @alias module:purecloud-platform-client-v2/api/CaseManagementApi
|
|
10376
|
+
* @class
|
|
10377
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
10378
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
10379
|
+
*/function CaseManagementApi(apiClient){_classCallCheck(this,CaseManagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
10380
|
+
* Delete a Case.
|
|
10381
|
+
*
|
|
10382
|
+
* @param {String} caseId Case ID
|
|
10383
|
+
* deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10384
|
+
*/return _createClass(CaseManagementApi,[{key:"deleteCasemanagementCase",value:function deleteCasemanagementCase(caseId){// verify the required parameter 'caseId' is set
|
|
10385
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling deleteCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','DELETE',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10386
|
+
* Delete a Caseplan.
|
|
10387
|
+
*
|
|
10388
|
+
* @param {String} caseplanId Caseplan ID
|
|
10389
|
+
* deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10390
|
+
*/},{key:"deleteCasemanagementCaseplan",value:function deleteCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
10391
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','DELETE',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10392
|
+
* Get a Case.
|
|
10393
|
+
*
|
|
10394
|
+
* @param {String} caseId Case ID
|
|
10395
|
+
* @param {Object} opts Optional parameters
|
|
10396
|
+
* @param {Object} opts.expands Which fields to expand.
|
|
10397
|
+
* getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10398
|
+
*/},{key:"getCasemanagementCase",value:function getCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
10399
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCase';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}','GET',{'caseId':caseId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10400
|
+
* Get a Case Association.
|
|
10401
|
+
*
|
|
10402
|
+
* @param {String} caseId Case ID
|
|
10403
|
+
* @param {String} associationId Case Association ID
|
|
10404
|
+
* getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10405
|
+
*/},{key:"getCasemanagementCaseAssociation",value:function getCasemanagementCaseAssociation(caseId,associationId){// verify the required parameter 'caseId' is set
|
|
10406
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';}// verify the required parameter 'associationId' is set
|
|
10407
|
+
if(associationId===undefined||associationId===null||associationId===''){throw'Missing the required parameter "associationId" when calling getCasemanagementCaseAssociation';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations/{associationId}','GET',{'caseId':caseId,'associationId':associationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10408
|
+
* Get a list of case associations for a provided case.
|
|
10409
|
+
*
|
|
10410
|
+
* @param {String} caseId Case ID.
|
|
10411
|
+
* @param {Object} opts Optional parameters
|
|
10412
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10413
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10414
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10415
|
+
* getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10416
|
+
*/},{key:"getCasemanagementCaseAssociations",value:function getCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
10417
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10418
|
+
* Get a Stage.
|
|
10419
|
+
*
|
|
10420
|
+
* @param {String} caseId Case ID
|
|
10421
|
+
* @param {String} stageId Stage ID
|
|
10422
|
+
* getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10423
|
+
*/},{key:"getCasemanagementCaseStage",value:function getCasemanagementCaseStage(caseId,stageId){// verify the required parameter 'caseId' is set
|
|
10424
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';}// verify the required parameter 'stageId' is set
|
|
10425
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStage';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}','GET',{'caseId':caseId,'stageId':stageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10426
|
+
* Get a Step.
|
|
10427
|
+
*
|
|
10428
|
+
* @param {String} caseId Case ID
|
|
10429
|
+
* @param {String} stageId Stage ID
|
|
10430
|
+
* @param {String} stepId Step ID
|
|
10431
|
+
* getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10432
|
+
*/},{key:"getCasemanagementCaseStageStep",value:function getCasemanagementCaseStageStep(caseId,stageId,stepId){// verify the required parameter 'caseId' is set
|
|
10433
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stageId' is set
|
|
10434
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stepId' is set
|
|
10435
|
+
if(stepId===undefined||stepId===null||stepId===''){throw'Missing the required parameter "stepId" when calling getCasemanagementCaseStageStep';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps/{stepId}','GET',{'caseId':caseId,'stageId':stageId,'stepId':stepId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10436
|
+
* Get a list of Steps.
|
|
10437
|
+
*
|
|
10438
|
+
* @param {String} caseId Case ID
|
|
10439
|
+
* @param {String} stageId Stage ID
|
|
10440
|
+
* @param {Object} opts Optional parameters
|
|
10441
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10442
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10443
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10444
|
+
* getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10445
|
+
*/},{key:"getCasemanagementCaseStageSteps",value:function getCasemanagementCaseStageSteps(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
10446
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';}// verify the required parameter 'stageId' is set
|
|
10447
|
+
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageSteps';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages/{stageId}/steps','GET',{'caseId':caseId,'stageId':stageId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10448
|
+
* Get a list of Stages.
|
|
10449
|
+
*
|
|
10450
|
+
* @param {String} caseId Case ID
|
|
10451
|
+
* @param {Object} opts Optional parameters
|
|
10452
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10453
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10454
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10455
|
+
* getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10456
|
+
*/},{key:"getCasemanagementCaseStages",value:function getCasemanagementCaseStages(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
10457
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStages';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/stages','GET',{'caseId':caseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10458
|
+
* Get a Terminate Job for a Case.
|
|
10459
|
+
*
|
|
10460
|
+
* @param {String} caseId Case ID
|
|
10461
|
+
* @param {String} jobId Job ID
|
|
10462
|
+
* getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10463
|
+
*/},{key:"getCasemanagementCaseTerminateJob",value:function getCasemanagementCaseTerminateJob(caseId,jobId){// verify the required parameter 'caseId' is set
|
|
10464
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';}// verify the required parameter 'jobId' is set
|
|
10465
|
+
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getCasemanagementCaseTerminateJob';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs/{jobId}','GET',{'caseId':caseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10466
|
+
* Get a Caseplan.
|
|
10467
|
+
*
|
|
10468
|
+
* @param {String} caseplanId Caseplan ID
|
|
10469
|
+
* getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10470
|
+
*/},{key:"getCasemanagementCaseplan",value:function getCasemanagementCaseplan(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
10471
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','GET',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10472
|
+
* Get a Caseplan version.
|
|
10473
|
+
*
|
|
10474
|
+
* @param {String} caseplanId Caseplan ID
|
|
10475
|
+
* @param {String} versionId Version of the caseplan
|
|
10476
|
+
* getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10477
|
+
*/},{key:"getCasemanagementCaseplanVersion",value:function getCasemanagementCaseplanVersion(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
10478
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';}// verify the required parameter 'versionId' is set
|
|
10479
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersion';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10480
|
+
* Get the dataSchemas for a caseplan version.
|
|
10481
|
+
*
|
|
10482
|
+
* @param {String} caseplanId Caseplan ID
|
|
10483
|
+
* @param {String} versionId Version of the caseplan
|
|
10484
|
+
* getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10485
|
+
*/},{key:"getCasemanagementCaseplanVersionDataschemas",value:function getCasemanagementCaseplanVersionDataschemas(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
10486
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';}// verify the required parameter 'versionId' is set
|
|
10487
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/dataschemas','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10488
|
+
* Get the intake settings for a Caseplan version.
|
|
10489
|
+
*
|
|
10490
|
+
* @param {String} caseplanId Caseplan ID
|
|
10491
|
+
* @param {String} versionId Version of the caseplan
|
|
10492
|
+
* getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10493
|
+
*/},{key:"getCasemanagementCaseplanVersionIntakesettings",value:function getCasemanagementCaseplanVersionIntakesettings(caseplanId,versionId){// verify the required parameter 'caseplanId' is set
|
|
10494
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';}// verify the required parameter 'versionId' is set
|
|
10495
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/intakesettings','GET',{'caseplanId':caseplanId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10496
|
+
* Get a Stageplan.
|
|
10497
|
+
*
|
|
10498
|
+
* @param {String} caseplanId Caseplan ID
|
|
10499
|
+
* @param {String} versionId Version ID
|
|
10500
|
+
* @param {String} stageplanId Stageplan ID
|
|
10501
|
+
* @param {Object} opts Optional parameters
|
|
10502
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
10503
|
+
* getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10504
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplan",value:function getCasemanagementCaseplanVersionStageplan(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
10505
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'versionId' is set
|
|
10506
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'stageplanId' is set
|
|
10507
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10508
|
+
* Get a Stepplan.
|
|
10509
|
+
*
|
|
10510
|
+
* @param {String} caseplanId Caseplan ID
|
|
10511
|
+
* @param {String} versionId Version ID
|
|
10512
|
+
* @param {String} stageplanId Stageplan ID
|
|
10513
|
+
* @param {String} stepplanId Stepplan ID
|
|
10514
|
+
* @param {Object} opts Optional parameters
|
|
10515
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
10516
|
+
* getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10517
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplan",value:function getCasemanagementCaseplanVersionStageplanStepplan(caseplanId,versionId,stageplanId,stepplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
10518
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'versionId' is set
|
|
10519
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
10520
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
10521
|
+
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans/{stepplanId}','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId,'stepplanId':stepplanId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10522
|
+
* Get a list of Stepplans.
|
|
10523
|
+
*
|
|
10524
|
+
* @param {String} caseplanId Caseplan ID
|
|
10525
|
+
* @param {String} versionId Version ID
|
|
10526
|
+
* @param {String} stageplanId Stageplan ID
|
|
10527
|
+
* @param {Object} opts Optional parameters
|
|
10528
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10529
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10530
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10531
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
10532
|
+
* getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10533
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplans",value:function getCasemanagementCaseplanVersionStageplanStepplans(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
10534
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'versionId' is set
|
|
10535
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'stageplanId' is set
|
|
10536
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans/{stageplanId}/stepplans','GET',{'caseplanId':caseplanId,'versionId':versionId,'stageplanId':stageplanId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10537
|
+
* Get a list of Stageplans.
|
|
10538
|
+
*
|
|
10539
|
+
* @param {String} caseplanId Caseplan ID
|
|
10540
|
+
* @param {String} versionId Version ID
|
|
10541
|
+
* @param {Object} opts Optional parameters
|
|
10542
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
10543
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
10544
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
10545
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
10546
|
+
* getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10547
|
+
*/},{key:"getCasemanagementCaseplanVersionStageplans",value:function getCasemanagementCaseplanVersionStageplans(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
10548
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';}// verify the required parameter 'versionId' is set
|
|
10549
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions/{versionId}/stageplans','GET',{'caseplanId':caseplanId,'versionId':versionId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10550
|
+
* Get a list of Caseplans.
|
|
10551
|
+
*
|
|
10552
|
+
* @param {Object} opts Optional parameters
|
|
10553
|
+
* @param {String} opts.after The cursor that points to the end of the set of caseplans that has been returned.
|
|
10554
|
+
* @param {Number} opts.pageSize Number of caseplans to return. Maximum of 200.
|
|
10555
|
+
* @param {String} opts.customerIntentId Filter by Customer Intent.
|
|
10556
|
+
* @param {String} opts.divisionIds Filter by Divisions.
|
|
10557
|
+
* getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10558
|
+
*/},{key:"getCasemanagementCaseplans",value:function getCasemanagementCaseplans(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/caseplans','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'customerIntentId':opts['customerIntentId'],'divisionIds':opts['divisionIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10559
|
+
* Get a list of cases for provided external contact id.
|
|
10560
|
+
*
|
|
10561
|
+
* @param {String} externalContactId External Contact ID
|
|
10562
|
+
* @param {Object} opts Optional parameters
|
|
10563
|
+
* @param {String} opts.after The cursor that points to the end of the set of cases that has been returned.
|
|
10564
|
+
* @param {Number} opts.pageSize Number of cases to return. Maximum of 200.
|
|
10565
|
+
* @param {String} opts.divisionIds Filter by Divisions
|
|
10566
|
+
* @param {Array.<String>} opts.expands Which fields to expand.
|
|
10567
|
+
* getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10568
|
+
*/},{key:"getCasemanagementCasesExternalcontact",value:function getCasemanagementCasesExternalcontact(externalContactId,opts){opts=opts||{};// verify the required parameter 'externalContactId' is set
|
|
10569
|
+
if(externalContactId===undefined||externalContactId===null||externalContactId===''){throw'Missing the required parameter "externalContactId" when calling getCasemanagementCasesExternalcontact';}return this.apiClient.callApi('/api/v2/casemanagement/cases/externalcontacts/{externalContactId}','GET',{'externalContactId':externalContactId},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':opts['divisionIds'],'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10570
|
+
* Get a Case by reference.
|
|
10571
|
+
*
|
|
10572
|
+
* @param {String} referenceId Reference
|
|
10573
|
+
* @param {Object} opts Optional parameters
|
|
10574
|
+
* @param {Object} opts.expands Which fields to expand.
|
|
10575
|
+
* getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10576
|
+
*/},{key:"getCasemanagementCasesReference",value:function getCasemanagementCasesReference(referenceId,opts){opts=opts||{};// verify the required parameter 'referenceId' is set
|
|
10577
|
+
if(referenceId===undefined||referenceId===null||referenceId===''){throw'Missing the required parameter "referenceId" when calling getCasemanagementCasesReference';}return this.apiClient.callApi('/api/v2/casemanagement/cases/references/{referenceId}','GET',{'referenceId':referenceId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10578
|
+
* Update date due of a Case.
|
|
10579
|
+
*
|
|
10580
|
+
* @param {String} caseId Case ID
|
|
10581
|
+
* @param {Object} body Date due
|
|
10582
|
+
* patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10583
|
+
*/},{key:"patchCasemanagementCaseDatedue",value:function patchCasemanagementCaseDatedue(caseId,body){// verify the required parameter 'caseId' is set
|
|
10584
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';}// verify the required parameter 'body' is set
|
|
10585
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseDatedue';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/datedue','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10586
|
+
* Update priority of a Case.
|
|
10587
|
+
*
|
|
10588
|
+
* @param {String} caseId Case ID
|
|
10589
|
+
* @param {Object} body Priority
|
|
10590
|
+
* patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10591
|
+
*/},{key:"patchCasemanagementCasePriority",value:function patchCasemanagementCasePriority(caseId,body){// verify the required parameter 'caseId' is set
|
|
10592
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';}// verify the required parameter 'body' is set
|
|
10593
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCasePriority';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/priority','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10594
|
+
* Update summary of a Case.
|
|
10595
|
+
*
|
|
10596
|
+
* @param {String} caseId Case ID
|
|
10597
|
+
* @param {Object} body Summary
|
|
10598
|
+
* patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10599
|
+
*/},{key:"patchCasemanagementCaseSummary",value:function patchCasemanagementCaseSummary(caseId,body){// verify the required parameter 'caseId' is set
|
|
10600
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';}// verify the required parameter 'body' is set
|
|
10601
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseSummary';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/summary','PATCH',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10602
|
+
* Update the attributes of a Caseplan.
|
|
10603
|
+
*
|
|
10604
|
+
* @param {String} caseplanId Caseplan ID
|
|
10605
|
+
* @param {Object} body Caseplan
|
|
10606
|
+
* patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10607
|
+
*/},{key:"patchCasemanagementCaseplan",value:function patchCasemanagementCaseplan(caseplanId,body){// verify the required parameter 'caseplanId' is set
|
|
10608
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';}// verify the required parameter 'body' is set
|
|
10609
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}','PATCH',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10610
|
+
* Update the attributes of a Stageplan.
|
|
10611
|
+
*
|
|
10612
|
+
* @param {String} caseplanId Caseplan ID
|
|
10613
|
+
* @param {String} stageplanId Stageplan ID
|
|
10614
|
+
* @param {Object} body Stageplan
|
|
10615
|
+
* patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10616
|
+
*/},{key:"patchCasemanagementCaseplanStageplan",value:function patchCasemanagementCaseplanStageplan(caseplanId,stageplanId,body){// verify the required parameter 'caseplanId' is set
|
|
10617
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'stageplanId' is set
|
|
10618
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'body' is set
|
|
10619
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10620
|
+
* Update the attributes of a Stepplan.
|
|
10621
|
+
*
|
|
10622
|
+
* @param {String} caseplanId Caseplan ID
|
|
10623
|
+
* @param {String} stageplanId Stageplan ID
|
|
10624
|
+
* @param {String} stepplanId Stepplan ID
|
|
10625
|
+
* @param {Object} body Stepplan
|
|
10626
|
+
* patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10627
|
+
*/},{key:"patchCasemanagementCaseplanStageplanStepplan",value:function patchCasemanagementCaseplanStageplanStepplan(caseplanId,stageplanId,stepplanId,body){// verify the required parameter 'caseplanId' is set
|
|
10628
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
10629
|
+
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
10630
|
+
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'body' is set
|
|
10631
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchCasemanagementCaseplanStageplanStepplan';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/stepplans/{stepplanId}','PATCH',{'caseplanId':caseplanId,'stageplanId':stageplanId,'stepplanId':stepplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10632
|
+
* Create a case association.
|
|
10633
|
+
*
|
|
10634
|
+
* @param {String} caseId Case ID.
|
|
10635
|
+
* @param {Object} opts Optional parameters
|
|
10636
|
+
* @param {Object} opts.body Case Association
|
|
10637
|
+
* postCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10638
|
+
*/},{key:"postCasemanagementCaseAssociations",value:function postCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
10639
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','POST',{'caseId':caseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10640
|
+
* Create a Terminate Job for a Case.
|
|
10641
|
+
*
|
|
10642
|
+
* @param {String} caseId Case ID
|
|
10643
|
+
* postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10644
|
+
*/},{key:"postCasemanagementCaseTerminateJobs",value:function postCasemanagementCaseTerminateJobs(caseId){// verify the required parameter 'caseId' is set
|
|
10645
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/terminate/jobs','POST',{'caseId':caseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10646
|
+
* Publish Caseplan.
|
|
10647
|
+
*
|
|
10648
|
+
* @param {String} caseplanId Caseplan ID
|
|
10649
|
+
* postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10650
|
+
*/},{key:"postCasemanagementCaseplanPublish",value:function postCasemanagementCaseplanPublish(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
10651
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/publish','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10652
|
+
* Create Caseplan version.
|
|
10653
|
+
*
|
|
10654
|
+
* @param {String} caseplanId Caseplan ID
|
|
10655
|
+
* postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10656
|
+
*/},{key:"postCasemanagementCaseplanVersions",value:function postCasemanagementCaseplanVersions(caseplanId){// verify the required parameter 'caseplanId' is set
|
|
10657
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/versions','POST',{'caseplanId':caseplanId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10658
|
+
* Create a Caseplan.
|
|
10659
|
+
*
|
|
10660
|
+
* @param {Object} body Caseplan
|
|
10661
|
+
* postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10662
|
+
*/},{key:"postCasemanagementCaseplans",value:function postCasemanagementCaseplans(body){// verify the required parameter 'body' is set
|
|
10663
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplans';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10664
|
+
* Create a Case.
|
|
10665
|
+
*
|
|
10666
|
+
* @param {Object} body Case
|
|
10667
|
+
* postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10668
|
+
*/},{key:"postCasemanagementCases",value:function postCasemanagementCases(body){// verify the required parameter 'body' is set
|
|
10669
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCases';}return this.apiClient.callApi('/api/v2/casemanagement/cases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10670
|
+
* Query for case associations
|
|
10671
|
+
*
|
|
10672
|
+
* @param {Object} opts Optional parameters
|
|
10673
|
+
* @param {Object} opts.body Case Association
|
|
10674
|
+
* postCasemanagementCasesAssociationsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10675
|
+
*/},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
10370
10676
|
* Chat service.
|
|
10371
10677
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10372
|
-
* @version
|
|
10678
|
+
* @version 249.0.0
|
|
10373
10679
|
*//**
|
|
10374
10680
|
* Constructs a new ChatApi.
|
|
10375
10681
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10600,7 +10906,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10600
10906
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
10601
10907
|
* Coaching service.
|
|
10602
10908
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10603
|
-
* @version
|
|
10909
|
+
* @version 249.0.0
|
|
10604
10910
|
*//**
|
|
10605
10911
|
* Constructs a new CoachingApi.
|
|
10606
10912
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10763,7 +11069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10763
11069
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
10764
11070
|
* ContentManagement service.
|
|
10765
11071
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10766
|
-
* @version
|
|
11072
|
+
* @version 249.0.0
|
|
10767
11073
|
*//**
|
|
10768
11074
|
* Constructs a new ContentManagementApi.
|
|
10769
11075
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -11045,7 +11351,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
11045
11351
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
11046
11352
|
* Conversations service.
|
|
11047
11353
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11048
|
-
* @version
|
|
11354
|
+
* @version 249.0.0
|
|
11049
11355
|
*//**
|
|
11050
11356
|
* Constructs a new ConversationsApi.
|
|
11051
11357
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11561,8 +11867,10 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
11561
11867
|
* Get conversation messages
|
|
11562
11868
|
*
|
|
11563
11869
|
* @param {String} conversationId conversationId
|
|
11564
|
-
|
|
11565
|
-
|
|
11870
|
+
* @param {Object} opts Optional parameters
|
|
11871
|
+
* @param {Boolean} opts.includeAgentlessStitchedMessages Whether to include Agentless 'api' type of messages, on stitched conversations. If you provide a conversationId in the agentless email request (/api/v2/conversations/emails/agentless) that matches an existing conversation, then that's a stitched agentless message. (default to false)
|
|
11872
|
+
*/},{key:"getConversationsEmailMessages",value:function getConversationsEmailMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11873
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/messages','GET',{'conversationId':conversationId},{'includeAgentlessStitchedMessages':opts['includeAgentlessStitchedMessages']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11566
11874
|
* Get conversation draft reply
|
|
11567
11875
|
*
|
|
11568
11876
|
* @param {String} conversationId conversationId
|
|
@@ -13348,7 +13656,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13348
13656
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13349
13657
|
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
13350
13658
|
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
13351
|
-
* @param {Object} body
|
|
13659
|
+
* @param {Object} body Reference to supported content profile
|
|
13352
13660
|
*/},{key:"putConversationsMessagingSupportedcontentDefault",value:function putConversationsMessagingSupportedcontentDefault(body){// verify the required parameter 'body' is set
|
|
13353
13661
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';}return this.apiClient.callApi('/api/v2/conversations/messaging/supportedcontent/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13354
13662
|
* Update conversation threading window timeline for each messaging type
|
|
@@ -13380,7 +13688,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
13380
13688
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
13381
13689
|
* DataExtensions service.
|
|
13382
13690
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13383
|
-
* @version
|
|
13691
|
+
* @version 249.0.0
|
|
13384
13692
|
*//**
|
|
13385
13693
|
* Constructs a new DataExtensionsApi.
|
|
13386
13694
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -13401,7 +13709,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
13401
13709
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
13402
13710
|
* DataPrivacy service.
|
|
13403
13711
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
13404
|
-
* @version
|
|
13712
|
+
* @version 249.0.0
|
|
13405
13713
|
*//**
|
|
13406
13714
|
* Constructs a new DataPrivacyApi.
|
|
13407
13715
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -13441,7 +13749,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13441
13749
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
13442
13750
|
* Downloads service.
|
|
13443
13751
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
13444
|
-
* @version
|
|
13752
|
+
* @version 249.0.0
|
|
13445
13753
|
*//**
|
|
13446
13754
|
* Constructs a new DownloadsApi.
|
|
13447
13755
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -13460,7 +13768,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13460
13768
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
13461
13769
|
* Emails service.
|
|
13462
13770
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
13463
|
-
* @version
|
|
13771
|
+
* @version 249.0.0
|
|
13464
13772
|
*//**
|
|
13465
13773
|
* Constructs a new EmailsApi.
|
|
13466
13774
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -13489,7 +13797,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
13489
13797
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
13490
13798
|
* EmployeeEngagement service.
|
|
13491
13799
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
13492
|
-
* @version
|
|
13800
|
+
* @version 249.0.0
|
|
13493
13801
|
*//**
|
|
13494
13802
|
* Constructs a new EmployeeEngagementApi.
|
|
13495
13803
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -13537,7 +13845,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13537
13845
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
13538
13846
|
* Events service.
|
|
13539
13847
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
13540
|
-
* @version
|
|
13848
|
+
* @version 249.0.0
|
|
13541
13849
|
*//**
|
|
13542
13850
|
* Constructs a new EventsApi.
|
|
13543
13851
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -13562,7 +13870,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13562
13870
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
13563
13871
|
* ExternalContacts service.
|
|
13564
13872
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13565
|
-
* @version
|
|
13873
|
+
* @version 249.0.0
|
|
13566
13874
|
*//**
|
|
13567
13875
|
* Constructs a new ExternalContactsApi.
|
|
13568
13876
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13959,6 +14267,13 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
13959
14267
|
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
13960
14268
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
13961
14269
|
*/},{key:"getExternalcontactsScanRelationshipsDivisionviewsAll",value:function getExternalcontactsScanRelationshipsDivisionviewsAll(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships/divisionviews/all','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14270
|
+
* Update specific fields of an external contact
|
|
14271
|
+
*
|
|
14272
|
+
* @param {String} contactId ExternalContact ID
|
|
14273
|
+
* @param {Object} body Contact fields to update
|
|
14274
|
+
*/},{key:"patchExternalcontactsContact",value:function patchExternalcontactsContact(contactId,body){// verify the required parameter 'contactId' is set
|
|
14275
|
+
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling patchExternalcontactsContact';}// verify the required parameter 'body' is set
|
|
14276
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchExternalcontactsContact';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}','PATCH',{'contactId':contactId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13962
14277
|
* Claim or release identifiers for a contact
|
|
13963
14278
|
*
|
|
13964
14279
|
* @param {String} contactId ExternalContact ID
|
|
@@ -14312,7 +14627,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
14312
14627
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
14313
14628
|
* Fax service.
|
|
14314
14629
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
14315
|
-
* @version
|
|
14630
|
+
* @version 249.0.0
|
|
14316
14631
|
*//**
|
|
14317
14632
|
* Constructs a new FaxApi.
|
|
14318
14633
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -14361,7 +14676,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14361
14676
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
14362
14677
|
* Flows service.
|
|
14363
14678
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
14364
|
-
* @version
|
|
14679
|
+
* @version 249.0.0
|
|
14365
14680
|
*//**
|
|
14366
14681
|
* Constructs a new FlowsApi.
|
|
14367
14682
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -14415,7 +14730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14415
14730
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
14416
14731
|
* Gamification service.
|
|
14417
14732
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
14418
|
-
* @version
|
|
14733
|
+
* @version 249.0.0
|
|
14419
14734
|
*//**
|
|
14420
14735
|
* Constructs a new GamificationApi.
|
|
14421
14736
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -15086,7 +15401,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15086
15401
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
15087
15402
|
* GeneralDataProtectionRegulation service.
|
|
15088
15403
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
15089
|
-
* @version
|
|
15404
|
+
* @version 249.0.0
|
|
15090
15405
|
*//**
|
|
15091
15406
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
15092
15407
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -15121,7 +15436,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
15121
15436
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
15122
15437
|
* Geolocation service.
|
|
15123
15438
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
15124
|
-
* @version
|
|
15439
|
+
* @version 249.0.0
|
|
15125
15440
|
*//**
|
|
15126
15441
|
* Constructs a new GeolocationApi.
|
|
15127
15442
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -15155,7 +15470,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
15155
15470
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
15156
15471
|
* Greetings service.
|
|
15157
15472
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
15158
|
-
* @version
|
|
15473
|
+
* @version 249.0.0
|
|
15159
15474
|
*//**
|
|
15160
15475
|
* Constructs a new GreetingsApi.
|
|
15161
15476
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -15283,7 +15598,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15283
15598
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
15284
15599
|
* Groups service.
|
|
15285
15600
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
15286
|
-
* @version
|
|
15601
|
+
* @version 249.0.0
|
|
15287
15602
|
*//**
|
|
15288
15603
|
* Constructs a new GroupsApi.
|
|
15289
15604
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -15416,7 +15731,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
15416
15731
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
15417
15732
|
* IdentityProvider service.
|
|
15418
15733
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15419
|
-
* @version
|
|
15734
|
+
* @version 249.0.0
|
|
15420
15735
|
*//**
|
|
15421
15736
|
* Constructs a new IdentityProviderApi.
|
|
15422
15737
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -15572,7 +15887,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15572
15887
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
15573
15888
|
* InfrastructureAsCode service.
|
|
15574
15889
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
15575
|
-
* @version
|
|
15890
|
+
* @version 249.0.0
|
|
15576
15891
|
*//**
|
|
15577
15892
|
* Constructs a new InfrastructureAsCodeApi.
|
|
15578
15893
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15626,7 +15941,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15626
15941
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
15627
15942
|
* Integrations service.
|
|
15628
15943
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15629
|
-
* @version
|
|
15944
|
+
* @version 249.0.0
|
|
15630
15945
|
*//**
|
|
15631
15946
|
* Constructs a new IntegrationsApi.
|
|
15632
15947
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -16318,7 +16633,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
16318
16633
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
16319
16634
|
* Intents service.
|
|
16320
16635
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
16321
|
-
* @version
|
|
16636
|
+
* @version 249.0.0
|
|
16322
16637
|
*//**
|
|
16323
16638
|
* Constructs a new IntentsApi.
|
|
16324
16639
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -16435,7 +16750,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16435
16750
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
16436
16751
|
* Journey service.
|
|
16437
16752
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
16438
|
-
* @version
|
|
16753
|
+
* @version 249.0.0
|
|
16439
16754
|
*//**
|
|
16440
16755
|
* Constructs a new JourneyApi.
|
|
16441
16756
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16944,7 +17259,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16944
17259
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
16945
17260
|
* Knowledge service.
|
|
16946
17261
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16947
|
-
* @version
|
|
17262
|
+
* @version 249.0.0
|
|
16948
17263
|
*//**
|
|
16949
17264
|
* Constructs a new KnowledgeApi.
|
|
16950
17265
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16952,10 +17267,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16952
17267
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16953
17268
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
16954
17269
|
*/function KnowledgeApi(apiClient){_classCallCheck(this,KnowledgeApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
17270
|
+
* Delete connection
|
|
17271
|
+
*
|
|
17272
|
+
* @param {String} connectionId Connection ID
|
|
17273
|
+
*/return _createClass(KnowledgeApi,[{key:"deleteKnowledgeConnection",value:function deleteKnowledgeConnection(connectionId){// verify the required parameter 'connectionId' is set
|
|
17274
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling deleteKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','DELETE',{'connectionId':connectionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16955
17275
|
* Delete knowledge base
|
|
16956
17276
|
*
|
|
16957
17277
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16958
|
-
*/
|
|
17278
|
+
*/},{key:"deleteKnowledgeKnowledgebase",value:function deleteKnowledgeKnowledgebase(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16959
17279
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebase';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}','DELETE',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16960
17280
|
* Delete category
|
|
16961
17281
|
*
|
|
@@ -17027,6 +17347,28 @@ if(syncJobId===undefined||syncJobId===null||syncJobId===''){throw'Missing the re
|
|
|
17027
17347
|
* @param {String} knowledgeSettingId Knowledge Setting ID.
|
|
17028
17348
|
*/},{key:"deleteKnowledgeSetting",value:function deleteKnowledgeSetting(knowledgeSettingId){// verify the required parameter 'knowledgeSettingId' is set
|
|
17029
17349
|
if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','DELETE',{'knowledgeSettingId':knowledgeSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17350
|
+
* Delete source
|
|
17351
|
+
*
|
|
17352
|
+
* @param {String} sourceId Source ID
|
|
17353
|
+
*/},{key:"deleteKnowledgeSource",value:function deleteKnowledgeSource(sourceId){// verify the required parameter 'sourceId' is set
|
|
17354
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17355
|
+
* Get connection
|
|
17356
|
+
*
|
|
17357
|
+
* @param {String} connectionId Connection ID
|
|
17358
|
+
* @param {Object} opts Optional parameters
|
|
17359
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
17360
|
+
*/},{key:"getKnowledgeConnection",value:function getKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
17361
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','GET',{'connectionId':connectionId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17362
|
+
* Get connection options
|
|
17363
|
+
*
|
|
17364
|
+
* @param {String} connectionId Connection ID
|
|
17365
|
+
* @param {Object} opts Optional parameters
|
|
17366
|
+
* @param {String} opts.parentId The id of the parent option whose children to be listed.
|
|
17367
|
+
*/},{key:"getKnowledgeConnectionOptions",value:function getKnowledgeConnectionOptions(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
17368
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling getKnowledgeConnectionOptions';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}/options','GET',{'connectionId':connectionId},{'parentId':opts['parentId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17369
|
+
* Get connections
|
|
17370
|
+
*
|
|
17371
|
+
*/},{key:"getKnowledgeConnections",value:function getKnowledgeConnections(){return this.apiClient.callApi('/api/v2/knowledge/connections','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17030
17372
|
* Get categories
|
|
17031
17373
|
*
|
|
17032
17374
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -17383,6 +17725,48 @@ if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId
|
|
|
17383
17725
|
* @param {Object} opts.sortBy Field to sort the knowledge settings on.
|
|
17384
17726
|
* @param {Object} opts.sortOrder Sorting order for knowledge settings.
|
|
17385
17727
|
*/},{key:"getKnowledgeSettings",value:function getKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'sourceId':opts['sourceId'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17728
|
+
* Get source
|
|
17729
|
+
*
|
|
17730
|
+
* @param {String} sourceId Source ID
|
|
17731
|
+
* @param {Object} opts Optional parameters
|
|
17732
|
+
* @param {Array.<String>} opts.expand Optional fields to expand for the Source.
|
|
17733
|
+
*/},{key:"getKnowledgeSource",value:function getKnowledgeSource(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
17734
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','GET',{'sourceId':sourceId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17735
|
+
* Get a specific synchronization of a source.
|
|
17736
|
+
*
|
|
17737
|
+
* @param {String} sourceId Source ID
|
|
17738
|
+
* @param {String} synchronizationId Synchronization ID
|
|
17739
|
+
*/},{key:"getKnowledgeSourceSynchronization",value:function getKnowledgeSourceSynchronization(sourceId,synchronizationId){// verify the required parameter 'sourceId' is set
|
|
17740
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
|
|
17741
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','GET',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17742
|
+
* Get synchronizations of a source.
|
|
17743
|
+
*
|
|
17744
|
+
* @param {String} sourceId Source ID
|
|
17745
|
+
* @param {Object} opts Optional parameters
|
|
17746
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
17747
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17748
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17749
|
+
*/},{key:"getKnowledgeSourceSynchronizations",value:function getKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
17750
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','GET',{'sourceId':sourceId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17751
|
+
* List sources
|
|
17752
|
+
*
|
|
17753
|
+
* @param {Object} opts Optional parameters
|
|
17754
|
+
* @param {Array.<String>} opts.expand Optional fields to expand for the Source.
|
|
17755
|
+
*/},{key:"getKnowledgeSources",value:function getKnowledgeSources(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17756
|
+
* Get synchronizations of all sources of the organization.
|
|
17757
|
+
*
|
|
17758
|
+
* @param {Object} opts Optional parameters
|
|
17759
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
17760
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
17761
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
17762
|
+
*/},{key:"getKnowledgeSourcesSynchronizations",value:function getKnowledgeSourcesSynchronizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/sources/synchronizations','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17763
|
+
* Update connection
|
|
17764
|
+
*
|
|
17765
|
+
* @param {String} connectionId Connection ID
|
|
17766
|
+
* @param {Object} opts Optional parameters
|
|
17767
|
+
* @param {Object} opts.body
|
|
17768
|
+
*/},{key:"patchKnowledgeConnection",value:function patchKnowledgeConnection(connectionId,opts){opts=opts||{};// verify the required parameter 'connectionId' is set
|
|
17769
|
+
if(connectionId===undefined||connectionId===null||connectionId===''){throw'Missing the required parameter "connectionId" when calling patchKnowledgeConnection';}return this.apiClient.callApi('/api/v2/knowledge/connections/{connectionId}','PATCH',{'connectionId':connectionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17386
17770
|
* Update search result.
|
|
17387
17771
|
*
|
|
17388
17772
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -17511,6 +17895,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17511
17895
|
*/},{key:"patchKnowledgeSetting",value:function patchKnowledgeSetting(knowledgeSettingId,body){// verify the required parameter 'knowledgeSettingId' is set
|
|
17512
17896
|
if(knowledgeSettingId===undefined||knowledgeSettingId===null||knowledgeSettingId===''){throw'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';}// verify the required parameter 'body' is set
|
|
17513
17897
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSetting';}return this.apiClient.callApi('/api/v2/knowledge/settings/{knowledgeSettingId}','PATCH',{'knowledgeSettingId':knowledgeSettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17898
|
+
* Update synchronization.
|
|
17899
|
+
*
|
|
17900
|
+
* @param {String} sourceId Source ID
|
|
17901
|
+
* @param {String} synchronizationId Synchronization ID
|
|
17902
|
+
* @param {Object} body
|
|
17903
|
+
*/},{key:"patchKnowledgeSourceSynchronization",value:function patchKnowledgeSourceSynchronization(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
|
|
17904
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'synchronizationId' is set
|
|
17905
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling patchKnowledgeSourceSynchronization';}// verify the required parameter 'body' is set
|
|
17906
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeSourceSynchronization';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}','PATCH',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17907
|
+
* Create new connection
|
|
17908
|
+
*
|
|
17909
|
+
* @param {Object} body
|
|
17910
|
+
*/},{key:"postKnowledgeConnections",value:function postKnowledgeConnections(body){// verify the required parameter 'body' is set
|
|
17911
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeConnections';}return this.apiClient.callApi('/api/v2/knowledge/connections','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17514
17912
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
17515
17913
|
*
|
|
17516
17914
|
* @param {Object} body query
|
|
@@ -17804,6 +18202,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17804
18202
|
* @param {Object} opts Optional parameters
|
|
17805
18203
|
* @param {Object} opts.body
|
|
17806
18204
|
*/},{key:"postKnowledgeSettings",value:function postKnowledgeSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/knowledge/settings','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18205
|
+
* Create presigned URL for uploading a file in the synchronization.
|
|
18206
|
+
*
|
|
18207
|
+
* @param {String} sourceId Source ID
|
|
18208
|
+
* @param {String} synchronizationId Synchronization ID
|
|
18209
|
+
* @param {Object} body
|
|
18210
|
+
*/},{key:"postKnowledgeSourceSynchronizationUploads",value:function postKnowledgeSourceSynchronizationUploads(sourceId,synchronizationId,body){// verify the required parameter 'sourceId' is set
|
|
18211
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'synchronizationId' is set
|
|
18212
|
+
if(synchronizationId===undefined||synchronizationId===null||synchronizationId===''){throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationUploads';}// verify the required parameter 'body' is set
|
|
18213
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSourceSynchronizationUploads';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads','POST',{'sourceId':sourceId,'synchronizationId':synchronizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18214
|
+
* Start a manual synchronization from a source.
|
|
18215
|
+
*
|
|
18216
|
+
* @param {String} sourceId Source ID
|
|
18217
|
+
* @param {Object} opts Optional parameters
|
|
18218
|
+
* @param {Object} opts.body
|
|
18219
|
+
*/},{key:"postKnowledgeSourceSynchronizations",value:function postKnowledgeSourceSynchronizations(sourceId,opts){opts=opts||{};// verify the required parameter 'sourceId' is set
|
|
18220
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizations';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}/synchronizations','POST',{'sourceId':sourceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18221
|
+
* Create a new source
|
|
18222
|
+
*
|
|
18223
|
+
* @param {Object} body
|
|
18224
|
+
*/},{key:"postKnowledgeSources",value:function postKnowledgeSources(body){// verify the required parameter 'body' is set
|
|
18225
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeSources';}return this.apiClient.callApi('/api/v2/knowledge/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17807
18226
|
* Update Salesforce Knowledge integration source
|
|
17808
18227
|
*
|
|
17809
18228
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -17821,10 +18240,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17821
18240
|
*/},{key:"putKnowledgeKnowledgebaseSourcesServicenowSourceId",value:function putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId,sourceId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17822
18241
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'sourceId' is set
|
|
17823
18242
|
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}// verify the required parameter 'body' is set
|
|
17824
|
-
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']);}
|
|
18243
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18244
|
+
* Update the source
|
|
18245
|
+
*
|
|
18246
|
+
* @param {String} sourceId Source ID
|
|
18247
|
+
* @param {Object} body
|
|
18248
|
+
*/},{key:"putKnowledgeSource",value:function putKnowledgeSource(sourceId,body){// verify the required parameter 'sourceId' is set
|
|
18249
|
+
if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the required parameter "sourceId" when calling putKnowledgeSource';}// verify the required parameter 'body' is set
|
|
18250
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeSource';}return this.apiClient.callApi('/api/v2/knowledge/sources/{sourceId}','PUT',{'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
17825
18251
|
* LanguageUnderstanding service.
|
|
17826
18252
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17827
|
-
* @version
|
|
18253
|
+
* @version 249.0.0
|
|
17828
18254
|
*//**
|
|
17829
18255
|
* Constructs a new LanguageUnderstandingApi.
|
|
17830
18256
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -18133,7 +18559,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
18133
18559
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
18134
18560
|
* Languages service.
|
|
18135
18561
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
18136
|
-
* @version
|
|
18562
|
+
* @version 249.0.0
|
|
18137
18563
|
*//**
|
|
18138
18564
|
* Constructs a new LanguagesApi.
|
|
18139
18565
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -18188,7 +18614,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18188
18614
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
18189
18615
|
* Learning service.
|
|
18190
18616
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
18191
|
-
* @version
|
|
18617
|
+
* @version 249.0.0
|
|
18192
18618
|
*//**
|
|
18193
18619
|
* Constructs a new LearningApi.
|
|
18194
18620
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -18477,7 +18903,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
18477
18903
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
18478
18904
|
* License service.
|
|
18479
18905
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
18480
|
-
* @version
|
|
18906
|
+
* @version 249.0.0
|
|
18481
18907
|
*//**
|
|
18482
18908
|
* Constructs a new LicenseApi.
|
|
18483
18909
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -18514,6 +18940,12 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18514
18940
|
* @param {Object} opts Optional parameters
|
|
18515
18941
|
* @param {Array.<String>} opts.body The roleIds to use while inferring licenses
|
|
18516
18942
|
*/},{key:"postLicenseInfer",value:function postLicenseInfer(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18943
|
+
* Get a list of licenses inferred based on a list of permissions
|
|
18944
|
+
*
|
|
18945
|
+
* @param {Object} opts Optional parameters
|
|
18946
|
+
* @param {Array.<String>} opts.body The permissions to use while inferring licenses
|
|
18947
|
+
* postLicenseInferPermissions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18948
|
+
*/},{key:"postLicenseInferPermissions",value:function postLicenseInferPermissions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/infer/permissions','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18517
18949
|
* Update the organization's license assignments in a batch.
|
|
18518
18950
|
*
|
|
18519
18951
|
* @param {Object} opts Optional parameters
|
|
@@ -18531,7 +18963,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
18531
18963
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
18532
18964
|
* Locations service.
|
|
18533
18965
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
18534
|
-
* @version
|
|
18966
|
+
* @version 249.0.0
|
|
18535
18967
|
*//**
|
|
18536
18968
|
* Constructs a new LocationsApi.
|
|
18537
18969
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -18590,7 +19022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18590
19022
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
18591
19023
|
* LogCapture service.
|
|
18592
19024
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
18593
|
-
* @version
|
|
19025
|
+
* @version 249.0.0
|
|
18594
19026
|
*//**
|
|
18595
19027
|
* Constructs a new LogCaptureApi.
|
|
18596
19028
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -18639,7 +19071,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18639
19071
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
18640
19072
|
* Messaging service.
|
|
18641
19073
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
18642
|
-
* @version
|
|
19074
|
+
* @version 249.0.0
|
|
18643
19075
|
*//**
|
|
18644
19076
|
* Constructs a new MessagingApi.
|
|
18645
19077
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18729,7 +19161,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18729
19161
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
18730
19162
|
* MobileDevices service.
|
|
18731
19163
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18732
|
-
* @version
|
|
19164
|
+
* @version 249.0.0
|
|
18733
19165
|
*//**
|
|
18734
19166
|
* Constructs a new MobileDevicesApi.
|
|
18735
19167
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18768,7 +19200,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18768
19200
|
if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
18769
19201
|
* Notifications service.
|
|
18770
19202
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18771
|
-
* @version
|
|
19203
|
+
* @version 249.0.0
|
|
18772
19204
|
*//**
|
|
18773
19205
|
* Constructs a new NotificationsApi.
|
|
18774
19206
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18825,7 +19257,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18825
19257
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
18826
19258
|
* OAuth service.
|
|
18827
19259
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18828
|
-
* @version
|
|
19260
|
+
* @version 249.0.0
|
|
18829
19261
|
*//**
|
|
18830
19262
|
* Constructs a new OAuthApi.
|
|
18831
19263
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18910,7 +19342,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18910
19342
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
18911
19343
|
* Objects service.
|
|
18912
19344
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18913
|
-
* @version
|
|
19345
|
+
* @version 249.0.0
|
|
18914
19346
|
*//**
|
|
18915
19347
|
* Constructs a new ObjectsApi.
|
|
18916
19348
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18996,7 +19428,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18996
19428
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
18997
19429
|
* OperationalEvents service.
|
|
18998
19430
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18999
|
-
* @version
|
|
19431
|
+
* @version 249.0.0
|
|
19000
19432
|
*//**
|
|
19001
19433
|
* Constructs a new OperationalEventsApi.
|
|
19002
19434
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -19027,7 +19459,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
19027
19459
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
19028
19460
|
* Organization service.
|
|
19029
19461
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
19030
|
-
* @version
|
|
19462
|
+
* @version 249.0.0
|
|
19031
19463
|
*//**
|
|
19032
19464
|
* Constructs a new OrganizationApi.
|
|
19033
19465
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -19132,7 +19564,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19132
19564
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
19133
19565
|
* OrganizationAuthorization service.
|
|
19134
19566
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
19135
|
-
* @version
|
|
19567
|
+
* @version 249.0.0
|
|
19136
19568
|
*//**
|
|
19137
19569
|
* Constructs a new OrganizationAuthorizationApi.
|
|
19138
19570
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -19466,7 +19898,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
19466
19898
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
19467
19899
|
* Outbound service.
|
|
19468
19900
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
19469
|
-
* @version
|
|
19901
|
+
* @version 249.0.0
|
|
19470
19902
|
*//**
|
|
19471
19903
|
* Constructs a new OutboundApi.
|
|
19472
19904
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19516,7 +19948,7 @@ if(contactListId===undefined||contactListId===null||contactListId===''){throw'Mi
|
|
|
19516
19948
|
*/},{key:"deleteOutboundContactlistContact",value:function deleteOutboundContactlistContact(contactListId,contactId){// verify the required parameter 'contactListId' is set
|
|
19517
19949
|
if(contactListId===undefined||contactListId===null||contactListId===''){throw'Missing the required parameter "contactListId" when calling deleteOutboundContactlistContact';}// verify the required parameter 'contactId' is set
|
|
19518
19950
|
if(contactId===undefined||contactId===null||contactId===''){throw'Missing the required parameter "contactId" when calling deleteOutboundContactlistContact';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}','DELETE',{'contactListId':contactListId,'contactId':contactId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19519
|
-
* Delete contacts from a contact list.
|
|
19951
|
+
* Delete contacts from a contact list. Only contacts that are not in use by any campaign will be deleted
|
|
19520
19952
|
*
|
|
19521
19953
|
* @param {String} contactListId Contact List ID
|
|
19522
19954
|
* @param {Array.<String>} contactIds ContactIds to delete.
|
|
@@ -19928,6 +20360,15 @@ if(contactListTemplateId===undefined||contactListTemplateId===null||contactListT
|
|
|
19928
20360
|
* @param {String} opts.sortBy Sort by
|
|
19929
20361
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
19930
20362
|
*/},{key:"getOutboundContactlisttemplates",value:function getOutboundContactlisttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20363
|
+
* Get diagnostic summary for a single campaign
|
|
20364
|
+
*
|
|
20365
|
+
* @param {String} campaignId Campaign ID
|
|
20366
|
+
* @param {String} start Start datetime (ISO 8601 or Unix epoch)
|
|
20367
|
+
* @param {String} end End datetime (ISO 8601 or Unix epoch)
|
|
20368
|
+
*/},{key:"getOutboundDiagnosticsCampaignSummary",value:function getOutboundDiagnosticsCampaignSummary(campaignId,start,end){// verify the required parameter 'campaignId' is set
|
|
20369
|
+
if(campaignId===undefined||campaignId===null||campaignId===''){throw'Missing the required parameter "campaignId" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'start' is set
|
|
20370
|
+
if(start===undefined||start===null){throw'Missing the required parameter "start" when calling getOutboundDiagnosticsCampaignSummary';}// verify the required parameter 'end' is set
|
|
20371
|
+
if(end===undefined||end===null){throw'Missing the required parameter "end" when calling getOutboundDiagnosticsCampaignSummary';}return this.apiClient.callApi('/api/v2/outbound/diagnostics/campaigns/{campaignId}/summary','GET',{'campaignId':campaignId},{'start':start,'end':end},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19931
20372
|
* Get an Outbound Digital Rule Set
|
|
19932
20373
|
*
|
|
19933
20374
|
* @param {String} digitalRuleSetId The Digital Rule Set ID
|
|
@@ -20633,7 +21074,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20633
21074
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
20634
21075
|
* Presence service.
|
|
20635
21076
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
20636
|
-
* @version
|
|
21077
|
+
* @version 249.0.0
|
|
20637
21078
|
*//**
|
|
20638
21079
|
* Constructs a new PresenceApi.
|
|
20639
21080
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20806,7 +21247,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20806
21247
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
20807
21248
|
* ProcessAutomation service.
|
|
20808
21249
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20809
|
-
* @version
|
|
21250
|
+
* @version 249.0.0
|
|
20810
21251
|
*//**
|
|
20811
21252
|
* Constructs a new ProcessAutomationApi.
|
|
20812
21253
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20869,7 +21310,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20869
21310
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
20870
21311
|
* Quality service.
|
|
20871
21312
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20872
|
-
* @version
|
|
21313
|
+
* @version 249.0.0
|
|
20873
21314
|
*//**
|
|
20874
21315
|
* Constructs a new QualityApi.
|
|
20875
21316
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -21413,7 +21854,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
21413
21854
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
21414
21855
|
* Recording service.
|
|
21415
21856
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
21416
|
-
* @version
|
|
21857
|
+
* @version 249.0.0
|
|
21417
21858
|
*//**
|
|
21418
21859
|
* Constructs a new RecordingApi.
|
|
21419
21860
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21812,7 +22253,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21812
22253
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
21813
22254
|
* ResponseManagement service.
|
|
21814
22255
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21815
|
-
* @version
|
|
22256
|
+
* @version 249.0.0
|
|
21816
22257
|
*//**
|
|
21817
22258
|
* Constructs a new ResponseManagementApi.
|
|
21818
22259
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21884,6 +22325,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21884
22325
|
* @param {Object} body LibraryIDs (max allowed 50)
|
|
21885
22326
|
*/},{key:"postResponsemanagementLibrariesBulk",value:function postResponsemanagementLibrariesBulk(body){// verify the required parameter 'body' is set
|
|
21886
22327
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22328
|
+
* Query libraries using criteria. Users can set DivisionId parameter as '*' to fetch libraries that aren't associated with any divisions.
|
|
22329
|
+
*
|
|
22330
|
+
* @param {Object} body Query criteria
|
|
22331
|
+
* @param {Object} opts Optional parameters
|
|
22332
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
22333
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
22334
|
+
* postResponsemanagementLibrariesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22335
|
+
*/},{key:"postResponsemanagementLibrariesQuery",value:function postResponsemanagementLibrariesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
22336
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementLibrariesQuery';}return this.apiClient.callApi('/api/v2/responsemanagement/libraries/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22337
|
+
* Get response assets.
|
|
22338
|
+
*
|
|
22339
|
+
* @param {Object} body Asset IDs (max allowed 50)
|
|
22340
|
+
*/},{key:"postResponsemanagementResponseassetsBulk",value:function postResponsemanagementResponseassetsBulk(body){// verify the required parameter 'body' is set
|
|
22341
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21887
22342
|
* Search response assets
|
|
21888
22343
|
*
|
|
21889
22344
|
* @param {Object} body request
|
|
@@ -21933,7 +22388,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21933
22388
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
21934
22389
|
* Routing service.
|
|
21935
22390
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21936
|
-
* @version
|
|
22391
|
+
* @version 249.0.0
|
|
21937
22392
|
*//**
|
|
21938
22393
|
* Constructs a new RoutingApi.
|
|
21939
22394
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -22480,14 +22935,14 @@ if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the requir
|
|
|
22480
22935
|
*/},{key:"getRoutingSmsIdentityresolutionPhonenumber",value:function getRoutingSmsIdentityresolutionPhonenumber(addressId){// verify the required parameter 'addressId' is set
|
|
22481
22936
|
if(addressId===undefined||addressId===null||addressId===''){throw'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}','GET',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22482
22937
|
* Get a phone number provisioned for SMS.
|
|
22483
|
-
*
|
|
22938
|
+
* When no supported content profile is explicitly set on an MMS-capable phone number, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile using the PATCH endpoint.
|
|
22484
22939
|
* @param {String} phoneNumberId phone number
|
|
22485
22940
|
* @param {Object} opts Optional parameters
|
|
22486
22941
|
* @param {Object} opts.expand Expand response with additional information
|
|
22487
22942
|
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
22488
22943
|
if(phoneNumberId===undefined||phoneNumberId===null||phoneNumberId===''){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22489
22944
|
* Get a list of provisioned phone numbers.
|
|
22490
|
-
*
|
|
22945
|
+
* When no supported content profile is explicitly set, the system uses the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. The "SMS Default" profile does not have an ID and cannot be modified. To customize media filtering, create and assign a custom supported content profile.
|
|
22491
22946
|
* @param {Object} opts Optional parameters
|
|
22492
22947
|
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
22493
22948
|
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
@@ -22724,7 +23179,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22724
23179
|
if(skillGroupId===undefined||skillGroupId===null||skillGroupId===''){throw'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';}// verify the required parameter 'body' is set
|
|
22725
23180
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSkillgroup';}return this.apiClient.callApi('/api/v2/routing/skillgroups/{skillGroupId}','PATCH',{'skillGroupId':skillGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22726
23181
|
* Update a phone number provisioned for SMS.
|
|
22727
|
-
*
|
|
23182
|
+
* Use this endpoint to assign a custom supported content profile to an MMS-capable phone number. If no supported content profile is set, the phone number uses the "SMS Default" profile, which allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To customize media filtering, provide a supported content profile ID in the request body.
|
|
22728
23183
|
* @param {String} phoneNumberId phone number
|
|
22729
23184
|
* @param {Object} body SmsPhoneNumberPatchRequest
|
|
22730
23185
|
*/},{key:"patchRoutingSmsPhonenumber",value:function patchRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
@@ -22917,7 +23372,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22917
23372
|
*/},{key:"postRoutingSmsAddresses",value:function postRoutingSmsAddresses(body){// verify the required parameter 'body' is set
|
|
22918
23373
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsAddresses';}return this.apiClient.callApi('/api/v2/routing/sms/addresses','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22919
23374
|
* Provision a phone number for SMS
|
|
22920
|
-
*
|
|
23375
|
+
* When provisioning an MMS-capable phone number, if no supported content profile is specified in the request, the system automatically assigns the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To use custom media filtering, specify a supported content profile ID in the request body.
|
|
22921
23376
|
* @param {Object} body SmsPhoneNumber
|
|
22922
23377
|
*/},{key:"postRoutingSmsPhonenumbers",value:function postRoutingSmsPhonenumbers(body){// verify the required parameter 'body' is set
|
|
22923
23378
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23079,7 +23534,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
23079
23534
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
23080
23535
|
* SCIM service.
|
|
23081
23536
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
23082
|
-
* @version
|
|
23537
|
+
* @version 249.0.0
|
|
23083
23538
|
*//**
|
|
23084
23539
|
* Constructs a new SCIMApi.
|
|
23085
23540
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -23304,7 +23759,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
23304
23759
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
23305
23760
|
* Scripts service.
|
|
23306
23761
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
23307
|
-
* @version
|
|
23762
|
+
* @version 249.0.0
|
|
23308
23763
|
*//**
|
|
23309
23764
|
* Constructs a new ScriptsApi.
|
|
23310
23765
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -23450,7 +23905,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
23450
23905
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
23451
23906
|
* Search service.
|
|
23452
23907
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
23453
|
-
* @version
|
|
23908
|
+
* @version 249.0.0
|
|
23454
23909
|
*//**
|
|
23455
23910
|
* Constructs a new SearchApi.
|
|
23456
23911
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -23614,7 +24069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23614
24069
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
23615
24070
|
* Settings service.
|
|
23616
24071
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
23617
|
-
* @version
|
|
24072
|
+
* @version 249.0.0
|
|
23618
24073
|
*//**
|
|
23619
24074
|
* Constructs a new SettingsApi.
|
|
23620
24075
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -23686,7 +24141,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
23686
24141
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
23687
24142
|
* SocialMedia service.
|
|
23688
24143
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
23689
|
-
* @version
|
|
24144
|
+
* @version 249.0.0
|
|
23690
24145
|
*//**
|
|
23691
24146
|
* Constructs a new SocialMediaApi.
|
|
23692
24147
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -24175,7 +24630,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
24175
24630
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
24176
24631
|
* SpeechTextAnalytics service.
|
|
24177
24632
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
24178
|
-
* @version
|
|
24633
|
+
* @version 249.0.0
|
|
24179
24634
|
*//**
|
|
24180
24635
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
24181
24636
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -24554,7 +25009,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
24554
25009
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
24555
25010
|
* Stations service.
|
|
24556
25011
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
24557
|
-
* @version
|
|
25012
|
+
* @version 249.0.0
|
|
24558
25013
|
*//**
|
|
24559
25014
|
* Constructs a new StationsApi.
|
|
24560
25015
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -24586,7 +25041,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
24586
25041
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
24587
25042
|
* Suggest service.
|
|
24588
25043
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
24589
|
-
* @version
|
|
25044
|
+
* @version 249.0.0
|
|
24590
25045
|
*//**
|
|
24591
25046
|
* Constructs a new SuggestApi.
|
|
24592
25047
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -24626,7 +25081,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24626
25081
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
24627
25082
|
* TaskManagement service.
|
|
24628
25083
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
24629
|
-
* @version
|
|
25084
|
+
* @version 249.0.0
|
|
24630
25085
|
*//**
|
|
24631
25086
|
* Constructs a new TaskManagementApi.
|
|
24632
25087
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -25133,7 +25588,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
25133
25588
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
25134
25589
|
* Teams service.
|
|
25135
25590
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
25136
|
-
* @version
|
|
25591
|
+
* @version 249.0.0
|
|
25137
25592
|
*//**
|
|
25138
25593
|
* Constructs a new TeamsApi.
|
|
25139
25594
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -25213,7 +25668,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25213
25668
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
25214
25669
|
* Telephony service.
|
|
25215
25670
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
25216
|
-
* @version
|
|
25671
|
+
* @version 249.0.0
|
|
25217
25672
|
*//**
|
|
25218
25673
|
* Constructs a new TelephonyApi.
|
|
25219
25674
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -25237,6 +25692,9 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
25237
25692
|
* Retrieve the list of AWS regions media can stream through.
|
|
25238
25693
|
*
|
|
25239
25694
|
*/},{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(){return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25695
|
+
* Get the global telephony configuration.
|
|
25696
|
+
*
|
|
25697
|
+
*/},{key:"getTelephonySettings",value:function getTelephonySettings(){return this.apiClient.callApi('/api/v2/telephony/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25240
25698
|
* Get a SIP message.
|
|
25241
25699
|
* Get the raw form of the SIP message
|
|
25242
25700
|
* @param {String} conversationId Conversation id
|
|
@@ -25282,10 +25740,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25282
25740
|
*
|
|
25283
25741
|
* @param {Object} body Agent Greeting
|
|
25284
25742
|
*/},{key:"putTelephonyAgentsGreetingsMe",value:function putTelephonyAgentsGreetingsMe(body){// verify the required parameter 'body' is set
|
|
25285
|
-
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']);}
|
|
25743
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25744
|
+
* Update the global telephony configuration.
|
|
25745
|
+
*
|
|
25746
|
+
* @param {Object} body Telephony
|
|
25747
|
+
*/},{key:"putTelephonySettings",value:function putTelephonySettings(body){// verify the required parameter 'body' is set
|
|
25748
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonySettings';}return this.apiClient.callApi('/api/v2/telephony/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
25286
25749
|
* TelephonyProvidersEdge service.
|
|
25287
25750
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
25288
|
-
* @version
|
|
25751
|
+
* @version 249.0.0
|
|
25289
25752
|
*//**
|
|
25290
25753
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
25291
25754
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -26133,7 +26596,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
26133
26596
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
26134
26597
|
* Textbots service.
|
|
26135
26598
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
26136
|
-
* @version
|
|
26599
|
+
* @version 249.0.0
|
|
26137
26600
|
*//**
|
|
26138
26601
|
* Constructs a new TextbotsApi.
|
|
26139
26602
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -26169,7 +26632,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
26169
26632
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
26170
26633
|
* Tokens service.
|
|
26171
26634
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
26172
|
-
* @version
|
|
26635
|
+
* @version 249.0.0
|
|
26173
26636
|
*//**
|
|
26174
26637
|
* Constructs a new TokensApi.
|
|
26175
26638
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -26203,7 +26666,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26203
26666
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
26204
26667
|
* Uploads service.
|
|
26205
26668
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
26206
|
-
* @version
|
|
26669
|
+
* @version 249.0.0
|
|
26207
26670
|
*//**
|
|
26208
26671
|
* Constructs a new UploadsApi.
|
|
26209
26672
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -26276,7 +26739,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26276
26739
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
26277
26740
|
* Usage service.
|
|
26278
26741
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
26279
|
-
* @version
|
|
26742
|
+
* @version 249.0.0
|
|
26280
26743
|
*//**
|
|
26281
26744
|
* Constructs a new UsageApi.
|
|
26282
26745
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -26360,7 +26823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26360
26823
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
26361
26824
|
* UserRecordings service.
|
|
26362
26825
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
26363
|
-
* @version
|
|
26826
|
+
* @version 249.0.0
|
|
26364
26827
|
*//**
|
|
26365
26828
|
* Constructs a new UserRecordingsApi.
|
|
26366
26829
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26408,7 +26871,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26408
26871
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
26409
26872
|
* Users service.
|
|
26410
26873
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26411
|
-
* @version
|
|
26874
|
+
* @version 249.0.0
|
|
26412
26875
|
*//**
|
|
26413
26876
|
* Constructs a new UsersApi.
|
|
26414
26877
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -27258,7 +27721,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
27258
27721
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
27259
27722
|
* UsersRules service.
|
|
27260
27723
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
27261
|
-
* @version
|
|
27724
|
+
* @version 249.0.0
|
|
27262
27725
|
*//**
|
|
27263
27726
|
* Constructs a new UsersRulesApi.
|
|
27264
27727
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -27333,7 +27796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27333
27796
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
27334
27797
|
* Utilities service.
|
|
27335
27798
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
27336
|
-
* @version
|
|
27799
|
+
* @version 249.0.0
|
|
27337
27800
|
*//**
|
|
27338
27801
|
* Constructs a new UtilitiesApi.
|
|
27339
27802
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -27360,7 +27823,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27360
27823
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
27361
27824
|
* Voicemail service.
|
|
27362
27825
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
27363
|
-
* @version
|
|
27826
|
+
* @version 249.0.0
|
|
27364
27827
|
*//**
|
|
27365
27828
|
* Constructs a new VoicemailApi.
|
|
27366
27829
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27522,7 +27985,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27522
27985
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
27523
27986
|
* WebChat service.
|
|
27524
27987
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27525
|
-
* @version
|
|
27988
|
+
* @version 249.0.0
|
|
27526
27989
|
*//**
|
|
27527
27990
|
* Constructs a new WebChatApi.
|
|
27528
27991
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27669,7 +28132,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27669
28132
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
27670
28133
|
* WebDeployments service.
|
|
27671
28134
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27672
|
-
* @version
|
|
28135
|
+
* @version 249.0.0
|
|
27673
28136
|
*//**
|
|
27674
28137
|
* Constructs a new WebDeploymentsApi.
|
|
27675
28138
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -27812,7 +28275,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27812
28275
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
27813
28276
|
* WebMessaging service.
|
|
27814
28277
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
27815
|
-
* @version
|
|
28278
|
+
* @version 249.0.0
|
|
27816
28279
|
*//**
|
|
27817
28280
|
* Constructs a new WebMessagingApi.
|
|
27818
28281
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -27853,7 +28316,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
27853
28316
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
27854
28317
|
* Widgets service.
|
|
27855
28318
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
27856
|
-
* @version
|
|
28319
|
+
* @version 249.0.0
|
|
27857
28320
|
*//**
|
|
27858
28321
|
* Constructs a new WidgetsApi.
|
|
27859
28322
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -27893,7 +28356,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27893
28356
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
27894
28357
|
* WorkforceManagement service.
|
|
27895
28358
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
27896
|
-
* @version
|
|
28359
|
+
* @version 249.0.0
|
|
27897
28360
|
*//**
|
|
27898
28361
|
* Constructs a new WorkforceManagementApi.
|
|
27899
28362
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28259,6 +28722,11 @@ if(snapshotId===undefined||snapshotId===null||snapshotId===''){throw'Missing the
|
|
|
28259
28722
|
* @param {String} opts.divisionId If specified, the list of management units belonging to the specified division will be returned
|
|
28260
28723
|
*/},{key:"getWorkforcemanagementBusinessunitManagementunits",value:function getWorkforcemanagementBusinessunitManagementunits(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28261
28724
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/managementunits','GET',{'businessUnitId':businessUnitId},{'feature':opts['feature'],'divisionId':opts['divisionId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28725
|
+
* Get minimum staffing settings for a business unit
|
|
28726
|
+
*
|
|
28727
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28728
|
+
*/},{key:"getWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function getWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
28729
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28262
28730
|
* Get a planning group
|
|
28263
28731
|
*
|
|
28264
28732
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -28271,6 +28739,11 @@ if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){th
|
|
|
28271
28739
|
* @param {String} businessUnitId The ID of the business unit.
|
|
28272
28740
|
*/},{key:"getWorkforcemanagementBusinessunitPlanninggroups",value:function getWorkforcemanagementBusinessunitPlanninggroups(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
28273
28741
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28742
|
+
* Get scheduler settings for a business unit
|
|
28743
|
+
*
|
|
28744
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28745
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulerSettings",value:function getWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
28746
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28274
28747
|
* Get a scheduling run
|
|
28275
28748
|
*
|
|
28276
28749
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28354,6 +28827,13 @@ if(timeOffPlanId===undefined||timeOffPlanId===null||timeOffPlanId===''){throw'Mi
|
|
|
28354
28827
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
28355
28828
|
*/},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28356
28829
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans','GET',{'businessUnitId':businessUnitId},{'managementUnitId':opts['managementUnitId'],'forceDownloadService':opts['forceDownloadService']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28830
|
+
* Get users in the business unit
|
|
28831
|
+
*
|
|
28832
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28833
|
+
* @param {Object} opts Optional parameters
|
|
28834
|
+
* @param {Array.<String>} opts.managementUnitIds The IDs of the management units for which to retrieve users
|
|
28835
|
+
*/},{key:"getWorkforcemanagementBusinessunitUsers",value:function getWorkforcemanagementBusinessunitUsers(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28836
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitUsers';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/users','GET',{'businessUnitId':businessUnitId},{'managementUnitIds':this.apiClient.buildCollectionParam(opts['managementUnitIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28357
28837
|
* Get the metadata for the schedule, describing which management units and agents are in the scheduleSchedule data can then be loaded with the query route
|
|
28358
28838
|
*
|
|
28359
28839
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28888,6 +29368,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28888
29368
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'capacityPlanId' is set
|
|
28889
29369
|
if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw'Missing the required parameter "capacityPlanId" when calling patchWorkforcemanagementBusinessunitCapacityplan';}// verify the required parameter 'body' is set
|
|
28890
29370
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitCapacityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/capacityplans/{capacityPlanId}','PATCH',{'businessUnitId':businessUnitId,'capacityPlanId':capacityPlanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
29371
|
+
* Update minimum staffing settings for a business unit
|
|
29372
|
+
*
|
|
29373
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
29374
|
+
* @param {Object} body body
|
|
29375
|
+
*/},{key:"patchWorkforcemanagementBusinessunitMinimumstaffingSettings",value:function patchWorkforcemanagementBusinessunitMinimumstaffingSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
29376
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}// verify the required parameter 'body' is set
|
|
29377
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitMinimumstaffingSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/minimumstaffing/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28891
29378
|
* Updates the planning group
|
|
28892
29379
|
*
|
|
28893
29380
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -28897,6 +29384,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28897
29384
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'planningGroupId' is set
|
|
28898
29385
|
if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'body' is set
|
|
28899
29386
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}','PATCH',{'businessUnitId':businessUnitId,'planningGroupId':planningGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
29387
|
+
* Update scheduler settings for a business unit
|
|
29388
|
+
*
|
|
29389
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
29390
|
+
* @param {Object} body body
|
|
29391
|
+
*/},{key:"patchWorkforcemanagementBusinessunitSchedulerSettings",value:function patchWorkforcemanagementBusinessunitSchedulerSettings(businessUnitId,body){// verify the required parameter 'businessUnitId' is set
|
|
29392
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}// verify the required parameter 'body' is set
|
|
29393
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulerSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduler/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
28900
29394
|
* Mark a schedule run as applied
|
|
28901
29395
|
*
|
|
28902
29396
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -29920,7 +30414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29920
30414
|
* </pre>
|
|
29921
30415
|
* </p>
|
|
29922
30416
|
* @module purecloud-platform-client-v2/index
|
|
29923
|
-
* @version
|
|
30417
|
+
* @version 249.0.0
|
|
29924
30418
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
29925
30419
|
* The ApiClient constructor.
|
|
29926
30420
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -29970,6 +30464,9 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29970
30464
|
* The CarrierServicesApi service constructor.
|
|
29971
30465
|
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
29972
30466
|
*/this.CarrierServicesApi=CarrierServicesApi;/**
|
|
30467
|
+
* The CaseManagementApi service constructor.
|
|
30468
|
+
* @property {module:purecloud-platform-client-v2/api/CaseManagementApi}
|
|
30469
|
+
*/this.CaseManagementApi=CaseManagementApi;/**
|
|
29973
30470
|
* The ChatApi service constructor.
|
|
29974
30471
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|
|
29975
30472
|
*/this.ChatApi=ChatApi;/**
|